Starbound

Starbound

View Stats:
Finaryman Aug 29, 2016 @ 2:53am
universe & player folder explained (problems caused)
chucklefish forums on subject http://community.playstarbound.com/threads/fixing-lost-corrupted-universes-and-player-files.119985/

Universe folder consist from (server files)

universe.chunks
universe.dat
(hex string).clientcontext
(XCoord)_(YCoord)_(uuid)_(Planet number).world
(XCoord)_(YCoord)_(uuid)_(Planet number)_(Moon number).world


universe.chunks
This file contains known starsystem locations. Each star is partially saved which you have seen in navigation console (farthest zoom level). Only star name, seed, location and information on planets (only type and slot) is saved in this file. deleting this file causes almost NOTHING to be LOST, IF STAR GENERATION CODE HAVEN'T CHANGED.

universe.dat
This file contains outpost state and universe unique identifier. If this file is lost or corrupted EVERYONE in server LOSES their BOOKMARKS/TELEPORTLOCS (because of unique identifier is lost) and OUTPOST is RESET.

(hex string).clientcontext
This file contains current ship location, current player location, admin state. LOCATION is RESET to new starting planet if this file is lost.

(XCoord)_(YCoord)_(uuid)_(Planet number).world
(XCoord)_(YCoord)_(uuid)_(Planet number)_(Moon number).world
These files contain planet/moon data. Everything that is built or preexisting in that planet/moon. If this file is lost or corrupted, that SPECIFIC PLANET/MOON gets RESET to its original state OR becomes BUGGED. Sometimes manual deletion of this file is required to get planet/moon to reset from bugged state.

Common causes of corruption is mods, crashes, hangs.
Manual backup is recomended for this folder.

I'll update this list if something needs to be added or changed.
Last edited by Finaryman; Jan 18, 2017 @ 5:35am
< >
Showing 1-15 of 37 comments
Finaryman Aug 29, 2016 @ 2:55am 
Player folder consist from (client files)

metadata
statistics
(hex string).player
(hex string).shipworld
(hex string).player.bak1
(hex string).shipworld.bak1
(hex string).player.bak2
(hex string).shipworld.bak2
(hex string).player.bak3
(hex string).shipworld.bak3


metadata
This file contains chat history.

statistics
This file contains information about recipes learned, items collected. Therefore many achievement related information.

(hex string).player
This file contains character QUESTS completed and ITEMS WEARED/CARRIED. it's ESSENTIAL file character to have. CREWMEMBER LIST is stored in this file, SHIPUPGRADE information too.

(hex string).shipworld
This file contains character ship. Everything that is contained in the ship items, placed OBJECTS, tiledata and NPCs. deleting this file RESETS your SHIP.

bak1
This file is previous version of ".player" or ".shipworld" file respectively.

bak2
This file is previous version of bak1 files.

bak3
This file is previous version of bak2 files.

Common causes of corruption is mods, crashes, hangs.
Manual backup is recomended for this folder.
Last edited by Finaryman; Sep 27, 2016 @ 5:28am
tamorr Aug 29, 2016 @ 7:14am 
you know this would be better as a guide... Nice bit of info though. I already knew quite a chunk of what was mentioned, but that is only because I have looked into some of them.

And yes having some of other files explained would be nice. Meta use to hold all quest data, not sure how much or what now, among other small things. So would be nice to know. :)

Also of the 3rd coordinate, I believe that is now just a Z coordinate; as I thought it was sector seed. Might still be sector seed, since the way planets seem to be grouped now... Or so I found out. Well makes sense when looking at the big picture. Like zones of areas on the stella map.

Regardless I believe it is Z coordinate now, but what the actual use for it... I don't really know for sure; as the above is only my best guess.
Last edited by tamorr; Aug 29, 2016 @ 7:18am
Finaryman Aug 29, 2016 @ 7:36am 
i think most of the quest data is moved ".player" file since metadata is so small. i tried deleting metadata, and i didn't notice any completed quests getting lost. EDIT: also i changed seed to sector seed.
Last edited by Finaryman; Aug 29, 2016 @ 7:36am
ehyder Aug 29, 2016 @ 8:26am 
I agree with Timor, if you have not already started a guide this information would be a good start.

What would be totally awesome is if someone figures out which files, and how, to delete cloned/duplicated crew members. I suspect you can do this through edits of the files, which may be a faster and more reliable method of eliminating a cloning instance than the work arounds listed on the Chucklefish forum: http://community.playstarbound.com/threads/duplicate-crew.119293/. Clones of crewmembers may appear on a planet after beam down, or on the ship after beam up. Since I now have two sets of clones running around in different locations of the universe I may take a look into that possibility.

Edit suggestion: Reset, not resetted (which is not a word :).
Finaryman Aug 29, 2016 @ 8:30am 
Originally posted by ehyder:
I agree with Timor, if you have not already started a guide this information would be a good start.

this way i get more replies, than if it was a guide. feedback is neccessary at this point.
EDIT: ill maybe make it to guide later.
Last edited by Finaryman; Aug 29, 2016 @ 8:31am
ehyder Aug 29, 2016 @ 8:36am 
One problem I have found with the posts is that they get easily buried if there is a lot of traffic. You probably already know you may have to bump every now and again to make sure anyone sees the thread.

