A small command-line tool and library for decoding Growtopia items.dat to JSON. Made in C99.
You can open a ticket in Issues if any problems occur.
(bugs may occur since this is a completely refactored old project / syntax might be different)
You can either snatch the decoded items.dat from here Releases, or continue reading.
REQUIRED
- Place the compatible
items.datthat you want to decode within the root folder.
Prerequisites
- Windows: PowerShell and a supported toolchain (MSYS2/MinGW or Visual Studio) to build from source.
- Linux/macOS:
gccandmake.
Build Windows (PowerShell):
.\build.bat
Unix (Make):
make
Usage
- Decode
items.datto JSON (writes to stdout):
.\itemsdat_decoder.exe --json items.dat > items.json
- Print help:
.\itemsdat_decoder.exe --help
Version changes
- New Field:
punchOptions(string)
- New Fields:
flags3(int32_t)bodyPart[9](uint8_t array)
- New Field:
lightRange(int32_t)
- New Field:
unknownInt3(int32_t)
- New Fields: Chair/player functionality?
canSit(uint8_t)playerOffsetX(int32_t)playerOffsetY(int32_t)chairTextureX(int32_t)chairTextureY(int32_t)chairLegOffsetX(int32_t)chairLegOffsetY(int32_t)chairTexture(string)
- New Field:
itemRenderer(string)
- New Field:
extraFlags1(int32_t)
- New Field:
itemRendererHash(int32_t)
- New Field:
unknownBytes2[9](uint8_t array)
- New Field:
unknownShort1(int16_t)
- New Field:
info(string)
- New Fields: Recipe system
recipe[0](uint16_t)recipe[1](uint16_t)
- New Field:
unknownBytes3(uint8_t)
License
- See
LICENSEfor license details.