NieR: Automata

File information

Last updated

Original upload

Created by

xmmword

Uploaded by

xmmword

Virus scan

Some manually verified files

About this mod

2B Hook: A Mod Menu For NieR:Automata! 2B Hook is a mod menu, which means it has multiple features inside one mod. Here are some of the features: Godmode, No Fall Damage, No Enemy Damage, Level Manipulation, Buddy Spawning, Item Spawning, Pod Spawning and Entity Spawning

Requirements
Permissions and credits
Mirrors
Donations
2B Hook:

A Mod Menu For NieR:Automata

GitHub Repo - Check out the repo if you're interested in the inner workings or want to help!

Appendix: 🪲 - Buggy 🧪 - Exparimental ☢️ - Broken
  • Godmode: Take no damage.
  • No Fall Damage: No fall damage.
  • No Enemy Damage: No damage from enemies.
  • Level Manipulation: Configures enemy levels and local player level.
  • Buddy Spawning: Spawn in the buddy of your choice.
  • Item Spawning: Spawn in items by id or name.
  • Pod Spawning: Spawn in any pod.
  • Model Affine Matrix Manipulation:
  • Model Parts Color Manipulation:
  • Protagonist Switching: Freely switch between
  • Airstuck: Float in the air.
  • Duplicate Buddy as NPC: Duplicate the current buddy as an NPC.
  • NPC, Yorha and Enemy Entity Handle enumeration
  • No Localplayer Gravity: Removes gravity for the localplayer.
  • No Localplayer Collision: Removes collision detection for the localplayer.
  • 🧪 Set NPC Follow:
  • 🧪 Set NPC Idle:
  • 🧪 Fps Uncapper: Removes the 60 FPS limit.
  • 🧪 No Tutorial Dialogs:
  • 🧪 Save Backup: Makes a copy of the loaded save.
  • Wireframe: Render the scene as a wireframe.

NieR:Automata Banned Word List! (Dumped by Me)
English, Spanish, Italian, German, French, Japanese

If you want to help out or contribute contact me (See Below). If it gets enough interest I'll most likely make it open source. Special thanks to Marky for play testing and an a lot of good ideas!

Installation:

