Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
rankaisija edited this page Jul 29, 2023 · 1 revision

rom/object/

Naming

rom/object/0xXXXX-ObjectName/

Content

  • *.zobj

src/object/

Naming

src/object/0xXXXX-ObjectName/

Content

  • *.objex
  • config.cfg

.objex

Objex is a format utilized by z64convert. It uses addon called Objex2, which is a Blender addon.

config.cfg

Object config file must contain following information

segment = 6
scale   = 100.0

For playas object the [playas] section is required as an addition

segment = 6
scale = 100.0
[playas]
    header = "/src/system/kaleido/0x01-Player/playas_child.h"
    patch = "/patch/playas_child.cfg"
    bank = "bank.zobj"
    script = "child-link-oot-mq-debug.mnf"

header: (output)

Writes extern Gfx variable[]; and asm("variable = 0xDEADBEEF); files to the provided header in order to override some "hardcoded" displaylist calls in Player source. This also makes it possible to call custom displaylist in player code.

Use either playas_child.h or playas_adult.h as your output.

patch: (output)

Writes all the required patches to other files, like z_code.bin and some overlays in order to repoint some Player object displaylist offsets.

bank: (input)

is the base zobj that z64playas gets some displaylist from that are not in your playas zobj file.

script: (input)

Script, aka manifest, is the script specific to your playas (child/adult) and takes care of the variable names, bank offsets and patch generating.

Scripts/Manifests can be found in z64playas repository.