The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 12, 2024, 04:50:48 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« previous next »
Pages: [1] 2 Print
Author Topic: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac  (Read 4651 times)
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« on: December 07, 2020, 02:50:10 am »

It's been nine years, but the stars have aligned and in some cases our hands have been forced:

On and off over the past year or two I've been working on modernizing bits of the UQM build process and infrastructure. It's almost ready to release, but I'd like to see some more testing on it before I actually pull the trigger. So:

UQM 0.8 Release Candidate 1 is available for download from the project page: https://sourceforge.net/projects/sc2/files/UQM/0.8/

This is not yet a fully announced release -- there isn't an official source package, for instance. (Linux testers have been using the v0.8.0 branch on the Git repository).

I'd love to hear some reports from the field about how these work for you.

What's New Here?

The installations include WHATSNEW documents, but the highlights are:

  • Namable savegames
  • As part of that, a new uncompressed, chunk-based save format that should make it easier for mods to coexist and should make it much easier to edit save files
  • A new graphics, sound, and input backend based on SDL2, which means Metal and DX support on Mac and Windows, or VC4 support on a properly configured Raspberry Pi -- fullscreen mode should work much more cleanly on modern computers with this change. Also, Mac builds should stop self-destructing.
  • Nine years of sporadic bugfixes from the community post-0.7
  • The Windows installer now supports TLS and is thus capable of performing proper net installs again
Overall, it's part "years of deferred maintenance" and part "actually release the unpublished work that still fits in with the popular mods".

What's Missing?

  • The "master" branch of the Git repository still has some work that isn't merged with 0.8, but that work changed the code structure drastically enough that we decided to hold off on this.
  • There isn't a traditional source release yet -- the source code lives in the v0.8.0 branch on Git and won't be exported until we advance from "release candidate" to "proper release".
  • We do not support Apple Silicon yet. SDL2 still has some sharp corners there.
  • Binary support for the oldest operating systems has been dropped. The net installer doesn't work on XP (no OS-level support for TLS!) and SDL2 doesn't officially support 10.5 or 10.6 anymore either. Vista and 10.6 might work -- we've already heard reports of success on Win7 and macOS 10.7.
Most of this work has already been integrated into the MegaMod, since they were following Vanilla development.
Logged
Elestan
*Smell* controller
****
Offline Offline

Posts: 431



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #1 on: December 07, 2020, 10:19:03 am »

Testing on Win7:

Installer:
  • The first content download site failed to connect (the second mirror worked).  It would be nice to have "Abort Install" and "Retry" options if a network operation fails.
  • If the content download fails, the installer continues running, trying to install other packages and ending up with a non-working game.  Failure to install the content should probably be fatal.
  • The download initially failed because I had an outbound firewall.  It would be nice if the installer could diagnose this.
  • It would also be nice if there was a non-net installer.

Game:
  • If you try to rename your captain while in orbit around a planet, the flashing rectangle appears in the wrong place.
« Last Edit: December 07, 2020, 07:11:25 pm by Elestan » Logged
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #2 on: December 07, 2020, 10:16:54 pm »

Offline installation is possible in the same way as before: predownloading the content packs and putting them in the same directory as the net installer will prefer the local versions if they pass a size and MD5-sum check.

Note though that Remix Pack 4 received an update in 0.8 thanks in part to some new material from remixers, so a 0.7 install won't keep that pack.

Speaking of which:
  • The uninstaller, if told to entirely clean house, doesn't clean up the updated Remix Pack 4, treating it like a user file.
Logged
Elestan
*Smell* controller
****
Offline Offline

Posts: 431



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #3 on: December 12, 2020, 07:09:22 am »

I'm doing a playthrough, and a few times now, I've gotten "stuck" keys, where the thrust and turn behave as though I'm holding them down, even when I'm not.  I'm not sure on the exact trigger for the glitch, or if it's something specific to my machine.
Logged
dixius99
Zebranky food
*
Offline Offline

