[mspacpls] Fruit Follows Maze Path Fix

This forum is for posting M.A.M.E. arcade cheats. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
pac_man_fan2
CheatFinder Lance Corporal
CheatFinder Lance Corporal
Posts: 59
Joined: Fri Dec 06, 2019 1:49 pm

[mspacpls] Fruit Follows Maze Path Fix

Post by pac_man_fan2 »

Credit for the code goes to Sil! I pulled out the relevant maze data from Sil's ROMs to create this MAME Cheat file! I love this path, Ms Pac Plus and Attack play as they should now. I also removed the tunnel slowdowns since they didnt match up either., You'll notice I wasn't able to save the original data due to the limited 10 temp variables, so once you activate the cheat, you can only remove it by restarting the emulator. If someone has a creative way of saving/restoring - Please Update me and this cheat file!

Code: Select all

  <cheat desc="Fruit Path Fix (Once On, Off is Not Avail)"> <comment>Fixes the Fruit paths, credit to Sil.</comment>
    <script state="on">
      <!-- Not Enough Temp Variables to make this work -->
    </script>
    <script state="run">
      <action>maincpu.mq@8B51=F484248B680C840F</action>  <!-- Maze #1 -->
      <action>maincpu.mq@8B59=158B7CF4842A8B71</action>
      <action>maincpu.mq@8B61=EA00EAAEEAAA0C84</action>
      <action>maincpu.mq@8B69=55775500055557FF</action>
      <action>maincpu.mq@8B71=15557FF55557FFEA</action>
      <action>maincpu.mq@8B79=BFFAAA02AAF50000</action>
      <action>maincpu.mq@8B81=8B990000138B94FE</action>
      <action>maincpu.mq@8B89=0000288B9F000018</action>
      <action>maincpu.mq@8B91=EAAAAA22AA288B9F</action>
      <action>maincpu.mq@8B99=1155AAAABFAAA00A</action>
      <action>maincpu.mq@8BA1=AAA80015555FFF55</action>
      <action>maincpu.md@8BA9=00000000</action>
      <action>maincpu.mb@8BAD=00</action>
      <action>maincpu.mq@8E42=0C44178E580CAC10</action>  <!-- Maze #2 -->
      <action>maincpu.mq@8E4A=268E69F4AC258E5F</action>
      <action>maincpu.mq@8E52=FAAAAA80AAAAF444</action>
      <action>maincpu.mq@8E5A=57FFEA00EAAAFFFF</action>
      <action>maincpu.mq@8E62=EAFD550155000555</action>
      <action>maincpu.mq@8E6A=554057FD5FD557FF</action>
      <action>maincpu.mq@8E72=8E8A0000148E85F5</action>
      <action>maincpu.mq@8E7A=0000298E9100001B</action>
      <action>maincpu.mq@8E82=AAAAAAFEAA2A8E9D</action>
      <action>maincpu.mq@8E8A=55EAAAA800002AAA</action>
      <action>maincpu.mq@8E92=A00055557FFD55FD</action>
      <action>maincpu.mq@8E9A=54015FD5550002AA</action>
      <action>maincpu.md@8EA2=80015540</action>
      <action>maincpu.mw@8EA6=FAAA</action>
      <action>maincpu.mq@911C=0C641391320CAC10</action>  <!-- Maze #3 -->
      <action>maincpu.mq@9124=2497C7F4AC219137</action>
      <action>maincpu.mq@912C=AFEAAAAAA02AF464</action>
      <action>maincpu.mq@9134=515550102AEAABFA</action>
      <action>maincpu.mq@913C=91550000FD5557FD</action>
      <action>maincpu.mq@9144=000018915B000015</action>
      <action>maincpu.mq@914C=1D91690000209161</action>
      <action>maincpu.mq@9154=AA02AAAFEAAAAA00</action>
      <action>maincpu.mq@915C=555555AAA8002AAA</action>
      <action>maincpu.mq@9164=555555AAA8001555</action>
      <action>maincpu.mq@916C=00000002AAAFD555</action>
      <action>maincpu.mb@9174=00</action>
      <action>maincpu.mq@940C=0C841D941E0C841D</action>  <!-- Maze #4 -->
      <action>maincpu.mq@9414=2C9430F484269426</action>
      <action>maincpu.mq@941C=02AFFFFEAA80F484</action>
      <action>maincpu.mq@9424=54055557FFEAFEA8</action>
      <action>maincpu.mq@942C=5557FFEAF550057F</action>
      <action>maincpu.mq@9434=005500015015FFF5</action>
      <action>maincpu.mq@943C=2A944E00002A944E</action>
      <action>maincpu.mq@9444=6000001B94590000</action>
      <action>maincpu.mq@944C=55FD5015FF552194</action>
      <action>maincpu.mq@9454=2AFFAAFAAA800155</action>
      <action>maincpu.mq@945C=002AFFAAEAAA02A0</action>
      <action>maincpu.md@9464=ABFAAA00</action>
      <action>maincpu.mw@9468=0002</action>
      <action>maincpu.mq@97C7=05555FF55557FFEA</action>  <!-- Easter Egg Credits and more. -->
      <action>maincpu.mq@97CF=5C5152454E454750</action>  <!-- Needed, Otherwise Maze #3    -->
      <action>maincpu.mq@97D7=455455504D4F4320</action>  <!-- fruit doesnt work right when -->
      <action>maincpu.mq@97DF=524F50524F432052</action>  <!-- coming out of Upper Left Tunnel. -->
      <action>maincpu.mq@97E7=4953204E4F495441</action>
      <action>maincpu.mb@97EF=4C</action>
      <action>maincpu.md@33A5=AA2A5555</action>  <!-- Removes Tunnel Slow Downs -->
      <action>maincpu.md@33CF=AA6D55D5</action>
      <action>maincpu.md@33F9=D65AADB5</action>
      <action>maincpu.md@3423=D65AADB5</action>
    </script>
    <script state="off">
      <!-- Not Enough Temp Variables to make this work -->
    </script>
  </cheat>
