Still trying to figure out where Megaman Legends stores the vertices for the environments.

In terms of memory, the Playstation has 1MB of graphical memory which has the sreen buffer and textures.

Which means that the vertices for that stages (like the other models in the game) are stored somewhere in the 2MB of system memory that the playstation has.

The problem is that I can't seem to find the geometry for the environment in the game files. The game has .MDT files which describe the width and height of rooms in terms of tiles and defines the tiles numbers.

And then in addition to MDT files, the game also uses .STG files which
use indices to define the geometry for each title. The problem is I'm having a hard time tacing back to where the geometry is defined for the indices.

@kion yes but capcom has always been good at custom game engines that get more out of weak hardware

i mean they had to be or games like resident evil 2 would run at a terrible framerate

programming magic

While I haven't looked into it for this game. The geometry could be generated, or compiled into the executable.

@chmod777 This is what i'm looking into since the game used different level of detail for each tile based on the distance from the character. So in a sense it's probably generated, but the geometry for each tile type should be somewhere, and that's what I'm having a hard time tracking down.😭

What is the end goal for this search(beyond figuring out where)?

@chmod777 Exporting. All of the characters from Megaman Legends are rigged with animations: So the next step is environments.

@chmod777 Side note, everything I've made for the Legends series is available here: (with Gitlab links to source). The files from the game disk are needed to view/export (to avoid copyright problems).

Sign in to participate in the conversation

Linux Geeks doing what Linux Geeks do..