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

Add a ROM patching system #158

Closed
shutterbug2000 opened this issue Feb 4, 2018 · 14 comments
Closed

Add a ROM patching system #158

shutterbug2000 opened this issue Feb 4, 2018 · 14 comments

Comments

@shutterbug2000
Copy link
Collaborator

Instead of patching problematic games (such as Mario's Holiday demo) directly in bootstrap, allow for patch files to be created that can replace bytes easily.

This could also allow for .xdelta and/or .ips patches to be applied at runtime, but we'll see.

@ahezard
Copy link
Collaborator

ahezard commented Feb 15, 2018

Good idea!

@ahezard
Copy link
Collaborator

ahezard commented Feb 15, 2018

That would make the code simpler to maintain on the long term

@piratesephiroth
Copy link
Contributor

Also the rom caching settings could be stored in a .ini file instead of being hardcoded.
However robz8 didn't know how to implement that when I suggested it.

@aphirst
Copy link

aphirst commented Apr 12, 2018

I assume that this could, in principle, be used for Anti-Piracy patching too? Or, assuming it's not defined as out-of-scope, would a different implementation approach be more sensible for that?

@ahezard
Copy link
Collaborator

ahezard commented Jun 7, 2018

That should be easy to support ips patch

@noctis90210
Copy link

just want to ask if this issue is about soft patching the rom (game and ap patch file are separate files on sd card but patch will automatically applied upon loading a rom) rather than hard patching/injecting the patch directly into the rom? thanks

@RocketRobz
Copy link
Member

@noctis90210 Yes.

@ahezard ahezard moved this from To Do to High Priority in Enhancements Mar 6, 2019
@MasterGamingYT
Copy link

So it's basically built in AP patching?

@MasterGamingYT
Copy link

Oh wait.......nevermind

@NightScript370
Copy link
Member

Implemented in the latest release

Enhancements automation moved this from High Priority to Closed Aug 27, 2019
@noctis90210
Copy link

noctis90210 commented Sep 25, 2019

@NightYoshi370 just want to ask if this feature is already built-in into nds bootstrap? What i mean is it will work on any type of nds-bootstrap emulation? like starting games via TWLmenu and NDS Forwarder?

If im going to use it with NDS Forwarder, where should i put the patch file so that nds-bootstrap can detect and apply it on the fly?
thanks and have a nice day...

@ahezard
Copy link
Collaborator

ahezard commented Sep 25, 2019

This feature is already built-in into nds bootstrap but I do not think it work with the NDS Forwarder which are outdated.

@noctis90210
Copy link

@ahezard ahhh ok... so it means NDS Forwarder is the one that needed an update to support new features of nds-bootstrap like patching on the fly... i hope robz8 will update his NDS Forwarder... anyway thanks for your reply... :-)

@ahezard
Copy link
Collaborator

ahezard commented Sep 27, 2019

The forwarders have just been updated by Robz8 : https://gbatemp.net/threads/nds-forwarder-cias-for-your-home-menu.426174/page-275#post-8804064
IPS patches are now supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Enhancements
  
Closed
Development

No branches or pull requests

9 participants