User avatar
Pugsy
CheatFinder General
CheatFinder General
Posts: 3450
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: [mspacpls] Fruit Follows Maze Path Fix

Post by Pugsy »

Just set tempvariables if you need more than the default 10, like so:

Code: Select all

<cheat desc="cheat description" tempvariables="11">
Change 11 to match how many you need, I pick it up in the next release anyway as my cheat collection builder will handle it.

I wouldn't add other cheats though if they already exist in the cheat collection.
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.221 XML cheat collection 19 JUNE 2020) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/y5dktfpea ... 1.zip/file (ZIP Archive 3.66MB)
pac_man_fan2
CheatFinder Lance Corporal
CheatFinder Lance Corporal
Posts: 59
Joined: Fri Dec 06, 2019 1:49 pm

Re: [mspacpls] Fruit Follows Maze Path Fix

Post by pac_man_fan2 »

Here is the full code w/On and Off

Code: Select all

  <cheat desc=" "/>
  <cheat desc="Fruit Path Fix" tempvariables="60"> <comment>Fixes the Fruit paths, credit to Sil.</comment>
    <script state="on">
      <action>temp0=maincpu.mq@8B51</action>
      <action>temp1=maincpu.mq@8B59</action>
      <action>temp2=maincpu.mq@8B61</action>
      <action>temp3=maincpu.mq@8B69</action>
      <action>temp4=maincpu.mq@8B71</action>
      <action>temp5=maincpu.mq@8B79</action>
      <action>temp6=maincpu.mq@8B81</action>
      <action>temp7=maincpu.mq@8B89</action>
      <action>temp8=maincpu.mq@8B91</action>
      <action>temp9=maincpu.mq@8B99</action>
      <action>temp10=maincpu.mq@8BA1</action>
      <action>temp11=maincpu.mq@8BA9</action>
      <action>temp12=maincpu.mq@8E42</action>
      <action>temp13=maincpu.mq@8E4A</action>
      <action>temp14=maincpu.mq@8E52</action>
      <action>temp15=maincpu.mq@8E5A</action>
      <action>temp16=maincpu.mq@8E62</action>
      <action>temp17=maincpu.mq@8E6A</action>
      <action>temp18=maincpu.mq@8E72</action>
      <action>temp19=maincpu.mq@8E7A</action>
      <action>temp20=maincpu.mq@8E82</action>
      <action>temp21=maincpu.mq@8E8A</action>
      <action>temp22=maincpu.mq@8E92</action>
      <action>temp23=maincpu.mq@8E9A</action>
      <action>temp24=maincpu.mq@8EA2</action>
      <action>temp25=maincpu.mq@911C</action>
      <action>temp26=maincpu.mq@9124</action>
      <action>temp27=maincpu.mq@912C</action>
      <action>temp28=maincpu.mq@9134</action>
      <action>temp29=maincpu.mq@913C</action>
      <action>temp30=maincpu.mq@9144</action>
      <action>temp31=maincpu.mq@914C</action>
      <action>temp32=maincpu.mq@9154</action>
      <action>temp33=maincpu.mq@915C</action>
      <action>temp34=maincpu.mq@9164</action>
      <action>temp35=maincpu.mq@916C</action>
      <action>temp36=maincpu.mb@9174</action>
      <action>temp37=maincpu.mq@940C</action>
      <action>temp38=maincpu.mq@9414</action>
      <action>temp39=maincpu.mq@941C</action>
      <action>temp40=maincpu.mq@9424</action>
      <action>temp41=maincpu.mq@942C</action>
      <action>temp42=maincpu.mq@9434</action>
      <action>temp43=maincpu.mq@943C</action>
      <action>temp44=maincpu.mq@9444</action>
      <action>temp45=maincpu.mq@944C</action>
      <action>temp46=maincpu.mq@9454</action>
      <action>temp47=maincpu.mq@945C</action>
      <action>temp48=maincpu.mq@9464</action>
      <action>temp49=maincpu.mq@97C7</action>
      <action>temp50=maincpu.mq@97CF</action>
      <action>temp51=maincpu.mq@97D7</action>
      <action>temp52=maincpu.mq@97DF</action>
      <action>temp53=maincpu.mq@97E7</action>
      <action>temp54=maincpu.mb@97EF</action>
      <action>temp55=maincpu.md@33A5</action>
      <action>temp56=maincpu.md@33CF</action>
      <action>temp57=maincpu.md@33F9</action>
      <action>temp58=maincpu.md@3423</action>
      <action>temp59=maincpu.mw@1FFE</action>
    </script>
    <script state="run">
      <action>maincpu.mq@8B51=F484248B680C840F</action>  <!-- Maze #1 -->
      <action>maincpu.mq@8B59=158B7CF4842A8B71</action>
      <action>maincpu.mq@8B61=EA00EAAEEAAA0C84</action>
      <action>maincpu.mq@8B69=55775500055557FF</action>
      <action>maincpu.mq@8B71=15557FF55557FFEA</action>
      <action>maincpu.mq@8B79=BFFAAA02AAF50000</action>
      <action>maincpu.mq@8B81=8B990000138B94FE</action>
      <action>maincpu.mq@8B89=0000288B9F000018</action>
      <action>maincpu.mq@8B91=EAAAAA22AA288B9F</action>
      <action>maincpu.mq@8B99=1155AAAABFAAA00A</action>
      <action>maincpu.mq@8BA1=AAA80015555FFF55</action>
      <action>maincpu.md@8BA9=00000000</action>
      <action>maincpu.mb@8BAD=00</action>
      <action>maincpu.mq@8E42=0C44178E580CAC10</action>  <!-- Maze #2 -->
      <action>maincpu.mq@8E4A=268E69F4AC258E5F</action>
      <action>maincpu.mq@8E52=FAAAAA80AAAAF444</action>
      <action>maincpu.mq@8E5A=57FFEA00EAAAFFFF</action>
      <action>maincpu.mq@8E62=EAFD550155000555</action>
      <action>maincpu.mq@8E6A=554057FD5FD557FF</action>
      <action>maincpu.mq@8E72=8E8A0000148E85F5</action>
      <action>maincpu.mq@8E7A=0000298E9100001B</action>
      <action>maincpu.mq@8E82=AAAAAAFEAA2A8E9D</action>
      <action>maincpu.mq@8E8A=55EAAAA800002AAA</action>
      <action>maincpu.mq@8E92=A00055557FFD55FD</action>
      <action>maincpu.mq@8E9A=54015FD5550002AA</action>
      <action>maincpu.md@8EA2=80015540</action>
      <action>maincpu.mw@8EA6=FAAA</action>
      <action>maincpu.mq@911C=0C641391320CAC10</action>  <!-- Maze #3 -->
      <action>maincpu.mq@9124=2497C7F4AC219137</action>
      <action>maincpu.mq@912C=AFEAAAAAA02AF464</action>
      <action>maincpu.mq@9134=515550102AEAABFA</action>
      <action>maincpu.mq@913C=91550000FD5557FD</action>
      <action>maincpu.mq@9144=000018915B000015</action>
      <action>maincpu.mq@914C=1D91690000209161</action>
      <action>maincpu.mq@9154=AA02AAAFEAAAAA00</action>
      <action>maincpu.mq@915C=555555AAA8002AAA</action>
      <action>maincpu.mq@9164=555555AAA8001555</action>
      <action>maincpu.mq@916C=00000002AAAFD555</action>
      <action>maincpu.mb@9174=00</action>
      <action>maincpu.mq@940C=0C841D941E0C841D</action>  <!-- Maze #4 -->
      <action>maincpu.mq@9414=2C9430F484269426</action>
      <action>maincpu.mq@941C=02AFFFFEAA80F484</action>
      <action>maincpu.mq@9424=54055557FFEAFEA8</action>
      <action>maincpu.mq@942C=5557FFEAF550057F</action>
      <action>maincpu.mq@9434=005500015015FFF5</action>
      <action>maincpu.mq@943C=2A944E00002A944E</action>
      <action>maincpu.mq@9444=6000001B94590000</action>
      <action>maincpu.mq@944C=55FD5015FF552194</action>
      <action>maincpu.mq@9454=2AFFAAFAAA800155</action>
      <action>maincpu.mq@945C=002AFFAAEAAA02A0</action>
      <action>maincpu.md@9464=ABFAAA00</action>
      <action>maincpu.mw@9468=0002</action>
      <action>maincpu.mq@97C7=05555FF55557FFEA</action>  <!-- Easter Egg Credits and more. -->
      <action>maincpu.mq@97CF=5C5152454E454750</action>  <!-- Needed, Otherwise Maze #3    -->
      <action>maincpu.mq@97D7=455455504D4F4320</action>  <!-- fruit doesnt work right when -->
      <action>maincpu.mq@97DF=524F50524F432052</action>  <!-- coming out of Upper Left Tunnel. -->
      <action>maincpu.mq@97E7=4953204E4F495441</action>
      <action>maincpu.mb@97EF=4C</action>
      <action>maincpu.md@33A5=AA2A5555</action>          <!-- Removes Tunnel Slow Downs -->
      <action>maincpu.md@33CF=AA6D55D5</action>
      <action>maincpu.md@33F9=D65AADB5</action>
      <action>maincpu.md@3423=D65AADB5</action>
      <action>maincpu.mw@1FFE=FFFF</action>              <!-- Checksum Disabled -->
    </script>
    <script state="off">
      <action>maincpu.mq@8B51=temp0</action>
      <action>maincpu.mq@8B59=temp1</action>
      <action>maincpu.mq@8B61=temp2</action>
      <action>maincpu.mq@8B69=temp3</action>
      <action>maincpu.mq@8B71=temp4</action>
      <action>maincpu.mq@8B79=temp5</action>
      <action>maincpu.mq@8B81=temp6</action>
      <action>maincpu.mq@8B89=temp7</action>
      <action>maincpu.mq@8B91=temp8</action>
      <action>maincpu.mq@8B99=temp9</action>
      <action>maincpu.mq@8BA1=temp10</action>
      <action>maincpu.mq@8BA9=temp11</action>
      <action>maincpu.mq@8E42=temp12</action>
      <action>maincpu.mq@8E4A=temp13</action>
      <action>maincpu.mq@8E52=temp14</action>
      <action>maincpu.mq@8E5A=temp15</action>
      <action>maincpu.mq@8E62=temp16</action>
      <action>maincpu.mq@8E6A=temp17</action>
      <action>maincpu.mq@8E72=temp18</action>
      <action>maincpu.mq@8E7A=temp19</action>
      <action>maincpu.mq@8E82=temp20</action>
      <action>maincpu.mq@8E8A=temp21</action>
      <action>maincpu.mq@8E92=temp22</action>
      <action>maincpu.mq@8E9A=temp23</action>
      <action>maincpu.mq@8EA2=temp24</action>
      <action>maincpu.mq@911C=temp25</action>
      <action>maincpu.mq@9124=temp26</action>
      <action>maincpu.mq@912C=temp28</action>
      <action>maincpu.mq@9134=temp28</action>
      <action>maincpu.mq@913C=temp29</action>
      <action>maincpu.mq@9144=temp30</action>
      <action>maincpu.mq@914C=temp31</action>
      <action>maincpu.mq@9154=temp32</action>
      <action>maincpu.mq@915C=temp33</action>
      <action>maincpu.mq@9164=temp34</action>
      <action>maincpu.mq@916C=temp35</action>
      <action>maincpu.mb@9174=temp36</action>
      <action>maincpu.mq@940C=temp37</action>
      <action>maincpu.mq@9414=temp38</action>
      <action>maincpu.mq@941C=temp39</action>
      <action>maincpu.mq@9424=temp40</action>
      <action>maincpu.mq@942C=temp41</action>
      <action>maincpu.mq@9434=temp42</action>
      <action>maincpu.mq@943C=temp43</action>
      <action>maincpu.mq@9444=temp44</action>
      <action>maincpu.mq@944C=temp45</action>
      <action>maincpu.mq@9454=temp46</action>
      <action>maincpu.mq@945C=temp47</action>
      <action>maincpu.mq@9464=temp48</action>
      <action>maincpu.mq@97C7=temp49</action>
      <action>maincpu.mq@97CF=temp50</action>
      <action>maincpu.mq@97D7=temp51</action>
      <action>maincpu.mq@97DF=temp52</action>
      <action>maincpu.mq@97E7=temp53</action>
      <action>maincpu.mb@97EF=temp54</action>
      <action>maincpu.md@33A5=temp55</action>
      <action>maincpu.md@33CF=temp56</action>
      <action>maincpu.md@33F9=temp57</action>
      <action>maincpu.md@3423=temp58</action>
      <action>maincpu.mw@1FFE=temp59</action>
    </script>
  </cheat>
User avatar
Pugsy
CheatFinder General
CheatFinder General
Posts: 3450
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Contact:

Re: [mspacpls] Fruit Follows Maze Path Fix

Post by Pugsy »

Thanks, added
Pugsy

Servicing your cheating needs since 1985 ;-)

Grab the latest cheat collection:
MAME 0.221 XML cheat collection 19 JUNE 2020) from http://www.mamecheat.co.uk or direct from:-
http://www.mediafire.com/file/y5dktfpea ... 1.zip/file (ZIP Archive 3.66MB)
Post Reply