News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Reverse Makeobj?

Started by Freewayman, June 15, 2010, 04:16:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Freewayman

Is it possible to turn a .pak file back into a .dat file and a .png file?


jonasbb

Simutrans and makeobj atre both open source. You could look in the sources and try to create such a tool.

Ashley

Quote from: Freewayman on June 15, 2010, 04:16:48 AM
Is it possible to turn a .pak file back into a .dat file and a .png file?

Which .pak files are you interested in finding the source files for?
Use Firefox? Interested in IPv6? Try SixOrNot the IPv6 status indicator for Firefox.
Why not try playing Simutrans online? See the Game Servers board for details.

Freewayman

I need the .dat file for a bus stop

vilvoh

From which pakset? do you want a generic bus stop dat file or any specific model? you may take a look at graphics.simutrans.com or the SVN

Escala Real...a blog about Simutrans in Spanish...

Freewayman

#6
I need the .dat files for any pak128 bus stop

vilvoh

the dat file is common to all paksets, so you can use it one from pak64 or pak128.britain.


Obj=building
Name=BusStop
# must be 1*1
type=stop
waytype=road
intro_year=1750
noconstruction=1
enables_pax=1
NoInfo=1
Dims=1,1,2
level=1
BackImage[0][0][0][0][0][0]=basic-bus-stop.0.0
FrontImage[0][0][0][0][0][0]=basic-bus-stop.0.1
BackImage[1][0][0][0][0][0]=basic-bus-stop.0.2
FrontImage[1][0][0][0][0][0]=basic-bus-stop.0.3
icon=> basic-bus-stop.0.5
cursor=basic-bus-stop.0.4

Escala Real...a blog about Simutrans in Spanish...

Freewayman