gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Flash Equipment > Too little space on flash card.

#35340 - jesperht - Thu Feb 03, 2005 7:43 am

Hi,
Im wondering if there is any way to minimize/shrink a rom file before sending it to a flash card. As I only have a Flash 2 Advance 128, I can at most fit one large commercial game on it at a time. And as I am new to developing my games, i fear that my first creations will not be efficiently made -- and I will need all the space i can make. So i have the following questions:


Is there any way to compress the game?

I have played a bit with gbadat, and it has a function called "trim". How does this work?

What does it remove?

When developing games yourself, whats the biggest size affecting factor to think of/keep track of?


Thanks ! :)

#35348 - SimonB - Thu Feb 03, 2005 12:28 pm

I dont think you will be anywhere close to filling up the whole card. But if you somehow manage to, worry about the compression later.

Simon

#35356 - tepples - Thu Feb 03, 2005 3:49 pm

If you have 128 Mbits (16 MB) to play with, I can see only two things to think about:
  1. Don't try to use full-motion video just yet.
  2. If you're going to stream music off a cart, use a codec appropriate to how much CPU time you have left to decode it.

_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#35363 - ampz - Thu Feb 03, 2005 5:32 pm

16MByte is _alot_ to play around with.
My largest creation so far is 1MByte, and it wastes alot of space with unnecessary bitmap graphics and a 300kByte mod tune. You can find it here.

#35366 - Lynx - Thu Feb 03, 2005 6:11 pm

Maybe it's just me, but I read that post as..

"I'm trying to pirate XXXXX game, but it won't fit on my cart. Can you tell me how to compress it, so it will fit?"

#35374 - ampz - Thu Feb 03, 2005 7:25 pm

No, the question is valid.

#35409 - sasq - Fri Feb 04, 2005 9:37 am

It is a valid question but in this case I agree with Lynx, that the size of a homebrew project should grow over 128MBit is the least of this guys worries.