Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[OUTDATED] Compiling & Running on Arch Linux 6 years 3 months ago #6330

I'll preface this with thanking you guys for the BTPro client.

Make a file with these contents:
#!bin bash
 
cd Documents
mkdir openttd-btpro
cd openttd-btpro
 
# Openttd
mkdir openttd-btpro
cd openttd-btpro
curl http://termbin.com/4zkf > PKGBUILD
curl http://openttd.btpro.nl/OpenTTD_versions/innerhighlight.grf > innerhighlight.grf
curl http://openttd.btpro.nl/OpenTTD_versions/BTPro_Client_1.7.2_A_17201.diff > BTPro_Client_1.7.2_A_17201.diff
makepkg -si
cd ..
 
# Opengfx
mkdir openttd-opengfx-btpro
cd openttd-opengfx-btpro
curl http://termbin.com/hgfl > PKGBUILD
makepkg -si
cd ..
 
# Opensfx
mkdir openttd-opensfx-btpro
cd openttd-opensfx-btpro
curl http://termbin.com/jm9u > PKGBUILD
makepkg -si
cd ..
 
# Openmsx
mkdir openttd-openmsx-btpro
cd openttd-openmsx-btpro
curl http://termbin.com/0hh7 > PKGBUILD
makepkg -si

Run chmod +x on the file then run it.

Tada! Now you can start openttd with "openttd-btpro"

I'd recommend one of the BTPro devs to push my 4 pkgbuilds to AUR (as 4 separate packages). I'd do it my self but I don't want to maintain it. :p
The following user(s) said Thank You: ST2
  • gentz
  • gentz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 6

Please Log in or Create an account to join the conversation.

Last edit: by gentz.

Compiling & Running on Arch Linux 6 years 3 months ago #6331

At first, I'm happy that our client was built and worked on an Arch Linux user environment.

All this happened among chats on another community IRC channel but gentz , on his own, decided to share here how he made it.

Personally I only test our BTPro client on Debian and Fedora Linux based systems to see if it compiles and runs. Linux has so many distros that it's impossible to test them all.

Note: when I compile, I usually use "make bundle". This way I'll get the needed files on a "bundle" folder to run the game. But, that's me, and on the environment's I told above.

For this, Thank you. Maybe other players can see, ask or make other suggestions about it. All replies are welcome :)
  • ST2
  • ST2's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1222
  • Thank you received: 628

Please Log in or Create an account to join the conversation.

Compiling & Running on Arch Linux 6 years 3 months ago #6332

I've simplified the process by making openttd-btpro use the same directories as openttd however this means you can't have both installed at the same time. But that shouldn't matter as the btpro client support vanilla games.

Now all you got to do is this:
cd Documents
mkdir openttd-btpro
cd openttd-btpro
 
curl http://termbin.com/hz8q > PKGBUILD
curl http://openttd.btpro.nl/OpenTTD_versions/innerhighlight.grf > innerhighlight.grf
curl http://openttd.btpro.nl/OpenTTD_versions/BTPro_Client_1.7.2_A_17201.diff > BTPro_Client_1.7.2_A_17201.diff
makepkg -si

Now you can run openttd with "openttd" instead of "openttd-btpro"

EDIT: Can any admins pin this post to the top so people see this one first?
EDIT2: Updated where the innerhighlight.grf goes, for some reason it broke itself
The following user(s) said Thank You: ST2
  • gentz
  • gentz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 6

Please Log in or Create an account to join the conversation.

Last edit: by gentz.
  • Page:
  • 1
Time to create page: 0.026 seconds
Best hosting deal on hostgator coupon or play poker on party poker
Copyright 2020 [OUTDATED] Compiling & Running on Arch Linux - BTPro - OpenTTD Community.