Ok, the executable you provided is ok and work perfectly.
I guess the sources are ok with you compiler but here (i use GCC to compile) it generates an executable which produce errors :-/
I will try to remove optimisations to see what happen. Just to be sure, the executables comes from the sources you linked ?
Edit:
Well even by lowering the optimization level i still have the same problem... weird. I wonder if that happen on linux system as well.
Nope i just used a mingw GCC compiler to compile it on windows.
I don't know why i obtain a wrong exe with my compiler, i mean the compilation is ok but the generated executable is not. The errors are the ones i mentioned you before (wrong -tileset parameter handling, error with the h output plugin...)
EDIT: while digging my megadrive stuff, when i played with SGDK, i did a long time ago a small tool for converting all binaries from a directory to a huge .s file and a .h with all exports. maybe it can be useful to someone
EDIT: while digging my megadrive stuff, when i played with SGDK, i did a long time ago a small tool for converting all binaries from a directory to a huge .s file and a .h with all exports. maybe it can be useful to someone
Thanks for taking time to verify but indeed the sources are exactly the same (except the version number). I guess there is some differences in how GCC handle some stuff compared to MSVC which is a pity :-/
Your binaries to S tool is very interesting I'm not sure i can integrate it with makefile but it can be useful when you have tons of different file resource and don't want to generate as much s file