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

Talk about development tools here

Moderator: BigEvilCorporation

Post Reply
zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

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

Post by zhengyaxin_8bit » Fri Nov 25, 2011 8:59 am

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.

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Fri Nov 25, 2011 9:51 am

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...

zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

Post by zhengyaxin_8bit » Fri Nov 25, 2011 4:20 pm

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:

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Sat Nov 26, 2011 6:17 pm

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.

zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

Post by zhengyaxin_8bit » Sun Nov 27, 2011 4:51 am

I can get the small rom now. :D By this way ,reference and modify "uwol_quest_for_money_source_code" to get my want

zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

Post by zhengyaxin_8bit » Sun Nov 27, 2011 5:12 am

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?

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Sun Nov 27, 2011 7:07 am

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.

zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

Post by zhengyaxin_8bit » Sun Nov 27, 2011 2:58 pm

Thanks Shiru.
Where I can download the new version of vgmmaker and tfmmaker?

Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef » Sun Nov 27, 2011 5:50 pm

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.

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Mon Nov 28, 2011 1:22 am


Post Reply