Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Gaming & Leisure
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Gaming & Leisure
A section for users who strive to play the latest games on linux.

 
Thread Tools Display Modes
Old December 2nd, 2007   #11
dfreer
Chocolate Ubuntu Mocha Blend
 
dfreer's Avatar
 
Join Date: Jan 2006
Beans: 1,854
Ubuntu 7.10 Gutsy Gibbon
Re: FreedroidRPG - my first COMPILED game :-D

Quote:
Originally Posted by Beren Camlost View Post
He is just compiling it. And he is proub of it I was too the first time I managed to compile a program. I like this tread and his input here, and also his efforts of making a .deb of it. I have a lot to learn in that department
See, now I thought it was the OP's first program, and then I go to look at the screenshots... Definitely not the "Hello, world" I remember!

Nice job on compiling and making your first .deb!
dfreer is offline   Reply With Quote
Old December 2nd, 2007   #12
perixx
Has an Ubuntu Drip
 
Join Date: Oct 2007
Beans: 782
Re: FreedroidRPG - my first COMPILED game :-D

Code:
ldd ./freedroidRPG
MANY THANKS, dfreer!!
This command is really a hot piece of hint! =)))

With this little helper, I can go for more soon...
Btw., what can I do if I have some dependency-collisions with different versions of installed and needed packages? Do I need a cross-compiler for that?

Oh and, how and where can I upload a .deb package for others to share it? Using the forum's attachment function doesn't work somehow...


perixx

Last edited by perixx; December 2nd, 2007 at 07:09 PM..
perixx is offline   Reply With Quote
Old December 2nd, 2007   #13
Vadi
Happy user
 
Vadi's Avatar
 
Join Date: May 2007
Location: Toronto, Canada
Beans: 4,430
Ubuntu Karmic Koala (testing)
Send a message via AIM to Vadi
Re: FreedroidRPG - my first COMPILED game :-D

Look into Launchpad.net's PPA (Personal Package Archive) program.
Vadi is offline   Reply With Quote
Old December 2nd, 2007   #14
perixx
Has an Ubuntu Drip
 
Join Date: Oct 2007
Beans: 782
Re: FreedroidRPG - my first COMPILED game :-D

Thx Vadi, for the hint - I'll do that anytime soon!

Here's another good forum link on solving dependency problems along the hard compilation way:
http://ubuntuforums.org/showthread.p...=ubuntu+upload


perixx
perixx is offline   Reply With Quote
Old January 9th, 2008   #15
perixx
Has an Ubuntu Drip
 
Join Date: Oct 2007
Beans: 782
Re: FreedroidRPG - my first COMPILED game :-D

I've been successful in compiling the Subversion/SVN (formerly CVS) developer's version in the meantime:

1. subversion has to be installed via Synaptic.

2. the following command at a terminal is needed:
Code:
svn co https://freedroid.svn.sourceforge.net/svnroot/freedroid ~/SVN/FD
It will 'checkout' (download) the latest source files from sourceforge to the stated folder: ~/SVN/FD (can be changed of course).

3. in the terminal, go to ~/SVN/FD (or folder where freedroidRPG-files reside) and type:
Code:
sh autogen.sh
now wait till it's finished.
NOTE:You may need to install 'autotools', along with some other packages, via Synaptic; refer to this link here: http://ubuntuforums.org/showpost.php...56&postcount=3

For additionally required dependencies, see post #16 below!

4. Next type this command and wait till it's done:
Code:
./configure
Afterwards you type and wait for
Code:
make
Should you get some weird warning message like mentioned here, simply ignore it:
http://ubuntuforums.org/showthread.php?t=643548
NOTE: The game should already run by now, when going into the /src folder and running 'freedroidRPG'!

5. If you like to install it and create a .deb package, run
Code:
checkinstall
Note: if there are several different versions named, type the menu-number that refers to the stored versions and re-type it, so it only shows up once in the 'checkinstall' menu. Commence.

After finished, you should have a new .deb package availible, along with an installed new version of freedroidRPG! You should be able to find the binary in /usr/local/bin/freedroidRPG and make a starter to there, the actual game files reside in /usr/local/share/freedroidrpg.

Happy gaming / creating levels for the devels
perixx

Last edited by perixx; March 15th, 2009 at 08:00 AM.. Reason: Compilation info update
perixx is offline   Reply With Quote
Old November 7th, 2008   #16
stedevil
Just Give Me the Beans!
 
Join Date: Aug 2007
Beans: 60
Re: FreedroidRPG - my first COMPILED game :-D

I posted this to the FDRPG maillist a while back, but I guess it cant hurt to repeat it here.

---
Compile FreedroidRPG from source
Ubuntu 8.04 - Hardy Heron. (Should work on other versions as well, do let us know)

1) First lets ensure you got the required Ubuntu packages for compiling FreedroidRPG.

