0 of 0

File information

Last updated

Original upload

Created by

TheMysteriousStranger90

Virus scan

Some manually verified files

About this mod

Save Editor For Pathologic 2

Permissions and credits
Changelogs
Save Editor for Pathologic 2


Description:
This desktop application is built using .NET and Avalonia UI and serves as a Save Editor for Pathologic 2, allowing users to modify player stats, add money in-game, maximize the current quantity of items in the inventory, maximize the current quantity of items in Haruspex's Wardrobe and expand inventory (last method works only partially).

Fixes and New Functionality:
v0.0.1:
- (Released: 23 November 2023) - Initial release with core features.

 v1.0.0:
- (Released: 14 October 2024) - Major update with new features and bug fixes.
- Threading Error: Fixed the "Call from invalid thread" error related to performing UI operations from the wrong thread. I used Dispatcher.UIThread.InvokeAsync to ensure execution on the UI thread.
- Crash when closing dialog without selecting a folder: Added a null check for the dialog result in the OpenSave to avoid crashing when closing the dialog window without selecting a folder.
- Double invocation of the OpenSave: Optimized the process of working with decompressed files to avoid re-invoking the method. Now, after decompression, the file is loaded automatically.
- Residual .xml file after compression: Added logic to delete the original .xml file after it has been successfully compressed in the Save method.
- Fixed the Immunity stat: The Immunity stat was not being saved correctly. I fixed this by updating the Save method to include the Immunity stat.
- Maximize Item Counts: Added the ability to maximize the current quantity of items in the inventory. This new feature allows users to increase the count of each item to its maximum allowed value.

v1.1.0:
- (Released: 21 October 2024) - Minor update with new features and bug fixes.
- Expand Inventory: Added the ability to expand the player's inventory. Note: This method works partially and expands only part of the inventory.
- Maximize Item Counts in Haruspex's Wardrobe: Added the ability to maximize the current quantity of items in Haruspex's Wardrobe. This feature is available only after the player gains access to Haruspex's Lair.
- Improved Error Handling: The application will no longer crash if the default save file is not found in the LoadSaveAsync method. Instead, it will display an error message and disable the panel.

Features:
- Player Stat Editing: Modify various player stats such as health, hunger, etc.
- Currency Addition: Add in-game currency to the player's inventory.
- Maximize Item Counts: Added the ability to maximize the current quantity of items in the inventory.
- Expand Inventory: Expand the player's inventory. Note: This method works partially and expands only part of the inventory.
- Maximize Item Counts in Haruspex's Wardrobe: Maximize the current quantity of items in Haruspex's Wardrobe.

Usage:
1. Load Default Save: Launch the application and press 'Load Save' to load the default Pathologic 2 save file.
2. Open Save: To load any other save file, press 'Open Save'.
3. Edit Player Stats: After loading a save file, press 'Player Stats' to edit the player's parameters such as health, hunger, thirst, etc.
4. Add Money: Press 'Add Money' to increase the player's money count to a 1000000 value.
5. Expand Inventory: Press 'Expand Inventory' to expand the player's inventory. Note: This method works partially and expands only part of the inventory.
6. Maximize Item Counts: Press 'Maximize Item Counts' to increase the current quantity of all items in the inventory to their maximum allowed values.
7. Maximize Item Counts in Haruspex's Wardrobe: Press 'Maximize Item Counts in Haruspex's Wardrobe' to increase the current quantity of all items in Haruspex's Wardrobe to their maximum allowed values. This feature is available after the player gains access to Haruspex's Lair.
8. Save: After making changes, press 'Save' to save and compress the modified save file. The original .xml file will be deleted after successful compression.

Installation:
1. Extract: Extract the downloaded archive 'SaveEditorForPathologic2.zip' to your desired location.
2. Run: Navigate to the extracted folder 'SaveEditorForPathologic2' and execute 'SaveEditorForPathologic2.UI.exe'.