News:

Congratulations!
 You've won the News Item Lottery! Your prize? Reading this news item! :)

Extracting with Makeobj

Started by AvG, April 14, 2010, 02:15:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AvG

James,
I made a temp solution for the missing mail rail-vehicle in 1830.
Just adding this to Pak128.Britain-Ex does not work. I have to extract probably one of the merged Pak's.
The existing LWR passenger-vehicle might be hidden in BritRail-Ex.pak (looking at the size of that pak-file (5,79 Mb)
If I extract that pakfile with --MakeobjEX73 EXTRACT .\BritRail-Ex.pak-- in the bat-file I get only 47 vehicle-files of roughly 700 Kb in total.
It seems that not all pak-files are extracted.
Did I do something wrong?
AvG
Ad van Gerwen

jamespetts

AvG,

adding a new .pak file should work - might I ask the process that you used? Incidentally, if you want the sources for Pak128.Britain-Ex, it is easier to get them from the GitHub repository here than try to extract them from .pak files...
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

AvG

Hi James,
And is works indeed! Must have made a stupid error somewhere.
I have now mail-rail-transport 1830 onwards.
Leaves only the problem of extracting the BritRail_ex.pak. I can only add now and not replace.
Does it work properly at your end?
Extracting BritBus-Ex is no problem.
AvG
Ad van Gerwen

jamespetts

AvG,

I am glad that it works! I never use Makeobj to extract, as I just recompile the whole thing whenever I make any changes: it only takes a few seconds. I am not sure why you are having difficulties in extracting. Is there a reason that you don't want to re-pack the whole of BritRail-Ex.pak? If you pull from my Github repository, you'll get all the sources and can do this easily.

I hope that this helps :-)
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

AvG

James,
When developing items for Simutrans I have for every item a folder with Makeobj, dat-file, png-file and a bat-file.
This way it is very easy to add, substract and replace items.
Makeobj allways has done its extracting job properly.
If this case is not explainable there is IMHO a risk that other things are also not 100%
AvG
Ad van Gerwen

jamespetts

Does the extracting work with the Standard Makeobj with the Standard version of BritRail.pak?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

AvG

James,
I extracted pak128Britain_1-0-7_0-102 (latest release) with Makeobj50. Result NOT OK. Roughly a third of BritRail is only extracted.
BritRail = 5,89 MB extracts in 133 files with a total of 1,85 MB.

I looked also into Standard Simutrans. However the the latest Pak128 is, after unzipping, already extracted. Lots of files, but very easy to work with.

So what's the plan?

AvG
Ad van Gerwen

jamespetts

AvG,

it seems that this is a problem common to the Standard and Experimental makeobj, possibly a bug. I'll move this to the bug reports board and hopefully a developer of Standard will fix it :-)
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

prissi

#8
A bug report like: Could not extract bridges (because this is the error message I get) would be more helpful. Especially, since this is a long standing problem that keeps reemerging ...

Moreover, that part is not working on non-intel byteorder plattforms ...

EDIT: extracting of bridges (and possibly even more objects) is working again. Byteorder is still an issue.

AvG

I do not get an error-report.
I only saw that a large pakcombo of 5,89 Mb ectracted in 47 files with a total of 750 Kb.
AvG
Ad van Gerwen

prissi

I usually get an error written "cannot extract bridge..pak" written to the screen. But again, next makeobj version should fix this.

jamespetts

Prissi's fix to Makeobj will be included in the next release of Makeobj-Experimental, to be released at the same time as Simutrans-Experimental 8.0.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

AvG

We are at Exp9.2 now and extracting Britrail-Ex still has the same problem.
Who is (can) look at this problem?
AvG
Ad van Gerwen

jamespetts

AvG,

in the meantime, you might find it more expeditious to download the pakset sources from Github and compile them afresh.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.