I plan to make the pak128.britain in the nightlys, but... how it would be generate??
sorry, but there is no info in the SVN.
There is a MOSE script (makeALL.mos) in the pak128.Britain folder of SVN which I use to build the official releases. Can you use this? You will need to make sure the parameter.mos is correct for your system though.
Dou you generate at linux?
I must change the execude-flag of the script ...
Yes, I run linux on my home machine. I've not tried it on any other system, although I think some other pak128.Britain users have built the pak from source so they may have other points to add.
Could yo have some Problems with the pngs??
Quotelibpng warning: Invalid pHYs after IDAT
And .. the programm don´t stop automatikly ...
I get the error messages, but it builds fine and plays fine. I've always been confused why I get an error when there doesn't seem to be a problem! Would be nice to remove the error message though if anyone knows what causes it.
It is an error Message from makeobj. The png is not good ... at example photoshop create pngs with this "Problem" ...
And what whe do with the "not automatikly stop"?
I'm not sure what you mean about "not automatikly stop"? For me, running the script produces the makeobj libpng warnings, but the output pak is perfectly playable.
If you start the script, its end with a pompt:
Quotelibpng warning: Invalid pHYs after IDAT
It seems that there is every thing right!
-----------------
!BUILD COMPLETE!
mose>
But .. when I call it in a cron-job, it must end the prompt too .....
I see now. Doesn't pak192 buils with MOSE? If you used the same sort of setup for that would that work? Michael 'Cruzer' helped me set up the script so maybe he knows better what to do.
Could it be that in you svn is an old Version of the mose script?
The mose fom PAK192 hafe a special parameter for this problem
Quote/usr/bin/python mose.py -x makeALL.mos
I've had it about a year - I wasn't aware there was an update?
It must be more than 1 year .. there was an update when I make the nightly for PAK192 ....
I suspect we will need the help of the MOSE developers to sort this out. Can you contact them in the german forum?
Have you test to try the mose from PAK192??
No - can you tell me where the sources and MOSE scripts are for pak192?
in the SVN ........
have you an EMail-Adresse?? Then I could send it to you ...
Hopefully you got my email address by PM now?
I send you an EMail ....
I get Info ...
QuoteDie Entwicklung von MOSE läuft auf http://moscript.sf.net/ (SVN Adresse dort) ab.
Look at http://moscript.sf.net/ (http://moscript.sf.net/) for the Mose-Script
The MOSE version in PAK128 SVN is "MOSE - MakeObj Script Environment [Version 0.3.4.0]" (type command 'ver', for check it) actuall version is "MOSE - MakeObj Script Environment [Version 0.4.2.1]".
I recommend that the MOSE runtime itself is not stored in the SVN. (Only the *.mos Script file, have to be saved in the SVN) Then it is the responsibility of the user to download MOSE from http://moscript.sf.net/ himself.
My recommendation:
1.) Delete the file "mose.py" out of svn.
2.) Download the MOSE-Runtime (ZIP-file for linux and EXE-file for windows) and...
- (LINUX) extract it to (for example) "/bin" and you can run the "makeAll.mos"-script with typing "/bin/mose.py -x makeAll.mos" out of the terminal.
- (WINDOWS) run the setup and you can run the "makeAll.mos"-script with double-clicking on it in file manager.
1.Note:
The command line argument "-x" is supported since MOSE 0.3.9 (2009-07-10)
2.Note:
Simutrans doesn't support more than 24bit Images. Most of the pak128.britain images are saved as 32bit Images, so the libpng waring appears!
The warning means that the PAK-files are currently unnecessary big, and perhaps errors could occur.
Thankyou. So am I right in thinking that if wernieman uses the latest mose.py from moscript.sf.net and the makeALL.mos in pak128.Britain SVN, he won't get the problem of not exiting properly?
I will implement your recommendations in pak128.Britain SVN. Presumably what you say about 32-bit images can therefore be removed if I change all the images to 24-bit? It may take some time, but if it results in smaller pak sizes, I will do it.
TheHood -- to do mass conversions, try the ImageMagick tools, specifically this one:
http://www.imagemagick.org/script/convert.php
Once installed, you could try:
$ convert -depth 24 */*.png */*/*.png
Ta-da!
(And some folks wonder why we like command-line interfaces.)
I need only the mose.py from the zipfile??
You need mose.py from the latest zipfile on http://moscript.sf.net/ as Cruzer said (ignore the one in pak128.Britain SVN - it is out of date). You still need makeALL.mos from pak128.Britain SVN though.
Not only the make.py, the sript "cry" about a makeobj.py
Isn't the makeobj.py also in the makeobj download?
no it is in the mose download ....
wernieman: You could try and use the shell script I wrote to build pak128.britain in Debian for now. It is available from http://svn.debian.org/viewsvn/pkg-games/packages/trunk/simutrans-pak128.britain/debian/build?revision=10814&view=markup.
It's far easier to understand and use than an extra script. If only Windows would have a POSIX shell... ;)
Bit it is not good, when we use different scipts for nightly and developer... it is better only to use 1 scipt ;o)
@wernieman
I meant mose download not makeobj download, like you say.
O.K ... I try it .. ;o)
Quote from: wernieman on March 22, 2010, 10:28:08 AM
I need only the mose.py from the zipfile??
No sorry, you need all *.py files out of the ZIP.
(There should also be a makeobj.py in the MOSE zip-file.)
Did we get anywhere with this, or do I still need to do something?
At the Moment I have some Problem with the Harddisk/SATA-Controller on the Maschine, so I don´t make it working.
My Tests was positiv ....
(I don´t write in this Forum the Problem, only in the German :o )
OK no worries. Hope you get the computer fixed :)
I hope too
Quote from: wlindley on March 20, 2010, 02:13:30 PM
TheHood -- to do mass conversions, try the ImageMagick tools, specifically this one:
http://www.imagemagick.org/script/convert.php
Once installed, you could try:
$ convert -depth 24 */*.png */*/*.png
Ta-da!
(And some folks wonder why we like command-line interfaces.)
Ohhh. We should do this.
I'd forgotten about that. I have imagemagick installed for other purposes, so this should be pretty easy for me to do. Added to the to-do list...
Bit there is an "error".
When you use
convert -depth 24 */*.png */*/*.png
You get not working pngs ... it must be
convert -depth 8 */*.png */*/*.png
Look at the ImageMagick Doku
Just to informe ...
making nightly (O.K. Weekly) of PAK128.britain is online ....
see: http://nightly.simutrans-germany.com/ (http://nightly.simutrans-germany.com/)
Excellent!
Great news! Now all we need is for the pak developers to actually commit some changes... :::) [ahem]