Page 1 of 1

[tekken2]+ Select Player Type (aka Human/CPU control mode) + Camera View Mode

Posted: Sat Apr 02, 2022 3:38 pm
by Heihachi_73
I could have sworn I added these 10+ years ago, but apparently only the Tekken 1 cheat made it into the XML...

tekken2:

Code: Select all

  <cheat desc="P1 Select Player Type">
    <parameter>
      <item value="0x00">Human</item>
      <item value="0x01">CPU</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@001C8DAC=param</action>
    </script>
  </cheat>

  <cheat desc="P2 Select Player Type">
    <parameter>
      <item value="0x00">Human</item>
      <item value="0x01">CPU</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@001C8DAE=param</action>
    </script>
  </cheat>
  
  <cheat desc="Select Camera View">
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x01">Cinematic</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@001C8E2C=param</action>
    </script>
  </cheat>
tekken2b, tekken2jb, tekken2ub:

Code: Select all

  <cheat desc="P1 Select Player Type">
    <parameter>
      <item value="0x00">Human</item>
      <item value="0x01">CPU</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@0030C2A4=param</action>
    </script>
  </cheat>

  <cheat desc="P2 Select Player Type">
    <parameter>
      <item value="0x00">Human</item>
      <item value="0x01">CPU</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@0030C2A6=param</action>
    </script>
  </cheat>

  <cheat desc="Select Camera View">
    <parameter>
      <item value="0x00">Normal</item>
      <item value="0x01">Cinematic</item>
    </parameter>
    <script state="run">
      <action>maincpu.pb@0030F38C=param</action>
    </script>
  </cheat>
FWIW, tekken2jb has the same memory locations as tekken2b/tekken2ub, the existing tekken2b.xml cheats work fine with tekken2jb. The tekken2jc set is a different beast however, so the cheats will need to be converted manually. I haven't touched tekken2jc or tekken2a yet.

Edit: Camera View mode added.

Re: [tekken2]+ Select Player Type (aka Human/CPU control mode) + Camera View Mode

Posted: Mon Jul 04, 2022 10:50 pm
by Pugsy
Thanks, added. And cheers for the note about tekken2jb