Posts: 4



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #4 on: December 13, 2020, 10:02:05 pm »

Downloaded and installed on macOS Big Sur, and so far it's working great.
Logged
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #5 on: December 13, 2020, 10:08:37 pm »

Stuck keys could be two things, one of which is definitely OS-based and another of which was an SDL2-sepecific bug that was supposed to be squashed.

The one that's OS-based is that if something takes control or focus away from the main window -- a popup, or Alt-Tab, or something like that -- UQM doesn't always get told about the key-up event. This can usually be repaired by pushing and releasing the button again after focus is regained. Recent Macs may be subject to this if you do not grant UQM the new permission to "receive keystrokes from any application", but I haven't experimented thoroughly with this.

The one unique to SDL2 is that SDL2 simulates keyrepeat on its own and this interferes with UQM's own keyrepeat and keychord detection systems. This should have been disabled in the code at this point, but it could be reliably triggered just by, say, thrusting continuously for ten seconds.
Logged
Elestan
*Smell* controller
****
Offline Offline

Posts: 431



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #6 on: December 14, 2020, 07:03:01 am »

I'm testing on Win7.  Clearing the condition did not happen as easily as releasing and tapping the button, but it did eventually clear - although it cost me the fight.  If it happens again, I'll try to do a more rigorous dissection of the cause and clear conditions.

BTW, is there any chance of getting the bugzilla back online?

Stuck keys could be two things, one of which is definitely OS-based and another of which was an SDL2-sepecific bug that was supposed to be squashed.

The one that's OS-based is that if something takes control or focus away from the main window -- a popup, or Alt-Tab, or something like that -- UQM doesn't always get told about the key-up event. This can usually be repaired by pushing and releasing the button again after focus is regained. Recent Macs may be subject to this if you do not grant UQM the new permission to "receive keystrokes from any application", but I haven't experimented thoroughly with this.

The one unique to SDL2 is that SDL2 simulates keyrepeat on its own and this interferes with UQM's own keyrepeat and keychord detection systems. This should have been disabled in the code at this point, but it could be reliably triggered just by, say, thrusting continuously for ten seconds.
« Last Edit: December 14, 2020, 07:05:29 am by Elestan » Logged
TG
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #7 on: December 15, 2020, 02:18:08 pm »

Hi! I tested 0.8 on macOS Big Sur 11.0.1, and unfortunately the game crashes every time I try to save. It doesn't matter if I enter a save name or not, it's a 100% crash.

The crash report can be downloaded at https://drive.google.com/file/d/1AbX4hZg-3ixfGPYpvorEBtiNbTc3mD5I/view?usp=sharing.
It seems to die on "BUG IN CLIENT OF LIBDISPATCH: Assertion failed: Block was expected to execute on queue [com.apple.main-thread]".
Logged
Elestan
*Smell* controller
****
Offline Offline

Posts: 431



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #8 on: December 17, 2020, 12:58:40 am »

I'm not sure whether this was prior behavior, but there doesn't seem to be any way to interrupt the victory credits and get back to the main menu.
Logged
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #9 on: December 19, 2020, 10:27:47 pm »

Hi! I tested 0.8 on macOS Big Sur 11.0.1, and unfortunately the game crashes every time I try to save. It doesn't matter if I enter a save name or not, it's a 100% crash.

The crash report can be downloaded at https://drive.google.com/file/d/1AbX4hZg-3ixfGPYpvorEBtiNbTc3mD5I/view?usp=sharing.
It seems to die on "BUG IN CLIENT OF LIBDISPATCH: Assertion failed: Block was expected to execute on queue [com.apple.main-thread]".

I can't repro this on my own Big Sur machine, but my current theory on this is on certain kinds of input configurations at the OS level, SDL2 requires you to be on the graphics/UI thread when you toggle into and out of text entry mode. If that's true, you should *also* crash on any other free-text entry mode, such as renaming the captain, the ship, or any Super Melee team.

