Ok :) That explains all our bugs. Thank you.by arasium - Coding
Ok, so no, i havent any thread (excepting the main thread :)) Arikado: I don't understand what you mean. I can't shutdown if i've init them before? If yes, how can i do :) My full code is something like that: - Init Console - WPAD_Init - My Code (i display some informations, a menu etc....) - WPAD_Shutdown() - IOS_ReloadIOS(36) - WPAD_Init() Edit: I've readby arasium - Coding
Hello, I'm trying to reload an ios. To avoid any pb with the pad, i've this: WPAD_Shutdown(); IOS_ReloadIOS(36); WPAD_Init(); The last line cause a dsi.... For information, i'm using the last devkitpro updater.by arasium - Coding
no, i think it isn't possible if you don't know the oldest available version (wich is easy, it never changes :))by arasium - Coding
Lol, i haven't found this before..... Thank you.by arasium - Coding
Hello, i try to create a file in the tmp folder of the ISFS. And when i do that, it returns -105!!! This error seems to be returned by the system and not by the libogc. Is someone know what is error 105?by arasium - Coding
Hi all, i've fixed the problem. I don't know if i have the good explanation but i willput it here :) I imagine that i've a lot of classes (some are very simple and other aren't. For exemple, i use functor, the singleton pattern etc...). So, i've some private fields. All is compiling very well. Then i create a library "libitems.a". I wan't to publish a libitems.by arasium - Coding
QuoteArikadoQuotearasiumQuoteArikadoSounds like you're not properly linking your library into projects that use it. Yes, i was thinking about something like that. For the linker, i use the default devkitpro options. Should i add an other one? Just several quick pointers: 1) Make sure that your lib is named libwhatever.a - You must have the first three characters named lib for it to be recby arasium - Coding
QuoteArikadoSounds like you're not properly linking your library into projects that use it. Yes, i was thinking about something like that. For the linker, i use the default devkitpro options. Should i add an other one? QuoteArikadoSounds like you're not properly linking your library into projects that use it. It depends :) Sometime many instance of a class are not well instanciatedby arasium - Coding
Hi everybody, i've code a quite large framework and it works very well. So i've decided to put it in a static library (.a) using that: #--------------------------------------------------------------------------------- %.a: @echo linking to lib ... $(notdir $@) @$(AR) -rc $@ $^ # and i've changed the output with this #------------------------------------------------by arasium - Coding
If you succeed to do that, you will be my god :)by arasium - Coding
My final goal is to create a patcher wich can patch ios on the wii without taking them from a wad or nus. It will dump them, patch them and install them (and i will add an option to keep them as a wad on the sd card). The patch files will be drop in a patch folder and the patcher will do everithing by himself. I know that we can do this using nusd downloader and use these wads to apply the patby arasium - Coding
To get tmd, i can use ES_GetStoredTMD. My goal is to dump some of my titles (system titles) into wad files, but i don't want to use some modified ios (if it's possible). I mean, i wan't to do this just after installing the HBC (ie, no ios36 with trucha patch or other "bad" ios(es) like cios249). The problem, is that i can't install bootmii as boot2 in my wii, so iby arasium - Coding
Hi, i've made some research to find an event framework in full standard c++. I've found one: It works without problems. To compile the source code, you just need to replace the includes of memory.h by memory (without the h). Then, you will have some warnings you can easily correcting. I hope this will help some people :)by arasium - Coding
Correct me if i'm wrong: With ISFS or IOS, i think I need to read files in /ticket. But, to do that, i need special permission (like identify as SU)... I supposed the user of my homebrew won't have this, he will just have the HBC (and perhaps bootmii). So, my idea was to use ES functions. We can use these functions to install titles (comex IOS35 downgrader or TBR use it) without aby arasium - Coding
Hi, i actually search a way of getting title ticket from the nand. A simple way is to read the file directly in the nand. But i wan't to do this with ES functions. I've found the functions to read TMD and title contents, but nothing about the ticket. I've just see something about tikview!! Is it possible to recreate the ticket with tickviews?by arasium - Coding
Hi everybody, i've made a c++ class to encapsulate Http request mecanism. This class do its job without error when i compile it under Visual Studio and running under Windows. But when i modify it to be compatible with wii (network initialization is different), it crash when the destructor is called (i think it's a segmentation fault, but i don't know where it can occure...).by arasium - Coding
QuotegiantpuneI've been using this little snippet from snes9x to check it. Just have int HBC=0; then this and HBC will be 1 if this app was launched from there. #ifdef HW_RVL char * sig = (char *)0x80001804; if( sig[0] == 'S' && sig[1] == 'T' && sig[2] == 'U' && sig[3] == 'B' && sig[4] ==by arasium - Coding
Quoteninjafish1990If this existed then I would no longer need preloader, except to add hacks which could also be loaded through bootmii, they should have a "preloading" app that comes right after bootmii (that would be optional) it could load .dols and hacks! and for those who can't install bootMii as boot2???by arasium - Ideas, requests
I've done one app like this (file system on wii or any fat device is supported). If you want, i can send it to you. But be carreful, you can brick your wii. If you're interested, send me a mail at arasium at googlemail dot comby arasium - Ideas, requests
So, up :) I've done a file browser that can load elf/dol files. The stub seems good because, when i want to quit the browser (wich is the loader), i return to the browser. I think everithing is normal: The boot app load the stub in 0x80001800 and the browser in 0x81330000. The boot app launch the code at the address 0x80001800 (so, the stub) wich itself load the code at 0x81330000 (by arasium - Coding
ok, thank you. So, know my question his: does someone know why :) ?by arasium - Coding
You can find the code in loadmii (google code). It's the stub code. In the code, there is only : void _main() { ... } So, no main function.... It can be compiled with the makefile delivered in with loadmii, but i don't understand this makefile. So i've tried with a classic makefile and the error say that no main method was found (for me it's normal :)). So i waby arasium - Coding
Hi, i've read the loadmii stub and i don't understand the stub very well. This stub doesn't contains a classic main entry. Can we use a classic main like "int main()" or do we absolutely need to use a function that return a void? And then, if i need a void instead of an int, how can i compile this? When i try, i've a linker error!! Thank you.by arasium - Coding
If someone succeed to do that, every wii coder will love him :)by arasium - Coding
Yes :) But this exception occures because we don't align buffer (i think, the underlying function write elements over the end of buffer, wich create after the DSI Exception)by arasium - Coding
I've some response :) Generally, yes we need to be 32 bit aligned (for exemple, Get_FileStats make a DSI Exception). I've made some tests and i often have e DSI Exception when the buffer isn't 32 bit aligned.by arasium - Coding
Helle, when i read source code of different applications (like fs toolbox or others like that), i see that when we pass an objet to an ISFS function, we always initiate the memory with a memalign(32, xxx). Is it really required (i think of ISFS_GetFileStats, ISFS_Read ...) ?by arasium - Coding
Exactly, plugin system is the goal of dynamic loading :) I havent tried to compile this (i'm on another project), but if someone could do this, everybody will love him :)by arasium - Ideas, requests
I've found a source code for the ld application (it is used to load dlls). I think we can use that to dynamically load elf files.by arasium - Ideas, requests