Skip to content

Commit

Permalink
add T2 L-8.4 Profanity & more MOD
Browse files Browse the repository at this point in the history
..somehow i missed the official release last year
  • Loading branch information
toxieainc committed Feb 7, 2024
1 parent 699fabc commit f79bcf9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 2 additions & 0 deletions release/whatsnew.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Improved emulation robustness when running multiple machines from the same gener
or when resetting certain machines
Add Wheel Of Fortune and World Poker Tour LED matrix as a group of modulated lamps
Clean-up Metallica Coffin Magnet processor board to cleanly report its mode of operation (see https://missionpinball.org/mechs/magnets/stern_magnet_pcb/ for detailed operations)
Fixed reset and slam-tilt problems of Baby Pac-Man

*** ROM SUPPORT *** Thanks to ipdb.org, Valerio Curzio, Matt's Basement Arcade, inkochnito, flipprojets.fr, Idleman, idealjoker, Jo�o Pedras & Jo�o Carneiro, ingo333, Ronaldo, Quench, Museo del Recreativo, caius, Stephan Semmler (Flippermuseum Seligenstadt), Doug Cope, Michel Maignaut, Thierry Ailloud, Francis Voglioso, Chad Hendrickson, watacaractr, indisc
New:
Expand Down Expand Up @@ -142,6 +143,7 @@ Spirit (initial release) & rev. 3 (MOD)
STTNG LX-8 (MOD) (using the special L-1 sound roms, note that the special callouts can be turned off completely within the game menu)
Swords of Fury LG-2 (German)
Teenage Mutant Ninja Turtles A 0.7 VUK (Prototype)
Terminator 2 L-8.4 (MOD)
Time Machine (Zaccaria, Italian Speech)
Tommy 1.02 (Belgian), 2.01 (Dutch), 3.01 (German)
Whirlwind LG-1 (German), LG-2 (German) (no U26 dumps available, seem to work with known one)
Expand Down
3 changes: 2 additions & 1 deletion src/wpc/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -2762,7 +2762,8 @@ DRIVER(t2,l8) // 12/91 W Terminator 2: Judgement Day (L-8)
DRIVER(t2,d8) // Terminator 2: Judgement Day (D-8) LED Ghost Fix
DRIVER(t2,l81) // Terminator 2: Judgement Day (L-81) Attract Sound Fix
DRIVER(t2,l82) // Terminator 2: Judgement Day (L-82) Hacked attract routines
DRIVER(t2,l83) // 06/22 W Terminator 2: Judgement Day (L-83) Profanity and bugfixes/MOD and LED Ghost Fix
DRIVER(t2,l83) // 06/22 Terminator 2: Judgement Day (L-83) Profanity and bugfixes/MOD and LED Ghost Fix
DRIVER(t2,l84) // 05/23 Terminator 2: Judgement Day (L-84) Profanity and bugfixes/MOD and LED Ghost Fix
DRIVER(t2,p2f) // 12/91 W Terminator 2: Judgement Day (Profanity Speech version)
DRIVER(t2,p2g) // Terminator 2: Judgement Day (Profanity Speech version) LED Ghost Fix
DRIVER(t2,f19) // ??/?? Terminator 2: Judgement Day (FreeWPC 0.19)
Expand Down
10 changes: 9 additions & 1 deletion src/wpc/sims/wpc/full/t2.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,13 @@ WPCS_SOUNDROM222( "t2_u18.l3", CRC(2280bdd0) SHA1(ea94265cb8291ee427e0a2119d
"u14-nsty.rom",CRC(b4d64152) SHA1(03a828cef8b067d4da058fd3a1e972265a72f10a))
WPC_ROMEND

/* L-8.4 MOD that supports Profanity, and more. BUT must enable profanity in the adjustments in order to work correctly. */
WPC_ROMSTART(t2,l84,"T2_l84_9A08.rom",0x80000,CRC(7617ae61) SHA1(d99df2bff73f808458e7512b91392160cf98b2ba))
WPCS_SOUNDROM222( "t2_u18.l3", CRC(2280bdd0) SHA1(ea94265cb8291ee427e0a2119d901ba1eb50d8ee),
"t2_u15.l3", CRC(dad03ad1) SHA1(7c200f9a6564d751e5aa9b1ba84363b221502770),
"u14-nsty.rom",CRC(b4d64152) SHA1(03a828cef8b067d4da058fd3a1e972265a72f10a))
WPC_ROMEND

WPC_ROMSTART(t2,l4,"u6-l4.rom",0x40000,CRC(4d8b894d) SHA1(218b3628e7709c329c2030a5391ded60301aad26))
WPCS_SOUNDROM222("t2_u18.l3",CRC(2280bdd0) SHA1(ea94265cb8291ee427e0a2119d901ba1eb50d8ee),
"t2_u15.l3",CRC(dad03ad1) SHA1(7c200f9a6564d751e5aa9b1ba84363b221502770),
Expand Down Expand Up @@ -633,7 +640,8 @@ CORE_GAMEDEF(t2,l8,"Terminator 2: Judgement Day (L-8)",1991,"Williams",wpc_mDMDS
CORE_CLONEDEF(t2,d8,l8,"Terminator 2: Judgement Day (D-8 LED Ghost Fix)",1991,"Williams",wpc_mDMDS,0)
CORE_CLONEDEF(t2,l81,l8,"Terminator 2: Judgement Day (L-81 Attract Sound patch)",1991,"Williams",wpc_mDMDS,0)
CORE_CLONEDEF(t2,l82,l8,"Terminator 2: Judgement Day (L-82 Attract Score patch)",1991,"Williams",wpc_mDMDS,0)
CORE_CLONEDEF(t2,l83,l8,"Terminator 2: Judgement Day (L-83 Profanity, bugfix/MOD, LED Ghost Fix)",2022,"Williams",wpc_mDMDS,0)
CORE_CLONEDEF(t2,l83,l8,"Terminator 2: Judgement Day (L-83 Profanity, bugfix/MOD, LED Ghost Fix)",2022,"Williams/MOD",wpc_mDMDS,0)
CORE_CLONEDEF(t2,l84,l8,"Terminator 2: Judgement Day (L-84 Profanity, bugfix/MOD, LED Ghost Fix)",2023,"Williams/MOD",wpc_mDMDS,0)
CORE_CLONEDEF(t2,l6,l8,"Terminator 2: Judgement Day (L-6)",1991,"Williams",wpc_mDMDS,0)
CORE_CLONEDEF(t2,d6,l8,"Terminator 2: Judgement Day (D-6 LED Ghost Fix)",1991,"Williams",wpc_mDMDS,0)
CORE_CLONEDEF(t2,p2f,l8,"Terminator 2: Judgement Day (P-2F Profanity)",1991,"Williams",wpc_mDMDS,0) // Prototype ??
Expand Down
4 changes: 2 additions & 2 deletions src/wpc/vpintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ int vp_getChangedSolenoids(vp_tChgSols chgStat)
float state[CORE_MODOUT_SOL_MAX];
core_getAllPhysicSols(state);
for (ii = 0; ii < coreGlobals.nSolenoids; ii++) {
if ((options.usemodsol == CORE_MODOUT_ENABLE_MODSOL) && coreGlobals.physicOutputState[CORE_MODOUT_SOL0 + ii].type == CORE_MODOUT_BULB_44_6_3V_AC_REV)
state[ii] = 1.0f - state[ii];
if ((options.usemodsol == CORE_MODOUT_ENABLE_MODSOL) && coreGlobals.physicOutputState[CORE_MODOUT_SOL0 + ii].type == CORE_MODOUT_BULB_44_6_3V_AC_REV)
state[ii] = 1.0f - state[ii];
UINT8 v = saturatedByte(state[ii]);
if (v != locals.lastPhysicsOutput[CORE_MODOUT_SOL0 + ii]) {
chgStat[idx].solNo = ii + 1;
Expand Down

0 comments on commit f79bcf9

Please sign in to comment.