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

base_tsa: Allow "translation" of replay file names #2

Open
15 of 25 tasks
nmlgc opened this issue May 26, 2014 · 1 comment
Open
15 of 25 tasks

base_tsa: Allow "translation" of replay file names #2

nmlgc opened this issue May 26, 2014 · 1 comment
Assignees

Comments

@nmlgc
Copy link
Contributor

nmlgc commented May 26, 2014

Modders usually want to change the game in more drastic ways than translators - adding new dialogue scripts with new text boxes, modifying danmaku scripts, or even changing parameters of shot types. All of these break existing replays recorded on the unpatched game. This would require players to closely keep track of the patches used for each replay.

By allowing patches to change the replay file name format used by the game, we easily eliminate this confusion.

The straightforward solution would require location of the replay format strings, and probably a new safe sprintf hack for each game. Automatically constructing such a new pattern from the patch stack might also be worth a thought.

Completion status (the list entries for all the ZUN games will be added as I go)

Additional notes:

  • so far I noticed that TH06 and TH07 will copy the file name into a buffer with a fixed size... of 512 bytes which is more than twice the size of a buffer with size MAX_PATH

  • th125 will concatenate the path to it's appdata directory with the scorefile name into a separate buffer on the stack.

  • A game being marked as (Tasofro) doesn't mean adding the replay and scorefile name stringlocs is something @brliron has to do. If anything, he might only have to help me out a little

@ManDude
Copy link
Contributor

ManDude commented Feb 24, 2019

(bump?) scorefiles too

Probably better to just change the savedata folder instead for DS+.

@32th-System 32th-System self-assigned this Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants