davebaol / d2x-cios

A custom IOS for the Wii and Wii-U console, i.e. an IOS modified to add some new features not available in the official IOS.
Other
161 stars 13 forks source link

NAND emu seems to have stopped working between v8 and v9 beta r47 #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Launch wiiware under NAND emulation via the loaders: USB Loader GX 2.3 r1155, 
postloader3 3.69.x

What is the expected output? What do you see instead?

Under d2x v8 (most) games start successfully. Under d2x v9 r47 none start (at 
least none of the dozen or so I've tried). Failures differ based on launcher, 
dsi exception under pl3, for example.

What version of the product are you using? On what operating system?

d2x v9 beta r47. Games launched under cIOS249[56].

Please provide any additional information below.

N/A.

Original issue reported on code.google.com by s...@vancelodge.com on 27 Mar 2012 at 10:06

GoogleCodeExporter commented 9 years ago
Well I can start all the games so I think you messed up something.
How did you install d2x? ModMii, d2x-cios-installer or wads taken from who 
knows where? 
Currently d2x-cios-installer is reccomend because tmd and modules have changes. 
And I've not checked ModMii personally (it should work though).
However avoid using unofficial pre-built wads taken from the web.

Also try a different hdd, pen drive or sd card.

Original comment by dav...@yahoo.it on 27 Mar 2012 at 10:40

GoogleCodeExporter commented 9 years ago
Thanks for your help. 

They were installed as WADs generated by ModMii v6.0.6. I shall try again with 
d2x-cios-installer and report back. Thanks again.

Original comment by s...@vancelodge.com on 28 Mar 2012 at 4:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Okay, retried with d2x-cios-installer installation of 249[56] and 250[57] with 
the same results:

Under PL3:

Exception (DSI) occurred

... but even this error is printed to screen with unusual artifacts (like the 
bottom part of each char is missing, or the screen is lo-res or something).

Under USB Loader GX:

With sample game, Bejeweled 2, it launches and look ok until passing initial 
screen (that is for the game itself, not the H&S screen), then it locks up.

I guess it must be my HDD or something if its all OK with you. Bit of a shame 
really as this drive worked all the way from Waninkoko, Hermes, Rodries and all 
other d2x up until now.

Anyway, hopefully it's just me. Thanks for your help.

Original comment by s...@vancelodge.com on 28 Mar 2012 at 4:39

GoogleCodeExporter commented 9 years ago
Tried another drive and you're quite right - that one works.

Any idea what the problem could be with my original? Both formatted 
identically. Just 'one of those things' with the problematic drives h/w?

Original comment by s...@vancelodge.com on 28 Mar 2012 at 6:46

GoogleCodeExporter commented 9 years ago
Just to keep you informed I tried using d2x v9 b47 with an emu NAND loaded from 
SD and it's failed on both cards tried (which haven't had issues with anything 
Wii-wise previously).

Original comment by s...@vancelodge.com on 28 Mar 2012 at 10:49

GoogleCodeExporter commented 9 years ago
It is NOT just you. I installed d2x v9 b47 (base 56) in slot 249 (using d2x 
installer) and had similar "bug" behaviour - Emulated NAND saves were not found 
and new saves were created on the real NAND. Re-installing d2x v8 (final) and 
emulated NAND again works and previous saves in emu NAND found.

I would be very surprised if it is a problem with my harddrive as it works with 
v8 and doesn't work with v9 (cios is the only thing that changed).

Dave is there anything that I can run or do that gives you additional info to 
debug what appears to be a bug introduced in v9?

Original comment by mmmi...@gmail.com on 2 Apr 2012 at 6:36

GoogleCodeExporter commented 9 years ago
Ok this is an interesting info: "Emulated NAND saves were not found and new 
saves were created on the real NAND"

Are you on partial or full emulation?
If it's partial can you reproduce the issue with full? You need a full nand 
dump of course.

Original comment by dav...@yahoo.it on 3 Apr 2012 at 10:15

GoogleCodeExporter commented 9 years ago
Dave, thanks for the quick response. 

Partial emulation was the situation I tested where I saw the problem. I already 
use a full NAND dump and so will re-install v9 and test this later this evening 
using full emulation and post the results.

Original comment by mmmi...@gmail.com on 3 Apr 2012 at 4:53

GoogleCodeExporter commented 9 years ago
Just re-tested. v9 fails to use the EMU NAND saved games in both partial and 
full emulation and instead accesses the real NAND for saved games.

Reverting back to v8 and save games on EMU NAND are then recognized and read.

Original comment by mmmi...@gmail.com on 3 Apr 2012 at 8:59

GoogleCodeExporter commented 9 years ago
hmm ok, thanks for testing.
Which loader are you using?
If you can please test ith with both gx and wiiflow.
Then I'll look into it asap.

Original comment by dav...@yahoo.it on 3 Apr 2012 at 9:47

