The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
January 27, 2023, 01:25:27 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

  Show Posts
Pages: [1] 2
1  The Ur-Quan Masters Re-Release / Technical Issues / Re: Win32 build error on 12/31 CVS on: January 01, 2003, 04:59:42 am
Hi all,

I did some research on the SHGetFolderPath function and it turns out to be Windows 2000-specific (and probably exists on XP as well). However, the older Win32 platforms supply this function in SHFolder.DLL in the system folder. I couldn't find the corresponding LIB file for this DLL so I wasn't able to build this version of UQM.


I'm compiling on Windows XP, and getting the error as well. Any luck figuring out a workaround?
2  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: New to SC2/UQM on: December 18, 2002, 07:47:58 pm

Once the second alpha comes out, theoretically with the Spathi collision detection fixed (which I hear is already done), I might be able to not worry so much.

I've been compiling the CVS version of the Win32 client and forwarding them to Sun - you don't need to wait for the 0.2 release.  He recently posted the link again if you want to get the latest and greatest.  And yes, the collision bugs are fixed, along with numerous other additions and bug fixes. (Check out the planet orbit and scan screens - they're great!)
3  The Ur-Quan Masters Re-Release / Technical Issues / Re: Errors compiling source with visual studio net on: December 15, 2002, 08:16:22 am
What library am i missing? ain't so sure which library to download from

c:\urquan\urquan source\src\sc2code\libs\file\temp.c(21) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

You need SDL and OpenAL. You might or might not have SDL_image installed - since there are no errors yet.  Get the latest version available of all the libraries.  Get OpenAL from the creative web site listed in the INSTALL file.

Or, just download the precompiled .EXE which I update every few days, and which Sun posts on his web site.  Check the "alpha patch" thread.
4  The Ur-Quan Masters Re-Release / Technical Issues / Two Bugs - Pause and Mineral Offload Speed on: December 13, 2002, 04:25:46 am
Two bugs I couldn't find in the lists or forums:

Offloading minerals takes a random amount of time it seems.  About 50% of the time, it's instant - I don't even see the animation for going through the list of minerals and counting them down (but I know it's playing the animation, as I can occasionally see a frame or two of the countdown display).  The other 50% of the time, it's normal - I can see the full animation at "normal" speed.
Can't figure out what makes it one way or the other.  This is on my laptop that I see the 50/50 behavior - PIII 850, 256MB RAM, Windows XP, using the CVS version.   On my desktop, Athlon 2200, 512MB RAM, Windows 2000, running the Alpha, I only saw the "instant" behavior, but that may have been coincidence.

Also, it's been mentioned, but not as its own topic.  You can pause the game, but can't unpause it.  Oddly, this doesn't happen when I build the debug version, only with the Win32 Release version.  With the debug build, F1 pauses and unpauses.  With the release build, F1 pauses, but the only key that the game responds to afterwards is ~, to exit.  Haven't been able to figure out where the problem is, as it's tough to debug without debugging information.
5  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: cheats on: December 13, 2002, 02:38:44 am
well yea the eluder idea would work if we had a good windows exe patch that fixed the collision.  (didn't bomb when we go to earth)

I did the money thing by loading up on fuel.  worked for me.
then go on web and found location of some rainbow worlds.  that gave me all the credits I need.

The patched .exe is fine. It's been said before - you need the content as well, since apparently something in there changed.  I'm running the version I compiled and sent to Sun and there are no problems going to earth.  
6  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: alpha patch for v0.1 to v0.2 on: December 12, 2002, 09:24:16 pm

It crashed when I tried to go to EARTH, not the space station.

to sun:  thanks so much for hosting this!  just wondering if you were going to register with the forum...

Guys - I noticed at least one content file has changed - the Yehat fonts, which fixes the "No subtitles" glitch.  There are no changes in the last 6 weeks to the human stuff - I'm pretty sure the content isn't what caused the earth crash, but who knows.  You can download individual files from the CVS through Sourceforge's web CVS browser. You just need any files that changed since the alpha.
7  The Ur-Quan Masters Re-Release / Technical Issues / Re: Errors compiling source with visual studio net on: December 12, 2002, 09:18:29 pm
ok, I've been noobish again, all libs go to \libs in ms visual studio directory

That's not a very clean way to compile everything - you'll have libs all over the place.  Best thing to do is, install all the libraries you need in their own places.  In the project settings, add the Libraries' include directories to the Preprocessor's "Additional Include Directories" box.  Then, in the Linker Command-line options, add the libs that you need (.lib files) with full paths.  Then, copy the necessary .dlls to the actual project directory (\sc2, not \sc2\src) You'll need, I believe (this is from memory, so I may have missed something), SDL.dll, SDL_image.dll, a bunch of graphics libs (jpeg, libpng1, zlib), and openal32.dll.  This way, when you upgrade libraries, you just need to remake them in their own directories, instead of hunting through the default lib directories for all the pieces.

After you do this setup, it's easy to hack around in the code and rebuild quickly.  The tough part is debugging an interactive game with the MS debugging tools - I'm still trying to figure out the best way to do that.  Without knowing the code's structure, it's tough to set breakpoints, or figure out where a bug is happening.  
8  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: alpha patch for v0.1 to v0.2 on: December 12, 2002, 04:57:32 pm
Here's another thing with this patch:

When I try to go to Earth it crashed, saying it couldn't load a file.

Are you sure that all we need to replace is the .exe?

Looks like there were a few changes to some of the content.  As the other poster said, you'll need to update the Content/ directory.  If you have the bandwidth, just zip up your old content folder, and use WinCVS to get the current CVS files. In the future, the CVS update will be much quicker, since you only need the updated files.  If you don't have the bandwidth, you can try sticking your own CVS directories in there, but that's a big ol' pain.
9  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: alpha patch for v0.1 to v0.2 on: December 12, 2002, 08:12:54 am
Okay folks, you can get the executable here:

No repsonsiblility, yada, yada.  Someone who is regged can repost and make a linky if they want, no bandwidth limits.

Much thanks to serendipity for the compile.  I did a quick test by just replacing the old exe and nothing else.  Old saved games worked and game was winnable (so I assume Spathi/collision are fine too).  Oh, and the pause  button crashed the game the first time I used it and my computer the second time.  So no pause button in this hack version. ^^

...and stop replying to peterb, he's an obvious troll who didn't even read the thread he is posting in where hosting was *asked* for ;p ^^

Of course about 20 minutes after I sent you that compiled version, the developers post an update to CVS that fixes the glitch where, if you're in the orbit view, and you view the starmap, the planet stays on your screen.

I'll send you that compiled version tomorrow, in case they add anything else soon.

What's the pause button crash you're talking about?  I can't find a button that pauses the game, so I can't look into the problem.  Could be an easy fix.

And regarding trying to compile this project with something other than MSVC++ (for which the developers kindly include a project file for), good luck. It's enough of a nightmare developing on windows _WITH_ the $200 development environment.  Having to get your own free compiler and figuring out how to get this beast to compile is an exercise in futility.  Like I said - for the most part, real developers work in Unix when they can, and there's a reason.  The learning curve for developing in windows is a lot steeper, and it's just a pain.
10  The Ur-Quan Masters Re-Release / Technical Issues / Minor Glitch - Planet Statistics on: December 12, 2002, 07:28:13 am
Couldn't find this in the TODO, BUGS, or forum posts:

The Planet stats (certain ones) seem to end with a small "6" character.  This still happens in the CVS version, using Win32.

Anyone else see this?
11  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: alpha patch for v0.1 to v0.2 on: December 12, 2002, 03:52:21 am
Look, I think it's a foregone conclusion that anyone that knows how to compile this is capable of hosting it, and the fact that those of you that  "can't" compile it are offering to host it suggests that you don't know what you're getting yourselves in to.

This is open source.  If you're so inclined, check out the source tree, build the goddamn windows executable, and host it yourself.  Don't ask other people to stop their real work and build the exe for you just because you're impatient.

If you don't know how to build the executable, well, maybe this is your big chance to expand your horizons and learn some new skills.

Maybe you're not clear on something:
Development on Linux is easy.  CVS is easy.  Downloading libraries is easy.  Doing the same on Windows is a huge pain in the ass.  First of all, you need $200 software from microsoft (Visual C++) just to attempt it.  Then you need to download all these libraries which are a pain to keep current, and then you need to compile the executable.  There are very few people who feel like doing all this - and the ones who are familiar enough with development to bother getting the CVS sources are a majority Linux users anyway.  I certainly prefer developing on Unix/Linux to Windows. If I used linux extensively at home, I wouldn't even bother with the windows version.

SC2 is great.  UQM has the potential to be better, and it's damn close already.  I'm more than willing to provide the executables if someone else feels like hosting it, as the CVS version matures.  This lets non-hard core windows users play the latest and greatest, lets the slightly harder-core users submit bug reports from a recent version, and takes the burden off the developers from releasing easy-to-install Windows packages all the time to keep the slavering zebrankys happy.

What's the harm with that?
12  The Ur-Quan Masters Re-Release / Technical Issues / Re: Errors compiling source with visual studio net on: December 11, 2002, 10:05:19 pm
Read the INSTALL file in the CVS directory - you need to install all the libraries.  The one you're missing there is OpenAL.  Get it from Creative's website - the URL is also in the INSTALL file.

Also: Noticed you're missing the Ogg codec as well.  Make sure you have all the libraries installed, add the path(s) to the .h files in the Project -> Settings -> Resource include directories box, and specify the paths to the libraries (.dlls) themselves in the Project -> Settings Link box as well.
13  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: alpha patch for v0.1 to v0.2 on: December 11, 2002, 09:54:59 pm
It looks like nobody feels like hosting the files.  I don't mind doing basic stuff like compiling the EXE and maybe hosting diffs between the released versions and the CVS version, so all of us windows users can be bleeding edge without having to buy and futz with Visual Studio.  This will only help people who download the real version first, and then the diffs.  And since I've never made a diff while doing windows development, who knows how easy it will be.

It looks like I'll have to open my server to the public, though, which will take some time - I want to make sure it's well protected before I open the floodgates to ports 80 and 21.   Stay tuned for more info.  Don't worry Windows guys, you'll soon be able to keep up with the Linux users, where CVS and development is relatively painless.
14  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: alpha patch for v0.1 to v0.2 on: December 11, 2002, 06:13:07 pm
ok I'm confused.  On XP what do I do to upgrade?

You need the updated content and executable.  To make the bleeding edge executable from the CVS sources, you need MS Visual C++ 6 or better, and all the libraries listed in the INSTALL file from the source (Ogg Vorbis, OpenAL, SDL, SDL-image).  

Or, you can just use CVS to get the latest Content directories, and some kind soul to donate hosting space so the updated executable can be published.  That way you don't need to worry about Visual Studio and libraries and compiling.  It would probably be a good idea to post the executable (if not a patch or somplete Win32 Installer version) on the sourceforge site.  It's no good having testers report bugs that have been fixed in the CVS.
15  The Ur-Quan Masters Re-Release / General UQM Discussion / Re: alpha patch for v0.1 to v0.2 on: December 11, 2002, 04:07:02 pm
At least anybody can download the content (perhaps slowly for modem users... :-).  So it should still be helpful to post the .exe as it's updated so windows users can benefit from the bleeding edge source.  

And yes, it is supposed to be beatable, according to the changelog - I haven't tried yet, but I know the collision detection has been perfect for what I've tried (spathi, etc).  And as mentioned elsewhere, the new planet visuals are amazing.  Also, the oscilloscope works in conversations. Quite a few significant fixes.

Pages: [1] 2

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!