config.ini & history.ini editable

Issue #190 wontfix
Former user created an issue

Original [issue 190](https://code.google.com/p/genplus-gx/issues/detail?id=190) created by ferran_r1@hotmail.com on 2011-10-01T09:30:53.000Z:

That's not a request a suggestion only, maybe is easy to do it because I belive that this files are compressed only.I think that would be more easy to change configurations if config.ini, history.ini & savegames are editable.The savegames is to hack them I know that they are not plain text ;) but if they are uncompressed there will be more easy to hack using an hex editor.

What steps will reproduce the problem? 1. 2. 3.

What is the expected output? What do you see instead?

What version of the emulator are you using (official, SVN revision,...)?

Please provide any additional information below (Video settings, Console region,...)

Comments (2)

  1. Former user Account Deleted

    Comment # 1 originally posted by ekeeke31 on 2011-10-01T17:24:38.000Z:

    The only things that are compressed are savestate files. The choice was made when the only way to save files were on Game Cube Memory Cards and memory space was limited but I plan to remove zlib compression by default since it should really be platform-dependent. I doubt you could "hack" much anyway, the format is very specific and it would require advanced game disassembly analysis.

    Other files are not compressed: config file simply contains configuration data in the form of numerical values or strings (for default ROM path) stored successively. You can already edit the values into an hex editor if you know the config structure though I don't see the need for you to edit this file, everything can be configured through the emulator. That's said, I have no plan to switch to something more readable as it would require additional processing to parse the file when it's simpler to just copy the bytes read from the file to the config structure.

    History file can easily be edited, though again I don't see the need for that. Open it in any text editor and you will see how file info is stored.

  2. Former user Account Deleted

    Comment # 2 originally posted by ferran_r1@hotmail.com on 2011-10-02T09:41:11.000Z:

    Thanks for answering.I hacked kegafusion and gens savefiles. I don't know what format use this emulators I think that is possible to do the same with genesis+ savegames. About the other files I thought erroneus that they were compressed and the format was like mame.ini where I add/change rom path with notepad if I must use and hex editor it's more easy to use the emulator instead. I use history.ini to add the roms that I want to play on a faster way.

  3. Log in to comment