Save file: Difference between revisions

From The Last Starwiki
Jump to navigation Jump to search
m (Added Linux save location)
m (Clarified enabling MSS for Free Roam/Survival)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Save files for the game are stored in <code>%LOCALAPPDATA%\Introversion\LastStarship\saves</code> on Windows, <code>~/Library/Application\ Support/LastStarship/saves</code> on Mac, and <code>~/.local/share/Steam/steamapps/compatdata/1857080/pfx/drive_c/users/steamuser/AppData/Local/Introversion/LastStarship/saves</code> on Linux. They are stored in a plaintext format and end in a <code>.space</code> extension.
Save files for the game are stored in <code>[https://www.pcgamingwiki.com/wiki/Glossary:Game_data#User_application_data %LOCALAPPDATA%]\Introversion\LastStarship\saves</code> on Windows, <code>~/Library/Application\ Support/LastStarship/saves</code> on Mac, and <code>~/.local/share/Steam/steamapps/compatdata/1857080/pfx/drive_c/users/steamuser/AppData/Local/Introversion/LastStarship/saves</code> on Linux (using Proton). They are stored in a plaintext format and end in a <code>.space</code> extension.
== Common modifications ==
== Common modifications ==
=== Enable mutli-system simulation ===
Multi-system simulation, introduced unofficially in [[Version History#Alpha 7|Alpha 7]], allows you to have ships in different systems at the same time. It was officially added to Industry mode in [[Version History#Alpha 8|Alpha 8]], but can be enabled in Free Roam and Survival modes by adding the line <code>MultiSystemSimulation true</code> to the top of the save file (before the HUD section).
=== Add items to the Trade screen ===
=== Add items to the Trade screen ===
If you are stuck in a system with no Trade screen or the Trade screen is missing an item you need:
If you are stuck in a system with no Trade screen or the Trade screen is missing an item you need:
Line 7: Line 9:
# Search for a line containing <code>TradePossible</code>. Set that to true.
# Search for a line containing <code>TradePossible</code>. Set that to true.
#: ''Note:'' There may be multiple Trade sections in the system archive save file. Make sure to use the base section that is not indented.
#: ''Note:'' There may be multiple Trade sections in the system archive save file. Make sure to use the base section that is not indented.
# In the <code>TheirStock</code> section below, update or add the desired line using the item code from the table below. Spacing is important, so make sure to match it. The number can be adjusted to the preferred amount.
# In the <code>TheirStock</code> section below, update or add the desired line using the item code from [[#Items Inventory Codes|the table below]]. Spacing is important, so make sure to match it. The number can be adjusted to the preferred amount.
# Save the changes, run the game, and load the save.
# Save the changes, run the game, and load the save.
=== Add items to a shuttle ===
=== Add items to a shuttle ===
Line 36: Line 38:
| Airduct || Life Support || [[Airduct]]
| Airduct || Life Support || [[Airduct]]
|-
|-
| Asteroid || Environment || [[Asteroid]]
| Assembler|| Logistics|| [[Assembly Table]]
|-
|-
| Battery || Storage || [[Battery]]
|Asteroid||Environment||[[Asteroid]]
|-
|-
| Box || Cargo || [[:Category:Equipment|Equipment]] is packaged in a box for transport
|Battery||Storage||[[Battery]]
|-
|-
| Bullets || Ammunition || [[Ammo|Bullets]]
|Box||Cargo||[[:Category:Equipment|Equipment]] is packaged in a box for transport
|-
|-
| Cannon || Weapons || [[Weapon#Cannon|Cannon]]
|Bullets||Ammunition||[[Ammo|Bullets]]
|-
|-
| CannonShell|| Ammunition || [[Ammo#Cannon Shells|Cannon Shells]]
|Cannon||Weapons||[[Weapon#Cannon|Cannon]]
|-
|-
| Civilian || Crew || [[Civilian]]
|CannonShell||Ammunition||[[Ammo#Cannon Shells|Cannon Shells]]
|-
|-
| Comet || Environment || [[Ice Comet]]
| ChemicalLab||Logistics|| [[Chemical Lab]]
|-
|-
| Compost || Resource || [[Compost]]
|Civilian||Crew|| [[Civilian]]
|-
|-
| CrewMember || Crew || [[Crew Member]]
|CarbonDioxide||Resource ||[[CO2]]
|-
|-
| Deuterium || Resource || [[Deuterium]]
|Comet||Environment||[[Ice Comet]]
|-
|-
| DockingPort || Logistics || [[Docking Port]]
|Compost||Resource||[[Compost]]
|-
|-
| Door || Other || [[Door]]
|CrewMember || Crew||[[Crew Member]]
|-
|-
| DroneBay || Logistics || [[Drone Bay]]
|CoilComponent||Component||[[Energy Coil]]
|-
|-
| EnergyCell || Resource || [[Energy Cell]]
|CopperIngot||Industry||[[Copper Ingot]]
|-
|-
| Engine || Propulsion || [[Engine]]
|CopperMinerals||Industry||[[Copper Minerals]]
|-
|-
| Equipment || Unknown || [[List of undetermined items|Unknown]]
|Deuterium||Resource||[[Deuterium]]
|-
|-
| Fighter || Weapons || [[Fighter]]
| DockingPort||Logistics || [[Docking Port]]
|-
|-
| FTLCharge || FTL || [[FTL Charge]]
|Door||Other||[[Door]]
|-
|-
| FTLDrive || FTL || [[FTL Drive]]
|DroneBay||Logistics||[[Drone Bay]]
|-
|-
| Food || Resource || [[Food]]
|EnergyCell||Resource||[[Energy Cell]]
|-
|-
| Fuel || Resource || [[Fuel]]
|EnergyTransmitter||Science
|[[Stargate_Components#Energy_Transmitter | Energy Transmitter]]
|-
|-
| FuelLoader || Loader || [[Loader#Variants|Fuel Loader]]
|Engine||Propulsion||[[Engine]]
|-
|-
| FusionReactor || Power Generation || [[Fusion Reactor]]
|Equipment||Unknown||[[List of undetermined items|Unknown]]
|-
|-
| GatlingGun || Weapons || [[Weapon#Gatling Gun|Gatling Gun]]
|Explosives||Resource||[[Explosives]]
|-
|-
| Generator || Power Generation || [[Generator]]
|Fabricator||Logistics||[[Fabricator]]
|-
|-
| HullBreach || Special || Hull breach
|Fighter||Weapons||[[Fighter]]
|-
|-
|HyperspaceCollector
|FTLCharge||FTL||[[FTL Charge]]
|Logistics
|[[Hyperspace Scoop]]
|-
|-
| HyperspaceSensor || Logistics || [[Hyperspace Sensor]]
|FTLDrive||FTL||[[FTL Drive]]
|-
|-
| HyperspaceSensorLR || Logistics || Long-range [[Hyperspace Sensor]]
|Food||Resource||[[Food]]
|-
|-
| IceGrinder || Logistics || [[Ice Grinder]]
|FrameComponent||Component||[[Frame]]
|-
|-
| Loader || Loader || Generic [[Loader]]
|Fuel||Resource||[[Fuel]]
|-
|-
| LogisticsDrone || Logistics || [[Logistics Drone]]
|FuelLoader||Loader||[[Loader#Variants|Fuel Loader]]
|-
|-
| MetalIngot || Resource || [[Metal Ingot]]
|FusionReactor||Power Generation||[[Fusion Reactor]]
|-
|-
| Meteor || Environment || [[Meteor]]
|GasCollector|| Logistics|| [[Gas Collector]]
|-
|-
| MetallicMinerals || Resource || [[Metallic Minerals]]
|GatlingGun||Weapons||[[Weapon#Gatling Gun|Gatling Gun]]
|-
|-
| MineralPatch || Environment || Mineral patches on [[Asteroid]]s
|Generator||Power Generation||[[Generator]]
|-
|-
| MiningLaser || Logistics || [[Mining Laser]]
|HullBreach||Special||Hull breach
|-
|-
| MissionCargo || Cargo || [[Contract#Courier_mission|Courier contract]] cargo
|Hydroponics||Logistics||[[Hydroponic Garden]]
|-
|-
| Ordnance || Environment || Ordnance travelling from a [[weapon]] to a target
|HyperspaceCollector ||Logistics||[[Hyperspace Scoop]]
|-
|-
| Oxygen || Resource || [[Water]]
|HyperspaceIsotopes ||Resource||[[Hyperspace Isotopes]]
|-
|-
| OxygenLoader || Loader || [[Loader#Variants|Oxygen Loader]]
|HyperspaceSensor||Logistics||[[Hyperspace Sensor]]
|-
|-
| OxygenMaker || Life Support || [[Oxygen Maker]]
|HyperspaceSensorLR||Logistics||Long-range [[Hyperspace Sensor]]
|-
|-
| PowerCoil || Unknown || [[List of undetermined items|Power Coil]]
|IceGrinder||Logistics||[[Ice Grinder]]
|-
|-
| PowerCoilCharged || Unknown || [[List of undetermined items|Charged Power Coil]]
|LensComponent||Component||[[Lens]]
|-
|-
| PowerInjector || Unknown || [[List of undetermined items|Power Injector]]
|Loader||Loader||Generic [[Loader]]
|-
|-
| PreciousOre || Resource || [[Ore#Precious Ore|Precious Ore]]
|LogisticsDrone||Logistics||[[Logistics Drone]]
|-
|-
| PreciousMetals || Resource || [[Metal#Precious Metal|Precious Metal]]
|MetalIngot||Resource||[[Metal Ingot]]
|-
|-
| ProximityMine || Environment || A mine from a [[Contract#Clear_dangerous_minefield|minefield]]
|MetallicMinerals||Resource||[[Metallic Minerals]]
|-
|-
| Railgun || Weapons || [[Weapon#Railgun|Railgun]]
|Meteor||Environment||[[Meteor]]
|-
|-
| RailgunShell|| Ammunition || [[Ammo#Railgun Slugs|Railgun Slugs]]
|MetreonGas||Resource||[[Metreon Gas]]
|-
|-
| Reactor || Power Generation || [[Reactor]]
|MineralPatch|| Environment||Mineral patches on [[Asteroid]]s
|-
|-
| RefinedTilium || Resource || [[Metal#Refined Tilium|Refined Tilium]]
|MiningLaser||Logistics||[[Mining Laser]]
|-
|-
| ScrapMetal || Resource || [[Metal#Scrap Metal|Scrap Metal]]
|MissionCargo||Cargo||[[Contract#Courier_mission|Courier contract]] cargo
|-
|-
| Scrubber || Life Support || [[CO2 Scrubber]]
|MotorComponent||Component||[[Motor]]
|-
|-
| SewageMachine || Logistics || [[Waste Treatment Machine]]
|MunitionsFactory|| Logistics||[[Munitions Bench]]
|-
|-
| SewagePipe || Logistics || [[Sewage Pipe]]
|Ordnance||Environment||Ordnance travelling from a [[weapon]] to a target
|-
|-
| Shuttle || Other || [[Cargo Shuttle|Shuttle]]
|Oxygen||Resource||[[Oxygen]]
|-
|-
| SmallTank || Storage || [[Tank#Medium Tank|Medium Tank]]
|OxygenLoader||Loader||[[Loader#Variants|Oxygen Loader]]
|-
|-
| Smelter || Logistics || [[Smelter]]  
|OxygenMaker||Life Support||[[Oxygen Maker]]
|-
|-
| SpaceSuit || Life Support || [[Space Suit]]
|PowerCoil||Unknown ||[[List of undetermined items|Power Coil]]
|-
|-
| SpaceSuitPod || Life Support || [[Spacesuit Pod]]
|PowerCoilCharged||Unknown||[[List of undetermined items|Charged Power Coil]]
|-
|-
| Stairs || Habitation || [[Ladder]]
|PowerInjector||Unknown||[[List of undetermined items|Power Injector]]
|-
|-
| Tank || Storage || [[Tank#Huge Tank|Huge Tank]]
|PreciousOre||Resource||[[Ore#Precious Ore|Precious Ore]]
|-
|-
| Thruster || Propulsion || [[Thruster]]
|PreciousMetals||Resource||[[Metal#Precious Metal|Precious Metal]]
|-
|-
| Tiddlet || Cargo || [[Tiddlet]]
|ProximityMine||Environment||A mine from a [[Contract#Clear_dangerous_minefield|minefield]]
|-
|-
| TiliumOre || Resource || [[Ore#Tilium Ore|Tilium Ore]]
|Railgun||Weapons||[[Weapon#Railgun|Railgun]]
|-
|-
| TinyTank || Storage || [[Tank#Small Tank|Small Tank]]
|RailgunShell||Ammunition||[[Ammo#Railgun Slugs|Railgun Slugs]]
|-
|-
| Water || Resource || [[Water]]
|Reactor||Power Generation||[[Reactor]]
|-
|-
| WaterPurifier || Logistics || [[Water Purifier]]
|RefinedMetreon||Resource ||[[Refined Metreon]]
|-
|-
|WeaponsSpecialist
|RefinedTilium||Resource||[[Metal#Refined Tilium|Refined Tilium]]
|Crew
|Weapons Officer
|-
|-
|WeaponsConsole
|Refinery||Logistics||[[Refinery]]
|Weapons
|-
|Weapons Control Centre
|RobotArm||Industry||[[Robot Arm#Robot Arm|Robot Arm]]
|-
|RobotArmShort||Logistics||[[Robot Arm#Short Robot Arm|Short Robot Arm]]
|-
|RobotArmSmart||Logistics||[[Robot Arm#Smart Robot Arm|Smart Robot Arm]]
|-
|ScienceStation||Science||[[Science Station]]
|-
| Scientist || Crew || [[Scientist]]
|-
|ScrapMetal||Resource||[[Metal#Scrap Metal|Scrap Metal]]
|-
|Scrubber||Life Support||[[CO2 Scrubber]]
|-
|Seeds||Resource||[[Seeds]]
|-
|SewageMachine||Logistics||[[Waste Treatment Machine]]
|-
|SewagePipe||Logistics||[[Sewage Pipe]]
|-
|Shuttle|| Other||[[Cargo Shuttle|Shuttle]]
|-
|SmallTank||Storage||[[Tank#Medium Tank|Medium Tank]]
|-
|Smelter||Logistics||[[Smelter]]
|-
|SpaceSuit||Life Support||[[Space Suit]]
|-
|SpaceSuitPod||Life Support||[[Spacesuit Pod]]
|-
|Stairs||Habitation||[[Ladder]]
|-
| StargateActuator || Science || [[Stargate Components]]
|-
| StargateReceiver || Science || [[Stargate Components]]
|-
| StargateResin || Science || [[Stargate Components]]
|-
| StargateStructure || Science || [[Stargate Components]]
|-
| Supercomputer||Science||[[Supercomputer]]
|-
|Tank||Storage||[[Tank#Huge Tank|Huge Tank]]
|-
|Thruster||Propulsion|| [[Thruster]]
|-
|Tiddlet||Cargo||[[Tiddlet]]
|-
|TiliumOre||Resource||[[Ore#Tilium Ore|Tilium Ore]]
|-
|TinyTank||Storage||[[Tank#Small Tank|Small Tank]]
|-
|Track||Industry||[[Track]]
|-
|WasteWater||Resource||[[Waste Water]]
|-
|Water||Resource||[[Water]]
|-
|WaterPurifier||Logistics||[[Water Purifier]]
|-
|WeaponsSpecialist||Crew||Weapons Officer
|-
|WeaponsConsole||Weapons||Weapons Control Centre
|}
|}
[[Category:Game files]]
[[Category:Game files]]

Latest revision as of 20:57, 17 February 2024

Save files for the game are stored in %LOCALAPPDATA%\Introversion\LastStarship\saves on Windows, ~/Library/Application\ Support/LastStarship/saves on Mac, and ~/.local/share/Steam/steamapps/compatdata/1857080/pfx/drive_c/users/steamuser/AppData/Local/Introversion/LastStarship/saves on Linux (using Proton). They are stored in a plaintext format and end in a .space extension.

Common modifications[edit | edit source]

Enable mutli-system simulation[edit | edit source]

Multi-system simulation, introduced unofficially in Alpha 7, allows you to have ships in different systems at the same time. It was officially added to Industry mode in Alpha 8, but can be enabled in Free Roam and Survival modes by adding the line MultiSystemSimulation true to the top of the save file (before the HUD section).

Add items to the Trade screen[edit | edit source]

If you are stuck in a system with no Trade screen or the Trade screen is missing an item you need:

  1. Save and close the game.
  2. In the directory listed above, find the .space file corresponding to the saved game and open it in a text editor.
  3. Search for a line containing TradePossible. Set that to true.
    Note: There may be multiple Trade sections in the system archive save file. Make sure to use the base section that is not indented.
  4. In the TheirStock section below, update or add the desired line using the item code from the table below. Spacing is important, so make sure to match it. The number can be adjusted to the preferred amount.
  5. Save the changes, run the game, and load the save.

Add items to a shuttle[edit | edit source]

Some items, like hull breaches, are technically just like any other items, but they cannot be purchased from the Trade screen, even with the trick above. In this case, it's necessary to modify a shuttle's inventory as it delivers cargo.

  1. Purchase something or initiate a mission delivery.
  2. As soon as the shuttle appears, save and close the game.
  3. In the directory listed above, find the .space file corresponding to the saved game and open it in a text editor.
  4. Find the section for your ship. It should be the first section beginning with BEGIN Layer. Find the line BEGIN Deliveries inside that section.
  5. In the the Trade section below, update or add the desired line using the item code from the table below. Spacing is important, so make sure to match it. The number can be adjusted to the preferred amount.

Refill a fuel tank[edit | edit source]

If your ship runs out of fuel, but you have a fuel tank installed:

  1. Save and close the game.
  2. In the directory listed above, find the .space file corresponding to the saved game and open it in a text editor.
  3. Search for a line containing Resource Fuel. Spacing is important.
  4. Ensure that the line belongs to a tank and that the tank belongs to the correct ship. Player-owned ships are listed as FriendlyShip type.
  5. Update or add the corresponding Quantity line to add fuel to the tank.
  6. Save the changes, run the game, and load the save.

Items Inventory Codes[edit | edit source]

This table is incomplete.
Inventory Item Codes
ID Code Category Item
AirReprocessor Life Support Air Reprocessor
Airduct Life Support Airduct
Assembler Logistics Assembly Table
Asteroid Environment Asteroid
Battery Storage Battery
Box Cargo Equipment is packaged in a box for transport
Bullets Ammunition Bullets
Cannon Weapons Cannon
CannonShell Ammunition Cannon Shells
ChemicalLab Logistics Chemical Lab
Civilian Crew Civilian
CarbonDioxide Resource CO2
Comet Environment Ice Comet
Compost Resource Compost
CrewMember Crew Crew Member
CoilComponent Component Energy Coil
CopperIngot Industry Copper Ingot
CopperMinerals Industry Copper Minerals
Deuterium Resource Deuterium
DockingPort Logistics Docking Port
Door Other Door
DroneBay Logistics Drone Bay
EnergyCell Resource Energy Cell
EnergyTransmitter Science Energy Transmitter
Engine Propulsion Engine
Equipment Unknown Unknown
Explosives Resource Explosives
Fabricator Logistics Fabricator
Fighter Weapons Fighter
FTLCharge FTL FTL Charge
FTLDrive FTL FTL Drive
Food Resource Food
FrameComponent Component Frame
Fuel Resource Fuel
FuelLoader Loader Fuel Loader
FusionReactor Power Generation Fusion Reactor
GasCollector Logistics Gas Collector
GatlingGun Weapons Gatling Gun
Generator Power Generation Generator
HullBreach Special Hull breach
Hydroponics Logistics Hydroponic Garden
HyperspaceCollector Logistics Hyperspace Scoop
HyperspaceIsotopes Resource Hyperspace Isotopes
HyperspaceSensor Logistics Hyperspace Sensor
HyperspaceSensorLR Logistics Long-range Hyperspace Sensor
IceGrinder Logistics Ice Grinder
LensComponent Component Lens
Loader Loader Generic Loader
LogisticsDrone Logistics Logistics Drone
MetalIngot Resource Metal Ingot
MetallicMinerals Resource Metallic Minerals
Meteor Environment Meteor
MetreonGas Resource Metreon Gas
MineralPatch Environment Mineral patches on Asteroids
MiningLaser Logistics Mining Laser
MissionCargo Cargo Courier contract cargo
MotorComponent Component Motor
MunitionsFactory Logistics Munitions Bench
Ordnance Environment Ordnance travelling from a weapon to a target
Oxygen Resource Oxygen
OxygenLoader Loader Oxygen Loader
OxygenMaker Life Support Oxygen Maker
PowerCoil Unknown Power Coil
PowerCoilCharged Unknown Charged Power Coil
PowerInjector Unknown Power Injector
PreciousOre Resource Precious Ore
PreciousMetals Resource Precious Metal
ProximityMine Environment A mine from a minefield
Railgun Weapons Railgun
RailgunShell Ammunition Railgun Slugs
Reactor Power Generation Reactor
RefinedMetreon Resource Refined Metreon
RefinedTilium Resource Refined Tilium
Refinery Logistics Refinery
RobotArm Industry Robot Arm
RobotArmShort Logistics Short Robot Arm
RobotArmSmart Logistics Smart Robot Arm
ScienceStation Science Science Station
Scientist Crew Scientist
ScrapMetal Resource Scrap Metal
Scrubber Life Support CO2 Scrubber
Seeds Resource Seeds
SewageMachine Logistics Waste Treatment Machine
SewagePipe Logistics Sewage Pipe
Shuttle Other Shuttle
SmallTank Storage Medium Tank
Smelter Logistics Smelter
SpaceSuit Life Support Space Suit
SpaceSuitPod Life Support Spacesuit Pod
Stairs Habitation Ladder
StargateActuator Science Stargate Components
StargateReceiver Science Stargate Components
StargateResin Science Stargate Components
StargateStructure Science Stargate Components
Supercomputer Science Supercomputer
Tank Storage Huge Tank
Thruster Propulsion Thruster
Tiddlet Cargo Tiddlet
TiliumOre Resource Tilium Ore
TinyTank Storage Small Tank
Track Industry Track
WasteWater Resource Waste Water
Water Resource Water
WaterPurifier Logistics Water Purifier
WeaponsSpecialist Crew Weapons Officer
WeaponsConsole Weapons Weapons Control Centre