kion-dgl / Miku-Legends-2

Source Code for Writing files to the Megaman Legends 2 format to replace Megaman with Miku
https://kion-dgl.github.io/Miku-Legends-2/
GNU General Public License v3.0
5 stars 1 forks source link

Update Model for Scene 3 Act 0 #50

Closed kion-dgl closed 2 months ago

kion-dgl commented 2 months ago

The scope of this issue is to update ST03.BIN to replace the MegaMan model with Miku. The file is compressed, but because our model should be about the same size it should be the same as our existing replace with decompress followed by compression.

Approach

We need to update the two files ST03T.BIN (textures) and ST03.BIN (model).

Previously I was updating by models or texture and trying to group anything, but it might make more sense to organize my code around which files need to be edited. This way i can track which files are being edited and where.

In the case that I'm editing the same file multiple times, i'm generally writing to the out folder, and then reading from the out folder and writing back again. This means that i'm mostly praying on what happens.

I should start with ST03T.BIN, as it needs to be updated in three places. The body, face, and egg palette.