Open a terminal window/console and:
Code:
sudo apt-get update
sudo apt-get install build-essential libsdl1.2-dev libjpeg62-dev zlib1g-dev libpng12-dev libsdl-image1.2-dev
For sound you also need
Code:
sudo apt-get install libsdl-mixer1.2-dev
2) Download latest sources (freedroidrpg-*.tar.bz2) and extract/unpack it.

https://sourceforge.net/project/show...ckage_id=58238

3) cd to the folder you just extracted in a terminal window/console and
Code:
./configure
make
4) To play just
Code:
cd src/
./freedroidRPG
---

Instead of step 4, one can also sudo make install , but usually it's more convenient to just run from the source location since you might update often and you dont risk problems with your package manager installing conflicting versions. The above mentioned checkinstall tool works too.

For SVN, add the relevant sections (1-3) from the post above mine (installing SVN, checkout of the source and ./autogen.sh). You will however need to also install autotools for compiling the SVN version.
Code:
sudo apt-get install autoconf

If you try this with other versions of Ubuntu than 8.04, please post your success including any modifications to above procedure you might have needed to make it work.

Last edited by stedevil; October 22nd, 2009 at 04:35 AM.. Reason: update
stedevil is offline   Reply With Quote
Old March 15th, 2009   #17
perixx
Has an Ubuntu Drip
 
Join Date: Oct 2007
Beans: 782
Re: FreedroidRPG - my first COMPILED game :-D

A little off-topic, but related to use FD under Ubuntu (localized):

Quoting from the README in your FD folder:

Quote:
Changing language in game will not work by default since Ubuntu does not ship with standard ISO locales, only UTF-8 versions. You will have to manually add them to make language selection work.

Procedure:

1) In commandline write
Code:
sudo nano /var/lib/locales/supported.d/local
2) Add the locales you are interested in, 1 entry on each line, e.g.
de_DE ISO-8859-15
fr_FR ISO-8859-15
sv_SE ISO-8859-15
ru_RU.cp1251 cp1251
and then exit with ctrl+x and yes to saving the changes.
Now run your game and choose your preferred language in the Options menu.

NOTE: In the current version 0.12rc1, all localization support has been disabled. You'd need to manually compile a SVN revision prior to rev1819 or wait till this gets fixed again.

Happy gaming!

Last edited by perixx; March 15th, 2009 at 04:01 PM..
perixx is offline   Reply With Quote
Old March 15th, 2009   #18
stedevil
Just Give Me the Beans!
 
Join Date: Aug 2007
Beans: 60
Re: FreedroidRPG - my first COMPILED game :-D

Quote:
Originally Posted by perixx View Post
NOTE: In the current version 0.12rc1, all localization support has been disabled. You'd need to manually compile a SVN revision prior to rev1819 or wait till this gets fixed again.
Slightly incorrect. 0.12rc1 DOES have localization (translations) included. They were however cut from 0.12 Final mainly because in general not being anywhere near release ready.

Once the translations get properly up to date we will add downloadable language packs. Before that, even while using SVN, the game experience will be quite lacking compared to English (the text stings missing will be falling back to original English, creating a mixed language situation, and the translated parts might in some cases be completely wrong due to changes in the game).

Assistance with translations is of course gladly accepted to speed up this process.

PS For having access to the half finished translations in latest SVN, recompile after removing the "// disabled-v0.12" at the start of the lines in src/vars.h for the language(s) you are interested in.

Code:
// disabled-v0.12	{ .code="fr_FR", .name="French", .font_class="", .encoding="ISO-8859-15" },
// disabled-v0.12	{ .code="de_DE", .name="Deutsch", .font_class="", .encoding="ISO-8859-15" },
// disabled-v0.12	{ .code="sv_SE", .name="Swedish", .font_class="", .encoding="ISO-8859-15" },
// disabled-v0.12	{ .code="ru_RU.cp1251", .name="Russian", .font_class=".cp1251", .encoding="cp1251" },

Last edited by stedevil; March 15th, 2009 at 04:39 PM..
stedevil is offline   Reply With Quote
Old August 27th, 2009   #19
stinkyfishheadisred
First Cup of Ubuntu
 
Join Date: Aug 2009
Beans: 3
Re: FreedroidRPG - my first COMPILED game :-D

For the latest version in the Ubuntu repositories (as of this post it was 0.10.3-3 for Ubuntu 8.04) you can always use the apt packages. If you are running Ubuntu with Firefox, all you have to do is open apt:freedroidrpg in the browser and it should start a graphical download process.
stinkyfishheadisred is offline   Reply With Quote
Old August 28th, 2009   #20
stedevil
Just Give Me the Beans!
 
Join Date: Aug 2007
Beans: 60
Re: FreedroidRPG - my first COMPILED game :-D

Sadly FreedroidRPG is not backported, so older *buntu versions have really outdated versions. Even brand new versions are rarely up to date, due to the time lag introduced from the long winding process of:
New package in Debian -> Debian release freeze -> Debian stability test -> New package in Ubuntu -> Ubuntu release freeze -> Ubuntu stability test.

This creates a very stable and well tested system, but is very bad for a non system critical software like eg a game that is under heavy development.
stedevil is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:59 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry