• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 702 703 704 705 706 ... 1193 Next »

Crash when creating a new savegame to user/wii/title
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Crash when creating a new savegame to user/wii/title
07-27-2012, 10:55 PM (This post was last modified: 07-28-2012, 12:56 AM by etking.)
#1
etking Offline
Banned
Posts: 189
Threads: 1
Joined: Feb 2012
Since today, get a very strange Problem with Dolphin:

Whenever I add a new file to the games folder and let dolphin create a save game to /user/wii/title, dolphin crashes at startup game folder scanning until I delete/move the game or delete/move the savegame.

If no savegame is present, dolphin starts normally. This happens with every new game (new means it has no folder under user/wii/title yet), no matter which game it is.
Existing games and savegames are not affected, but I cannot create saves for new games. I can create them but then dolphin crashes at next startup during game folder scanning. Every new savegame folder wihich is created seems to cause dolphin to crash until the game or the savegame is deleted. Deleting another game or savegame will not help, it must be exatly the one that caused the crash. However the new savegame can be migrated to another Dolphin installation without any problems.

There are currently 173 existing folders under /user/wii/title which seem to work fine. But every new folder created by a game causes a crash at dolphin startup when scanning the new game files.
Find
Reply
07-27-2012, 11:24 PM (This post was last modified: 07-27-2012, 11:25 PM by LordVador.)
#2
LordVador Offline
Christmas Vader
*******
Posts: 8,851
Threads: 1,908
Joined: Mar 2011
Maybe not enough save blocks or something like that. Didn't you get such a message when creating a save for a new game?
[color=#ff0000][color=#006600]i5 3570K @ 4.5GHz/GTX 660 Ti/RAM 4GB/Win7 x64[/color][/color]
Find
Reply
07-27-2012, 11:37 PM (This post was last modified: 07-27-2012, 11:57 PM by etking.)
#3
etking Offline
Banned
Posts: 189
Threads: 1
Joined: Feb 2012
No, there was no message like that. There seems to a limitation on how many NAND files dolphin can scan at startup.
If I move the save to a brand new installation which is not using the same NAND root folder, dolphin starts fine and shows the banner of the game causing the crash in other installations. In my opinion, just the scanning at dolphin startup needs to be fixed to allow more nand entrys to be scanned. So the crash could be prevented.

There seems to be a maximum of 109 files with corresponding nand entrys in the game folder that dolphin can handle.
If I just create a 110th game file with an existing NAND entry (by duplicating an existing file), dolphin will crash at startup.
If I create a new 110th game file which has no NAND entry yet, dolphin will not crash at startup until I create a savegame.

This is a bug which should be fixed.
Find
Reply
07-27-2012, 11:52 PM
#4
LordVador Offline
Christmas Vader
*******
Posts: 8,851
Threads: 1,908
Joined: Mar 2011
With which build did you experiment this?
[color=#ff0000][color=#006600]i5 3570K @ 4.5GHz/GTX 660 Ti/RAM 4GB/Win7 x64[/color][/color]
Find
Reply
07-27-2012, 11:58 PM (This post was last modified: 07-28-2012, 12:54 AM by etking.)
#5
etking Offline
Banned
Posts: 189
Threads: 1
Joined: Feb 2012
3.0-735

Maybe there is a maximum number of savegames also. If i remove existing games and savegame folders from the game folder and create a new savegame, it still crashes.
According to Wii system menu, there are 580 open blocks. Deleting existing savegames from wii system menu will not stop dolphin from crashing.

However, I can migrate saves, even new saves to another wii NAND where they will run fine.

I tried to reproduce the crash with a clean installation by duplicating a game file with an existing savegame 120 times -> no crash so far
Find
Reply
07-29-2012, 06:29 AM (This post was last modified: 07-29-2012, 07:22 AM by etking.)
#6
etking Offline
Banned
Posts: 189
Threads: 1
Joined: Feb 2012
Interestingly, if I manage to ensure a stable startup behavior by deleting savegames causing the crash dolphin runs stable until a new additional save folder under user/wii/title is created. But if I delete the entire content of user/cache then dolphin crashes immediately at next startup on every single wii file and savegame beginning with 0, A...
It crashes after removing the cache even if the exact same installation starts normally with cache files in place.

So the problem seems to be located within the cache folder...
Whenever a new wii cache file is being created on dolphin startup, dolphin crashes.

If I the copy the cache file causing the error from another, currently working dolphin installation using the same nand root, dolphin works again, with no problems until a new cache file is being created at startup.
Find
Reply
07-29-2012, 06:47 AM (This post was last modified: 07-29-2012, 06:49 AM by LordVador.)
#7
LordVador Offline
Christmas Vader
*******
Posts: 8,851
Threads: 1,908
Joined: Mar 2011
(07-27-2012, 11:58 PM)etking Wrote: Maybe there is a maximum number of savegames also

Yeah I keep on thinking it's a saveblock limit. I've never experimented this but I haven't played enough Wii games to eventually saturate the save allocation Big Grin

EDIT: maybe a dev could give us informations about this
[color=#ff0000][color=#006600]i5 3570K @ 4.5GHz/GTX 660 Ti/RAM 4GB/Win7 x64[/color][/color]
Find
Reply
07-29-2012, 07:30 AM (This post was last modified: 07-29-2012, 08:21 AM by etking.)
#8
etking Offline
Banned
Posts: 189
Threads: 1
Joined: Feb 2012
I do not think it is a save block limit, since there are more than 500 blocks left. But maybe when scanning the game files, save files and cache files at startup there is some kind of overflow where some numbers run out of their given limits.

It only happens when creating a cache file for a game present in the game folder that already has a save present in the save folder. If the game file or the save file ore both are deleted or if the cache files are copied from another installation and do not have to be created no crash will happen.

The crash may only happen if a large numer of games and saves are present. But if it happened once it will always happen even if the overall numer of games or saves is reduced.

Even if I copy the NAND folder to a new installation, the crash will still happen.

Update: If I only copy the title folder instead of the whole user/wii folder to a new installation everything seems to work fine.

Update2: Now I have 3 different 3.0-735 installations using the same freshly created NAND folder with my old title save files. All 3 use the same configuration and same game folders. The two old 3.0-735 installations have the above bug. But the new Lectrode 3.0-735 build does not crash.

All below installations use the same settings and share exactly the same wii nand folder:
After unzipping a brand new installation I just set the nand folder and the game folder to my common settings:

3.0-735 ICC DefenderX old installation ->Crash
3.0-735 ICC DefenderX brand new installation ->Crash
3.0-735 ICC Lectrode ->working
3.0-733 ICC Anti-Ultimate XBHLE ->Crash
3.0-508 ICC Lectrode XBHLE ->working
3.0-735 x64 master ->working

-> so this is not a problem with dolphin but a problem with some of the enhanced builds
But why are Lectrodes builds not affected??

Very strange!
Find
Reply
07-29-2012, 08:15 AM
#9
toonces Offline
Junior Member
**
Posts: 22
Threads: 0
Joined: Dec 2011
I have the same problem with Defender X version, other builds and official work fine. You aren't alone Tongue
Find
Reply
07-29-2012, 08:40 AM
#10
etking Offline
Banned
Posts: 189
Threads: 1
Joined: Feb 2012
(07-29-2012, 08:15 AM)toonces Wrote: I have the same problem with Defender X version, other builds and official work fine. You aren't alone Tongue

Good to know! But you can use the latest Lectrode ICC builds without any problem!

Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode