3
0
mirror of synced 2024-11-23 23:00:58 +01:00

Update README.md

This commit is contained in:
CrazyRedMachine 2024-06-27 16:55:45 +02:00 committed by GitHub
parent 45629538f4
commit f600ec7b50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,24 +19,11 @@ Usage:
This will restore the initial state.
## ida_find_addrs.py
IDA script tested in 6.6 and 7.x.
Creates a map file based on the opened DLL file.
The output file is not guaranteed to work but it should be about 95% right.
If the game crashes when you use a newly generated XML file, diff with a known good/working XML file to figure out what patches don't look right and remove them.
Usage:
1. Load popn22.dll in IDA Pro
2. Wait until IDA finishes analyzing the entire DLL
3. File > Script file... > select ida_find_addrs.py
4. Copy output XML file from IDA's output window (by default it will be docked to the bottom of the screen)
## db_dump.py
Dump the full database information from the specified DLL using the input XML mapping information.
You can obtain the XML maps by using ida_find_addrs.py.
You can obtain the XML maps by using popnhax v2.1 or above and enable `<patch_xml_dump>` option.
Usage:
```bash
@ -83,6 +70,22 @@ optional arguments:
Example: `python3 verify_data.py --input-dll popn22.dll --input-xml db/patches_2018082100.xml --input-data data --input-db db`
## (DEPRECATED) ida_find_addrs.py
** THIS SCRIPT IS DEPRECATED AND PROBABLY WON'T BE UPDATED ANYMORE. PLEASE USE POPNHAX V2.1 OR ABOVE INSTEAD **
IDA script tested in 6.6 and 7.x.
Creates a map file based on the opened DLL file.
The output file is not guaranteed to work but it should be about 95% right.
If the game crashes when you use a newly generated XML file, diff with a known good/working XML file to figure out what patches don't look right and remove them.
Usage:
1. Load popn22.dll in IDA Pro
2. Wait until IDA finishes analyzing the entire DLL
3. File > Script file... > select ida_find_addrs.py
4. Copy output XML file from IDA's output window (by default it will be docked to the bottom of the screen)
# Other Important Notes
- ~~As of time of writing, the latest version of ifstools (1.14) will not extract jacket.ifs properly on Windows due to NTFS's case-insensitivity, resulting in 3 images being overwritten with data that won't work in-game. You can extract on a *nix system to get the correct jacket images if you see a green block in place of the jackets for the affected songs.~~