When I was playing other games(yakuza0, non-packed), there was also a way to mod by modifying the exe.
So I thought it would be possible to patch the exe, but in the case of p5r.exe, ghidra and ida gives an error.
I had no choice but to search for an address with CE and tested it. How do other people test?
+
I succeeded in modifying zenith defense to be the same as p5's, but how do I distribute this mod?
(The function works fine, but the affinities display doesn't work properly in the persona status :()
I'm not going to distribute it in just this small mod, but I'd like to know for later.
#Is it impossible to patch the exe?
11 messages · Page 1 of 1 (latest)
in terms of testing, I personally debug with cheat engine (mostly because I haven't figured out how to get ghidra's debugger working)
for distribution, you can either use expatch w/ @harsh shuttle 's universal branch of inaba exe patcher (https://github.com/TekkaGB/Inaba-Exe-Patcher/pull/5), or you can handle it with reloaded hooks (https://reloaded-project.github.io/Reloaded.Hooks/)
i haven't tried using the inaba patcher approach yet myself but i know others have used it, so they or swine would probably be able to help.
if you need help with reloaded hooks i might be able to help, just let me know. though if you figure out debugging/patching directly through ghidra/ida then i would love to know how 😄
Both ways should work fine for this, personally if it's just a simple asm edit like that I'd go with Inaba but if you intend to add a lot more or some more advanced stuff a full code mod could be the way to go.
If you do decide to use Inaba it should be very easy to convert an expatch to c# code later on so it's not a big deal if you find it isn't enough for what you need
Also, I just asked Tekka, he missed the pr and will have a look at it later so hopefully it'll be merged and pushed publicly sometime soonish
doing gods work swine
For now you can use this zip (don't mind that it has p4gpc in the name, Inaba was originally solely for p4g but now has universal game support)
And also Inaba's documentation is all here but if there's anything you want help with lmk (use the one on my fork since it's slightly more up to date than the one on main)
https://github.com/AnimatedSwine37/Inaba-Exe-Patcher/wiki
Well what do you know? I modified zenith defense already and like swine said, I use inaba exe patcher
So you will definitely be able to do that 👍
Oh, Thanks 😆
I'll have to learn how to use both first.