Sorry for my absence. I've been somewhat depressed, and I didn't think people still used my mod nor was it this popular which is apparently an oversight by me. As you may know, the new update changed the whole binary as it removed Denuvo (DRM/Code Obfuscator) they used to protect against illegitimate copies of the game. As a result, all of the code sigs I had for 2B Hook stopped working and as of now, 2B Hook cannot find the key object pointers it needs to function. Quite a bit of work is needed to update it but, yes I do plan on updating it. I am also thinking about making 2B Hook open source on my GitHubif there is interest on that please let me know in the replies or on Discord PM (Martino#1552) or a PM on here! Moreover, I am planning on releasing my old IDA database too since it's outdated and I am starting a new one for the new version of the game!
Edit: I'll try to do another update in august 22 with version 0.23 with maybe more features but defo make it more stable bug fixes.
Thank you! I was holding off on doing another playthrough because this mod fixes a major issue in the game which is enemy scaling. I love being able to set every enemy with 5-10 levels of 2B/9S/A2 so I never feel overpowered.
Don't worry, we are all waiting very much, and if you had appeared even earlier, approximately when the update was released, you would have received a much larger feedback ;)
If you posted it on github I'd be very interested, wouldn't mind helping to port things over too (I've been porting all my LodMod stuff across 5 different builds already :D)
Would be interested in your IDA database too, maybe it's possible to move some of the functions over to new builds with BinDiff/Lumina (also if you do start a new DB with the latest ver make sure you pull from Lumina too, lots of Criware/Enlighten funcs already named there, I've added names for a couple NA specific things too)
E: also wow, wish I'd found your NieR-Automata-SDK project earlier, some nice work in there! I have a few adds in my own SDK that could be merged, https://github.com/emoose/NieRAutomata-LodMod/blob/master/Automata-LodMod/SDK.h#L137 is my version of your Pl0000 struct (got the name BehaviorScr from the extra RTTI info that the new builds left in), named a few shadow things there, but of course yours is much more advanced than my version though :P
btw is that SDK on github your latest or does 2B hook maybe include something newer?
That SDK is from a really old build of 2B Hook it's ancient I have a lot more structures now with more detail. If you would like to consolidate it into a standalone SDK that would be cool.
I know that since they updated nier recently most mods started crashing. If you update this mid would you be so kind to upload new ver here too? :) would be much appreciated <3
I managed to install 2B hook with the dll injector included in NAMH v4.2. However, every time I try to balance enemy lvl to mine the game crashes. I don't know what to do at this point.
I tried the same, were you able to figure anything out?
If you read this, try using Extreme Injector, 2B Hook works for me now when balancing enemy level. Only downside is that you have to inject the dll everytime you launch the game.
mine also doesn't work, i guess this is outdated or something... used SpecialK to attach the plugin, menu works and some options works like A2 as buddy, but not god mode. Playing the steam Game of the Yorha edition.
How did you inject this DLL using special SK? I've been using SK using the guid to mod NieR, but I don't know how to add this DLL, I don't see any option to add a plugin.
When I tried to download 2B Hook Launcher v1.4, Windows Defender notified me that a virus was detected, and actually quarantined the virus. What does this mean?
I just wanted to reply to this for future users with this concern and say that Windows is far too overprotective of its users. Almost anything that attempts to do code injection will get flagged by Windows Defender. Heck, things that do far less get detected as a virus. Being that I write small applications to automate tasks for me, it is extremely annoying how often Windows Defender will say that my application is a "virus" just because it's modifying some file somewhere that has nothing to do with Windows. I can say that the launcher is fine, I looked at the code myself. Even though I barely understand a lot of it, I can tell nothing malicious is going on here.
To the creator: I just really wanted to thank you for this brilliant piece of software. While I don't use most of the functionality, the ability to swap characters made this game far more playable to me. I don't care much for 9S's playstyle, being able to play as 2B and pulling him up when necessary is amazing. I mapped the F6 button to the PS button on my controller using DS4Windows. Again, thank you for this. I only had one issue with the launcher, and that's the console window waiting around for input to close. Since there is nothing else that needs to happen at this point, it seems kind of silly to have it just sit there for no reason. So I made a quick change, and that made me want to say thank you for making the source code available.
To everyone: Because I prefer things to just go, I have made a single change to the source: remove the call to getchar() in the WaitOnUserInput function. When the launcher is done injecting, it will close itself out instead of waiting on user input with the message "Press enter to continue...". For some reason, the resulting binary is very different than the one built by the creator (xmmword), but the file size is the same. I'm not sure how recent the code is on the Github page compared to the latest version, maybe it's older, or maybe using VS2022 or some change in the build process is why it's different. Despite that, the launcher I built seems to work fine. My compiled build is here:
2B Hook Launcher (No Wait on User Input): Download Link
The only difference is when launching the game using the launcher, the console window will close itself out after it is done with injection. No other code changes were made, it is merely a convenience thing.
Yo, do you know of any mod that simply prevents you from dropping your chips when you die? I like the difficulty of hard, but I don't like losing my best chips over and over.
425 comments
Sorry for my absence. I've been somewhat depressed, and I didn't think people still used my mod nor was it this popular which is apparently an oversight by me. As you may know, the new update changed the whole binary as it removed Denuvo (DRM/Code Obfuscator) they used to protect against illegitimate copies of the game. As a result, all of the code sigs I had for 2B Hook stopped working and as of now, 2B Hook cannot find the key object pointers it needs to function. Quite a bit of work is needed to update it but, yes I do plan on updating it. I am also thinking about making 2B Hook open source on my GitHub if there is interest on that please let me know in the replies or on Discord PM (Martino#1552) or a PM on here! Moreover, I am planning on releasing my old IDA database too since it's outdated and I am starting a new one for the new version of the game!
Edit: I'll try to do another update in august 22 with version 0.23 with maybe more features but defo make it more stable bug fixes.
-Martin
- and don't overwork yourself!
Would be interested in your IDA database too, maybe it's possible to move some of the functions over to new builds with BinDiff/Lumina (also if you do start a new DB with the latest ver make sure you pull from Lumina too, lots of Criware/Enlighten funcs already named there, I've added names for a couple NA specific things too)
E: also wow, wish I'd found your NieR-Automata-SDK project earlier, some nice work in there! I have a few adds in my own SDK that could be merged, https://github.com/emoose/NieRAutomata-LodMod/blob/master/Automata-LodMod/SDK.h#L137 is my version of your Pl0000 struct (got the name BehaviorScr from the extra RTTI info that the new builds left in), named a few shadow things there, but of course yours is much more advanced than my version though :P
btw is that SDK on github your latest or does 2B hook maybe include something newer?
thanks :P new ver is out
Edit: i managed to get it working at the start of the game a few days ago but now i'm at the resistance camp it immediately crashes the game.
If you read this, try using Extreme Injector, 2B Hook works for me now when balancing enemy level. Only downside is that you have to inject the dll everytime you launch the game.
f*#@ me. Awesome Menu tho <3
Also, my comment was more of a joke. IDK if you got it, but obviously you have to have Keyboard Input ENABLED for it to work...
To everyone: Because I prefer things to just go, I have made a single change to the source: remove the call to getchar() in the WaitOnUserInput function. When the launcher is done injecting, it will close itself out instead of waiting on user input with the message "Press enter to continue...". For some reason, the resulting binary is very different than the one built by the creator (xmmword), but the file size is the same. I'm not sure how recent the code is on the Github page compared to the latest version, maybe it's older, or maybe using VS2022 or some change in the build process is why it's different. Despite that, the launcher I built seems to work fine. My compiled build is here:
2B Hook Launcher (No Wait on User Input): Download Link
The only difference is when launching the game using the launcher, the console window will close itself out after it is done with injection. No other code changes were made, it is merely a convenience thing.
https://community.bistudio.com/wiki/DIK_KeyCodes