TASEmulators / TASEmulators/BizHawk
[Enhancement] DuckStation Cheat Code Convertor (PlayStation)
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.8k
- Forks
- 468
- PR merge metrics
- No merged PRs in 30d
Description
I will butcher all the explanation I will let you know that now.
So we're already able to convert normal GameShark codes into something readable for BizHawk, but not these DuckStation codes.
I'm going to use Crash Team Racing (NTSC-U) as the example here, other games have their own codes and their own "problems".
But for CTR we have a "simple" code for hiding the HUD, in DuckStation that's:
A70365AA 10402400
A704C816 10432400
A704CA76 10432400
So personally I naïvely thought it would be: 0x0365AA 2400 since that's how it would work with GameShark codes.
I was further from the information that I ever would be when I misread the second two codes (despite being on the right path).
There's a major documentation about it on GameHacking wiki: https://wiki.gamehacking.org/Duckstation
The information provided by the wiki is...
A7XXXXXX YYYYZZZZ - 16-Bit If Equal To Write with Restore, if 0x80XXXXXX==0xYYYY, Poke 0x80XXXXXX with 0xZZZZ
Which would create the GameShark code of:
D00365AA 1040
800365AA 2400
D004C816 1043
8004C816 2400
D004CA76 1043
8004CA76 2400
For our case it really just translates out to:
800365AA 2400
8004C816 2400
8004CA76 2400
And works as a regular GameShark code for BizHawk's case.
This is like the bare explanation of it as I did get assistance about how to convert it into a usable state.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating BizHawk's existing GameShark conversion path and its tests, then determine where DuckStation codes would fit; done means the documented DuckStation examples convert to working BizHawk GameShark codes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100