Skip to main content
Topic: Moving Objects Between Paksets (Read 17248 times) previous topic - next topic

Moving Objects Between Paksets

First off this is not really a gameplay question per se... but i couldnt decide where it fitted exactly so  i chose here - mods feel free to move it to correct place.

OK after playing the incomplete Pak 128 britain, i wanted to put  trucks and boats in there. after searching and reading some posts, i discovere d that it was possible to move them from other paks. i tried putting some in from pak 64, but there were a lot of graphical probs (levitating etc). I would prefer to put ones from pak 128 in, but all vehicles are under one file (vehicles.all.pak). the game will not run when this is c&ped into pak128brit. i was wondering if there was a way into the pak file, so i could extract only the vehicles i want, or somewhere where they are in individual .paks.
any help would be very much appreciated, thanks.



Re: Moving Objects Between Paksets

Reply #1
Well, the first thing is that the same tilesize should be used, i.e. 128x128. 64x64 will definitely cause problems, since Pak Britain is 128x128 in size :)

The other concern would be that vehicles designed for one page might be aligned differently - I ****ume pak Britain is aligned similarly to pak128, but I'm not sure.

You can definitely find addons at http://addons.simutrans.com/ - that site is being revamped, so keep an eye out for new stuff there at some point :)

There's also an effort to opensource pak128 - which would at least make the source graphics and dats available, meaning theoretically, someone could create individual vehicle paks; but this may be a little while before that *can* happen, neverminding that as with everything here - someone has to volunteer, and we're a small community, still. :)

Re: Moving Objects Between Paksets

Reply #2
Thanks for the quick reply :)

I had previously looked at addons, but there weren't the vehicles i wanted :(

so i presume its impossible to get inside the .paks, and therefore my request was impossible...

i might just replace all vehicle paks with the standard 128 ones, although that sort of defeats the point.

[Edit] just done a bit of research and it seems the paks were done to prevent the artworks being stolen... makes sense that i cant do this then.

Re: Moving Objects Between Paksets

Reply #3
well, the answer is more like "not yet" than 'no' :)

Also, Pak Britain is under constant development, so it's also a matter of time before more things will appear -- although they'll be things designed specifically for that pak, of course :)

Re: Moving Objects Between Paksets

Reply #4
i was wondering if there was a way into the pak file, so i could extract only the vehicles i want, or somewhere where they are in individual .paks.

If I do not misunderstand you, you are asking if you can extract the individual pak files from a pak file archive which contains multiple pak files, right? If that is the case, you may download the latest makeobj.exe and execute it with the option EXTRACT followed by the pak file archive name. All individual pak files will be extracted, so you can selectively copy the needed ones over to your pak128.Britain directory. Beware, if pak128.Britain already contains the same pak file (whether as a standalone pak file or contained in an archive), there will be conflicts. You may view the complete list of contained pak files in an archive by using the LIST option.

For details, please see the attached image.

Re: Moving Objects Between Paksets

Reply #5
As Knightly says, makeobj is your friend.  You need to use command prompt (Dos or linux) to use this, but its not that scary if you're not used to it :)

Once you've got makeobj (place it in the simutrans directory) go to the pak128 directory and then run:

../makeobj extract vehicles.all.pak (on linux, in Dos, you need \ instead of /)

This will split vehicles.all.pak into lots of small .pak files.  Copy the ones you need into pak128.Britain folder and then run pak128.Britain in the normal way.  Note the pak128 vehicles probably won't have sensible cost values in pak128.Britain though.

As Isaac said though, these things are being added to pak128.Britain (slowly, given it's just me drawing at the minute) - see http://forum.simutrans.com/index.php?topic=2109.0 and http://forum.simutrans.com/index.php?topic=3009.0

In fact if you want to use the first batch of lorries I drew (up to ~1930 in the timeline) then you can get the sources from http://simutrans.svn.sourceforge.net/viewvc/simutrans/pak128.Britain/bus/ and use makeobj to compile them into a pak file.

Re: Moving Objects Between Paksets

Reply #6
:) it worked! Thank you very much, this is exactly what i wanted :)