The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: Freewayman on June 15, 2010, 04:16:48 am

Title: Reverse Makeobj?
Post by: 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?
Title: Re: Reverse Makeobj?
Post by: petter on June 15, 2010, 06:02:13 am
No.
Title: Re: Reverse Makeobj?
Post by: jonasbb on June 15, 2010, 09:20:24 am
Simutrans and makeobj atre both open source. You could look in the sources and try to create such a tool.
Title: Re: Reverse Makeobj?
Post by: Ashley on June 15, 2010, 12:19:33 pm
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?
Title: Re: Reverse Makeobj?
Post by: Freewayman on June 15, 2010, 03:15:45 pm
I need the .dat file for a bus stop
Title: Re: Reverse Makeobj?
Post by: vilvoh on June 15, 2010, 03:43:04 pm
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 (http://simutrans.svn.sourceforge.net/)
Title: Re: Reverse Makeobj?
Post by: Freewayman on June 15, 2010, 03:49:08 pm
I need the .dat files for any pak128 bus stop
Title: Re: Reverse Makeobj?
Post by: vilvoh on June 15, 2010, 05:46:04 pm
the dat file is common to all paksets, so you can use it one from pak64 or pak128.britain.

Code: [Select]
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
Title: Re: Reverse Makeobj?
Post by: Freewayman on June 15, 2010, 05:53:44 pm
thanks