Giter Club home page Giter Club logo

riistudio's People

Contributors

80kb avatar cyrusthehedgehog avatar em-eight avatar encounter avatar gabriela-orzechowska avatar gnomeddev avatar hlorenzi avatar joshuamkw avatar jupahe64 avatar magcius avatar michaelhinrichs avatar riidefi avatar zach-zajack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

riistudio's Issues

Secondary UV Map thing isn't applied correctly

image
image
I think you can probably see the problem here...but basically the UV Map in RiiStudio doesn't match the UV Map in Noclip.
(I'm not sure if it's actually a UV Map problem I just don't know what else to call it)
Samples.zip
Inside are 3 models where this issue occurs, though it happens to any model that has these arrows

Inability to Remove Textures

Textures and materials are unable to be removed from a model, even once added to the model through RiiStudio. This persists when undoing the action - which crashes the whole program.

Here's the log.

Initializing LLVM
[FONT] Loading ./fonts/NotoSansCJKjp-Black.otf
[FONT] Loaded ./fonts/NotoSansCJKjp-Black.otf
[FONT] Loading ./fonts/fa-solid-900.ttf
[FONT] Loaded ./fonts/fa-solid-900.ttf
Dropping file.. /home/alex/cube_test.bmd
Transform: Dest={0x7f88cb073010, w:64, h:64}, Source={0x55a5d92694c0, w:64, h:64}, NumMip=0
Transform: Dest={0x7f88ca872010, w:64, h:64}, Source={0x55a5d92694c0, w:64, h:64}, NumMip=0
Transform: Dest={0x7f88ca471010, w:64, h:64}, Source={0x55a5d92694c0, w:64, h:64}, NumMip=0
Transform: Dest={0x7f88ca872010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x7f88ca070010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x55a5d93cc0f0, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x55a5d90b3430, w:32, h:32}, Source={0x55a5d90790a0, w:64, h:64}, NumMip=0
Transform: Dest={0x7f88ca872010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x7f88ca070010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x55a5d97cc100, w:64, h:64}, Source={0x55a5d92694c0, w:64, h:64}, NumMip=0
Transform: Dest={0x55a5d9bcc110, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x7f88ca872010, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
Transform: Dest={0x55a5d9bcc110, w:32, h:32}, Source={0x55a5d90b3430, w:32, h:32}, NumMip=0
PLEASE submit a bug report to riidefi and include the crash backtrace.
Stack dump:
0.      Program arguments: /home/$USER/Documents/RiiStudio/RiiStudio 


Warning: Program '/home/$USER/Documents/RiiStudio/RiiStudio' crashed.

Fix librii::image

This is perhaps the most problematic file in the entire codebase. We should probably write tests (dumping decoded images to png for verification).
Current issues:

  • Encoding sub 32x32 images.
  • Mipmaps

Removes "Unused" Textures upon saving.

Saving a BMD/BDL with textures not being used by any materials on the model will remove said textures. This breaks multiple animations and causes crashes when replacing character models in Super Mario Sunshine and Super Mario Galaxy for example.
Attached is a zip containing two files, one being the original Mario.bdl file, and the other a Mario.bmd saved using RiiStudio. Unsure if this is intentional or not, but the issue still stands.
Mario.zip

Automatically set pixel mode for vertex alpha

If a material is only used by one mesh, and if that mesh has vertex alpha specified, and if that vertex alpha value dips below 100%, set the material's pixel mode to translucent.

RiiStudio fails while opening a bdl

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

Change CTRL-click to double click or right click for custom input

I need to align a texture very precisely using the Transform options. However, dragging the sliders...
image
...either makes the texture go a little too far right or a little too far left, since the sliders change the values by set increments. I cannot figure out how to input a custom value into the text box. I've tried right click, double click, typing while holding left click on the text box/slider, increasing the GUI size and then repeating, e.t.c with no luck.

Am I missing something?

Displacement maps added through Riistudio don't work

After creating a Displacement Configuration, Displacement Matrix and enabling them in Stage, even though it appears they work in the Riistudio viewport, when exported the displacement map still doesn't work. Unless I'm missing something in Riistudio, the only way to enable it is to convert the BMD—exported through Riistudio—to DAE using SuperBMD, set HasLookup to true in the materials.json, and re-export back to BMD. After doing that, nothing seems to change inside Riistudio but the created displacement maps now work inside Dolphin.

Ability to add textures to a BMD that has none

When a BMD has no textures in RiiStudio, it is impossible (or at least very obfuscated) to add textures since the "Textures" group doesn't exist in the data hierarchy.

Ideally, you could still add a texture which would cause the group to reappear, or explicitly add the group to the data hierarchy as an empty default.

Certain transformed textures look different in riistudio than they do exported/in-game

I am trying to align a texture a certain way in Riistudio using the functions: Rotate, Scale and Transform. When I noticed my texture was perfectly aligned, I exported it. I then tried it in-game, but the texture was actually transformed a little different than how it was in Riistudio, which doesn't make sense. It seemed like the X and Y axis of the transformation was flipped, where X became Y vice versa, but I cannot confirm this for sure. I can not provide images as an example. However, this is easily recreatable. I reopened the exported model in Riistudio, and it still looked correctly aligned, and just for good measure exported and tested it again, but it was still bugged.

Edit: The initial model import was a BDL

Edit 2: I tried both Alpha 5.0 and 4.0, error persists on both

Multiple models displaying simultaneously

When I open a Mario Kart Wii character file, both the LOD and normal display simultaneously. It looks hilarious but I don't think this was intended.

Looks a lot like Part Clipping if you ask me.

Wii_Part_Clipping

MDL0 v9 support?

I've noticed that when trying to load Wii Sports models like the tennis court, Riistudio throws an error saying that the BRRES file contains a MDL0 version 9 file, and that it only supports version 11.

OpenGL issue

C:\Users\Devin Little\Desktop\RiiStudio\RiiStudio.exe
Initializing LLVM
bindings::init_llvm
RiiStudio Alpha 5.11.1 (Built Oct 18 2023 at 18:42:09, Clang 16.0.5)
GLFW Error: 65542: WGL: The driver does not appear to support OpenGL
PLEASE submit a bug report to riidefi and include the crash backtrace.
Stack dump:
0. Program arguments: C:\Users\Devin Little\Desktop\RiiStudio\RiiStudio.exe
0x0000000000000000 (0x0000000000000500 0x0000000000000000 0x0000000000000000 0x0000000000000500)
0x00007FF617454D56 (0x0000000000000000 0x00007FF617D2502B 0x00000015482FF970 0x00000015482FF74A), ??0Platform@plate@@qeaa@IIAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z() + 0x1F6 bytes(s)
0x00007FF61754ACAD (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x00007FF617D2502B), ??0Applet@frontend@riistudio@@qeaa@AEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z() + 0x4D bytes(s)
0x00007FF617415D2C (0x00000015482FF884 0x00007FF617FF2E40 0x0000000000000000 0x00000015482FF884), ??0RootWindow@frontend@riistudio@@qeaa@XZ() + 0x1AC bytes(s)
0x00007FF6174115EA (0x00000015482FF970 0x00007FF617D11247 0x0000000000000000 0x000001EDAE6FD450), ?create@RootHolder@@QEAAXAEAHAEAPEAPEBD@Z() + 0xDA bytes(s)
0x00007FF61741120B (0x00000015482FF970 0x00007FF617D112E1 0x0000000000000000 0x000001EDAE70AF80), RiiStudio_main() + 0x1AB bytes(s)
0x00007FF617D11254 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), __scrt_common_main_seh() + 0x10C bytes(s), D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl, line 288 + 0x22 byte(s)
0x00007FFF9FEF09BC (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), uaw_wcsrchr() + 0xEAEFC bytes(s)
Press any key to exit..

Unable to select a different Sampler ID with the same name in the 'Stage' tab

If there's a texture that's indexed twice, you're only able to select the first one in the Stage tab.

Explanation

Here's a material with two samplers. Both samplers share the same name and texture, but have different indexes as they were set up separately within texheaders.json. You can edit them individually as expected.

image

When going to the Stage tab, however, you can only select the one with index [0]. Clicking on any other with the same name does nothing.

image

RARC assumes YAZ0 Compression

rszst extract expects any .arc file to be YAZ0 compressed, specifically it seems, for a magic of "Yaz0". However, this assumption does not hold true for .arc files from Mario Kart: Double Dash!!, which are not compressed.

Fails to build on Linux Mint

This program fails to build on Linux Mint 21.2, with an unhelpful error message. I have installed rustc and cargo from apt.

The error is shown below:

CMake Error at build/_deps/corrosion-src/cmake/CorrosionGenerator.cmake:24 (execute_process):
  execute_process failed command indexes:

    1: "Child return code: 101"

Call Stack (most recent call first):
  build/_deps/corrosion-src/cmake/CorrosionGenerator.cmake:217 (_cargo_metadata)
  build/_deps/corrosion-src/cmake/Corrosion.cmake:918 (_generator_add_cargo_targets)
  CMakeLists.txt:157 (corrosion_import_crate)

I would appreciate a fix or workaround for this issue.

Transform Model not saved after changing

If you change the Transform Model to something other than default then hit save, when the file is relaunched, that property is set back to default.

Tried opening the after-it-was-saved model in j3dview, and I can confirm that the property was not saved.

The initial model import was BDL, also I used Riistudio Alpha 5.1.

BMD - Textures without coordinate generator

I attached a BMD file from MKDD. It has a single material, which contains two textures but only a single texture coordinate generator. In the samplers tab it says "cannot edit: source data is invalid!". In the second TEV stage it says "TODO: TexCoord != TexMap: Not valid". The two textures use the same generator for both textures in both TEV stages.

signal1.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.