You could do both, I have done that before. The advantage of doing a guide at the same time is really organizational, I find it is much easier to format and view the information in a guide. And you can point to it when you have updates.
ehyder Aug 29, 2016 @ 1:09pm 
Originally posted by Finaryman:
bump.
FInaryman, I recommend waiting a while, days even, before bumping if you are not getting activity.
Schouny Aug 30, 2016 @ 9:41am 
I had my universe.dat and (hex string).clientcontext corrupted and "fail" files appeared in the universe folder. They appear as:

"universe.dat.(number).fail" and (hex string).clientcontext.(number).fail

but I don't know what that (number) is. I had my files corrupted two times and this (number) changed.

Also I noticed that when these two files were corrupted my farm animals on planets stopped producing resources. They are still here but produce nothing. But I don't know whichone of these two files control that. The same thing occurs for growing crops but it is still possible to reset the process by breaking the plant and plant the crop again.
Helios Aug 30, 2016 @ 9:42am 
Hello guys, first of all: this is great. I didn't know where to find this info since the wiki/google has nothing I could find quickly.

It helped me significantly, yet it didn't quite solve my problem. My game crashed and only my ships interior was gone after I started it again. I now know why because it seems that only the .shipworld file got corrupted since it crashed while beaming up to the ship.

Yet restoring an earlier version of .shipworld and the .bak files (trivial, since I store all my savegames in dropbox) did not have any effect! The ship was still as big as before, the crew is as before (explained by data-structure) but still no interior or tiles or anything inside the ship. No matter how far I roll back and in what constellation (.shipworld + .bak, only .shipworld, only .bak, deleting .shipworld + rolling back .bak, rolling back everything) I don't get my ship back.
Since I am a collector and my collections were on my ship this is all I care about.

Could somebody help me? Thanks in advance!

(I made backups of the backups before rolling back, I know how to operate pretty much anything PC-related, I have every single state saved by dropbox. -> You may explain it as technical as you want.)
Finaryman Aug 30, 2016 @ 9:56am 
Originally posted by Schouny:
Also I noticed that when these two files were corrupted my farm animals on planets stopped producing resources. They are still here but produce nothing. But I don't know whichone of these two files control that. The same thing occurs for growing crops but it is still possible to reset the process by breaking the plant and plant the crop again.
i'll test that later.

EDIT:
@helios you tried rolling back, but no help. did you try roll back both ".player" and ".shipworld". dropbox keeps versions of file??? im not familiar with dropbox, but sounds cool. did you try some mod at some point?
EDIT2: if you upgraded your ship at somepoint, you might need character that has ship at level of backup, so that upgrade state matches.
Last edited by Finaryman; Aug 30, 2016 @ 10:43am
Helios Aug 30, 2016 @ 11:24am 
@Finaryman I rolled back shipworld with and without rolling back player, too (and with or without universe and several others for that matter)
Dropbox automatically keeps any amount of past versions as long as they're not older than 30 days. Due to their storage solution, which is to my knowledge change-based, they can do this at minimal cost.
I did try and currently use several mods of which none alter anything other than UI and recipes at preexisting crafting stations. I had all of these continually on for weeks now. No custom game content of any way, shape or form. Particularly nothing that affects ships.
I only played on one character so far, the character still has his inventory, amor, tech etc. So I assume he still has all the licenses, too, since all my crewmates spawn in (peculiar detail here, since they never needed to spawn at the teleporter before when I beamed up... mh) once my beam animation is complete (on my empty, fully upgraded ship)

:O

I just thought of something: maybe, by rolling back the player, too, my license doesn't match with my ship anymore, since I did acquire the last one minutes before the crash...... have to test that...
Helios Aug 30, 2016 @ 12:03pm 
I cannot get it to work... I rolled back my char to roughly 2 hours before the crash and let the shipworld file recent, here's what I got:
the ship is empty, with only the hazard blocks in it. My tenth crewmember, which I got well after that 2 hour mark is on my ship, although he spawned several seconds after the other crew. My ship is T8, which it certainly wasn't back then.
That means either my memory is baaad, the upgrade/crewmember is not stored where you say it is or the shipworld file has influence over the shipsize.....
Last edited by Helios; Aug 30, 2016 @ 12:04pm
Finaryman Aug 30, 2016 @ 1:10pm 
They could be stored in shipworld too. EDIT: worst case both. EDIT3:seems like it this. EDIT2: http://steamcommunity.com/app/211820/discussions/0/352792037328144176/?tscn=1472587440 this thread it worked when he used same tier upgrade level.
EDIT4:
Originally posted by Helios:
is or the shipworld file has influence over the shipsize.....
yes it has. EDIT5: think about it. if it contains tiledata, it must.
Last edited by Finaryman; Aug 30, 2016 @ 1:19pm
Helios Aug 30, 2016 @ 1:52pm 
I suppose you're right...
I will try loading the ship in a different character with the last few shipsizes one at a time until it works... Could that actually work? Because with this char everytime I load in any constellation, I spawn on an empty T8 ship with all my crew.....
Or should I rather roll back even further? What file would be the most important? Is there any other file I would have to rollback?

EDIT1: not tonight though. I'll go to bed cause I have a bad headache but I'll keep you up to date.
Last edited by Helios; Aug 30, 2016 @ 1:54pm
Finaryman Aug 31, 2016 @ 12:27pm 
if it's not working when you reverse both files to exact same data/time, then something is corrupting them right away.
EDIT:
Originally posted by Helios:
What file would be the most important?
".player" file.
< >
Showing 1-15 of 37 comments
Per page: 1530 50

Date Posted: Aug 29, 2016 @ 2:53am
Posts: 37