Knuckle Cracker

Knuckle Cracker => Support => Topic started by: isj4 on December 04, 2016, 09:03:28 AM

Title: Sudden overlay (exchange map #11)
Post by: isj4 on December 04, 2016, 09:03:28 AM
Shortly after game start on exchange map #11 something in the enemies activate and I get a huge overlay that obscures everything as shown in attached screenshot. No similar reports on map #11 so I assume it is a game bug.

OS: Linux (x86_64)
Version: 1.0 (downloaded  016-11-27)

I haven't seen this bug in other maps (but I haven't played that many of them so far)
Title: Re: Sudden overlay (exchange map #11)
Post by: isj4 on December 04, 2016, 01:53:30 PM
I now I saw the guide for reporting bug. Ahem.. Here:

Symptom: when playing exchange map #11 a giant overlay appears making it impossible play. It _seems_ to happen when the two enemy cannons finish building.

Screenshot: none produced with default control (f11). See previous post (done with PrtScr)

Saves: One before it happens and one after. It happens around 28.2 seconds but frame-stepping changes that :-(

Version stand-alone, Linux, x86_64, version 1.0
OS: OpenSuSE 42.1, kernel 4.1.27-27-default
Hardware: laptop, Fujitsu E751, Intel integrated graphics.
Title: Re: Sudden overlay (exchange map #11)
Post by: GoodMorning on December 04, 2016, 04:18:49 PM
That image is from planetfall's custom ship module "Nuker". Time delay is likely the build time.
Title: Re: Sudden overlay (exchange map #11)
Post by: knucracker on December 09, 2016, 09:34:39 AM
I can repro this with your before save.  I don't repro it when playing the mission from scratch. 
There was a bug in the screenshot logic where it was using "Screenshot" in one case and "screenshot" in another.  This matters on linux/OSX (but not windows). That's why the screenshot wasn't working properly.  I just fixed this and it will be in the next beta and full release.

As for the image scale problem... Not sure.  Could maybe have had something to do with saving and loading that mission, something in the PRPL scripts that didn't survive the save/load, etc.
Title: Re: Sudden overlay (exchange map #11)
Post by: planetfall on December 09, 2016, 10:03:13 AM
I seem to recall the infamous "Linux-Unity-Locale Glitch" messed with custom image scales for at least one person.

Try adding LC_ALL=C to the start of the last line of PFLaunch, and run the game from that instead of directly through the executables.
Title: Re: Sudden overlay (exchange map #11)
Post by: isj4 on December 09, 2016, 01:28:31 PM
LC_ALL=C solved the problem for me. Weird bug, though.
Title: Re: Sudden overlay (exchange map #11)
Post by: knucracker on December 09, 2016, 01:54:32 PM
Ahh... good catch by planetfall.  I didn't pay close enough attention.  You are on version 1.0 of the game (rather than 1.0.2 or a 1.0.3 beta).  In the original release of the game I didn't set the locale on all executing threads.  That can run into a problem on linux in places where commas are used at the decimal separator.  It affects how prpl compiles....

I'd recommend upgrading to 1.0.2.  It has this fix and several others.