News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

How Can I make pak file for pak 64

Started by Bassem_90, March 27, 2020, 07:04:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bassem_90

Hello I am trying to make pak file Gulf Air Tristar plane. I am putting the dat file with the pak64 bat file and the png file but I am getting 1KB file so what is wrong ? What should I write to make correct pak 64 bat file ? Thank you :)

Vladki

What is the content of pak64.bat?

I have never user pakhelper. The easiest way is to run "makeobj pak" from command line.

Andarix

Quote from: Bassem_90 on March 27, 2020, 07:04:09 PM
.... I am putting the dat file with the pak64 bat file and the png file but I am getting 1KB file so what is wrong ? ...

The graphics are missing in the pak file.

The name of the graphic file should not contain any spaces or special characters.

Leartin

While not using spaces or special characters is definitelly a good idea in general, it wouldn't help here.

The graphics are defined as 3.X - that would mean the fourth row of graphics. Your image only has one row, so you need to change all those lines to 0.X
eg. EmptyImage[S]=GulfAir Tristar.3.0 would be EmptyImage[S]=GulfAir Tristar.0.0

(That should work locally, but still: remove spaces)