1
0
Fork 0
mirror of https://github.com/marcrobledo/RomPatcher.js.git synced 2025-08-16 17:00:55 +00:00

Updated Embedding Rom Patcher JS (markdown)

Marc Robledo 2024-08-31 10:40:48 +02:00
parent 7aee9c413f
commit 9810f3e0ac

@ -37,7 +37,8 @@ Instead of a simple file path, you can build a JSON object like this:
RomPatcherWeb.initialize(myPatcherSettings, { RomPatcherWeb.initialize(myPatcherSettings, {
file: 'my_hack.ips', file: 'my_hack.ips',
name: 'My game improvement (v2.0)', //patch name that will appear in the dropdown button name: 'My game improvement (v2.0)', //patch name that will appear in the dropdown button
inputCrc32: 0xdeadbeef, //add checksum validation to patch, will warn user if the ROM is not valid inputCrc32: 0xdeadbeef, //add CRC32 checksum validation to patch
inputMd5: 'cafebabecafebabecafebabecafebabe', //add MD5 checksum validation to patch (must be a string!)
description: 'This patch translates the game and fixes bugs!', //short description that will appear when user picks this patch description: 'This patch translates the game and fixes bugs!', //short description that will appear when user picks this patch
outputName: 'My game (Hack)' //patched ROM name outputName: 'My game (Hack)' //patched ROM name
}); });