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 Note commands #9

Open
wolfman2000 opened this issue Jul 11, 2024 · 1 comment
Open

Code Note commands #9

wolfman2000 opened this issue Jul 11, 2024 · 1 comment
Labels
cli feature-request New feature or request

Comments

@wolfman2000
Copy link

I admit I don't know the best way of handling this, but perhaps there can be a way to generate code notes in bulk? A number of the games we work on have many repeating notes of similar content (multiple levels, cars, etc), and having a programmatic way of handling them would likely be useful.

@suXinjke
Copy link
Owner

Could be something simple as that

export const codeNotes = {
  0xCAFE: 'Cafe!',
  0xFEED: 'Feed!'
}

Then you'd npx cruncheevos codenote-save to inject them into User file. Command would specifically look for this export.
Hesitant to support export format like [ [0xCAFE, 'CAFE'], [0xFEED, 'FEED'] ] because it allows for duplicate addresses.

But for this to be feature-complete it also needs codenote-diff and codenote-diff-save commands.

User would still have to manually deal with uploading these to the server. It's possible to implement uploading these notes to server, but I'm extremely hesitant because a mistake in implementation, or user's mistake can lead to full life consequences.

@suXinjke suXinjke added feature-request New feature or request cli labels Jul 11, 2024
@suXinjke suXinjke changed the title Allow an option to generate code notes. Code Note commands Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants