Compiling UQM on Linux is roughly the same as on MinGW, except that installing the libraries is a lot easier; just install the development and runtime versions of the libraries UQM uses and the usual compiler tools. Under Ubuntu, you'll probably want to use Synaptic (or some other APT front-end) to install the packages; you shouldn't have to find and compile any libraries yourself.
If you just want the latest release version of UQM, I think it's in Ubuntu already.
Funny enough, when trying to execute command "./build.sh uqm" ubuntu spits at me and says "PERMISSION DENIED", even when i use "sudo"
Sounds like ./build.sh and/or the files it calls have the wrong permissions (specifically, it's missing the execute permission). This may occur if you've downloaded the source as a .zip file or unpacked it to a disk partition without Unix permission support (e.g. a Windows partition). You are strongly advised to use tar or cvs or something else that correctly transfers file permissions instead, and store source trees on a Linux partition (e.g. ext3 or ReiserFS).
It may also be possible to get permission problems by unpacking the source archive as a different user to the one compiling. In general, you can get away with unpacking and compiling as a normal user and only using root for install (and that only if you install somewhere non-user-writable).
Compiled it, now wondering how to play, or even where to put the content packages
Create a directory called "packages" somewhere and put the content packages in there. In the directory you compiled to (assuming a debug build), do something like:
Code:
./uqm-debug --contentdir=/path/to/content/
Note that the "packages" part of the content directory path must be removed.
As a CVS user, I have the content directory inside the main UQM directory and usually go:
Compiled it, now wondering how to play, or even where to put the content packages
Create a directory called "packages" somewhere and put the content packages in there. In the directory you compiled to (assuming a debug build), do something like:
Code:
./uqm-debug --contentdir=/path/to/content/
Note that the "packages" part of the content directory path must be removed.
As a CVS user, I have the content directory inside the main UQM directory and usually go:
Code:
./uqm-debug --contentdir=content/
For a release build, remove the "-debug" part.
i still can't get it to work...
just to clarify though, if i had the 'packages' folder in the same folder as the 'uqm' command then i would use
just to clarify though, if i had the 'packages' folder in the same folder as the 'uqm' command then i would use
Code:
uqm --contentdir=./packages
?
You probably need "./uqm" instead of "uqm", unless your distro is putting "." in PATH (which it shouldn't, especially not in the beginning of the list, as this allows malicious scripts to be accidentally run when you think you're examining them).
What seemed to work before hasn't worked the second time around. I had to install Ubuntu after a HD format (i periodically format my main drive all the time) and it seemes uqm is broken...
After following the same steps as I did last time I type 'uqm' into the terminal and it says "Fatal error: Could not find content" and i have the content folder defined as follows (--contentdir=/usr/games/share/uqm/content/) with 'packages' inside the content folder, and this is just the default install settings.
Maybe i'm just missing an important step, I'll do a quick one over and maybe just rebuild/reinstall and see if that works.
another issue, I can't get the ship spins nor any of the FMV's to work with my "mod".
If none of the FMVs work, you've probably just put them in the wrong directory and/or disabled them by selecting PC intro/ending in the setup menu. Check the debug output for details.
Also, reformatting Linux partitions and reinstalling is kind of pointless (unless you're actually repartitioning your hard disk or changing filesystems). Even if you're switching distros and want a clean install, keeping your home directory is a great way to keep working from where you left off. My main PC actually uses a SuSE Linux installation that has been upgraded several times since I copied the entire partition contents from my previous computer (a trick that usually fails utterly with Windows) three years ago. The Windows partitions have, of course been reformatted since then.