The International Simutrans Forum

PakSets and Customization => Pak64 => Topic started by: Bassem_90 on March 27, 2020, 07:04:09 PM

Title: How Can I make pak file for pak 64
Post by: Bassem_90 on March 27, 2020, 07:04:09 PM
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 :)
Title: Re: How Can I make pak file for pak 64
Post by: Vladki on March 27, 2020, 10:46:19 PM
What is the content of pak64.bat?

I have never user pakhelper. The easiest way is to run "makeobj pak" from command line.
Title: Re: How Can I make pak file for pak 64
Post by: Andarix on March 28, 2020, 05:58:32 AM
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.
Title: Re: How Can I make pak file for pak 64
Post by: Leartin on March 28, 2020, 08:28:16 AM
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)