Page 1 of 1

How to reduce the size of "rom.bin" by SGDK?

Posted: Fri Nov 25, 2011 8:59 am
by zhengyaxin_8bit
When compile the sample of Sega Genesis Dev Kit (SGDK), I will be get rom.bin ,the size is 384kbyte. How to get the less file than 384kb.

Posted: Fri Nov 25, 2011 9:51 am
by Stef
Unfortunately you cannot... this size comes from the differents inner tables used for math or whatever pre calculations.
It was possible to disabled them in previous version of SGDK but honestly it's a pain for me to maintain the 2 possible configurations (with or without look up table) so now the minimum rom size is 384 KB.
I know it is a problem...

Posted: Fri Nov 25, 2011 4:20 pm
by zhengyaxin_8bit
I just download the previous version of SGDK in 2008 year,with many setting step. The new version is so easy to installation. :lol:
and append perfect music funciton(tfm,mvs). I like the new DevKit :lol:

Posted: Sat Nov 26, 2011 6:17 pm
by Stef
Thanks :)
The new version is a bit easier to setup indeed. Bad point is that now it eats ~380 KB of rom, needed for some maths calculations and fast address conversion.

Posted: Sun Nov 27, 2011 4:51 am
by zhengyaxin_8bit
I can get the small rom now. :D By this way ,reference and modify "uwol_quest_for_money_source_code" to get my want

Posted: Sun Nov 27, 2011 5:12 am
by zhengyaxin_8bit
Hi Stef, I can't find any document about GYM file, Do you know how to use them in sgdk09? Another question,We can conver .vge to .vgm .tfe to .tfd by vgmmaker11 and tfmmaker10, What way we can conver .vgm to .vge, .tfd to .tfe?

Posted: Sun Nov 27, 2011 7:07 am
by Shiru
GYM is very outdated format, why even bother messing with it? If you need a format for register dump to play on the console, you can make your own that would be at least as good as GYM in few minutes.

vgmmaker11 and tfmmaker10 are outdated too, there are newer versions.

It is not possible to convert VGM to VGE or TFD to TFE, because VGM and TFD are just a register dumps, they are not contain actual instruments, patterns, etc.

Posted: Sun Nov 27, 2011 2:58 pm
by zhengyaxin_8bit
Thanks Shiru.
Where I can download the new version of vgmmaker and tfmmaker?

Posted: Sun Nov 27, 2011 5:50 pm
by Stef
As Shiru said, GYM is really outdated and there is nothing in SGDK to play this format. I could easily add something for that though but i prefer a real VGM player tha GYM player.

Posted: Mon Nov 28, 2011 1:22 am
by Shiru