You need 32 bytes aligned buffers, you know that? Maybe there's a problem with the content numbers? I'm not sure if the content numbers match the file names on nand. Did you check that you try to load files that exist? Also what do you mean exaxtly with "when it jumps to the executable"?by WiiPower - Coding
As far as i know the IOS patch for ES_Identify which allows you to use ES_Identify only works with certain IOS. I don't think that any 5x or higher is compatible. If you manage to load IOS36 with AHBPROT, then i guess the patch might work. But why the complicated way? Don't you have the source code for a nand permissions patch? With that you just have full read/write access to the whby WiiPower - Coding
Maybe it's just a matter of which IOS is used? In the cases it works, HW_AHBPROT is enabled, but also running the same IOS as HBC is running on. I think with IOS Reload HBC loads IOS36 for all apps, well it did that for a long time, don't know about the latest versions. So if you want to release your app, you may want to check which IOS your app is using when skipping the IOS Reload.by WiiPower - Coding
tueidj is right, unless you learn how to do an IOS Reload without loosing the direct hardware access, you won't get a clean solution for your problem. But if you can learn anything from "warez loaders", then it's the fact that >90% of games run fine with any IOS. So you can temporary stay on IOS58 and just fix 002 error in memory. If you execute some kind of apploader that writesby WiiPower - Coding
Old versions of libogc always added an IOS_ReloadIOS(36) to all programs. To avoid this either update your libogc or add this function to your project: s32 __IOS_LoadStartupIOS() { return 0; }by WiiPower - Coding
exit only starts the reload code that HBC wrote to 0x80001800. If you don't overwrite that with code to boot your loader, it will always return to HBC, or in case it gets overwritten with something else, it will crash/reboot. Note that there's only 6KB space for your own code that returns to your loader. I think the code from HBC is a channel loader, and if your app was a channel, yoby WiiPower - Coding
Gecko OS mod: I haven't tested it for ages, but it should work. If not. it's a bug and i should work on it.by WiiPower - Ideas, requests
You need to know if the file you want to put in is encrypted or not. If it is, then you need to decrypt it first, then you need to update the hash in the tmd, and then encrypt it. I don't like the order in which PatchMii does its stuff, look at the modified PatchMii code in Trucha Bug Restorer. It uses too much memory to handle something else than IOS, but in exchange it does not write anby WiiPower - Coding
Here in germany it's important if the disc you are trying to copy is protected. There's an extra law for this, if something is copy protected, you are not allowed to copy it, even for your own use. And software that allows to remove copy protection is forbidden in germany. I think i heard that the US law is similar in these 2 points. PS: CSS is considered copy protection in germany,by WiiPower - Ideas, requests
Anyways, even if you succeed, i suggest to not release it. TT had enough trouble to get the screen in there. If you remove it now, hombreware and what they all are called, will take it and pack it in their super warez packages.by WiiPower - Ideas, requests
Just to inform the people who didn't know: Nintendo changed the drives of new Wiis to access video dvds in a different way(?) or maybe they shut down that capability completely from the hardware side(that's what i think). The pirates are crying that the new Wiis can't read burned discs anymore. It's said that the black Wiis and the latest white ones have these drives. Piratby WiiPower - Ideas, requests
ES_GetNumTitles and ES_GetTitles are quite helpful in this. Then you only need to filter for IOS(title id 0x00000001000000XX & XX >2). To get the versions you can get the tmds. ES_GetStoredTMDSize and ES_GetStoredTMD help with that. Getting the tmds might require to use a module based IOS(IOS36 should be good then). I'm not sure if it needs to be an old version for this, but i don'tby WiiPower - Coding
You get hash errors when patching stuff? Don't you correct the hashes when patching stuff? If you get too many hash problems with downloads, i suggest to check them directly and do retires. I know it's quite a lot of work, but if this is should be a common problem i don't see a way around it. Also, you know that you can switch the IOS just before the install, so you get the bby WiiPower - Testing Corner
You will also need the old devkitppc. And do not use a project with sd card code, this would only cause unnecessary compiling problems. But i don't know where the old(ancient) libogc is, which could be what you are searching for.by WiiPower - Coding
Last time i tested i got a code dump on the 11th(yes 11) WPAD_Init in a loop with just WPAD_Shutdown and WPAD_Init. Commend your IOS Reload and i assume it code dumps as well. I got confirmation that the wpad stuff was not written with the intention that it can be shutdown and reinited. It's a known issue in libogc and has very very low priority for the authors.by WiiPower - Coding
fs is NULL, that's the problem. You need to allocate memory for it before ISFS_GetFileStats.by WiiPower - Coding
Hey why don't you listen to me? I looked at the source, and you did not fix it:by WiiPower - Testing Corner
There are lots of PatchMii clones around that do not have a bugfix included, look here: I'm too lazy to look at your source.by WiiPower - Testing Corner
Quotepokeglobe I used this to launch the game: printf("\n Launching Game...\n"); hooktype = 1; memset((void*)0x80001800,0,kenobiwii_size); memcpy((void*)0x80001800,kenobiwii,kenobiwii_size); DCFlushRange((void*)0x80001800,kenobiwii_size); apploader(); Is there a code I can add before apploader(); to change the language to default or english? Thanks! You need tby WiiPower - Coding
You lost the savedata of a channel, but you have it stored in a wad? If yes, you should be able to recover it. Create a new save file, extract the wad and then play around with fstoolbox. The save data should be a file in the data folder of the title. But the question is if Wad Creator backups the saves, i wouldn't know where to store it in a wad. For the next time, if you backup your savesby WiiPower - Testing Corner
Take the source of the old Gecko OS as base. It's more forward to launch games, the new Gecko OS does it a "little" more complicated using threads. Just look at the apploader.c file, and at everything that is started before running the apploader. If you remove the .dol patches, the stuff related to Wiird and/or Ocarina and everything that is related to 0x800018000, you get a basic game loadeby WiiPower - Coding
I like unmounting and remounting everything on IOS Reloads. Maybe it's required to do ISFS deinit and ISFS init before and after IOS Reloads.by WiiPower - Testing Corner
Look at the source of fstoolbox. First of all, you need to execute ISFS_Initialize() before you are able to use ISFS_ commands to access files on nand. How to actually access them, you will see in fstoolbox' source, but there's a problem. You need the rights to access the file you want. If you have updated via nintendo or got your Wii with 3.3v2 or higher, none of your IOS has somethby WiiPower - Coding
Hey i already posted code to get that information directly from the Wii for all system menus! And boot_index is not the 000000xx.app file, it's the index of the boot title within the tmd contents. Preloader does it by replacing that .dol, crediar knows how to do that. (and i'm not sure regular homebrew .dols don't work there, i just assume it) And the original system menu getby WiiPower - Coding
I know it's not clean code, but with this you get the number of the .app file you want from the tmd: bootindex = ((tmd *)SIGNATURE_PAYLOAD((signed_blob *)tmdBuffer))->boot_index; tmd_content *p_cr; p_cr = TMD_CONTENTS(((tmd *)SIGNATURE_PAYLOAD((signed_blob *)tmdBuffer))); bootapp = p_cr.cid; Anyways, the system menu .dol has 0x3400 (=0x80003400) as entrypoint and in homebrew youby WiiPower - Coding
The GC did not have an arm processor, only the ppc. It wouldn't make sense if the arm would do anything while running GC and while having no advantages over a GC. Hmm, it's nintendo we are talking about...by WiiPower - Ideas, requests
Not again... MIOS starts gamecube games, and then does NOTHING. Requirements for this is: Either emulate a gamecube, lol. Or 1. Run gamecube games in wii mode. 2. PATCH the .dol(s) of the game to accept GC and wii mote input. About 1: Not done yet, very complicated, not even a clear statement from somebody who knows what he is talking about, IF it is even theoretically possible. Abouby WiiPower - Ideas, requests
xyzzy is written for the old libogc/libfat. You need to look at everything related to card reading/writing. I think it even uses fat: in the filepaths, but after chaning this, it should work.by WiiPower - Coding
I don't know if it would be possible to use usb instead of an usb gecko. If it would work, it would be nice, i think you could make it even compatible with WiiRD then. But: 1. I'm not sure, but i think usb code is larger than the usb gecko code, and the memory available for code is very restricted 2. I think it would be problematic on all games that use usb for anything themselves.by WiiPower - Coding
Modifying the MIOS would be possible, but would prefer a GC loader in form of a mini project. But i think we are still even missing the info if gamecube games would work in wii mode if everything that is required to run GC games is done.by WiiPower - Ideas, requests