Yeah, I'm wondering if I have my only pak...
If you're a windows user, you may use Pakhelper (http://minami-fukuoka.simutrans.net/english/pakhelper.html).. It's the easiest way to pak files on windows. You load the dat file and then you just have to push the Do pak button to create the pak file. For more info, have a look at this short guide (http://simutrans-escala-real.blogspot.com/2008/11/pak-helper-el-pequeo-ayudante-de.html) (it's in spanish)
Question, i had made a dat file and png file to create my first pak, but when i make it using pakhelper the pak is created but it doesn't work in simutrans...
Check the error.log file and post here the content after using pakhelper. On the other hand, you may need to update the makeobj binary. The one included with Pakhelper 3.2 is pretty old, so there might be problems of compatibility. Just download the latest makeobj binary from Simutrans sourceforge download section, rename it as makeobj.exe and move it to Pakhelper folder.
There is no error.log file in the pakhelper folder...
I'm sorry but I don't remember the exact name of the file. I think it's something.log ...perhaps pak.log?
Btw, I forgot to mention that this file is created after you use pakhelper for creating a pak file. Before that, it doesn't exist.
I tried latest makeobj, it still doesn't work, i did see a file called pak in the folder though. I'll upload it and source files just in case it's something with the dat or png file...
The file pak.log says this:
Makeobj version 49 for simutrans 101 and higher
(c) 2002-2006 V. Meyer , Hj. Malthaner, M. Pristovsek (markus@pristovsek.de)
Image size is set to 128x128
writing invidual files to ./
reading file Orange Car.dat
writing file ./vehicle.Orange_Car.pak
packing vehicle.Orange_Car
You don't reference the images at all in the dat file, which is a fairly good reason why they aren't working in the game. Look on the wiki or in the SVN for examples of how to define the images.
I found out how and added those parts to the dat file but it says the image size is invalid.
The png is currently 1025x128 - it needs to be 1024x128.
i resized it to 1024x128 but it didn't work diagonally.
Edit: i finally got it to work, something in the dat wasn't spelled right.
You repeated the South view reference twice in the dat file and you forgot the South-West view reference.
==>EmptyImage[S]=oc.0.2
EmptyImage[E]=oc.0.0
EmptyImage[SE]=oc.0.1
==>EmptyImage[S]=oc.0.3
EmptyImage[N]=oc.0.6
EmptyImage[W]=oc.0.4
EmptyImage[NW]=oc.0.5
EmptyImage[NE]=oc.0.7
You can use any order, even different from the png file, but the most usual ones are:
- S-SE-E-NE-N-NW-W-SW
- S-N-E-W-SE-NW-NE-SW
Ah, so confusing.
So, I should make addons to make a pak? Epic.