FIX94 / Nintendont

A Wii Homebrew Project to play GC Games on Wii and vWii on Wii U
1.94k stars 324 forks source link

IOS58 failed to load #325

Closed TitoLag closed 8 years ago

TitoLag commented 8 years ago

Nintendont Loader is version 4.425 (Wii) Built from october 14 2016 Firmware is 58.24.32

I start Nintendont from HBC. When opening the following message is shown in red before taking me back to HBC.

"Failed to load IOS58 from NAN: IOS_Open("/sharedI/content.map") returned -102"

The boot.dol and meta.xml are the last on this site.

The metal.xml does have the line

I have tried to re-install IOS58 and re-install HBC after.

I had DIOS MIOS installed but removed it and replaced the MIOS with the latest from NUS.

This is my sysCheck: Region: NTSC-U System menu v513 - l'IOS58 (rev 6175) Hollywood v0x11 Device ID: 68497427 Boot2 v4 96 titles found 32 IOS 17 'IOS Stubs'

IOS (revision);IOS Stub;Trucha Bug;ES Identify;Flash Access;NAND Access;Boot2 Access;USB 2.0 IOS4 (rev 65280);Yes;?;?;?;?;?;? IOS9 (rev 1034);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS10 (rev 768);Yes;?;?;?;?;?;? IOS11 (rev 256);Yes;?;?;?;?;?;? IOS12 (rev 526);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS13 (rev 1032);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS14 (rev 1032);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS15 (rev 1032);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS16 (rev 512);Yes;?;?;?;?;?;? IOS17 (rev 1032);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS20 (rev 256);Yes;?;?;?;?;?;? IOS21 (rev 1039);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS22 (rev 1294);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS28 (rev 1807);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS30 (rev 2816);Yes;?;?;?;?;?;? IOS31 (rev 3608);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS33 (rev 3608);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS34 (rev 3608);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS35 (rev 3608);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS36 (rev 3608);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS37 (rev 5663);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS38 (rev 4124);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS40 (rev 3072);Yes;?;?;?;?;?;? IOS41 (rev 3607);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS43 (rev 3607);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS45 (rev 3607);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS46 (rev 3607);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS48 (rev 4124);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS50 (rev 5120);Yes;?;?;?;?;?;? IOS51 (rev 4864);Yes;?;?;?;?;?;? IOS52 (rev 5888);Yes;?;?;?;?;?;? IOS53 (rev 5663);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS55 (rev 5663);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS56 (rev 5661);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS57 (rev 5918);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS58 (rev 6175);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS60 (rev 6400);Yes;?;?;?;?;?;? IOS61 (rev 5662);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS62 (rev 6430);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS70 (rev 6912);Yes;?;?;?;?;?;? IOS80 (rev 6944);No;Unactive;Unactive;Unactive;Unactive;Unactive;Unactive IOS222 (rev 65280);Yes;?;?;?;?;?;? IOS223 (rev 65280);Yes;?;?;?;?;?;? IOS236 (rev 21006);No;Active;Unactive;Unactive;Active;Unactive;Active IOS247 (rev 21006);No;Active;Unactive;Unactive;Active;Unactive;Active IOS248 (rev 21006);No;Active;Unactive;Unactive;Active;Unactive;Active IOS249 (rev 65280);Yes;?;?;?;?;?;? IOS250 (rev 65280);Yes;?;?;?;?;?;? IOS254 (rev 65280);Yes;?;?;?;?;?;?

Am I doing something wrong?

carnage702 commented 8 years ago

do you have something inserted on memcard slot b?

GerbilSoft commented 8 years ago

58.24.32 and IOS58 v6175 don't match up. (It should be v6176.)

Besides that: What version of HBC do you have installed?

TitoLag commented 8 years ago

Just changed from IOS58 v6175 to v6176. No change.

I am using HBC v1.1.2 (latest I think)

I had a memcard at first but removed it seeing somewhere it would cause problem.

No USB plugged and my SD card is 32 Go if that can be of any use.

Is it normal that the meta.xml of Nintendont show v4.417 but when starting it shows v4.425?

My xml:

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<app version="1">
    <name>Nintendont</name>
    <coder>FIX94, crediar</coder>
    <version>4.417</version>
    <release_date>20160710000000</release_date>
    <short_description>Gamecube Loader</short_description>
    <long_description>Commiters: GerbilSoft, JoostinOnline, GreyRogue, Howard, Cyan 

 Project website: https://github.com/FIX94/Nintendont 

Nintendont allows you to run GameCube games on a Wii or Wii U from an SD or HDD device.</long_description>
    <no_ios_reload/>
    <ahb_access/>
</app>
carnage702 commented 8 years ago

if you have a ninconfig.bin or controller.ini on the root of your sd card try to delete them. Also nintendont uses the unmoded latest ios58 by nintendo to work. so if you installed some sort of modded one like the old days, nintendont will not work.

TitoLag commented 8 years ago

There is no such files in my root, probably because it is the first time ever trying to use Nintendont.

The IOS58 I'm using is the one downloaded using NUS, installed using MMM.

