Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code loading via text files #2

Open
Voxel9 opened this issue Feb 11, 2020 · 1 comment
Open

Code loading via text files #2

Voxel9 opened this issue Feb 11, 2020 · 1 comment
Labels
enhancement Issues covering a potentially useful feature to be added. File I/O Issues related to file access and the filesystem Memory Issues related to memory management and/or memory access Plugin Issues related to the CheatX Xbox plugin

Comments

@Voxel9
Copy link
Owner

Voxel9 commented Feb 11, 2020

Now that the Xbox plugin has a powerful-enough search function to create cheats with, it will be imperative to produce a *.txt code loader with a suitable markdown and file name scheme.

It's important that both these schemes should be suitable for end-users to understand, as well as the developers, as they'll soon be creating and sharing around these txt files and need to know where to place them.

For a file naming scheme, I propose something as simple as using the game's Title ID (in hex) and placing it at a location such as E:\devkit\dxt\CheatX\txtcodes\*.txt, for example 4D530051.txt will be a cheat file for Conker Live and Reloaded.

As for markdown, I don't have a solid proposal just yet, but I'm thinking about something similar to the 3DS's CTRPF AR codes in the sense that the first hex digit represents a certain functionality of that particular line. (e.g. 00123456 000003E7)
For code titles, something as simple as a dollar $ sign preceeding the name will suffice. And finally, comments within the txt file can be marked with a preceeding hashtag #.

@Voxel9 Voxel9 added Memory Issues related to memory management and/or memory access File I/O Issues related to file access and the filesystem Plugin Issues related to the CheatX Xbox plugin enhancement Issues covering a potentially useful feature to be added. labels Feb 11, 2020
@Voxel9
Copy link
Owner Author

Voxel9 commented Feb 12, 2020

Some basic functionality has just been pushed.

The markdown is currently as follows:

# <TEXT> - Comments
$ <TEXT> - Code Title
0xxxxxxx xxxxxxxx (arg 1 = <ADDR>, arg 2 = <VALUE>) - Freeze value at address

I just realized that 3DS CTRPF's AR codes use square brackets [] for the title, but I'm still happy to continue using the dollar $ sign to indicate titles in CheatX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues covering a potentially useful feature to be added. File I/O Issues related to file access and the filesystem Memory Issues related to memory management and/or memory access Plugin Issues related to the CheatX Xbox plugin
Projects
None yet
Development

No branches or pull requests

1 participant