Fledge68 / WiiFlow_Lite

My mod of the Wii USB Loader WiiFlow
459 stars 58 forks source link

Excite Truck gives black screen when launched from from SD card #331

Closed gingerbeardman closed 1 year ago

gingerbeardman commented 1 year ago

Describe the bug

This is more of a note to prompt investigation rather than a bug report or feature request.

To Reproduce Steps to reproduce the behavior:

  1. No USB, only SD card
  2. Launch Excite Truck from SD card

What version of WiiFlow Lite

On Wii or Wii U vWii

Additional context

Also does not work with:

TeenTin commented 1 year ago

Can the newly released cIOS d2x v11 fix the problem ?

gingerbeardman commented 1 year ago

Feel free to try, I won't have time for a day or two.

wiidev commented 1 year ago

Can the newly released cIOS d2x v11 fix the problem ?

It doesn't.

Excite Truck wants access to your SD card, but the d2x cIOS doesn't allow games to read from an SD card while a game is being played from your SD card. That's why it freezes.

TeenTin commented 1 year ago

Excite Truck wants access to your SD card, but the d2x cIOS doesn't allow games to read from an SD card while a game is being played from your SD card. That's why it freezes.

I see. The same with the Kirby in SD problem ?

wiidev commented 1 year ago

I see. The same with the Kirby in SD problem ?

It's playable with the new version USB Loader GX, although some people might experience issues when playing from an SD card. It works perfectly for me though.

TeenTin commented 1 year ago

It's playable with the new version USB Loader GX, although some people might experience issues when playing from an SD card. It works perfectly for me though.

Thank you. I will try the USB Loader GX then. Hopefully, WiiFlow Lite will be updated to solve this problem (Kirby in SD) in the near future.

gingerbeardman commented 1 year ago

It's playable with the new version USB Loader GX

Just Kirby, or Excite Truck too?

wiidev commented 1 year ago

Just Kirby, or Excite Truck too?

Excite Truck from USB and Kirby from both.

Excite Truck won't be playable from an SD card until changes are made to the d2x cIOS.

gingerbeardman commented 1 year ago

Thanks! I'll leave this open for now then.

Should I post an issue on your d2x CIOS repo?

wiidev commented 1 year ago

Should I post an issue on your d2x CIOS repo?

I don't have issue reports enabled since I don't want to deal with "my USB flash drive doesn't work" type reports. But I'm fully aware of the read/write SD card issue anyway, so it's okay.

By the way, Kirby isn't fixed by the d2x cIOS update. It works in USB Loader GX because I included patches for the game.

TeenTin commented 1 year ago

By the way, Kirby isn't fixed by the d2x cIOS update. It works in USB Loader GX because I included patches for the game.

Hopefully, WiiFlow Lite may do the same.

Fledge68 commented 1 year ago

funny i thought even with the gameconfig patches kirby still freezes during cutscenes when played from SD?

Fledge68 commented 1 year ago

@gingerbeardman i added the usbloadergx kirby patches to wiiflow. I tested and it seems to work but i did have the game freeze when i had a invicibilty cheat applied. other cheats seem to be working. would you be willing to test it?

gingerbeardman commented 1 year ago

Sure I can test it this weekend. Let me know which binary to try.

TeenTin commented 1 year ago

Sure ! I am very happy to have the chance to test it !!!

Fledge68 @.***> 於 2023年3月18日 週六 上午4:57寫道:

@gingerbeardman https://github.com/gingerbeardman i added the usbloadergx kirby patches to wiiflow. I tested and it seems to work but i did have the game freeze when i had a invicibilty cheat applied. other cheats seem to be working. would you be willing to test it?

— Reply to this email directly, view it on GitHub https://github.com/Fledge68/WiiFlow_Lite/issues/331#issuecomment-1474395725, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGELHDQH3Y26HDU3BBPTVDW4TFZXANCNFSM6AAAAAATLNEQBM . You are receiving this because you commented.Message ID: @.***>

Fledge68 commented 1 year ago

ok committed. you MUST backup apps/wiiflow and wiiflow/settings folders. the new commits make changes to categories and gamecfg1 ini's.

download - https://github.com/Fledge68/WiiFlow_Lite/suites/11643253919/artifacts/604506238

seems to work for me but some cheats cause freezes. might be my cheat file. oh and cheats menu is a little weird but works. ill fix it soon.

