The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: AvG on April 14, 2010, 02:15:46 PM

Title: Extracting with Makeobj
Post by: AvG on April 14, 2010, 02:15:46 PM
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
Title: Re: Extracting with Makeobj
Post by: jamespetts on April 14, 2010, 09:55:07 PM
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 (http://github.com/jamespetts/pakbritain-experimental) than try to extract them from .pak files...
Title: Re: Extracting with Makeobj
Post by: AvG on April 16, 2010, 07:44:38 AM
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
Title: Re: Extracting with Makeobj
Post by: jamespetts on April 16, 2010, 08:49:16 PM
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 :-)
Title: Re: Extracting with Makeobj
Post by: AvG on April 17, 2010, 02:18:03 PM
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
Title: Re: Extracting with Makeobj
Post by: jamespetts on April 17, 2010, 03:07:00 PM
Does the extracting work with the Standard Makeobj with the Standard version of BritRail.pak?
Title: Re: Extracting with Makeobj
Post by: AvG on April 17, 2010, 06:21:06 PM
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
Title: Re: Extracting with Makeobj
Post by: jamespetts on April 17, 2010, 06:49:22 PM
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 :-)
Title: Re: Extracting with Makeobj
Post by: prissi on April 17, 2010, 09:19:40 PM
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.
Title: Re: Extracting with Makeobj
Post by: AvG on April 19, 2010, 10:24:48 AM
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
Title: Re: Extracting with Makeobj
Post by: prissi on April 19, 2010, 11:42:06 AM
I usually get an error written "cannot extract bridge..pak" written to the screen. But again, next makeobj version should fix this.
Title: Re: Extracting with Makeobj
Post by: jamespetts on April 19, 2010, 12:45:31 PM
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.
Title: Re: Extracting with Makeobj
Post by: AvG on February 02, 2011, 01:51:18 PM
We are at Exp9.2 now and extracting Britrail-Ex still has the same problem.
Who is (can) look at this problem?
AvG
Title: Re: Extracting with Makeobj
Post by: jamespetts on February 02, 2011, 06:37:14 PM
AvG,

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