development:technical-details:patches:key-patch
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| development:technical-details:patches:key-patch [2026/09/12 21:49] – carbonara | development:technical-details:patches:key-patch [2026/09/13 21:55] (current) – [References and further reading] carbonara | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| The original patch came with the [[https:// | The original patch came with the [[https:// | ||
| - | A Key Patch game includes 3 files: a RPG_RT.exe, a harmony.dll and an oldharmony.dll files. When testing a game, make sure those files are present. | + | A Key Patch game includes 3 files: a RPG_RT.exe, a harmony.dll and an oldharmony.dll files. When testing a game, make sure those files are present. |
| + | |||
| + | The EasyRPG Player recognises a game as a Key Patch game if a file named harmony.dll is present in the folder of the game, or if the KeyPatch flag is set through the [[https:// | ||
| If you need to pick an Ineluki executable and Harmony.dll files to test the patch, you can grab those from [[https:// | If you need to pick an Ineluki executable and Harmony.dll files to test the patch, you can grab those from [[https:// | ||
| Line 95: | Line 97: | ||
| The next section can be used to call the section of another file: for instance, '' | The next section can be used to call the section of another file: for instance, '' | ||
| + | |||
| + | ==== autorun.script ===== | ||
| + | |||
| + | On boot, if a file autorun.script exists, its content will be read and its scripts will be executed. | ||
| + | |||
| + | An autorun.script file can be formatted like this: | ||
| + | |||
| + | <code - autorun.script> | ||
| + | sound\register_cheat_event_rpg2k.script.wav | ||
| + | sound\midi_ticks_output.script.wav | ||
| + | </ | ||
| + | |||
| + | Here, the scripts register_cheat_event_rpg2k.script.wav and midi_ticks_output.script.wav from the Sound folder will be executed on boot. | ||
| ==== Key list ===== | ==== Key list ===== | ||
| Line 515: | Line 530: | ||
| //Current implementation issues: [[https:// | //Current implementation issues: [[https:// | ||
| - | The command WriteToLog allows to send a message to be written in the harmony.log file. | + | The command WriteToLog allows to send a message to be written in the harmony.log file (harmony.log is a log file written in the folder of the game by the patch). |
| It can be written as follows: | It can be written as follows: | ||
| Line 573: | Line 588: | ||
| ====== References and further reading ====== | ====== References and further reading ====== | ||
| + | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
development/technical-details/patches/key-patch.1789249762.txt.gz · Last modified: by carbonara