TeenTin commented 1 year ago

@Fledge68 Tested. The game loaded. But when I tried to start by pressing the "Empty" slot, I got a black screen and the system freezed.

Fledge68 commented 1 year ago

@TeenTin thanks for testing. was that it? you only tried one time? did you have any cheats applied? did you replace the bins in the bins folder?

@gingerbeardman did you have a chance to try it?

TeenTin commented 1 year ago

@Fledge68 I have tried at least 6 times. Ocarina was disabled (i.e. no cheats applied). I have replaced all the files, including all the bins. Though the game freezed when starting from an "Empty" slot (i.e. creating a new save), the game can start from an old save (which was created when playing the game with USB drive).

P.S. I found that the categories function is broken.

Fledge68 commented 1 year ago

are you trying to play kirby from SD? because it won't work from SD no matter what.

TeenTin commented 1 year ago

@Fledge68 Yes, I played kirby from SD. Isn't the new commits supposed to ?

Fledge68 commented 1 year ago

no. the cios will need to be fixed which Blackb0x might be working on. until then the game still freezes when cutscenes try to play unless the game is on USB. the patches just allow you to apply cheats, change the language, turn off deflicker.

TeenTin commented 1 year ago

@Fledge68 I see. Since the USB Loader GX can play (claimed) kirby in SD, I have misunderstood that you have done the same to WFL. Sorry.

Fledge68 commented 1 year ago

i will try usb loader gx to check and see.

so what's the categories problem? i hope and pray you backed up dev:/wiiflow/settings folder and contents. the new version makes changes to categories_lite.ini so if you need to go back to the old version you need to restore that folder and its contents.

TeenTin commented 1 year ago

@Fledge68 No worry. I have followed your suggestion to backup the folders, so that everything can be restored. The categories problem is that when I open the global categories to put a cross (i.e. "X") to a category, all the games still show up, including those which have been "tick" on THAT category. However, the function works well in the last WFL release.

Fledge68 commented 1 year ago

i see. something i may have broke. i will have to look into it. are you talking about wii games or plugin emu games?

TeenTin commented 1 year ago

@Fledge68 Thanks. I am talking about Wii games.

Fledge68 commented 1 year ago

fixed categories - just commit. thanks for letting me know.

TeenTin commented 1 year ago

@Fledge68 Nice. Pity that I don't know how to complie. In case you have a new compiled build, please let me know so that I can keep on testing.

Fledge68 commented 1 year ago

just click on 'actions' at the top. then choose the top commit or workflow run. then scroll down to see the artifact and click on it.

but it may not work for you. let me know. i think you have to be a member or something.

TeenTin commented 1 year ago

@Fledge68 This does work ! Thank you very much indeed !

gingerbeardman commented 1 year ago

@gingerbeardman did you have a chance to try it?

Hi! @Fledge68 @TeenTin I tested Kirby SUKE01 in latest WFL:

I don't know the origin of these patches but it might be worth checking if they tested starting without a save game. I have not tested USB GX as I cannot do so currently.

Cheers!

ps: I am using dx2-v11-beta1 cIOS in 248/249/250/251 as described here

Fledge68 commented 1 year ago

new games don't work because they start with a movie cutscene. if you play with a save game long enough that another cutscene will make it freeze.

gingerbeardman commented 1 year ago

There we go, then.

So, I'll leave it to you to decide the value of this patch 😆

gingerbeardman commented 1 year ago

I will open a new issue if Excite Truck is fixed elsewhere or new info comes to light

ayuanx commented 3 months ago

Can the newly released cIOS d2x v11 fix the problem ?

It doesn't.

Excite Truck wants access to your SD card, but the d2x cIOS doesn't allow games to read from an SD card while a game is being played from your SD card. That's why it freezes.

@wiidev I think the root cause is that those games (Excite Truck, Kirby, etc.) themselves open and close the SD card.

For the open operation, it is fine because SD card is already opened since the game is loaded from SD card; but it is the close operation that causes the freeze. Once the game closes SD card, you won't be able to read any game data from SD card anymore, which is why thoese games freeze during a game save creation when loaded from SD card.

The solution should be simple by adding a reference counter in d2x cIOS. Each open opeartion increases the counter, while each close operation decreases the counter, and SD card won't be closed until the counter reaches 0 after a close operation.