Ploaj / Metanoia

A personal tool for game model research and converting
24 stars 9 forks source link

Major L5 updates #23

Open Tiniifan opened 11 months ago

Tiniifan commented 11 months ago

Hi I tried to improve Metanoia for some L5 files, the code isn't perfect but I think it's a good start:

in1tiate commented 10 months ago

Fixes broken animation loading from Professor Layton VS. Phoenix Wright: Ace Attorney

https://github.com/Ploaj/Metanoia/assets/32779090/8a7bc245-1792-4c2f-b9de-6e1340d493c6

Tiniifan commented 10 months ago

According to this issue

The problem was due to an error in reading the number of frames for a bone. Metanoia can't read an animation with more than 255 frames, because the frame number is set to 2 bytes (the hight byte starts at 0x20 instead of 0x00) and metanoia reads 1 byte.