Chakratos / mhf-save-manager

A Webapplication to manage Character saves used by the MHF Server emulator Erupe
51 stars 10 forks source link

Edit Character Support for G9.1 #35

Closed Noiregya closed 1 month ago

Noiregya commented 2 months ago

Edit Character Support for G9.1

The "Edit Character" tab works for saves in Frontier's G 9.1 format

Implementing other savedata formats

I've added a new config.php item: VERSION (default ZZ) to allow support for multiple different version of character binary editor. A map in the form of an array will match SaveDataController calls and actual addresses. Find the maps in Model/SaveData. The name of the file is {VERSION}.php, for now there is the previously available ZZ and FW_5 versions, in addition we can now find G_9_1. Unmodified config.php from earlier versions will still work as expected for existing users. FORWARD_5_MODE is no longer necessary and can be replaced by setting VERSION = FW_5, however it will still work to avoid breaking existing setups.


Hi! I hope you're doing well! I love this project and hosting a server in the newly popular G9.1 version the need for a compatible save manager araised! Thank you for the hard work, and I hope this is helpful in any way 😄

Noiregya commented 2 months ago

Some non regression testing is needed for FW5 and ZZ, I'll mark it ready for review when it's all done

Noiregya commented 2 months ago

Non regression is done, a few issues have been fixed, it's now functionnal, also added a few things for forward 5 mode

Chakratos commented 1 month ago

Thank you very much, i really like the new system. It will now be much easier to support multiple versions :)

Much appreciated!