encounter / decomp-toolkit

A GameCube & Wii decompilation toolkit
Apache License 2.0
107 stars 15 forks source link

Feature: Put offsets next to .obj in their data sections. #37

Closed RevoSucks closed 5 months ago

RevoSucks commented 7 months ago

I have to add these little tags to track these areas:

    .4byte 0x4C4C2069
    .4byte 0x6E202564
    .2byte 0x0A00
.endobj "@633"
    .2byte 0x0000

.obj "@634", local @ C44
    .4byte 0x4F534368
    .4byte 0x65636B41
    .4byte 0x63746976
    .4byte 0x65546872
    .4byte 0x65616473
    .4byte 0x3A204661
    .4byte 0x696C6564
    .4byte 0x20436865
    .4byte 0x636B5468
    .4byte 0x72656164
    .4byte 0x51756575
    .4byte 0x65287468
    .4byte 0x72656164
    .4byte 0x2D3E7175
    .4byte 0x65756529
    .4byte 0x20696E20
    .4byte 0x25640A00
.endobj "@634"

.obj "@635", local @ C88
    .4byte 0x4F534368
    .4byte 0x65636B41
    .4byte 0x63746976

The @ xxx areas would be nice if automatically emitted by DTK. It makes string lookup awful as I have to make sure I grab the right data for each symbol im adding to my WIP code.