A Windows save editor for the PC release of METAL GEAR SOLID: Peace Walker — Master Collection Version.
PTB means public test build. Back up your save before editing it.
- Opens and saves encrypted PC
STWsave files. - Edits soldier names, assignments, portraits, classes, recruitment categories, sex, unit title, voice profile, acquisition method, Life, Psyche, GMP+, Hostility, Morale, Combat, R&D, Mess Hall, Medical, Intel, skills, and Details Quotes.
- Automatically caps Life and Psyche at the game's maximum value of 9,999.
- Automatically caps Hostility and Morale at the soldier-record maximum of 999.
- Shows skill descriptions.
- Provides a Play button for each voice profile when its authentic preview WAV is included.
- Filters and searches the staff roster, including unique characters.
- Exports a soldier and imports one into an empty roster slot from the right-click menu.
- Supports persistent per-soldier custom Details Quotes through an optional ASI plugin.
- Includes the portrait pack used by the PTB release.
- Close Peace Walker before editing a save.
- Make a backup copy of the save.
- Start
PeaceWalkerSoldierEditor_PTB.exe. - Select Open Save and choose the encrypted PC
STWfile. - Select a soldier, make changes, and choose Apply Soldier Changes.
- Choose Save As and write the edited file to a new location first.
- After confirming the edited save works, replace the original if desired.
For soldier transfers, right-click a populated roster entry and select Export Soldier. To import it, right-click an empty slot and select Import Soldier.
The Details Quote selector copies only the four-byte quote identifier from the selected donor soldier. It does not copy the donor's separate identity data.
The condition indicator is intentionally read-only. The save contains a compact condition flag used by sick or wounded staff, but its individual bit meanings are not yet safe to edit.
Choose a Voice Profile and select Play to hear its bundled sample. Authentic preview files use the names voice_01.wav through voice_09.wav in the voice_previews folder. If a profile has not been captured yet, the editor reports that the preview is unavailable.
- Select a soldier and type text into Custom Details Quote (optional).
- Choose Apply Soldier Changes, then Save As.
- Keep the generated
.pwquotes.jsonfile beside the edited save. It stores the custom text because arbitrary quote text cannot be embedded directly in the normal soldier record. - Choose Install Custom Quote Support once and select the real Peace Walker executable. MGSPatriotFix or another compatible ASI loader must already be installed.
- Close the editor and start Peace Walker normally. The game-side plugin loads the matching companion file automatically.
The save remains a standard Peace Walker save. If the companion file or plugin is missing, the game falls back to the selected donor quote. The plugin is specific to the supported PC executable and may need an update if a game patch changes its code layout.
Requirements:
- Windows 10 or 11
- Python 3.11 or newer
- Visual Studio 2022 with the Python development workload
- Visual Studio 2022 Desktop development with C++ workload when rebuilding the optional quote plugin
- Open Visual Studio Installer.
- Select Modify for your Visual Studio installation.
- Install the Python development workload.
- In Visual Studio, select File > Open > Folder and open this repository.
- Open View > Terminal and run the build commands below.
From a PowerShell window in this repository:
py -m venv .venv
.venv\Scripts\python -m pip install -r requirements.txt
quote_plugin\build_plugin.bat
.venv\Scripts\python -m PyInstaller --clean --noconfirm PeaceWalkerSoldierEditor.specThe standalone application will be created under:
dist\PeaceWalkerSoldierEditor_PTB\PeaceWalkerSoldierEditor_PTB.exe
The included portrait files are bundled automatically by the PyInstaller specification.
soldier_editor.py— graphical editor and soldier-record handlingsave_cipher.py— PC save encryption/decryption supportedit_save.py— internal save checksum updatesportrait_assets/— portrait images bundled with the PTB releasequote_plugin/— source and build script for persistent game-side custom quote supportthird_party/minhook/— MinHook source used by the optional ASI pluginPeaceWalkerSoldierEditor.spec— standalone Windows build configuration
- This build is intended for the PC Master Collection release. Other releases may use a different save layout.
- Never edit the only copy of a save.
- The application does not need Python or separate DLL/PYC files when built with the included PyInstaller specification.
- The standalone folder must be kept intact; do not move only the
.exeout of it. - Antivirus products may scrutinize newly compiled unsigned executables. Publishing the source and reproducible build steps lets users inspect and build the program themselves.
This is an unofficial fan-made utility and is not affiliated with or endorsed by Konami.