Author Topic: [ANSWERED] Q3A sound fix. [UPDATED] Is this script "safe" to use? Yes [TY PINOC]  (Read 932 times)

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Hi all!

Sometime ago I wrote a article for the PCLinuxOS Magazine about the Quake 3 Arena for Linux. It was a HOWTO. It was showing the installation and configuration of the game.

Then 2010 Beta and Beta 2 came along and I love them BUT...

The Quake 3 Arena stopped working. Ok I said minor issue. I will deal with this later. So I did. Later is today.

In console I received artsd errors and the game wouldn't start... I have figured out the artsd is no longer available in the repos... Ok no hassle there must be a workaround. One of them was to change one of the config files for the game AND the game would run but as root only. This solution was not acceptable... So I found next one.

http://nullkey.ath.cx/~stuff/et-sdl-sound/

Tiny modifications in this script allowed me to play the game with sound as user... BUT I don't know can this script be trusted and basically its over my skills to understand it.

Can somebody who knows his way around scripts download this script and analyze it please? I want to enjoy the game, not to give away all my passwords in the background if You catch my drift...

Thanks in advance.

Andy

EDIT 1: Direct link to a script: http://nullkey.ath.cx/~stuff/et-sdl-sound/et-sdl-sound.gz
EDIT 2: Modifications made:

Quote
GAME_BIN='quake3.x86'
GAME_DIR='/usr/local/games/quake3/'
« Last Edit: January 20, 2011, 05:49:07 PM by AndrzejL The Paranoid Pole »

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2849
    • other projects...
Re: Is this script "safe" to use?
« Reply #1 on: March 28, 2010, 09:30:39 AM »
Hi Andy,

downloaded and looked at the script, the two modifications you mentioned, and don't see anything harmful in there. If it works with sound from the user-account, then you should call it a day.  ;) Thanks for fixing it!
best regards,
-p.

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Is this script "safe" to use?
« Reply #2 on: March 28, 2010, 09:32:34 AM »
Hi Andy,

downloaded and looked at the script, the two modifications you mentioned, and don't see anything harmful in there. If it works with sound from the user-account, then you should call it a day.  ;) Thanks for fixing it!
best regards,

-p.

Thanks Pinoc.

I trust You enough to mark it as solved.

Andy

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12802
  • RLU #490933
    • Wordpress On The Wardrobe...
I have decided to add few things here...

Here is the article in PCLinuxOS Magazine

Few things changed since then... KDE3 became KDE4. Game sound stopped working... Game Linux client download has changed...

Download of the Linux client. This is a newer version but it installs exactly the same way.

Now there is another thing - game start script. Without it the sound won't work. It needs to be downloaded / edited as posted in first post in this thread / placed in the main game folder /usr/local/games/quake3/ and set as executable.

Next thing You may want to do is run a command:

Quote
ln -s /usr/local/games/quake3/et-sdl-sound /bin/Q3A

Script works as a charm and as Pinoc said is safe to use. So far nothing happened to my system and I was playing a lot...

Type in Q3A in konsole to start the game. You can create the .desktop file or add the game to KMenu if You want to.

Andy
« Last Edit: January 20, 2011, 05:40:52 PM by AndrzejL The Paranoid Pole »