Ammler, thanks for the advice. I've tried make bundle (without _dmg, was just curious), and after the compilation I've got the /bin/sh^M: invalid interpreter error.Ammler wrote:Did you try the "inbuilt" bundle creator?
Russian OpenTTD Community patchpack (1.2.0)
Moderator: OpenTTD Developers
Re: Russian OpenTTD Community patchpack (1.2.0)
TtdRussia.net - The Russian TTD, OpenTTD, and Locomotion Community
- Toni Babelony
- Tycoon
- Posts: 1389
- Joined: 07 Jul 2006 09:34
- Skype: toni_babelony
- Location: Sagamihara-shi, Japan
- Contact:
Re: Russian OpenTTD Community patchpack (1.2.0)
Ah, that's where my problem was! Thanks! Compiling a new version nowOleg wrote:P.S. I tried to experiment with making bundles and universal binaries by adding appropriate instructions as described in the Wiki, but got nothing but errors.

EDIT: uploading has to wait until later today or tomorrow.
Last edited by Toni Babelony on 17 Jun 2008 09:13, edited 1 time in total.
Retired JapanSet developer and creator of TIAS.
Re: Russian OpenTTD Community patchpack (1.2.0)
Just strip the Windows line endings (the \r) from all the files (dos2unix). A normal checkout on OSX from SVN will do that automatically, even patch will automatically do that. However, the patchpack zip seems to contain the Windows line endings because they did the checkout under Windows.Oleg wrote:I've got the /bin/sh^M: invalid interpreter error.
- Toni Babelony
- Tycoon
- Posts: 1389
- Joined: 07 Jul 2006 09:34
- Skype: toni_babelony
- Location: Sagamihara-shi, Japan
- Contact:
Re: Russian OpenTTD Community patchpack (1.2.0)
Drat. The game compiled as described, however it won't start and the description of the binary is 'Unix-File' instead of the regular 'Program-File'...
Could you please post a .zip/.rar/.dmg/.whateverpackage of your version of OTTD, Oleg? Since don't know much about compiling apart from the very basics.
Could you please post a .zip/.rar/.dmg/.whateverpackage of your version of OTTD, Oleg? Since don't know much about compiling apart from the very basics.

