Difference between revisions of "The Ur-Quan Masters Technical FAQ"

From Ultronomicon
Jump to navigation Jump to search
m (Reverted edits by 91.143.58.1 (Talk) to last revision by Fyzixfighter)
Line 100: Line 100:
 
An added note -- there's a known issue in that starting UQM *without* the controller plugged in will scramble or obliterate the joystick configurations.  You can get the default config back by going up one directory from the savegames (which should be linked in with your Start Menu when using Windows) and deleting keys.cfg.  A fresh copy will be created the next time you start.
 
An added note -- there's a known issue in that starting UQM *without* the controller plugged in will scramble or obliterate the joystick configurations.  You can get the default config back by going up one directory from the savegames (which should be linked in with your Start Menu when using Windows) and deleting keys.cfg.  A fresh copy will be created the next time you start.
  
===When I press multiple keys at the same time, some keys won't be recognised===
+
I feel so much hpipaer now I understand all this. Thanks!
This is a hardware problem with many keyboards.
 
 
 
To get around the problem, you could try using another keyboard. Unfortunately, most modern keyboards have problems like this. The exact key combinations that aren't accepted vary per keyboard though.
 
 
 
Sometimes toggling the num lock or caps lock will resolve the conflict. You can also change the keys that give problems. Keys that are usually ok to use are keys that are meant to be used in combination with other keys, such as SHIFT, CTRL, and ALT. For the rest, you'll just have to experiment. See [[#How do I change my keys?|here]] for information on changing your keys.
 
 
 
