Reading Geometry from ROM
#1
I've been looking into creating some TAS tools for SM64 specifically.  I'm trying to create a map of the geometry in the currently loaded level while having accurate positioning of each of object's (ground textures, item boxes, enemies, etc.) vertices/positions relative to the in game coordinate system. Kinda like making a overhead map. I'm sure that there is a way to do this, as Toad's Tool must do something like this for editing purposes.  Is there any way to read these from the ROM? 

Sorry if this is not the place for this question, but I haven't been able to find anyone who knows.

Also, is there a way to determine whether a ground tile is a slope (determine whether mario can walk on it or if he will slide when stood on)?
Reply
#2
Is there no known way to do this?
Reply
#3
(07-22-2020, 01:47 AM)carlmarl Wrote: Is there no known way to do this?

take a look at quad64's source code, I guess
Reply
#4
In SM64, most level geometry isn’t stored directly in a “map” format in RAM. It’s defined through display lists and collision data that are loaded dynamically per level/area. Tools like Toad’s Tool and Quad64 don’t read a pre-built overhead map from the ROM; they parse the level scripts and geometry commands, then reconstruct the geometry themselves.sprunki
Reply




Users browsing this thread: 1 Guest(s)