Retired JapanSet developer and creator of TIAS.
Re: Russian OpenTTD Community patchpack (1.2.0)
If the game has compiled and you got you terminal prompt back than it's ok, and the openttd file is indeed not the same as regular program files in the Applications folder. While I was able to double-click this file and bring the game to life, the correct way of doing that will be running the following terminal command:Toni Babelony wrote:Drat. The game compiled as described, however it won't start and the description of the binary is 'Unix-File' instead of the regular 'Program-File'...
Could you please post a .zip/.rar/.dmg/.whateverpackage of your version of OTTD, Oleg? Since don't know much about compiling apart from the very basics.
Code: Select all
./openttd
You could also copy the contents of the bin/ folder somewhere else to avoid confusion and of course make sure the data folder contains all the necesssary original grf files.
I will of course post a dmg file as soon as I manage to get one. I only wish to add that I'm myself a noob in this area, and only know it all because kind people (and first of all, Smoky555) did find enough patience to lead me step by step through all these terminal commands.
TtdRussia.net - The Russian TTD, OpenTTD, and Locomotion Community
- Toni Babelony
- Tycoon
- Posts: 1389
- Joined: 07 Jul 2006 09:34
- Skype: toni_babelony
- Location: Sagamihara-shi, Japan
- Contact:
Re: Russian OpenTTD Community patchpack (1.2.0)
Hmm, I still can't open the game. When opening through double-clicking or through Terminal I get this message:
Well, I'll just wait for a MacOS binary/.dmg...
P.s. I'm using OSX Tiger, maybe that could also be the cause of the problem...
Code: Select all
/Applications/OTTDRus/openttd; exit
pptp-212-201-71-26:~ albohelm$ /Applications/OTTDRus/openttd; exit
/Users/(yourname)/Desktop/OTTD/src/bridge_map.h:85: failed assertion `IsBridgeAbove(t)'
Abort trap
logout
P.s. I'm using OSX Tiger, maybe that could also be the cause of the problem...

Retired JapanSet developer and creator of TIAS.
Re: Russian OpenTTD Community patchpack (1.2.0)
I have had a game running for a while. With pretty much every patch turned on. Everything seemed stable, until i tried to reload a game, which did not work. I get an error message: Reason: Vehicles: failed loading savegame: too many vehicles, and i get the emergency save dialog after it has crashed. Obviously since I have not built any new vehicles after the last working savegame, just lots of tracks, it is not possble that i have reached the vehucles limit. Anyone know what might be the problem? Or which patch is causing this?
http://www.uuaarrgh.com/nonick.sav -> savegame days/months before savegames are useless.
ALso possible solution: vehicles are behing upgraded ..
http://www.uuaarrgh.com/nonick.sav -> savegame days/months before savegames are useless.
ALso possible solution: vehicles are behing upgraded ..
Last edited by nonick37 on 21 Jun 2008 12:46, edited 2 times in total.
Re: Russian OpenTTD Community patchpack (1.2.0)
Well, I have managed to get rid of ^M line ends and even launched make with --enable-universal. All this pain only to get a couple of
followed by the final
If anyone has advice on how to get past these, I would be very grateful.
Code: Select all
make[1]: *** [unix.o] Error 1
Code: Select all
make: *** [all] Error 2
TtdRussia.net - The Russian TTD, OpenTTD, and Locomotion Community
Re: Russian OpenTTD Community patchpack (1.2.0)
There are probebly some more error lines before the [unix.o] Error 1 line. Without these we can't be of any help.Oleg wrote:Well, I have managed to get rid of ^M line ends and even launched make with --enable-universal. All this pain only to get a couple offollowed by the finalCode: Select all
make[1]: *** [unix.o] Error 1
If anyone has advice on how to get past these, I would be very grateful.Code: Select all
make: *** [all] Error 2
Re: Russian OpenTTD Community patchpack (1.2.0)
Well, here they are:
The same gets repeated in Power PC, Intel, and Power PC G5 sections and in the end results in Error 2 line cited previously.
Code: Select all
[PowerPC] Compiling unix.cpp
/Applications/OTTDEdge/src_13437/src/unix.cpp: In function ‘const char* convert_tofrom_fs(void*, const char*)’:
/Applications/OTTDEdge/src_13437/src/unix.cpp:160: error: invalid conversion from ‘char**’ to ‘const char**’
/Applications/OTTDEdge/src_13437/src/unix.cpp:160: error: initializing argument 2 of ‘size_t libiconv(void*, const char**, size_t*, char**, size_t*)’
make[1]: *** [unix.o] Error 1
TtdRussia.net - The Russian TTD, OpenTTD, and Locomotion Community
Re: Russian OpenTTD Community patchpack (1.2.0)
UPD
Removing --enable-universal, making plistgen.sh unix-formatted and chmodded to 777 solved the problem. The result is attached below. It works for Intel macs only, but hopefully it works.
Removing --enable-universal, making plistgen.sh unix-formatted and chmodded to 777 solved the problem. The result is attached below. It works for Intel macs only, but hopefully it works.
- Attachments
-
- OTTD-OSX-custom-r13437 - Russian Community patchpack 1.2.0.dmg.zip
- r13437 - Russian Community patchpack 1.2.0
- (3.86 MiB) Downloaded 99 times
TtdRussia.net - The Russian TTD, OpenTTD, and Locomotion Community
Re: Russian OpenTTD Community patchpack (1.2.0)
All this needs is the Enhanced NewGRF window and my life will be complete 



Re: Russian OpenTTD Community patchpack (1.2.0)
I've got an error using the above mentioned .dmg
Dyld Error Message:
Library not loaded: /usr/X11/lib/libpng12.0.dylib
Referenced from: /Applications/OpenTTD/OpenTTD.app/Contents/MacOS/openttd
Reason: Incompatible library version: openttd requires version 25.0.0 or later, but libpng12.0.dylib provides version 1.0.0
What does this mean? Seems like I'm missing some files.
Dyld Error Message:
Library not loaded: /usr/X11/lib/libpng12.0.dylib
Referenced from: /Applications/OpenTTD/OpenTTD.app/Contents/MacOS/openttd
Reason: Incompatible library version: openttd requires version 25.0.0 or later, but libpng12.0.dylib provides version 1.0.0
What does this mean? Seems like I'm missing some files.
Any dream worth having,
Is a dream worth fighting for!
Is a dream worth fighting for!
Re: Russian OpenTTD Community patchpack (1.2.0)
Two5Kid, thanks for the feedback. Seems like it's actually me who was missing some files at the time this build was made. I'll try to make another version soon.Two5Kid wrote:What does this mean? Seems like I'm missing some files.
TtdRussia.net - The Russian TTD, OpenTTD, and Locomotion Community
Re: Russian OpenTTD Community patchpack (1.2.0)

Any dream worth having,
Is a dream worth fighting for!
Is a dream worth fighting for!
Re: Russian OpenTTD Community patchpack (1.2.0)
I'm glad to present to all Mac users a brand new universal binary of Russian Community Pack 1.2.0 r13437.
Two5Kid, your issue has been specificaly addressed by turning off png support in this OpenTTD build.
2All, I would still be very grateful for any feedback, esp. from those on non-Intel Macs. Besides, any information on what should be installed in order to allow for png and ttf support would be much appreciated.
OpenTTD r13437 Russian Community Patchpack 1.2.0 for Mac (8M universal binary)
Two5Kid, your issue has been specificaly addressed by turning off png support in this OpenTTD build.
2All, I would still be very grateful for any feedback, esp. from those on non-Intel Macs. Besides, any information on what should be installed in order to allow for png and ttf support would be much appreciated.
OpenTTD r13437 Russian Community Patchpack 1.2.0 for Mac (8M universal binary)
TtdRussia.net - The Russian TTD, OpenTTD, and Locomotion Community
- Toni Babelony
- Tycoon
- Posts: 1389
- Joined: 07 Jul 2006 09:34
- Skype: toni_babelony
- Location: Sagamihara-shi, Japan
- Contact:
Re: Russian OpenTTD Community patchpack (1.2.0)
I run OTTD on a non-Intel mac (G4) but I can't seem to open the new binary. The file downloads well, but when I try to open the program the icon jumps once but OTTD doesn't start.
Could you please post your version of the pack, so that I can compile and post a binary for non-Intel processors?
Could you please post your version of the pack, so that I can compile and post a binary for non-Intel processors?
Retired JapanSet developer and creator of TIAS.
Re: Russian OpenTTD Community patchpack (1.2.0)
Hmm, that would probably give me some headache with the posting of screenshots later but otherwise, the game is playable. Even without PNG support. By the way, as far as the GRFs are concerned, this patch can't load the latest CanSet. Something about "incompatible with OTTD 0.7, r14000 and above".
Any dream worth having,
Is a dream worth fighting for!
Is a dream worth fighting for!
Re: Russian OpenTTD Community patchpack (1.2.0)
What's the OS version, I wonder? It seems the universal binary only compiles for 10.3.9 or later, may be that's the reason? Anyway, the source code is available, only be sure to use ./conf_rules instead of ./config and change plistgen.sh from windows to unix-style line breaks.Toni Babelony wrote:Could you please post your version of the pack, so that I can compile and post a binary for non-Intel processors?
That's a question for CanSet devs. If I find out the reason for this, I'll immediately post a new version.Two5Kid wrote:By the way, as far as the GRFs are concerned, this patch can't load the latest CanSet. Something about "incompatible with OTTD 0.7, r14000 and above".
TtdRussia.net - The Russian TTD, OpenTTD, and Locomotion Community
- Toni Babelony
- Tycoon
- Posts: 1389
- Joined: 07 Jul 2006 09:34
- Skype: toni_babelony
- Location: Sagamihara-shi, Japan
- Contact:
Re: Russian OpenTTD Community patchpack (1.2.0)
I'm using OSX 10.4.11, so that wouldn't be the problem... I'll try to work on it tonight or this weekend. Thanks for the heads-up!Oleg wrote:What's the OS version, I wonder? It seems the universal binary only compiles for 10.3.9 or later, may be that's the reason? Anyway, the source code is available, only be sure to use ./conf_rules instead of ./config and change plistgen.sh from windows to unix-style line breaks.Toni Babelony wrote:Could you please post your version of the pack, so that I can compile and post a binary for non-Intel processors?
Retired JapanSet developer and creator of TIAS.
Who is online
Users browsing this forum: Baidu [Spider] and 10 guests