This is an epic competition ! :D So much prizes... You, participating devs, should code with the MLlib, an easy but powerful library for Wii ! :)by Minishlink - Homebrew General
I think you can convert any music file to MP3, and play the MP3 with MLlib. You can also play RAW. (see "Plop!" sources) Nice to see your game out ! :)by Minishlink - Coding
If you want to delete an image, call ML_DeleteImage(&image); but there is no point to delete sprite since it's just a couple of variables. ;) I'm glad you figured out. :) If you want some help, check out the source of my TicTacToe game, even though it's very old and it won't compile with the lastest MLlib.by Minishlink - Coding
QuoteiSubaruWe load frame 0 of 3-frame sprite and when we point on it and press A button it will show frame 1 ? ML_Sprite sprite; ... // loading image and sprite, initizalizing tile system and so on... if(Wiimote[0].Newpress.A) sprite.currentFrame = 1; That's it ;) Why would you need delete sprites functions ? You can just set their "visible" member to false and they won't beby Minishlink - Coding
QuoteiSubaruAlso is there in MLlib some way to do...hmmm SetFrame thing? Like that We load frame 0 of 3-frame sprite and when we point on it and press A button it will show frame 1 ? sprite.currentFrame = X; :) MLlib supports only MOD and MP3 right now, but it shouldn't be hard to support XM. ;) QuoteiSubarIt seems I will have to find some DeleteSprite functions in MLlib because doby Minishlink - Coding
It's strange you got code dumps... Did you use TTF fonts ? If so, I can understand. It's the only unstable part of MLlib. Thanks anyway :)by Minishlink - Coding
If you ever encounter any code dump with my library, email me or post an issue on Google Code... I can't make my lib better or more stable if I have no feedback... Anyway, next release should be in the first two weeks of July. Sorry if I don't update it regularly but it's not my priority since I have other projects and before everything else: school. Since MLlib is an open-souby Minishlink - Coding
I don't know about your network problem, sorry... but for exiting the application, just use ML_Exit() et it will return to the loader (HBC). But you have to free all image data before if you want it to be fully working. ML_DeleteImage(&imageData); Hope it helps ;) Oh and, if you want to shut down the Wii, use that : ML_ShutdownWii(); for the moment . It's atm in fact SYS_ResetSby Minishlink - Coding
Take a look of the sources of my lib, there is a function to draw a cursor here :) You need to calculate some offset in order to have the cursor right in front of the Wiimote pointer.by Minishlink - Coding
Do you want to boot a "boot.dol" file in your program ? I think Ksmiler's translation is good though.by Minishlink - Coding
What, loading a file in ram ? You're speaking about load a file into a variable ? If yes, use fread(); =)by Minishlink - Coding
So, I changed the function ML_DrawSprite and some things (u8 alpha etc). If I understood well, I have to load the projection matrix after, but what is it ? ^^" Like something like that : "GX_LoadPosMtxImm(mtx, GX_PNMTX0);" ? Or ? EDIT : I tested and it's not stopping at GX_DrawDone() anymore but nothing is drawing x_Xby Minishlink - Coding
The array is just for testing ;) "don't you need to start the scene rendering then finish?" Hum, like GX_Begin and GX_End ?by Minishlink - Coding
Hi guys :) I'm having a problem with GX_DrawDone(), when my program is at this instruction, it crashes (no Core Dump, just screen freeze)... And it occurs when I load or draw a texture because with a simple code it works great (i.e. I can return to HBC when I hold A). So, that's my code : <- a part of my lib (.h and .c mixed for that post) <- the program Problem : Scby Minishlink - Coding