Hi, everyone.
I'm doing a graphic adventure, and I did a function that loads a bunch of JPGs sequentially using gba-jpeg lib, so it plays like a video. Until now, I've used some wavs with maxmod and everything worked fine. But now I added a mod too, and now the game crashes when it tries to decompress a JPG, even if I don't load the mod.
Maybe the soundbank with the mod is overwriting the memory area where the JPGs are decompressed or something like that? I don't know how to solve it if that's the case.
I'm using JPGs because I want that the images are very compressed, because they wouldnt fit in the 4mb limit of the rom. And using NitroFS isn't compatible with some flashcards, right?
Anyway, I hope you can help me. Thanks in advance
EDIT: Nevermind, It was because I removed a line of code that I shouldn't have removed.
I'm still interested in using a filesystem, but I want my game to be compatible with most of the flashcards out there. What would be the best method for compatibility?
My game crashes using a mod file and JPGs
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: My game crashes using a mod file and JPGs
Forget about making your game "compatible" with most or all flashcarts, use fsnitro from libfilesystem and inform your users that their card menu is the problem if it fails.
http://wiki.devkitpro.org/index.php/Homebrew_Menu
http://wiki.devkitpro.org/index.php/Homebrew_Menu
-
- Posts: 34
- Joined: Tue May 11, 2010 2:29 am
Re: My game crashes using a mod file and JPGs
Sweet! Don't you love being able to put the blame on the end-user for the program not functioning correctly? I know I do.
Re: My game crashes using a mod file and JPGs
I can't stand it when end-users complain about being color blind, or not having fingers. As a consequence, I only make monochromatic, voice-driven games, so that I spend my energy forgiving the users' flaws.
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: My game crashes using a mod file and JPGs
Read the post again, follow the link, think.ShotgunNinja wrote:Sweet! Don't you love being able to put the blame on the end-user for the program not functioning correctly? I know I do.
What has the card menu not supporting well defined protocols designed to avoid compatibility issues have to do with the end user?
Re: My game crashes using a mod file and JPGs
The part where the end user has to buy a new card to play the game. Apparently this is the developer's problem and not the problem of the end user who has purchased an ill-supported lemon.
Re: My game crashes using a mod file and JPGs
people don't need to buy a new card, they can use the homebrewmenu. unless the card doesn't support dldi...
Who is online
Users browsing this forum: Semrush [Bot] and 2 guests