Introversion-Software / LastStarshipIssues

The place to report and track issues for The Last Starship
11 stars 0 forks source link

All Graphics Disappear #64

Open RapidTaco opened 1 year ago

RapidTaco commented 1 year ago

Description

Not sure about any cause but I have seen it more than once. No ships, no stations, no asteroid belts, just the background.

Flavour affected

Vanilla

Operating System

Windows

Version

Alpha 4

Is it something that used to work before?

Yes

Expected behavior

See the game

Actual behavior

can't see the game

Repro steps

not sure it just happens randomly. I can give you a savegame

RapidTaco commented 1 year ago

ns

RapidTaco commented 1 year ago

autosave

RapidTaco commented 1 year ago

w 1 taco

jknotten commented 1 year ago

Does this happen when you start a new game? Does it happen when you load a game?

RapidTaco commented 1 year ago

It happens during play for no rhyme or reason I can see. I have also not found a way to get the graphics back so it is a game breaker

RapidTaco commented 1 year ago

Also if I go back and reload these the graphics are all still gone

Totengeist commented 1 year ago

Can you upload a save that has this bug?

RapidTaco commented 1 year ago

ns.txt autosave.txt 1.txt taco.txt

RapidTaco commented 1 year ago

I re-named them all .txt since you don't allow .space files to be uploaded

Totengeist commented 1 year ago

I re-named them all .txt since you don't allow .space files to be uploaded

This is unfortunately a GitHub restriction. Introversion can't change it.

Adanufgail commented 1 year ago

This seems to be related to the bug I posted: https://github.com/Introversion-Software/LastStarshipIssues/issues/58

RapidTaco commented 1 year ago

This seems to be related to the bug I posted: #58

Yeah I was able to reproduce his issue so it could be the same.

tomyeltz commented 1 year ago

This seems to be related to the bug I posted: https://github.com/Introversion-Software/LastStarshipIssues/issues/58

Yeah I was able to reproduce his issue so it could be the same.

It is the same issue. The save files all show the same thing—the camera position and zoom level set to extreme values: TacoGraphics1 I believe those are exponents in the position and zoom values, and those should probably never go beyond maybe 1000.

Workaround: change the Camera.x and y to 0 and the ViewSize to 100, load the save, click on your ship, and you should be good to go.

tronics99 commented 1 year ago

I just ran into this issue also. I caused it by zooming out a lot, until the ship was just a dot.

I was able to fix by setting ViewSize to 1.00000 and reopening my save.

I wanted to share that HUD line (9) in my save file didn't even have Camera.x/y values and the ViewSize was "inf". Here's the whole line:

BEGIN HUD Rotation 236.2011 ViewSize inf Layer 877 LastFriendlyLayer 877 TrackLayer true TrackPosition.x -1.188956 TrackPosition.y -0.9798007 TrackRotation 236.2011 END

Nothing I tried in the game fixed it (reloading, relaunching, FTLing, zooming in/out, clicking on ship list, etc)

Running Alpha 6 Steam/Windows

tomyeltz commented 1 year ago

Oh, wow. I didn't know it could go to infinity. Neat.

The game only writes the Camera.x/y values to file if they're not 0, so, if the ViewSize is infinity, you are essentially already looking at 0 by 0 and it doesn't write those values. So I guess, in retrospect, the workaround could be amended to read "Delete the Camera.x/y key-value pairs (if present) and change ViewSize to 100".