View previous topic :: View next topic |
Author |
Message |
Vard n00b
Joined: 08 Jan 2004 Posts: 45
|
Posted: Wed Jan 14, 2004 10:59 am Post subject: Running Adonthell |
|
|
I ran: "emerge adonthell"
Now I'm not sure how to get it running.
I'm new to linux, and don't even know where the game can be found.
Please advise. |
|
Back to top |
|
|
OddFox Apprentice
Joined: 28 Nov 2002 Posts: 270 Location: Spokane, WA
|
Posted: Wed Jan 14, 2004 11:15 am Post subject: |
|
|
You (Your user acct) needs to be in the 'games' group, and I'm sure the game's executable is simply adonthell.
To add yourself to the games group, as root, find a line similar to this one in your /etc/group file:
If there is no games:: line, simply add it. Make sure to substitute "user" with your usernames you want to allow to play games. _________________ Now the rainy season reminds me of Maria
The way she danced, the color of her hair
Now I'm locked inside a stall at the cantina
Eating the bananas and the cocaine off the mirror
Looking for a ticket to take me away from here |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Wed Jan 14, 2004 11:18 am Post subject: |
|
|
OddFox wrote: | To add yourself to the games group, as root, find a line similar to this one in your /etc/group file:
If there is no games:: line, simply add it. Make sure to substitute "user" with your usernames you want to allow to play games. |
Or, more simply, use the 'usermod' command line app:
_________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
OddFox Apprentice
Joined: 28 Nov 2002 Posts: 270 Location: Spokane, WA
|
Posted: Wed Jan 14, 2004 11:27 am Post subject: |
|
|
Bah, tools are for teh weak!
But seriously, thanks for letting me know about that, charlieg. _________________ Now the rainy season reminds me of Maria
The way she danced, the color of her hair
Now I'm locked inside a stall at the cantina
Eating the bananas and the cocaine off the mirror
Looking for a ticket to take me away from here |
|
Back to top |
|
|
Vard n00b
Joined: 08 Jan 2004 Posts: 45
|
Posted: Wed Jan 14, 2004 11:45 am Post subject: Thanks for the tip |
|
|
I used usermod by inputting 'usermod -G games -L user'
I checked the group file and games::35::user is there, but now I'm still not sure how to run the game.
I tried: 'adonthell' and 'exec /usr/games/bin/adonthell' |
|
Back to top |
|
|
Vard n00b
Joined: 08 Jan 2004 Posts: 45
|
Posted: Wed Jan 14, 2004 12:51 pm Post subject: ok |
|
|
Okay, so I think I got the commnad to run the game.
Thanks alot for letting me know how to get the group working.
I get this:
Usage: ./adonthell [OPTIONS] GAME
Where [OPTIONS] can be:
-h print this help message
-d print the data directory and exit
-v print version and exit
-l list installed games and exit
-g dir play the game contained in dir (for development only)
-c byte-compile all Python scripts in this directory (for
development only)
How do I play it now? What is the command? |
|
Back to top |
|
|
dreas Guru
Joined: 06 Aug 2003 Posts: 359 Location: Germany
|
Posted: Wed Jan 14, 2004 1:28 pm Post subject: |
|
|
Found this...
Quote: | Now you are ready to play. Type
> adonthell wastesedge
to dive into the game. |
...on their page. |
|
Back to top |
|
|
GuyonAsm n00b
Joined: 28 Dec 2003 Posts: 14 Location: Washington D.C.
|
Posted: Wed Jan 14, 2004 2:37 pm Post subject: |
|
|
Im writing an rpg at the moment ontop of this engine so get ready for another selection to play soon enough =). _________________ I myself can't beat you, but my creations can... |
|
Back to top |
|
|
da-flow n00b
Joined: 27 Jan 2005 Posts: 32 Location: in the darkest corner of my space
|
Posted: Mon Feb 14, 2005 12:52 am Post subject: |
|
|
Hi i know this is an old post but nevermind i got an info that will help:
to get the game running first:
1. emerge adonthell
and then emerge the game data for adonthell called "wastesedge" this is necesarry to get a. working
2. emerge wastesedge
3. This was it, check youre in the right group and beginn ! |
|
Back to top |
|
|
babos Tux's lil' helper
Joined: 15 Feb 2006 Posts: 144 Location: Martinique
|
Posted: Thu Dec 14, 2006 10:40 pm Post subject: |
|
|
mmm, yes, but for me this is a
segmentation error
So sad...
Code: | Gentux / $ adonthell wastesedge
Erreur de segmentation |
_________________ Quand le sage montre le ciel, l'idiot regarde son doigt. |
|
Back to top |
|
|
Hadriel Tux's lil' helper
Joined: 28 Jul 2005 Posts: 75
|
Posted: Sun Dec 17, 2006 8:08 pm Post subject: |
|
|
i get segmentation faults, too... |
|
Back to top |
|
|
iopi n00b
Joined: 13 Mar 2005 Posts: 68
|
Posted: Sun Dec 17, 2006 10:29 pm Post subject: |
|
|
I'm getting a seg fault too.
I've been googling around and came across this patch
Code: |
Hello,
Finally I got it.
This is caused by #374062.
This patch is a workaround for that bug. I'm not sure that using bg as
last argument is the best choice, however it works.
--- adonthell-0.3.4.cvs.20050813/src/win_ttf.cc 2004-12-13 09:56:58.000000000 +0100
+++ adonthell-0.3.4.cvs.20050813.jd/src/win_ttf.cc 2006-08-09 16:41:00.000000000 +0200
@@ -137,7 +137,7 @@
if (s == NULL) return *(glyphs[' ']);
image tmp (s, bg);
- image shadow (TTF_RenderUNICODE_Solid (ttf, unichar, bg), white);
+ image shadow (TTF_RenderUNICODE_Shaded (ttf, unichar, bg, bg), white);
image *glph = new image (tmp.length(), height_, false);
glph->fillrect (0, 0, tmp.length()+1, height_+1, screen::trans_col(), NULL);
shadow.draw (1, 1+height_-shadow.height(), 0, 0, shadow.length(), shadow.height(), NULL, glph);
|
Note, I am a noob, so this probably isn't the best way =P.
I copied the adonthell source from /usr/portage/distfiles/ to my desktop
extracted it and used nano to edit win_ttf.cc
changed the line
Code: | image shadow (TTF_RenderUNICODE_Solid (ttf, unichar, bg), white); |
to
Code: | image shadow (TTF_RenderUNICODE_Shaded (ttf, unichar, bg, bg), white); |
saved
retarred
format of command: tar -cvf mystuff.tar mystuff/
used gzip
format of command: gzip [filename]
deleted the original source of adonthell in /usr/portage/distfiles
copied the gunzipped file over (note must have the same file name as the original)
emerge --digest adonthell
then run adonthell wastesedge
the game will run now without a seg fault, however... the text now has black boxes behind each letter ;_; |
|
Back to top |
|
|
|