Since this mod is a dynamic link library (DLL) it cannot be used on it's own and needs a DLL injector such as extreme injector or Xenos etc... Alternatively, a proxy DLL loader will also suffice., or download the 2B Mod Launcher (Open Source) from the files page or build it yourself. 

  • Acquire a DLL injector or proxy DLL loader - Open Source DLL Injector (Xenos)
  • Download the 2B Hook DLL here (Choose the latest release build unless you know what you are doing)
  • Open the injector and select the DLL
  • Open NieR:Automata (It's probably best to wait until the game is in the main menu. Not doing so could result in undefined behavior!)
  • Inject!

Attention:  2B Hook may have incompatibilities with FAR versions less than 0.7. If you encounter one please report it to me.

Any crash dumps (.dmp files) are located in the same folder as NieR:Automata. They should be relayed to me (see Contact section) if you want it to get fixed! It might not dump if you close the "NieR:Automata has stopped working" dialog prematurely or if FAR is present.

Item Spreadsheet (not mine): Used For Item Spawning

Hotkeys: (Customizable via config file & Config tab)
F6 - Change Player
F3 - Duplicate Buddy As NPC
F7 - Airstuck (Allows you to phase through solid objects & get stuck in mid-air)
F9 - Model Gravity
F10 - Teleport Forward
Insert - Open Menu

Keycodes for customizing the key binds are in Read Me.txt and in the Config tab!

To-Do:
[OPTIONAL] Make an official injector/launcher 
Add more features of course
Add a config for custom hotkeys
Add teleport (to waypoint, poi, or objective and forward)
Add an overlay renderer [In Progress]

Special Thanks: 
  • Marky - Sparking interest and YouTube videos (Without him this would have never been a mod menu only small private pet coding project of mine)
  • _XXK (grojdg on Discord) - Play testing betas & help with the mod
  • Meat (Vitoposter on here) - Play testing betas

Donate:
I put many hours into developing this mod, from reverse engineering the NieR:Automata binary to find out how the game engine works, to coding the actual mod. Since school has started, I can no longer develop the mod at the same pace as before. By donating, bug reporting, and using the mod you're helping me allocate more time for development! If you wish to support this mod through a donation please see my profile or the top of this page under donations. Your donations are very much appreciated! - Martin

Contact:

Logo Credits: Shal. E

Change Log:

Version 0.01:
-Inital Release (Debug build only)

Version 0.02:
-Added the Release version
-Fixed the dependency to load a save file before injecting

Version 0.03:
-Added crash dumps (to help with error reporting). NOTE: It will also make a dump if my mod isn't at fault.

Version 0.04:
-Added the ability to rotate the main character model
-Added the ability to scale the main character model
-Added the "Ghost Model" feature
-Fixed leaking handles on writing a dump file

Version 0.05 (The Panic Fix Update):
-Fixed the "Ghost Model" feature so that it can be applied to more than the localplayer. With this fix came the decision
of un-ghosting the old camera-focused entity.
-Added custom model tints

Version 0.06:
-Added Buddy spawning feature (2B, A2, 9S)
-Added Buddy destroy feature
-Added Make Buddy (EM, NPC, Yorha) (Experimental)
-Added Duplicate buddy as NPC feature (Hotkey: F3)

Version 0.07:
-Fixed all crashes where the enity pointer would invalidate due to death/save reload etc...
-Fixed weird artifacts pertaining to "Ghost Model"

Version 0.08:

-Fixed a crash where if you opened the menu in a loading/any state where localplayer was invalidated

Version 0.09:
-Added Item Spawning (some items refuse to spawn, hopefully I can fix this later)
-Added Sound playing and emitting
-Added Pod Spawning
-Added No Fall Damage
-Added No Enemy Damage
-Fixed Entity handle enumeration (now more concise and and no null entites)
-Added Custom model part color manipulation (hair color has a odd artifact currently; This will be fixed in later releases!)
-Added An Animation Implementation (First 58 animations, more will be added) 
       NOTE: 27 WILL CRASH YOU FOR SOME REASON this is the one marked "[Access Violation]"

Version 0.10:
-Game will now ignore any keyboard and mouse input when menu is open
-Added player position
-Made the overlay renderer work and added new functionality
-Added create entity log (debug only)
-Fixed a fatal crash that only occurred on windows 7

Version 0.11:
-Added Trace Line with length control
-Added Bone enumeration (Debug Skeleton)
-Added Skeleton ESP
-Added A Configuration System
-Added Rainbow hair
-Added No Model Gravity
-Added Y Position Model Gravity Manipulation
-Unrestricted what save names can be (no banned words)
-Fixed a fatal crash that only occurred on windows 7 (properly this time)
-Fixed a crash due to stack alignment (square root function)
-Corrected distances due to the same square root function

Version 0.12:
-Added a toggle for displaying enemy info
-Fixed speedmeister (speedhack) [yea right LOL]
-Added keybind vfunc support
-Added a keybind for playing animations and teleport forward 
-Improved the logging system (debug)


Version 0.13: ('18 Christmas Update)
-Added No Horizontal Collision
-Added UI support for Custom configs (save & load)
-Added Entity Spawning! (9S, A2 (probably will crash), 2B, White Moose & Boar, Moose & Boar) more on the way! With model scale control
-Added Entity Wet Option
-Added Pod Colour Control
-Added Rainbow pod
-Added Hide pod
-Made NPC Info Toggleable

Version 0.14:
-Fixed default.ini getting created in the game directory. Now all configs will be created in 2bhook.dll's folder.
-Fixed some miscellaneous config bugs

Version 0.15:
-Added option to re-balance enemy levels with tolerance
-Added spawn blacklist
-Added an option for the user to choose if the menu blocks input
-Updated config with new values
-Fixed a bone related crash
-Miscellaneous optimizations

Version 0.16:
-Menu overhaul
-Added a console (logs what the game creates etc... with filters)
-Fixed a bug with bones
-Added the ability to set each entity's level individually
-Updated config with new values for console

Version 0.17:
-Added absolute level balancing mode
-Added Emil to spawnable entities
-Added Emil to show info when NPC info is toggled
-Added an open menu customizeable keybind
-Added Unlock all achievements function
-Added 3D ESP box for protagonists
-Added World ESP
-Changed the Open Menu keybind to be user changeable

Version 0.18:
-Fixed a issue where a keybind wouldn't work if it wasn't bound in the config
-Improved world esp (OBB's for valid objects, the rest are AABB)
-Fixed a issue where items would spawn in a random quantity
-Added configuration enumerator for greater ease of access
-Added item spawn quantity

Version 0.19:
-Fixed trace line to properly locate the head bone
-Fixed the fatal assertion on navigation to the config tab
-Fixed the config system not loading, saving or overwriting configs when desired

Version 0.20:
-Removed feature "Temporary level" since it was pretty much useless
-Removed feature "Ghost model" since it was again useless and caused game crashes. Additionally, the same effect
can be achieved by modifying the mesh alpha values.
-Added first person camera mode breaks when the game forces the camera angle. Still have to find out why, bound to F1 by default
-Added loading custom textures from .dds files very primitive will improve in later updates.

Version 0.21:
-Fixed a crash if 2BHook was injected before loading in a save.

Version 0.22:
-Updated for new unpacked Steam version
-Fixed a bug with config menu
-Fixed a bug in SanitizePath function
-Added camera FOV changer (default FOV is 50.0 degrees)
-Code refactoring

Version 0.23:
-Fixed a bug that would cause NieR:Automata to crash on dinput8.dll!Common_Release every time the NieR:Automata was closed normally instead of through the debug console
-Fixed the "CreateEntity" hook which fixes "Spawn Blacklist" and other cool things
-Fixed no clip reverting the player to the last collision position
-Fixed level scaling
-Code refactoring

Version 1.1.0.0: (Revelations Update)
-Changed version scheme to Maj.Min.Patch.Hotfix (to be more normalized)
-Fixed level scaling
-Fixed a crash caused by valve's gamerendereroverlay64.dll!HookedDirectInput8Create (Big Shutouts)
-Code refactoring
-Upgraded internal SDK :) very private, much useful
-Added color themes
-Various fixes and crashes
-Fixed Airstuck