Page 1 of 1

[1942] 1942 (Revision B)

Posted: Tue Jan 31, 2012 6:26 am
by nolberto82
1942.xml

Code: Select all

  <cheat desc="Hit Anywhere">
    <script state="run">
      <action>maincpu.mb@3485=00</action>
      <action>maincpu.mb@34B0=86</action>
      <action>maincpu.mb@34F1=3A</action>
      <action>maincpu.mb@34FA=86</action>
      <action>maincpu.mb@3534=3A</action>
      <action>maincpu.mb@356C=86</action>
      <action>maincpu.mb@3588=C6</action>
    </script>
  </cheat>

Re: [1942] 1942 (Revision B)

Posted: Fri Feb 10, 2012 12:28 pm
by Pugsy
Thanks, added - though I've not duplicated for the clones which seem to be offset by either +4 or +2

Re: [1942] 1942 (Revision B)

Posted: Sun Jul 07, 2024 6:57 am
by jman
Sorry, bumped old thread.

But any ROM codes cause ROM error around middle level.
In the official database based on 0.264, the following are ROM codes.
  • Hit Anywhere
  • Select Player Speed
  • Select Shot Speed
Also Wayder's database has ROM code called "Always get 100%".

Someone post about ROM error for 1942 with cheat. Original poster misunderstand. It's not any BUGs. in-game ROM check routine detects that ROM is tampering by cheat system. So it's correct behavior.

Solution is simple, you don't use any ROM codes or disable in-game ROM check routine.
I post the codes based on the latter thinking.

1942.xml

Code: Select all

    <cheat desc="Skip In-game ROM Check">
        <script state="on">
            <action>temp0 = maincpu.mb@711A</action>
        </script>
        <script state="run">
            <action>maincpu.mb@711A = 18</action>
        </script>
        <script state="off">
            <action>maincpu.mb@711A = temp0</action>
        </script>
    </cheat>
1942a.xml, 1942abl.xml, 1942h.xml, 1942b.xml, 1942p.xml, 1942iti.xml

Code: Select all

    <cheat desc="Skip In-game ROM Check">
        <script state="on">
            <action>temp0 = maincpu.mb@711E</action>
        </script>
        <script state="run">
            <action>maincpu.mb@711E = 18</action>
        </script>
        <script state="off">
            <action>maincpu.mb@711E = temp0</action>
        </script>
    </cheat>
1942w.xml

Code: Select all

    <cheat desc="Skip In-game ROM Check">
        <script state="on">
            <action>temp0 = maincpu.mb@7134</action>
        </script>
        <script state="run">
            <action>maincpu.mb@7134 = 18</action>
        </script>
        <script state="off">
            <action>maincpu.mb@7134 = temp0</action>
        </script>
    </cheat>