riidefi / RiiStudio

Editor for various 3D model formats
https://riidefi.github.io/RiiStudio/
87 stars 16 forks source link

RiiStudio fails while opening a bdl #52

Closed bavario-lginc closed 12 months ago

bavario-lginc commented 12 months ago

When I load a modified bdl from SMG2 in RiiStudio, it fails to draw the model. The bdl works fine in-game...

Here's the bdl I used: https://drive.google.com/file/d/1y7KukzUVn9wtpbR2q-Eb-X-R0QpVHdpd/view?usp=sharing

This is the log RiiStudio put out:

C:\Users\nicom\Downloads\RiiStudio_Windows\RiiStudio.exe
Initializing LLVM
2023-07-14T15:10:03.900Z INFO  [riistudio_rs] [FONT] Loading ./fonts/NotoSansCJKjp-Black.otf
2023-07-14T15:10:03.906Z INFO  [riistudio_rs] [FONT] Loaded ./fonts/NotoSansCJKjp-Black.otf
2023-07-14T15:10:03.906Z INFO  [riistudio_rs] [FONT] Loading ./fonts/fa-solid-900.ttf
2023-07-14T15:10:03.906Z INFO  [riistudio_rs] [FONT] Loaded ./fonts/fa-solid-900.ttf
RESULT: {"url":"https://api.github.com/repos/riidefi/RiiStudio/releases/111945946","assets_url":"https://api.github.com/repos/riidefi/RiiStudio/releases/111945946/assets","upload_url":"https://uploads.github.com/repos/riidefi/RiiStudio/releases/111945946/assets{?name,label}","html_url":"https://github.com/riidefi/RiiStudio/releases/tag/Alpha-5.10.9","id":111945946,"author":{"login":"riidefi","id":34194588,"node_id":"MDQ6VXNlcjM0MTk0NTg4","avatar_url":"https://avatars.githubusercontent.com/u/34194588?v=4","gravatar_id":"","url":"https://api.github.com/users/riidefi","html_url":"https://github.com/riidefi","followers_url":"https://api.github.com/users/riidefi/followers","following_url":"https://api.github.com/users/riidefi/following{/other_user}","gists_url":"https://api.github.com/users/riidefi/gists{/gist_id}","starred_url":"https://api.github.com/users/riidefi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riidefi/subscriptions","organizations_url":"https://api.github.com/users/riidefi/orgs","repos_url":"https://api.github.com/users/riidefi/repos","events_url":"https://api.github.com/users/riidefi/events{/privacy}","received_events_url":"https://api.github.com/users/riidefi/received_events","type":"User","site_admin":false},"node_id":"RE_kwDODFTsxs4GrCja","tag_name":"Alpha-5.10.9","target_commitish":"master","name":"Alpha 5.10.9","draft":false,"prerelease":false,"created_at":"2023-07-12T12:47:56Z","published_at":"2023-07-12T12:56:02Z","assets":[{"url":"https://api.github.com/repos/riidefi/RiiStudio/releases/assets/116679510","id":116679510,"node_id":"RA_kwDODFTsxs4G9GNW","name":"RiiStudio_Windows.zip","label":null,"uploader":{"login":"riidefi","id":34194588,"node_id":"MDQ6VXNlcjM0MTk0NTg4","avatar_url":"https://avatars.githubusercontent.com/u/34194588?v=4","gravatar_id":"","url":"https://api.github.com/users/riidefi","html_url":"https://github.com/riidefi","followers_url":"https://api.github.com/users/riidefi/followers","following_url":"https://api.github.com/users/riidefi/following{/other_user}","gists_url":"https://api.github.com/users/riidefi/gists{/gist_id}","starred_url":"https://api.github.com/users/riidefi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riidefi/subscriptions","organizations_url":"https://api.github.com/users/riidefi/orgs","repos_url":"https://api.github.com/users/riidefi/repos","events_url":"https://api.github.com/users/riidefi/events{/privacy}","received_events_url":"https://api.github.com/users/riidefi/received_events","type":"User","site_admin":false},"content_type":"application/x-zip-compressed","state":"uploaded","size":31151507,"download_count":19,"created_at":"2023-07-12T12:55:59Z","updated_at":"2023-07-12T12:56:00Z","browser_download_url":"https://github.com/riidefi/RiiStudio/releases/download/Alpha-5.10.9/RiiStudio_Windows.zip"}],"tarball_url":"https://api.github.com/repos/riidefi/RiiStudio/tarball/Alpha-5.10.9","zipball_url":"https://api.github.com/repos/riidefi/RiiStudio/zipball/Alpha-5.10.9","body":"Alpha 5.10.9\r\n\r\nBRRES/BMD:\r\n- UI: Add 'Simple' indirect stage menu (@Gabriela-Orzechowska)\r\n- UI: Properly display indirect matrix rotation angle in degrees (@Gabriela-Orzechowska)\r\n- Fixed bug with encoding IA8 images\r\n\r\nBRRES:\r\n- Support .brres files with multiple MDL0 entries\r\n- Support rebuilding CHR0 animations\r\n- Display *all* animations in outliner, not just those that can be edited\r\n\r\nCommand line:\r\n- rszst: Fixed some .szs <-> folder bugs (@JoshuaMKW)\r\n- rszst: Add --no_compression flag (@JoshuaMKW)\r\n","mentions_count":2}
2023-07-14T15:10:04.177Z WARN  [riistudio_rs] [DiscordIpcClient] Creating client
2023-07-14T15:10:04.179Z INFO  [riistudio_rs] Setting icon: width=160,height=160,data=0x259d053fee0
File: C:\Users\nicom\Documents\Mods\SMG2FloorIsLava\DATA\files\ObjectData\DinoPackunBattlePlanet.bdl
2023-07-14T15:10:04.183Z WARN  [riistudio_rs] [DiscordIpcClient] rsl_rpc_connect()
2023-07-14T15:10:04.184Z WARN  [riistudio_rs] [DiscordIpcClient] Connecting...
2023-07-14T15:10:04.247Z INFO  [riistudio_rs] Opening file: C:\Users\nicom\Documents\Mods\SMG2FloorIsLava\DATA\files\ObjectData\DinoPackunBattlePlanet.bdl
2023-07-14T15:10:04.248Z INFO  [riistudio_rs] Opening file: C:\Users\nicom\Documents\Mods\SMG2FloorIsLava\DATA\files\ObjectData\DinoPackunBattlePlanet.bdl
2023-07-14T15:10:04.249Z TRACE [riistudio_rs] Success spawning importer
2023-07-14T15:10:04.253Z TRACE [riistudio_rs] The position vertex buffer currently has 11128 greedily-claimed entries due to 32B padding; 11127 are used.
2023-07-14T15:10:04.253Z TRACE [riistudio_rs] The normal buffer currently has 12160 greedily-claimed entries due to 32B padding; 12159 are used.
2023-07-14T15:10:04.254Z TRACE [riistudio_rs] The color buffer currently has 6216 greedily-claimed entries due to 32B padding; 6209 are used.
2023-07-14T15:10:04.254Z TRACE [riistudio_rs] The UV buffer currently has 5992 greedily-claimed entries due to 32B padding; 5987 are used.
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Materials: start=0x726A0, at=0x726A0
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        0726A0  4D 41 54 33 00 00 17 00 00 09 FF FF 00 00 00 84 MAT3............
                                ^~                                              ^
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Material: start=0x72724, at=0x72724
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        072720  00 00 16 D4 01 00 00 00 00 00 00 00 00 00 00 00 ................
                                            ^~                                      ^
                In Materials: start=0x726A0, at=0x72724
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Material: start=0x72870, at=0x72870
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        072870  01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
                                ^~                                              ^
                In Materials: start=0x726A0, at=0x72870
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Material: start=0x729BC, at=0x729BC
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        0729B0  FF FF FF FF 00 00 00 00 00 00 00 00 01 00 00 00 ................
                                                                    ^~                      ^
                In Materials: start=0x726A0, at=0x729BC
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Material: start=0x72B08, at=0x72B08
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        072B00  00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ................
                                                        ^~                              ^
                In Materials: start=0x726A0, at=0x72B08
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Material: start=0x72870, at=0x72870
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        072870  01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
                                ^~                                              ^
                In Materials: start=0x726A0, at=0x72870
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Material: start=0x72C54, at=0x72C54
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        072C50  00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
                                            ^~                                      ^
                In Materials: start=0x726A0, at=0x72C54
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Material: start=0x72DA0, at=0x72DA0
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        072DA0  01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
                                ^~                                              ^
                In Materials: start=0x726A0, at=0x72DA0
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Material: start=0x72C54, at=0x72C54
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        072C50  00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
                                            ^~                                      ^
                In Materials: start=0x726A0, at=0x72C54