GoogleCodeExporter commented 9 years ago
I was using GX R1156 MOD4 for the test so far. I will re-install Wiiflow 
(uninstalled it 2 days ago ... :-( ) and re-test this evening.

Original comment by mmmi...@gmail.com on 4 Apr 2012 at 6:22

GoogleCodeExporter commented 9 years ago
Re-installed reflow (from Wiiflow_Mod_svn_r230.zip) and tested on v8 everything 
works fine and the saved games on Emu NAND are found.

Tested using Wiiflow with v9 (all other config is exactly the same) and I get 
error message "Enabling emu after reload failed" when trying to start the game.

I tested with both Disney Universe and Skylanders - same error.

I hope this points you in the right direction, and thanks again for all your 
effort on d2x. 

Original comment by mmmi...@gmail.com on 4 Apr 2012 at 1:29

GoogleCodeExporter commented 9 years ago
hmm both game and nand on the hdd?

Original comment by dav...@yahoo.it on 4 Apr 2012 at 4:27

GoogleCodeExporter commented 9 years ago
Also you get a usb gecko right?
If so come on wiiflow or wiiflow-mod irc channels so we can debug this issue.
I still think it's something related to your hdd.

Original comment by dav...@yahoo.it on 4 Apr 2012 at 4:58

GoogleCodeExporter commented 9 years ago
Yes both on same HDD (NAND on partition 1 (FAT32), Game on partition 2 (NTFS)).

Sorry but I dont have a usb gecko :(

Original comment by mmmi...@gmail.com on 4 Apr 2012 at 6:59

GoogleCodeExporter commented 9 years ago
Do you have a sd card inserted? Oh and can you set the game to force IOS249 
just to test? If nothing helps come to our irc channel #wiiflow on 
irc.abjects.net using mibbit or something like that for more help.

Original comment by fix94.1 on 4 Apr 2012 at 8:00

GoogleCodeExporter commented 9 years ago
Firstly many thanks to FIX94 for spending the time with me on IRC :)

Below is a summary of our testing with Wiiflow (all with Disney Universe, 
existing Savegame on Emu NAND and debug version of Wiiflow on SD card writing 
log to SD card)

- d2x v8 in slot 249, game forced to load IOS 249. Game loads and finds EMU 
Save Game. Log file is written
- d2x v8 in slot 249, d2x v9 in slot 253, game forced to load IOS 253. Game 
does NOT load. Wiiflow displays "Enabling emu after reload failed!" message on 
screen. Log file is written.
- d2x v9 in slot 249, game forced to load IOS 249. Game does NOT load. Wiiflow 
displays "Enabling emu after reload failed!" message on screen. No Log file is 
written (this test was run AFTER FIX94 lost IRC connection and so was not 
discussed on IRC).

This is also the same behavior that I see in GX, EXCEPT it looks like GX 
continues (doesnt display an error like Wiiflow does) and then just uses the 
real NAND instead.

Logs do not (as far as I am aware) indicate any problem accessing NAND, UNTIL 
IOS reload occurs. (it is however weird that nand paths show /nand//blah 
instead of /nand/blah .... we do not see where the double / comes from ... 
however working v8 scenario also has this and works fine).

Also it looks like v9 stops Wiiflow being able to write a debug log file to SD.

@FIX94 - if I have misrepresented anything above then please correct :)

Original comment by mmmi...@gmail.com on 4 Apr 2012 at 11:08

GoogleCodeExporter commented 9 years ago
Hey, yeah sounds correct, sorry about yesterday my connection completely 
refused to get online again. So davebaol its not a wiiflow problem because the 
problem is in GX too ;)

Original comment by fix94.1 on 5 Apr 2012 at 9:55

GoogleCodeExporter commented 9 years ago
I know this fix91. Read above, I never said the opposite.
Actually what I meant on IRC is that the error reported by wiiflow makes it 
more useful for debugging the cios in this special case. :p

Original comment by dav...@yahoo.it on 5 Apr 2012 at 12:10

GoogleCodeExporter commented 9 years ago
mmmitch please come on irc asap for a debug session. thanks

Original comment by dav...@yahoo.it on 5 Apr 2012 at 3:58

GoogleCodeExporter commented 9 years ago
Hey Davebaol, I see you've been speaking with digicroxx over on gbatemp about 
the mod he made to the EHCI module to get it to play nicely with his drive.

If you want to see if its a good generic fix and worth including in your v9 
then let me know and throw me a beta. I still have my original problematic 
drive here and can see if these changes get it working again. I can probably 
set up the SD cards too if you like (will have to hunt around for them though).

Cheers.

Original comment by s...@vancelodge.com on 10 Apr 2012 at 6:45

GoogleCodeExporter commented 9 years ago
@Saul
http://gbatemp.net/topic/277659-ciosx-rev21d2x-yet-another-hot-fix/page__st__276
0__p__4178920#entry4178920
XD

Original comment by dav...@yahoo.it on 10 Apr 2012 at 12:39

GoogleCodeExporter commented 9 years ago
I also have this issue and I wrote a post on gbatemp some weeks ago.
Today I found out, that d2x v9 r49 fixes this issue and partial nand emulation 
works (again). r49 also fixed another problem for me, I made a new post:

http://gbatemp.net/topic/277659-ciosx-rev21d2x-yet-another-hot-fix/page__view__f
indpost__p__4210919

Original comment by norb...@gmail.com on 5 May 2012 at 3:06

GoogleCodeExporter commented 9 years ago
r49 unfortunately does not fix the saves on EMU NAND not being used/found issue 
(http://code.google.com/p/d2x-cios/issues/detail?id=34#c18) :( 

Original comment by mmmi...@gmail.com on 6 May 2012 at 10:46

GoogleCodeExporter commented 9 years ago
im using wiiflow and saving game saves to emunand on a 1tb usb hdd i been 
playing reel fishing and getting quite far and now today i try to play it i get 
a error message something about emu failed to load after reload or something 
along the lines of that.any ideas folks?
also a small handful of games give this message as soon as i try to play from 
fresh and i set the emunand up for saves in the end i put these on default and 
let it save to real nand. i really dont want to lose my progress on reel 
fishing im gutted :(

Original comment by graham.p...@gmail.com on 11 Nov 2012 at 12:58

GoogleCodeExporter commented 9 years ago
graham.w

I can vaguely remember something similar here, where there is a prob with the 
/sys/uid.sys emulated file corrupted ... 

Are you seeing errors loading savedata in all your emunand run games ?

Original comment by danielcs...@gmail.com on 20 Nov 2012 at 1:20