Another possibility is to use a joystick or game pad. (see [[#How do I use a joystick or game pad?|How do I use a joystick or game pad?]]).
 
  
 
===I keep getting a popup regarding sticky keys. How do I get rid of it?===
 
===I keep getting a popup regarding sticky keys. How do I get rid of it?===

Revision as of 21:33, 27 May 2011

This page is guaranteed to be spoiler free. It is safe for you to read this page even if you have not completed playing The Ur-Quan Masters. Links you follow from this page do not share this guarantee unless they also include this text.


This is the list of frequently asked questions (with answers) about technical issues regarding The Ur-Quan Masters. For gameplay questions or questions about the The Ur-Quan Masters project, check our other FAQs.


If you have any further questions, you can ask them on the technical issues board.

If you think you have found a bug, please report it in the Bugzilla database.



Installing the game

Where do I get the game?

You can find the latest official release on http://sc2.sourceforge.net/downloads.php.

You can find source snapshots, content updates, and precompiled Windows binaries for the most recent developers version on http://uqm.stack.nl/files/snapshots.

For MacOS X, Nic has developer builds with some of his own patches here.

If you frequently build the game yourself from the recent source, you may want to get your files from SVN. If you're using a command-line SVN client, this is what you type:

svn co https://sc2.svn.sourceforge.net/svnroot/sc2/trunk sc2

Once the SVN checkout is complete (about 200 MB), read the INSTALL file, and make sure you have the necessary libraries it refers to.

For compiling the source under Windows there's a Microsoft Developer Studio project file in src/msvc++/. For Unix (including Darwin), follow the instructions in doc/users/unixinstall. For MinGW, there's a file INSTALL.mingw in the top dir with some additional information.

How do I install the game on Windows without an internet connection?

Download uqm-0.6.2-win32-installer.exe, uqm-0.6.0-content.uqm, and optionally uqm-0.6.0-voice.uqm and uqm-0.6.0-3domusic.uqm from http://sc2.sourceforge.net/downloads.php on a machine where you do have an internet connection, and put them on a removable medium (CD-ROM, USB drive, etc). Then, on the machine where you want to install the game, start uqm-0.6.2-win32-installer.exe. Do not select any content packages that you haven't downloaded, and when the installer asks where to get the packages from, select the directory on your removable medium. The installer won't try to download any files from the internet then.

Note: Some defective browsers attach the extension ".zip" to your downloaded files (so you'll end up with files like "uqm-0.6.0-content.uqm.zip"). In this case you'll have to rename the files back, so that the installer will recognise them, lest it will try to download them itself.

How do I use the 3DO intro and victory movies in the game?

Toys For Bob doesn't have the copyright to these files and so we can't distribute them. But if you own the 3DO Star Control II CD, you can extract them yourself and use them in the game. To do this, you first need to make a .iso file of the CD-ROM, and then run a program called unCD-ROM, which can be found here (local mirror here). It includes a .exe file for Windows and the source code, which will also works on Linux. Just run it on the new .iso file. More detailed instructions can be found here. An (untried) alternative for Windows user, CompilFS, which looks a bit more user friendly, can be found here. Linux users can also add direct support for the 3DO file system with a kernel module, which can be found here.

In the extracted "duckart" directory you will find the videos. The files with extensions .duk, .frm, .hdr, and .tbl go together. At the moment only the intro and victory images can be used in The Ur-Quan Masters. To do this you create a directory "slides" in the content directory. In that "slides" directory you create an "intro" directory where you put the intro.duk, intro.frm, intro.hdr and intro.tbl files from the 3DO CD-ROM. In the "slides" directory you also create a directory "ending" where you put the victory.duk, victory.frm, victory.hdr and victory.tbl files. Note that on case-sensitive operating systems, all the file names should be lowercase.

If you haven't installed any add-on packages, your content directory structure should now look like this:

content/packages/uqm-0.4.0-content.uqm
content/packages/uqm-0.4.0-3domusic.uqm        (optional)
content/packages/uqm-0.4.0-voice.uqm           (optional)
content/slides/ending/victory.duk
content/slides/ending/victory.frm
content/slides/ending/victory.hdr
content/slides/ending/victory.tbl
content/slides/intro.duk
content/slides/intro.frm
content/slides/intro.hdr
content/slides/intro/intro.tbl
content/version

Now just start the game normally and wait a few seconds and the intro movie will show up. You'll see the ending when you complete the game.

Running the game

When trying to start the game, I get a DOS box flashing on my screen, and nothing else (on Windows)

The DOS box shows some debug information while the game is running. Right click on the icon you used to start the game, choose 'properties', and add '--logfile logfile.txt' as the first argument in the "Target" field. For example: "H:\Program Files\The Ur-Quan Masters\uqm.exe" --logfile logfile.txt --res 640x480 --bpp 32 --opengl --scale=bilinear --scroll 3do --audioquality high --addon remix

In this example, the window will open and close quickly but will put the output into "H:\Program Files\The Ur-Quan Masters\logfile.txt" for later examination via Notepad. Often the window closes quickly due to an improper argument, i.e. "--bpp32" versus "--bpp 32". Look elsewhere in this FAQ for specific information on your problem.

The game runs too slowly. What can I do?

If you're running on a system barely faster than the minimum system requirements, you may need to disable some eye candy.

  • try playing in 320x240 mode, full screen, with no scaling.
  • depending on your graphics card and driver, using OpenGL may slow down or speed up the game.
  • do not run in 24 bits per pixel mode. 16 is fine, 32 is fine, but 24 is an inefficient mode.

If you are running The Ur-Quan Masters on a modern system, and are still having a slow game experience, try the following:

  • (on Windows) make sure your video and sound drivers and DirectX are up-to-date.
  • (on Windows) make sure your PC isn't infected with spyware or similar programs. Good free programs to remove these are Ad-Aware Personal and Spybot-Search&Destroy.
  • close other programs when you are running the game. This includes programs that are running in the system tray. Some of these programs eat up a lot of resources.
  • (on Windows) when running the game press <CTRL>-<ALT>-<DEL>, and select "task manager". There increase the priority of The Ur-Quan Masters.

See also How do I change my settings?.

How do I change my settings?

The settings can nowadays be changed from within the in-game setup menu.

How do I use add-on packages?

Inside the directory where the content is installed, in the content/packages/ directory, there is a directory 'addons/'. In this directory, you can create new directories with .uqm files in them to be used in addition to the standard content .uqm files. The .uqm files are actually .zip files, but renamed so that people won't unpack them accidentally. If your add-on comes as a .zip file, you can use it as if it is a .uqm file.

When you specify the command-line option '--addon <addon>', the .uqm files inside the directory content/packages/addons/<addon> will be included in the game. '--addon' may be specified more than once to enable multiple add-ons.

Instead of specifying command-line options yourself, you can use a launcher program.

For Mac OSX, assuming you installed the game in Applications: Open The Terminal (It's in the "Utilities" folder under "Applications")

   * cd /Applications/The\ Ur-Quan\ Masters.app/Contents/MacOS
   * ./The\ Ur-Quan\ Masters -n ../Resources/content --addon ADDONNAME

See How do I change my settings and Content Management for more information.

How do I use a joystick or game pad?

There are joystick profiles for both the primary and the secondary joystick that can selected in the keys config menu within The Ur-Quan Masters. If you want to modify these profiles, you'll need to manually edit the file "keys.cfg" in the settings directory (see Where are my settings stored?). More information is contained in that file itself. Lines starting with "#" are ignored.

An added note -- there's a known issue in that starting UQM *without* the controller plugged in will scramble or obliterate the joystick configurations. You can get the default config back by going up one directory from the savegames (which should be linked in with your Start Menu when using Windows) and deleting keys.cfg. A fresh copy will be created the next time you start.

I feel so much hpipaer now I understand all this. Thanks!

I keep getting a popup regarding sticky keys. How do I get rid of it?

This is a message from Windows, which wonders why you keep pressing that shift key all the time. The next time it comes up, click "settings", and then uncheck "use shortcut".

How do I exit the game?

Press F10, and then confirm. On MacOS X 10.3 and above, the new Exposé features intercept F10, so use Option-F10 to quit on such systems (you may also disable the F10 intercept in System Preferences → Dashboard & Exposé.) See also How do I change my keys?

How do I pause the game?

Press F1 or the Pause key. It works for unpausing too. See also How do I change my keys?

Where do I find out more information about Network Play?

Our Netplay How-To guide describes how to play SuperMelee in The Ur-Quan Masters over a network.

Various

Where are my settings stored?

On Microsoft Windows systems the settings are stored in a folder named 'uqm' in the application data folder for the current user. This is usually in one of the following locations:

Windows 95/98/98SE without separate users
"C:\Windows\Application Data\"
Windows 95/98/98SE with separate users
"C:\Windows\Profiles\YourName\Application Data\"
Windows NT/2000/XP
"C:\Documents and Settings\YourName\Application Data\"
Windows Vista/7
"C:\Users\YourName\AppData\Roaming\"
Unix systems (including Darwin/Mac OS X)
"~/.uqm/"

The "Application Data" folder may be hidden. You can tell Windows to display hidden files and folders in the Folder Options dialog, which you can find in the Tools menu of any folder window. If you can't find the settings directory, use the Windows search functionality to look for a file "keys.cfg".

Where are my saved games stored?

Saved games are stored in a directory "save" inside the settings directory. See Where are my settings stored?.


How do I report a bug?

First, make sure you are either running the most recent official release (currently 0.7.0), or a recent version from SVN. If your copy is up to date, then look at Specific bugs and not-quite bugs. If your bug is not there, then look for it in the bug database. If the bug is already there, then see if you have any additional information that may help the developers fix this bug, and if so, add it to the existing bug report. If the bug hasn't been reported, then make a new report. Include as much information as as you can that may be helpful in solving the bug. In particular, it would be of much help if you can tell how to reproduce the bug. If this is your first bug report, please first read the guidelines are given here.

I don't want to make a Bugzilla account. Is it ok to let you know about my bug in another way?

Not really. Look at it from the side of the developers. First of all, when they receive a bug report through any other means, they have the choice of either fixing the bug immediately, putting it in the Bugzilla database themselves, or trying to remember it for later. As you're likely to catch them while they're in the middle of something, or just don't have the time that instant, it's not unlikely that your report will be lost.

Second, bug reports sent through other means rarely contain complete information. The Bugzilla forms have fields for things like UQM version and operating system, that may be necessary for solving the problem. A bug reported through other means would often require additional communication just to get all the facts.

Third, the person you would be contacting may not be the one who would normally fix such a bug. The developers each have their specialties. Bugs reported in the Bugzilla database will have a default assignee, and will be seen by all.

Now you may be thinking "I'm doing you a favour, take it or leave it.", but if you like the game and appreciate the work done by the developers, isn't it worth spending a few minutes to help them make the game better? Don't forget they are all volunteers, doing this in their spare time.

But if you enjoy their work just enough to report a bug through mail, the UQM forum, or IRC, but not enough to create a Bugzilla account, they'd rather hear about a bug through those means, than not at all.

See also: Where can I go for more technical help?.

Where can I go for more technical help?

The most appropriate place to ask for help on technical problems is the technical issues board on the UQM forum.

There's also the #sc2 IRC channel on OPN. You may have to be patient though, as most people that are present in the channel don't actually pay attention to it all the time. It is however the place where the developers hang out, and if you're interested in game internals, this is a good place to ask.

There's also the sc2-devel mailing list for development questions. It's hardly used anymore these days, but when it is, people still read it.

Do not mail the developers directly with technical questions.

  • a question you ask publicly, along with any answers may help other people too
  • you'll reach more people by using the forums or mailing list, so your question will usually be answered sooner
  • the developers frequently read the board, and respond to questions there

See also: I don't want to make a Bugzilla account. Is it ok to let you know about my bug in another way?

Specific bugs and not-quite bugs

The game does not behave as I expected

Gameplay bugs are listed in the Star Control II Gameplay FAQ.