Unknown path:0x73C90: warning: Warning: Origin is (0, 0, 0). Normally (0.5, 0.5, 0.5).
        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
        073C90  00 00 00 00 00 00 00 00 00 00 00 00 3F 80 00 00 ............?...
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~~~~~~~~~
                In Material: start=0x72EEC, at=0x72EEC
                        Offset  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
                        072EE0  FF FF FF FF 00 00 00 00 00 00 00 00 01 00 00 00 ................
                                                                    ^~                      ^
                In Materials: start=0x726A0, at=0x72EEC
:: (0) GrassesBrown001HighColorLoop02
:: (1) YellowRockc
:: (2) GrassesBrown001HighColorLoop03
:: (3) YellowRockc2
:: (4) Grasses001HighColorLoop02
:: (5) StrawTop2
:: (6) RockE
2023-07-14T15:10:04.359Z TRACE [riistudio_rs] [DiscordIpcClient] rsl_rpc_set_activity()...
2023-07-14T15:10:04.359Z WARN  [riistudio_rs] State: RiiStudio, details: Idling
2023-07-14T15:10:04.361Z TRACE [riistudio_rs] [DiscordIpcClient] rsl_rpc_set_activity()...OK
riidefi commented 12 months ago

It appears to work for me on my laptop. Make sure you're on the latest version and use WASD to move the camera (pull back to get a better view). image

bavario-lginc commented 12 months ago

Turns out that was the solution, my RiiStudio prompted me to update today and now it's working. Thanks!