alphazolam / fmt_RE_MESH-Noesis-Plugin

A plugin for Rich Whitehouse's Noesis to import and export RE Engine Meshes and Textures
112 stars 33 forks source link

Out of bounds while loading a mesh #27

Closed lauris47 closed 3 months ago

lauris47 commented 4 months ago

Hi, Mesh from the Street fighter 6 fails to import: _REtool\re_chunk_000\natives\stm\product\environment\stage\resource\ess\ess4000_00\ess4000_0022.mesh.230110883 with error: image Position buffer would have been read out of bounds by provided indices. ess4000_00_22.mesh.zip

alphazolam commented 3 months ago

This is interesting, the mesh seems to use integers instead of shorts for storing its face indexes. I found the flag for it (I think) and made Noesis read the mesh; I'm going to try and reverse this to see if you can export a mod with ints. That would enable meshes with up to 4 billion verts (theoretically) Wait nevermind that wouldnt work because Noesis splits the source mesh up at 60k vertices. Maybe NSACloud could add it to RE Mesh Editor.

lauris47 commented 3 months ago

@alphazolam Hey, is this fixed ? :} Edit: I see the model is importing successfully now, thank you!