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

TOPIC:

[Tutorial]How to Compile Debian BTPro Client 10 years 2 months ago #2598

Hi folks, recently i've tried to compile the BTPro OpenTTD client, after some issues with ST2's help i finally did it.

So to those that want the amazing client that BTPro release to us and don't know how to do it this tuto ll help.

First of all, open a terminal window.

The first tool we need is the subversion (svn) version control system. If you don't have any installed use type the command

Install the SVN support
$ sudo apt-get install subversion;

The transition package to install the Apache Subversion server module for Apache httpd.
$ sudo apt-get install libapache2-svn

Restart the apache to SVN take place.
$ sudo service apache2 restart

Next step is gt the necessary libs (dependencies) to compile the source.

For Debian users you can get all that is needed using the command
$ sudo apt-get install build-essential pkg-config libsdl1.2-dev subversion patch zlib1g-dev liblzo2-dev liblzma-dev libfontconfig-dev libicu-dev

It'll take some time

After all dependencies installed is time to get the source code. Here i have some problems to find out what was the revision used by BRPro, i have to thank ST2 for the help.

In the terminal type
$ svn checkout svn://svn.openttd.org/tags/1.3.3/

And wait the full download of the 1.3.3 original sources complete. The SVN ll create an folder called 1.3.3 in the patch where you terminal is. how i was in ubuntu@ubuntu it's the root directory for ubuntu user (/home/ubuntu) so the folder 1.3.3 with the sources was created there.

Save the diff file OS_Crossover () in the 1.3.3 folder.

Enter in the folder typing in terminal
$ cd 1.3.3

And use the command
$ patch -p0 < OS_Crossover_file

Where OS_Crossover_file is the name of the diff file u saved from BTPro website.

Now is time to compile, just type in terminal
$ ./configure
$ make

And wait the process finish, it may take a some time so be patient.

After the compilation finish you already can play with the modified client by opening $ bin/openttd.

If u want the new client to take place of the older > "/1.3.3/debian".[/color]

Command :

$ "mv os/debian/ ."


The last step is create the package itself, so type the command
$ dpkg-buildpackage -rfakeroot -uc -us -b

Remove the old version of OpenTTD and install the new package

Enjoy it

I hope it's help.
The following user(s) said Thank You: Frank, ST2, malbec, tomate, RodrigoDK, Andreas

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

Last edit: by tomate. Reason: /.config edited to ./config

[Tutorial]How to Compile Debian BTPro Client 9 years 11 months ago #2997

Hi. I'm using Lubuntu and trying to compile version 1.4.0 to the admin client diff which, I guess, is quite imilar to the regular client diff. I'm getting some problem with this wininet.h "file or directory missing"

Any ideas?


Thanks for the help
  • tomate
  • tomate's Avatar
  • Offline
  • BTPro RETIRED Moderator
  • BTPro RETIRED Moderator
  • Posts: 49
  • Thank you received: 6

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

[Tutorial]How to Compile Debian BTPro Client 9 years 11 months ago #2998

Tomate, did you use the OS_Crossover file, cause I think that the file you are referring to is a Windows library which off course is not available for Lubuntu… Correct me if I'm wrong ST2, but I think the OS_Crossover diff takes care of that right? :-)

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

[Tutorial]How to Compile Debian BTPro Client 9 years 11 months ago #2999

totally correct ;)

anyway, already talked with tomate yesterday and he's aware that admin version "still" don't have a version compatible with other OS's... Maybe later... who knows ^^
  • ST2
  • ST2's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1222
  • Thank you received: 628

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

[Tutorial]How to Compile Debian BTPro Client 9 years 11 months ago #3001

Just for the record Tomate, when you would like to use the admin version on Linux, Mac or whatever other than Windows, take a look at "Wine". On Mac this works perfectly.

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

[Tutorial]How to Compile Debian BTPro Client 8 years 11 months ago #4290

Hi

I'm just getting started with BTPro trying to install on Mac but don't know how to install the diff file for the latest version of the client 1.5.0

Any help would be much appreciated.

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

  • Page:
  • 1
  • 2
Time to create page: 0.062 seconds
Best hosting deal on hostgator coupon or play poker on party poker
Copyright 2020 [Tutorial]How to Compile Debian BTPro Client - BTPro - OpenTTD Community.