I did not install any mod that I'm aware of since this is my first time hacking my Wii. I hacked it like one week ago.

carnage702 commented 8 years ago

is your homebrew channel the normal homebrew channel? not a mod or animated, color changed or something?

TitoLag commented 8 years ago

I used this site to download HBC : http://wiibrew.org/wiki/Homebrew_Channel

carnage702 commented 8 years ago

all i can think about is that somehow maybe you got a corrupt nintendont boot.dol? or installed some wierd cios that is messing up with ios58.

try redownloading nintendont boot.dol from here.

If it still fails try this, remove your sd card, find a random flashdrive formated to fat32, put the apps folder there and atleast a single game, and see if it boots striaght from usb with no sd card inserted.

TitoLag commented 8 years ago

I will try this when I get home.

I just remembered something. I once tried to install IOS249 (without knowing what it does).

I found the tutorial that I followed: http://gwht.wikidot.com/ios249

Is it a possibility that I have selected IOS 58 as the base instead of 56 or 57?

Can it cause a problem with Nintendont if I really did this? Is there a way to list all non original IOS on the Wii so I can remove them all?

TitoLag commented 8 years ago

Okay so I redownloaded nintendont boot.dol.

Tried the USB alone. Still the same problem.

Reinstalled IOS58, 56, 57, 249 and 250 to be sure.

Reinstalled HBC.

Problem still persist.

carnage702 commented 8 years ago

something on your wii is off and killing nintendont, im all out of ideas really.

TitoLag commented 8 years ago

Is there a way to restart from scratch?

I didn't know of the NAND backup until it was too late sadly.

carnage702 commented 8 years ago

afaik no, becuase nand and ios cant be "formated" even if you format your wii memory, those wont go away or change.

GerbilSoft commented 8 years ago

