Deutsches Simutransforum

Normale Version: Coding airline graphics
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Seiten: 1 2 3 4
There is nothing wrong with your files. I used your datfile from the zip along with your png and everything is working fine.
There is no need to split the graphic, the graphic file works like a matrix, upper left corner is 0.0, next in the line 0.1, second line is 1.0, 1.1 and so on.

I recommend to use filenames without a blank in it, but I don't think, this is the problem.

So your problem has something to do with your use of makeobj. I can't help you with this, cause I'm using linux. I installed my makeobj somewhere under /usr/local and can start it from everywhere. I just cd to the directory with my sources and run it. I don't know exactly how makeobj works with windows.

The Transporter

Pakhelper is easier to use, then the way via .bat file.

Pakhelper, makeobj, png and dat File must be in the same directory.
Select the working directory via "Tool/Option" see 1.png

1.) Select "other size" and insert 192 in the Box.
2,) Select your .dat file
3.) The "merged file name" Box is optional, a name is not required.
4.) klick the Button "Do Pak"

BTBEI2016

Hi Thank you for both of you , I tried the pak helper and followed the instructions exactly. with makeobj latest version I pak file but as usual 1KB and with old makeobj in file I got notification that makeobj ended but nothing received.

The Transporter

?(
I copy the Turkish A320.dat and Turkish A320.png in my working directory, select the dat file, do pak and recieved a 54,2 Kb large pak file.
Do you use the single graphic .png files or the combined .png file (Turkish A320.png)?
What is wrltten in the PakHelper.log?

BTBEI2016

I am using the latest makeobj.exe when I am pressing do pak I am getting " the error occurred while makeobj working "

The below is pakhelper report that I got :

Makeobj version 55.4 for Simutrans 120.1 and higher
Warning: while loading PNG: ./Turkish A320.png: No such file or directory
ERROR: image_writer_t: cannot open ./Turkish A320.png
writing file ./TurkishA320.pak
reading file ./TurkishA320.dat
packing vehicle.TurkishA320
For help with this error or to file a bug report please see the Simutrans forum:
http://forum.simutrans.com

BTBEI2016

The TurkishA320.png file exists in my folder but said that cannot read it

The Transporter

The Name of the Graphic is the Problem.
Your file is TurkishA320.png named, instead of Turkish A320.png.

BTBEI2016

hi where do I change name to TurkishA320.png.
many many thanks

The Transporter

You use Turkish A320 in the .dat file. Then rename the TurkishA320.png to Turkish A320.png.
The name of the graphic file, and the name used in the .dat file must be the same.
Try not just to follow step by step instructions, try to understand how things are working.

The name of your image file Turkish A320.png must be the same written in the text file (dat) EmptyImage[NE]=Turkish A320.1.0
makeobj reads the name from your dat file, it doesn't know what else you have in your folder.
Seiten: 1 2 3 4