After setting up the BetterInventory auto-patcher as per the instructions in its README.txt...
- Compare old patch file to latest pipboy_invpage.class.asasm
- Manually apply patches in a copy named
Pipboy_InvPage.class.asasm2. Search for unique keywords and phrases until you find the best match. There may be multiple fuzzy matches, so be careful of where you insert the patch! - Run the following commands in Windows Command Prompt. The working directory must be the root of BetterInventory auto patcher e.g.
Better Inventory Auto-Patcher 1.4-32-1-4-1663604449/
set TARGET_NAME=pipboy_invpage
set PATCH_TARGET=%TARGET_NAME%.swf
set PATCH_FILE=BetterInventory.patch
rmdir /S /Q "%TARGET_NAME%_patched-0" > NUL 2>&1
copy /b /y "%TARGET_NAME%.swf" "%TARGET_NAME%_patched.swf"
"rabcdasm/abcexport" %TARGET_NAME%_patched.swf
"rabcdasm/rabcdasm" %TARGET_NAME%_patched-0.abc
pushd "%TARGET_NAME%_patched-0"
git diff --patch --histogram --unified=10 --output=../BetterInventory.patch --no-index -- Pipboy_InvPage.class.asasm Pipboy_InvPage.class.asasm2
pushd ..- Afterward, edit the new patch file to replace
asasm2withasasm. - Now you can run autopatch.cmd to patch your
pipboy_invpage.swf.
- Backup or delete
pipboy_invpage.swffrom the auto-patcher's directory. - Rename
pipboy_invpage_patched.swftopipboy_invpage.swfand copy it to a new folder namedinterface - Make a copy of your
BetterInventory.ba2and move the copy into a new folder. - Open the copy with
Archive2. Quick Configuration comes with a copy of Archive2 (although it's probably not allowed to). - Click
Archive>Add Folder... - Select the
interfacefolder from step 2 Ctrl+S
If you're using Vortex or a similar mod manager, you may want to trick it into treating the new BA2 as a variant of BetterInventory instead of a new version altogether. In Vortex...
- Right-Click
BetterInventory Reinstall- Select
Install as variant of the existing mod Continue- (Optional) Name the new variant with the date the relevant Fallout 76 update was released e.g.
2023.10.10(YYYY.MM.DD) Update current profile- Right-Click
BetterInventoryagain. Open in File Manager- Replace the
BetterInventory.ba2with the patched one you created earlier.