Skip to content

Cheat Code converter doesnt seem to work with PSX codes starting with D0 #2761

Closed
@ghost

Description

Summary

For the purpose of researching exploits in the menus on the ntsc-j version of Crash Team Racing, some devs who are reverse engeneering the code managed to just switch the language shortly after boot ( https://github.com/CTR-tools/CTR-tools/wiki/Language-swap ), ram poking 2 adresses at a specific moment.

"D003475c 00EA
1003475c 0001"

I've been trying to make this work with the code converter, without success. Same for another code that starded with D0, on another game.
For the time being i used a workaround with a .lua script, when i needed it, with this:

while true do
    if memory.read_u16_le(0x03475C) == 0xEA then
      memory.write_u16_le(0x03475C, 0xEB)
    end
    emu.frameadvance()
  end

Wrote the .lua script using this as reference : https://macrox.gshi.org/The%20Hacking%20Text.htm#playstation_code_types

This way the thing works. I have used cheat code converter in the past and i recall it working with different types of codes, although im not entirely sure the reason this happens is due to this.

Tested on biz 2.6.2 and 2.5.2, without success.
Rom: 90743D27 CTR-NTSC-J.cue
Firmware: 524288 sha1:B05DEF971D8EC59F346F2D9AC21FB742E3EB6917 PSX_3.0(J).bin PSX BIOS (Version 3.0 09/09/96 J)

Metadata

Metadata

Assignees

No one assigned

    Labels

    App: EmuHawkRelating to EmuHawk frontendGhost'dOP's username has been lost to time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions