Is there a functional link to a .tre extractor anywhere? I am attempting to modify my gc iso but I can't find a way to extract or alter the supertree0.tre file which appears to contain the game data.
Okay, so I am attempting to create my own tool to extract and rebuild the GC supertree0.tre archive. There are existing scripts and tools for the PS2 version, STREE0.TRE, but the structure is different. I do not have the adequate experience to figure all this out but I have found some resources.
On the Xentax forum, I found linked here somewhere, there is the following topic, which unfortunately was only preserved through the archive.org Wayback Machine:
https://web.archive.org/web/20200918105226/https://forum.xentax.com/viewtopic.php?f=10&t=3881https://web.archive.org/web/20210724071325/https://forum.xentax.com/viewtopic.php?f=10&t=3881&start=15The functional scripts is the one that extracts the PS2 archive and preserves its folder layout, and another by the same person that extracts the smaller .tre files included in the main data file.
With the deleted messages and lack of older page captures, it seems that the gamecube version isn't preserved. There is one that extracts all the files into a single folder, not preserving the file type, name, directory structure, or really anything else helpful. I have yet to be able to figure out how to translate the PS2 quickbms script to one that works for the GC archive.
Additionally, I found this;
https://github.com/OldTimes-Software/hei/blob/master/extras/asa/asa_format_tre.cThe hei library project here. I talked to the owner/creator of that repo and he pointed me to it, I initially found a .bt binary template file for reverse engineering hex files created by him here:
https://github.com/hogsy/formats/blob/main/templates/asaustin/turok/turok_tre.btI've tried using this on the GC supertree0.tre file with no success, but it does work when I use the template in rehex on the PS2 STREE0.TRE archive. So, even the specs of this file seem to differ from the GameCube version.
I have tried to find a way to put any of this info into practice but with no success. I need more knowledgeable people than I to help me figure this out. I don't really know where to look and this forum seems pretty dead lately so I haven't the slightest idea where to start.
I found a xentax discord server since that forum is shutting down, but their rules are intentionally hostile to beginners or really anyone that isn't capable of figuring everything out on their own. Despite that, I asked, but nobody was able to help regardless.
If anyone knows anything or is willing to help in any way, hit me up here, or on Discord. My username there is literally "rylan3604".
If I make any progress I will update here.