Page 1 of 1

[GenRes] resource compiler

Posted: Tue Dec 01, 2015 11:13 pm
by KanedaFr
As you know, rescomp is the official resource compiler of SGDK.
See GenRes has an alternative but be warned :
  • I updated it when I need it
  • No header (resource.h) generated because I don't follow this way, I prefer to handle it manually
I also included a lot of tools related to sound (Echo's related, PCM, PSG...) and MAP support multi layers.
And I doc the build process to let anyone make his own change, build it on other OS or convert it for another retro system.

If you still want to try it, jump to bitbucket download page and use the magic command :

Code: Select all

genres help

Available Plugins (2.1 - 06Dec'18):
Convert any 16 colors image to tiles.

Convert a 31 colors image to 2 planes / 2 palettes ToyStory did for exemple

minimal version of `BITMAP` to import font (96 tiles)

extract 16colors pal

Like `BITMAP` but convert to suitable sprites

A more advanced feature : convert a image with several sprites to a list of sprites, with framerate, user defined animation, collide box...
made before SGDK sprite feature so you won't be able to use it like this

Import layers and bitmap data from [Mappy]( maps
Handle any size of tiles if 8-based (ie will split them in 8x8 tile)
Quantize to 16 colors if needed
I really wanted to be able to load MAP/FMP from any source :)

Add moves list or cheat code to your game.

Convert sound to use with any of the SGDK supported drivers

Import Atari, Amstrad, MSX.. tone *(no noise support)*

Easily create Echo instrument list.
Support almost every ym2612 instrument dump format.

Convert MIDI file to ECHO bgm

Create sfx based on Echo instruments

Add raw data, similar to bintoc tool or asm's INCBIN

Difference with GenRes 1.0
GenRes 1.x used

Code: Select all

plugin id file option option option option option
which is not really suited for fine tuning (ie lots of options!)

GenRes 2.x uses

Code: Select all

plugin id file

note: for anyone interested, MAP support is based on my free Mappy Library, available on

Re: [GenRes] 2.0 released

Posted: Sun Dec 20, 2015 11:32 am
by troudki
Yes.. very cool to convert Atari ST YM file to PSG format..
Newbie question : how to link or import the output (asm file) to SGDK ? :oops:

Re: [GenRes] 2.0 released

Posted: Wed Dec 23, 2015 4:47 am
by troudki
:oops: ok i found it.. i didn't see the sample test/basic in bitbucket ..
I tried with a YM Atari ST and the result replay is little speedy :?

Re: [GenRes] 2.0 released

Posted: Wed Dec 23, 2015 10:42 am
by KanedaFr
since YM is based on VBL, did you play it on NTSC or PAL system ?
Also did you use the correct DESTINATION value (see genres help psg) ?

Re: [GenRes] 2.0 released

Posted: Sat Jan 02, 2016 11:31 pm
by troudki
Play in PAL system works perfect.
Thx for this great feature to convert YM file

[GenRes] 2.1 released

Posted: Fri Dec 07, 2018 8:31 am
by KanedaFr
New version 2.1 available
Include HIRES plugin
Fix MAP plugin in many ways (TILE option, layer up to 100, support any FMP format...)
New MAP option : FORCE16 (quantize tiles to 16 colors)

+ all the stuff I made on 2.0beta about PSG

see main post for link and details