The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
September 25, 2022, 04:07:53 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

  Show Posts
Pages: [1]
1  The Ur-Quan Masters Re-Release / Technical Issues / Stop using my joystick! on: June 05, 2005, 06:32:52 am
How do I stop Ur-Quan masters using my joystick?  Apart from hacking the sources with the following patch?

Code:

*** src/sc2code/libs/input/sdl/input.c.old
Sun Jun  5 01:29:38 2005
--- src/sc2code/libs/input/sdl/input.c
Sun Jun  5 01:33:08 2005
***************
*** 165,186 ****
 
SDL_EnableUNICODE(1);
 
!
if ((SDL_InitSubSystem(SDL_INIT_JOYSTICK)) == -1)
!
{
!

fprintf (stderr, "Couldn't initialize joystick subsystem: %s\n", SDL_GetError());
!

exit(-1);
!
}
!
!
fprintf (stderr, "%i joysticks were found.\n", SDL_NumJoysticks ());
!
!
nJoysticks = SDL_NumJoysticks ();
!
if (nJoysticks > 0)
!
{
!

fprintf (stderr, "The names of the joysticks are:\n");
!

for(i = 0; i < nJoysticks; i++)
!

{
!


fprintf (stderr, "    %s\n", SDL_JoystickName (i));
!

}
!

SDL_JoystickEventState (SDL_ENABLE);
!
}
 
 
_in_character_mode = FALSE;
--- 165,169 ----
 
SDL_EnableUNICODE(1);
 
!
nJoysticks = 0;
 
 
_in_character_mode = FALSE;



You see, I like to play on zSnes while I'm flying from star system to another.
2  The Ur-Quan Masters Re-Release / Technical Issues / Re: VERY annoying - where to put package files in on: May 26, 2005, 07:01:00 am
Thanks very much
3  The Ur-Quan Masters Re-Release / Technical Issues / VERY annoying - where to put package files in 0.4? on: May 25, 2005, 07:41:24 am
Hello,

So I get the uqm source for 0.4 - ok.

Untar it - ok.

Read the INSTALL file - tells me to look in doc/users/unixinstall - ok

Then, I look at doc/users/unixinstall - note that nothing has been updated from 0.3.  Hmm, methinks, but ok.

Download uqm-0.4.0-content.uqm - ok

Place in content/packages directory.... huh?  They're not there.  No problem, methinks, mkdir -p content/packages here we go, cp ../uqm-0.4.0-content.uqm content/packages - and presumably ok

Then compile - ok

Then, './uqm', and I get:
The Ur-Quan Masters v0.4.0 (compiled May 25 2005 01:53:22)
This software comes with ABSOLUTELY NO WARRANTY;
for details see the included 'COPYING' file.

Initializing base SDL functionality.
Using SDL version 1.2.8 (compiled with 1.2.8)
Fatal error: Could not find content.

Nice descriptive log error I must say, very nicely leaving out which file it was expecting so that I could deal with it.

Even when I installed it in /opt/games/uqm (yes, I did set that prefix at build time), the content file ending up in /opt/games/uqm/share/uqm/content/packages/uqm-0.4.0-content.uqm and running the game as /opt/games/bin/uqm, same problem occurs.

Sorry for my tone of voice, but I'm just a bit miffed that I couldn't play this excellent game before I had to go to sleep - I hate going to sleep in a grumpy mood, and its all your fault!

Anyway, how can I sort this?

Thanks (for making me grumpy),
     Asfand Yar
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!