Genitile question?

Talk about development tools here

Moderator: BigEvilCorporation

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

Post by Stef » Wed Jan 23, 2013 1:18 pm

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 :)

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

Post by Stef » Wed Jan 23, 2013 6:40 pm

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.

Pascal
Very interested
Posts: 200
Joined: Wed Nov 29, 2006 11:29 am
Location: Belgium
Contact:

Post by Pascal » Thu Jan 24, 2013 7:52 am

to be honest, i successfully compiled the sources, but i didn't test the package.

What kind of errors do you get ? you ported the sources to linux ?
i'll investigate more tonight

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

Post by Stef » Thu Jan 24, 2013 11:13 pm

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

Pascal
Very interested
Posts: 200
Joined: Wed Nov 29, 2006 11:29 am
Location: Belgium
Contact:

Post by Pascal » Sun Jan 27, 2013 9:34 am

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

Code: Select all

bin2gcc "c:\Sources\DangerousXmas\bin" "c:\Sources\DangerousXmas\res"
here's the code & binary (in the debug directory)
http://dl.dropbox.com/u/9711452/bin2gcc.zip

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

Post by Stef » Sun Jan 27, 2013 12:30 pm

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

Code: Select all

bin2gcc "c:\Sources\DangerousXmas\bin" "c:\Sources\DangerousXmas\res"
here's the code & binary (in the debug directory)
http://dl.dropbox.com/u/9711452/bin2gcc.zip
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 :)

Post Reply