I'm not sure whether this was prior behavior, but there doesn't seem to be any way to interrupt the victory credits and get back to the main menu.

This does indeed appear to be prior behavior, at least to 2005 and possibly all the way back to 3DO; the end credits may at the very least be accelerated by repeatedly pressing MENU-DOWN.
Logged
dixius99
Zebranky food
*
Offline Offline

Posts: 4



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #10 on: December 21, 2020, 09:24:26 pm »


I can't repro this on my own Big Sur machine


Saving seems to be fine for me on 11.1, what what it's worth.
Logged
TG
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #11 on: December 26, 2020, 09:47:45 am »

I can't repro this on my own Big Sur machine, but my current theory on this is on certain kinds of input configurations at the OS level, SDL2 requires you to be on the graphics/UI thread when you toggle into and out of text entry mode. If that's true, you should *also* crash on any other free-text entry mode, such as renaming the captain, the ship, or any Super Melee team.

I tried renaming my captain and sure enough it crashes there as well. So safe to say your theory is correct and any text input crashes once confirmed.

I have a Finnish keyboard layout (with all other settings set to English), and am on a 2019 16" MacBook Pro (with a multi-touch touchpad). Maybe it's the Finnish keyboard? I am also playing in full-screen mode for what it's worth.

Of note is that the crash only occurs when I press Enter to confirm the save game's name or the captain's name - I can enter the actual text without issue.

Thanks!
« Last Edit: December 26, 2020, 09:50:13 am by TG » Logged
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #12 on: December 28, 2020, 03:15:01 am »

I have now uploaded Release Candidate 2 to https://sourceforge.net/projects/sc2/files/UQM/0.8/ based on the feedback here and elsewhere. It may take a little while for SourceForge to get it out to all its mirrors.

  • When telling SDL2 about entering/leaving text mode, make sure that this only happens on the same thread responsible for drawing OS windows. (This is expected to address a crash seen on some Mac OS machines.)
  • Attempting to enter text from beyond the Basic Multilingual Plane will now insert the Unicode Replacement Character instead of nothing or hanging
  • The first time you edit the Captain or Flagship name while in orbit around a planet, the flashing rectangle will no longer be in the wrong place.
  • Win32 uninstaller will now correctly uninstall Remix Pack 4
Logged
TheVidmaster
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #13 on: January 02, 2021, 03:59:51 pm »

Nameable save-games, how could I ever life without those!

RC2 looks good on my Windows here thus far...    Note that I lack the time to do a full playthough right now  Roll Eyes
« Last Edit: January 02, 2021, 04:01:38 pm by TheVidmaster » Logged
TG
Zebranky food
*
Offline Offline

Posts: 3



View Profile
Re: Call For Testers: UQM 0.8 Release Candidate, Windows/Mac
« Reply #14 on: January 03, 2021, 04:05:13 pm »

I have now uploaded Release Candidate 2 to https://sourceforge.net/projects/sc2/files/UQM/0.8/ based on the feedback here and elsewhere. It may take a little while for SourceForge to get it out to all its mirrors.

  • When telling SDL2 about entering/leaving text mode, make sure that this only happens on the same thread responsible for drawing OS windows. (This is expected to address a crash seen on some Mac OS machines.)
  • Attempting to enter text from beyond the Basic Multilingual Plane will now insert the Unicode Replacement Character instead of nothing or hanging
  • The first time you edit the Captain or Flagship name while in orbit around a planet, the flashing rectangle will no longer be in the wrong place.
  • Win32 uninstaller will now correctly uninstall Remix Pack 4

Thank you for the update. I can now enter text and press enter without it crashing, but unfortunately I can no longer control the ship at all. Everything else works including the in-game menus, star map, conversations etc. except I can't steer the ship or fire.
Logged
Pages: [1] 2 Print 
« previous next »
Jump to:  


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!