Oh thanks a tons ! I forgot to test the last version yesterday !
Will do that at evening and report you if it works as expected now
Genitile question?
Moderator: BigEvilCorporation
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
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.
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.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
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...)
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...)
i just retried to compile with vs2010 & tried the generated binary and it works as expected... i set the version to 1.8 to be sure.
http://dl.dropbox.com/u/9711452/genitile18_src.zip
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
here's the code & binary (in the debug directory)
http://dl.dropbox.com/u/9711452/bin2gcc.zip
http://dl.dropbox.com/u/9711452/genitile18_src.zip
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
Code: Select all
bin2gcc "c:\Sources\DangerousXmas\bin" "c:\Sources\DangerousXmas\res"
http://dl.dropbox.com/u/9711452/bin2gcc.zip
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
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 :-/Pascal wrote:i just retried to compile with vs2010 & tried the generated binary and it works as expected... i set the version to 1.8 to be sure.
http://dl.dropbox.com/u/9711452/genitile18_src.zip
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
here's the code & binary (in the debug directory)Code: Select all
bin2gcc "c:\Sources\DangerousXmas\bin" "c:\Sources\DangerousXmas\res"
http://dl.dropbox.com/u/9711452/bin2gcc.zip
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