Are you able to copy nand:/shared1/content.map to SD or USB when using WiiXplorer? (I seem to remember it has a NAND file browser, though I'm not 100% positive - if it does, it should show up in the Devices list as "nand".)

http://wiibrew.org/wiki/WiiXplorer

FIX94 commented 8 years ago

content.map is a very important file, without it his wii wouldnt even run. we gain access to that file with this patch: https://github.com/FIX94/Nintendont/blob/master/loader/source/main.c#L240-L253 so whatever he loads possibly does not use IOS58 to load nintendont.

GerbilSoft commented 8 years ago

Maybe it's not finding the right thing to patch. I'll add some instrumentation and error codes to InsertModule() and post a test build later tonight.

@FIX94 I'm a bit confused here - are inhdr and outhdr supposed to be pointing to the same thing?

Elf32_Ehdr *inhdr = (Elf32_Ehdr*)(Kernel+loadersize);
unsigned int size = KernelSize;
char *buf = Kernel;
Elf32_Ehdr *outhdr = (Elf32_Ehdr *)(buf+loadersize);
carnage702 commented 8 years ago

just wondering is your homebrew channel base ios58? it should say on the top left corner if you press minus i think or is it 1? well whatever on top right screen of homebrew channel it should say the ios version.

TitoLag commented 8 years ago

Ok I feel very stupid right now.

I just realized, while using WiiXplorer, that my meta was meta.xml.txt My computer broke so I was using the computer of my father. The Windows on my father's computer hides the extension, so I was seeing meta.xml. I changed the extension and everything works fine now.

Again sorry for all the trouble!

GerbilSoft commented 8 years ago

I highly recommend disabling hiding file extensions, since that's a known exploit vector. (e.g. files named CatPicture.jpg.exe). The method differs based on Windows versions, but it's usually some menu option in Explorer.

That having been said, it's good to see you got the issue resolved. I'm still going to add extra error handling to InsertModule() since it makes sense to do so.

EDIT: InsertModule() is called after LoadKernel(), so that actually won't do any good here. Oh well.

VsVsV5 commented 7 years ago

i have a same problem. problem. See the screen

20170622_205446

carnage702 commented 7 years ago

if you have the same probem you can try his fix he had hidden extensions and had the meta.xml.txt instead of being just meta.xml

VsVsV5 commented 7 years ago

Here everything is more complicated. My files are properly named and the text of the error is different (carefully look at the screenshot)

carnage702 commented 7 years ago

if you have a bad ios 58 you need to reinstall it, so without a syscheck we have no idea what you have, same way for a homebrew channel based on ios58 and not ios 61 or 63 or whatever.

VsVsV5 commented 7 years ago

I don't know if my ios 58 is bad or not, but I tried to reinstall it, but it was unsuccessful. Also I did a syscheck

sysCheck v2.1.0b13 by Double_A and R2-D2199
...runs on IOS58 (rev 65535).

Region: PAL
System Menu 4.2E (v482)
Priilaoder installed
Homebrew Channel 1.0.0 running on IOS61
Hollywood v0x11
Console ID: 57046840
Boot2 v4
Found 235 titles.
Found 55 IOS on this console. 3 of them are stub.

IOS4 (rev 65280): Stub
IOS9 (rev 65535): Trucha Bug
IOS10 (rev 768): Stub
IOS11 (rev 65535): Trucha Bug
IOS12 (rev 526): Trucha Bug
IOS13 (rev 1032): Trucha Bug
IOS14 (rev 1032): Trucha Bug
IOS15 (rev 1032): Trucha Bug
IOS16 (rev 54321): Trucha Bug, ES Identify, Flash Access, NAND Access
IOS17 (rev 65535): Trucha Bug
IOS20 (rev 65535): Trucha Bug
IOS21 (rev 65535): Trucha Bug
IOS22 (rev 1294): Trucha Bug
IOS28 (rev 65535): Trucha Bug
IOS30 (rev 65535): Trucha Bug
IOS31 (rev 3608): No Patches
IOS33 (rev 65535): Trucha Bug
IOS34 (rev 3608): No Patches
IOS35 (rev 65535): Trucha Bug, ES Identify, NAND Access
IOS36 (rev 65535): Trucha Bug, ES Identify, NAND Access
IOS37 (rev 65535): Trucha Bug, NAND Access
IOS38 (rev 65535): Trucha Bug
IOS40 (rev 65535): Trucha Bug
IOS41 (rev 65535): Trucha Bug
IOS43 (rev 65535): Trucha Bug
IOS45 (rev 65535): Trucha Bug
IOS46 (rev 65535): Trucha Bug
IOS48 (rev 65535): Trucha Bug
IOS50 (rev 65535): Trucha Bug
IOS51 (rev 4864): Stub
IOS52 (rev 65535): Trucha Bug
IOS53 (rev 65535): Trucha Bug
IOS55 (rev 65535): Trucha Bug
IOS56 (rev 65535): Trucha Bug
IOS57 (rev 65535): Trucha Bug
IOS58 (rev 65535): Trucha Bug, USB 2.0
IOS60 (rev 65535): Trucha Bug
IOS61 (rev 5662): No Patches
IOS62 (rev 6430): No Patches
IOS70 (rev 65535): Trucha Bug
IOS80 (rev 65535): Trucha Bug
IOS90 (rev 54321): Trucha Bug
IOS202[60] (rev 65535, Info: hermesrodries-v6): Trucha Bug, NAND Access, USB 2.0
IOS222[38] (rev 65535, Info: Hermes-v55.1): Trucha Bug, ES Identify, NAND Access, USB 2.0
IOS223[37] (rev 65535, Info: Hermes-v55.1): Trucha Bug, NAND Access, USB 2.0
IOS224[57] (rev 65535, Info: hermesrodries-v6): Trucha Bug, NAND Access, USB 2.0
IOS236 (rev 54321): Trucha Bug, ES Identify, NAND Access
IOS245[37] (rev 21008, Info: d2x-v8final): Trucha Bug, NAND Access, USB 2.0
IOS246[38] (rev 21008, Info: d2x-v8final): Trucha Bug, ES Identify, NAND Access
IOS247[53] (rev 21008, Info: d2x-v8final): Trucha Bug, NAND Access, USB 2.0
IOS248[55] (rev 21008, Info: d2x-v8final): Trucha Bug, NAND Access, USB 2.0
IOS249[56] (rev 21010, Info: d2x-v10beta52): Trucha Bug, NAND Access, USB 2.0
IOS250[57] (rev 65535, Info: d2x-v10beta52): Trucha Bug, NAND Access, USB 2.0
IOS251[58] (rev 21010, Info: d2x-v10beta52): Trucha Bug, NAND Access, USB 2.0
IOS254 (rev 65281): BootMii
BC v6
MIOS v10

Report generated on 2017/06/23.

carnage702 commented 7 years ago

good god all your ios are patched lol including ios 58 lol you need a clean ios58 version unpatched version 6176 jesus what the hell did you do to your wii? every ios is patched when you only need like 2 or 3 patched for every homebrew lol.

VsVsV5 commented 7 years ago

Sorry, but I do not know much about this). When I bought the console, it was already installed. What can I do with this?

In addition, I tried recently to install IOS58-64-v6176.wad. But the installation was unsuccessful

carnage702 commented 7 years ago

like i said your system is a damn mess everything and i mean everythig is patched and cios everywhere, i advice going in the gbatemp forum on the wii secction and ask there you may need to unistal that ios58 to install the real one since its a lower version number but i dont know the ways or tools to do that, people on the gbatemp forum will help you.

VsVsV5 commented 7 years ago

ok

pawhtiobo commented 7 years ago

Just to clarify, this kind of massive patches on the IOS are usually made by "Pimp my Wii" or similar applications, that are a kind of auto-softmod...

I found this, to help you reinstall the original IOS 58:

http://wiibrew.org/wiki/IOS58_Installer

VsVsV5 commented 7 years ago

I already tried this method (I entered the HBC and chose to install iOS58), but the installation failed.

pawhtiobo commented 7 years ago

Also found this:

https://gbatemp.net/threads/looking-for-help-to-install-ios58.362842/

Not a similiar problem, but it says you can use NUSD ou ModMii to dowload IOS 58.