impiaaa / smstools

Scripts for decoding data files from Super Mario Sunshine, Zelda: Wind Waker, and more
21 stars 3 forks source link

How to use scene2unity.py #4

Closed Ikeiwa closed 6 months ago

Ikeiwa commented 6 months ago

How am İ supposed to use scene2unity.py ?

I found what files İ have to pass as parameters but it seems to be missing some files, most importantly "sObjDataTable" which the script tries to import at line 643 and that is not present in the repo and there are no result when İ try to search for it online.

impiaaa commented 6 months ago

sObjDataTable is a variable in the SMS executable, and the module for it can be generated from a Ghidra project with ghidra_scripts/to_string.py. Some of the scripts in this repo, like the Unity ones, are for my personal use and aren't ready to use generally. I've also stopped developing the Unity scripts since they'd be better as editor tools. Sorry to disappoint!

Ikeiwa commented 6 months ago

Oh ok thanks for the quick answer! I was searching for an "easy" way to get a complete model of a scene with objects, I'll search for another way then.