Page 1 of 1

can someone compile these graphics to inc files for me?

Posted: Thu Feb 06, 2014 12:25 am
by schepers_cp
i need the white background color erased too.

can someone do this for me? since i still can't get the gconvert working on my pc..

thank you in advance

sources (8bit bmp's) are in the zip.

Re: can someone compile these graphics to inc files for me?

Posted: Thu Feb 06, 2014 2:39 am
by nicksen782
I can't at the moment but perhaps this advice will help.

Save them as .PNG with an 8-bit indexed palette. Make sure that both dimensions are divisible by 8.

Gconvert takes PNG or RAW. PNG is actually a bit easier.

I hope that these directions help you: http://uzebox.org/wiki/index.php?title= ... First_Game . If anything is unclear then please let me know and I'll adjust that page.

Make sure that your convert.xml file is accurate. Also, if you still have problems, please post the convert.xml file.

**Edit:Also make sure that your tiles are aligned on 8x8 (or 6x8?). Each tile should be exactly 8 pixels (or 6?) wide with no buffer space between the tiles (unless there is already whitespace, etc in your tile.

Re: can someone compile these graphics to inc files for me?

Posted: Thu Feb 06, 2014 3:24 am
by schepers_cp
i did all as the tutorial said like 3 times yesterday, and also now a few more times, but it gives me this in the output:

'gconvert' is not recognized as an internal or external command, operable program or batch file.

and yes, i am running it from the correct folder using the cd command..
:cry:

Re: can someone compile these graphics to inc files for me?

Posted: Thu Feb 06, 2014 4:32 am
by nicksen782
Hmm.. so, you cd into the directory that has gconvert executable, and then run it and it doesn't work and gives you that output? As you may have probably already guessed, Windows can't find the program name that you are typing. When program names are run from the command line Windows will check directories in the %PATH% variable (try set path at cmd prompt) and also the current directory. The error suggests the file wasn't found in either.

In this sort of weird situation I do what I call a 'Reality Check'. You would individually check things such as "Is the executable file being typed (spelled) correctly? Am I actually in the directory where the executable lives? Is the executable actually there? Sounds like dumb simple things but when your mind is racing, the little stuff is very easy to overlook. I like to joke that big problems often have simple solutions because the solution is something dumb like actually typing in the right path or filename, rebooting, or just plain turning it on. It happens to me more that I would like to admit. :lol: Probably many of us.

The error suggests no problem with gconvert, it's just not being found. I could convert these graphics for you if you'd like but I would like for you to supply the gconvert .xml file otherwise I would need to create it and I may not have your best intentions in mind. ;) Other than the graphics being .bmp (should be .png, its easier that way) your graphics and dimensions appear valid.

What are you doing to try to run gconvert? Are you doing something like this?:
Example to get to the gconvert directory:
cmd (from start>run)
C:\Users\username\ (should be the directory you start at.)
cd desktop
cd uzebox
cd bin
(now you should be in the bin directory.)
dir (type this and see if gconvert is in the list of files)
If gconvert isn't there then check to make sure that you are in the correct directory for the binary files. I'll assume that you obtained them from the old r212 trunk.)
Just running "gconvert" should give you some sort of output.

Re: can someone compile these graphics to inc files for me?

Posted: Thu Feb 06, 2014 4:36 am
by schepers_cp
i looked in the bin folder, and it's empty... no wonder!

can someone give me the link with the bins to convert it, because the trunk: http://code.google.com/p/uzebox/source/browse/ also doesn't have the binaries in them...

never mind, found them.. XD

Re: can someone compile these graphics to inc files for me?

Posted: Thu Feb 06, 2014 4:50 am
by nicksen782
You can go here: https://code.google.com/p/uzebox/downloads/list and download uzebox_bin_Win32_dev_trunk_r212.zip. That would be a quick start.

Also, you can use svn and download the latest and greatest, that's what I did. The r212 is actually kind of old and new things have been added since then. I just replaced the relevant folders in r212 with the new one from svn.... I should probably put that info in my wiki guide.

https://code.google.com/p/uzebox/source/checkout has info on using SVN. I was new to it and I muddled through it okay.

Wow, you're right. Gconvert isn't in bin. Wierd. I did a sync to svn a couple of days ago. Perhaps I could send it to you? ... Nope, can't. My svn's bin is empty too! I must still be using the version that came with r212!

So, now you know where to find it. :) Somebody should send a message to Uze. I'll do it. I've heard that Google Code doesn't accept new uploads anymore. Maybe that affects the SVN downloads as well? It says the latest is r280.

Re: can someone compile these graphics to inc files for me?

Posted: Fri Feb 07, 2014 5:01 am
by uze6666
Hi guys, https://code.google.com/p/uzebox/downlo ... k_r212.zip contains all the binaries, including gconvert. You will not find binaries in SVN, since it's only for source files. That said, you have a point, why is there a bin folder then? Dunno, I never noticed actually! But it should not be there, I'll remove it.

Google code changed their terms of service, we can't upload packages anymore. Until I find a better place, in the mean time, I'll host them on uzebox.org.

I have exported and built the latest r280 tag. You can get it here: http://uzebox.org/downloads/uzebox_bin_ ... k_r280.zip . Btw, I've also added it as a link in google code external links section.

You can always build the tool yourself, it's not that hard. On windows, you will need to install MinGW, the GCC compiler for x86. After that, you can export the whole tunk, and in the root directory of the trunk, run "make all". It will build tools and compile all games at once.