gecko
gecko copied to clipboard
Add new "Gecko" Build Type
Copied from https://github.com/rapito/gecko/releases/tag/v3.5.0
Allows Injecting Gecko binaries
Given that you have asm code and want to append some existing gecko codes in text format, now you can do it with the json configuration of type: gecko
Example codes.json
{
"outputFiles": [
{ "file": "gecko/output/codes.gct"},
{"file": "gecko/output/codes.ini"},
{"file": "gecko/output/codes.bin"}
],
"codes": [
{
"name": "ASM Codes",
"build": [
{
"type": "injectFolder",
"isRecursive": true,
"sourceFolder": "examples/asm",
"annotation": "Rumble Off [UnclePunch]"
}]
},
{
"name": "Text Codes",
"build": [
{
"type": "gecko",
"sourceFile": "examples/text/LocalPlayerTag.ini"
}]
}
]
}
Gives you something like:
codes.ini
$ASM Codes []
043D4A70 00000000 #examples/asm/Rumble Off/Rumble Off.asm
$Text Codes []
$Optional: Force Nametag for Local Player [Fizzi]
*When playing online, nametag YOU will show above your character ---------------------
*Will not cause desyncs when playing online
C20355B4 00000008 #Online/Optional/IndicateLocalPlayer/ForceLocalPlayerTag.asm
3C608048 80639D30
5463443E 2C030208
40820028 806DB61C
88630000 7C03F800
40820018 38600000
3D808003 618C55CC
7D8903A6 4E800420
1C9F0E90 00000000
C22FD1EC 0000000E #Online/Optional/IndicateLocalPlayer/SetLocalPlayerTag.asm
48000010 4E800021
8278826E 82740000
3C608048 80639D30
5463443E 2C030208
40820020 806DB61C
88630000 7C03D800
40820010 4BFFFFD1
7C6802A6 4800002C
7F63DB78 3D808003
618C556C 7D8903A6
4E800421 5463063E
3D808023 618C754C
7D8903A6 4E800421
60000000 00000000