Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new "Gecko" Build Type #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rapito
Copy link

@rapito rapito commented Jul 29, 2021

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

rapito added 2 commits July 29, 2021 18:14
- Appends existing gecko code "binary"
- Replaces annotations if present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant