Skip to content

Improve UVAR expression node handling, add FOL, CCBK templates#1

Open
kagenocookie wants to merge 29 commits intoalphazolam:mainfrom
kagenocookie:main
Open

Improve UVAR expression node handling, add FOL, CCBK templates#1
kagenocookie wants to merge 29 commits intoalphazolam:mainfrom
kagenocookie:main

Conversation

@kagenocookie
Copy link

UVAR: Added most of the incomplete expression node parsing. VARIABLE.type is the via.userdata.TypeKind enum, for VARIABLE.flags the only thing I can guess is that flag 128 makes the value become a vec3 of whatever type it is, this handling is not added to the template. This updated logic fully reads and re-exports uvars for 5 different REE games with equivalent binary data, aside from some string table differences.

There's still an unknown NODE_PARAMETER int that I can't figure out what it is, but the rest should be complete. Connection count is probably intended to be computed based on the node types, made it guess based on data here.

FOL: Added because I needed to figure out the format for my editor

CCBK: Added because why not

@kagenocookie kagenocookie force-pushed the main branch 2 times, most recently from d525e59 to 78399c6 Compare April 3, 2025 19:18
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