Save file: Difference between revisions
Jump to navigation
Jump to search
Totengeist (talk | contribs) (→Items Inventory Codes: Add gather-able and craft-able resources) |
(→Items Inventory Codes: Add more items and their id codes) |
||
Line 43: | Line 43: | ||
|- | |- | ||
| Airduct || Life Support || [[Airduct]] | | Airduct || Life Support || [[Airduct]] | ||
|- | |||
| Asteroid || Environment || [[Asteroid]] | |||
|- | |- | ||
| Battery || Storage || [[Battery]] | | Battery || Storage || [[Battery]] | ||
|- | |||
| Box || Cargo || [[:Category:Equipment|Equipment]] is packaged in a box for transport | |||
|- | |- | ||
| Bullets || Ammunition || [[Ammo|Bullets]] | | Bullets || Ammunition || [[Ammo|Bullets]] | ||
Line 51: | Line 55: | ||
|- | |- | ||
| CannonShell|| Ammunition || [[Ammo#Cannon Shells|Cannon Shells]] | | CannonShell|| Ammunition || [[Ammo#Cannon Shells|Cannon Shells]] | ||
|- | |||
| Civilian || Crew || [[Civilian]] | |||
|- | |||
| Comet || Environment || [[Ice Comet]] | |||
|- | |- | ||
| Compost || Resource || [[Compost]] | | Compost || Resource || [[Compost]] | ||
Line 69: | Line 77: | ||
|- | |- | ||
| Equipment || Unknown || [[List of undetermined items|Unknown]] | | Equipment || Unknown || [[List of undetermined items|Unknown]] | ||
|- | |||
| Fighter || Weapons || [[Fighter]] | |||
|- | |- | ||
| FTLCharge || FTL || [[FTL Charge]] | | FTLCharge || FTL || [[FTL Charge]] | ||
Line 88: | Line 98: | ||
| HullBreach || Special || Hull breach | | HullBreach || Special || Hull breach | ||
|- | |- | ||
| HyperspaceSensor || | | HyperspaceSensor || Logistics || [[Hyperspace Sensor]] | ||
|- | |- | ||
| HyperspaceSensorLR || | | HyperspaceSensorLR || Logistics || Long-range [[Hyperspace Sensor]] | ||
|- | |- | ||
| IceGrinder || | | IceGrinder || Logistics || [[Ice Grinder]] | ||
|- | |- | ||
| Loader || Loader || Generic [[Loader]] | | Loader || Loader || Generic [[Loader]] | ||
Line 98: | Line 108: | ||
| LogisticsDrone || Logistics || [[Logistics Drone]] | | LogisticsDrone || Logistics || [[Logistics Drone]] | ||
|- | |- | ||
| MetalIngot || Resource | | MetalIngot || Resource || [[Metal Ingot]] | ||
|- | |||
| Meteor || Environment || [[Meteor]] | |||
|- | |||
| MineralPatch || Environment || Mineral patches on [[Asteroid]]s | |||
|- | |||
| MiningLaser || Logistics || [[Mining Laser]] | |||
|- | |||
| MissionCargo || Cargo || [[Contract#Courier_mission|Courier contract]] [[cargo]] | |||
|- | |- | ||
| | | Ordnance || Environment || Ordnance travelling from a [[weapon]] to a target | ||
|- | |- | ||
| Oxygen || Resource || [[Water]] | | Oxygen || Resource || [[Water]] | ||
Line 117: | Line 135: | ||
|- | |- | ||
| PreciousMetals || Resource || [[Metal#Precious Metal|Precious Metal]] | | PreciousMetals || Resource || [[Metal#Precious Metal|Precious Metal]] | ||
|- | |||
| ProximityMine || Environment || A mine from a [[Contract#Clear_dangerous_minefield|minefield]] | |||
|- | |- | ||
| Railgun || Weapons || [[Weapon#Railgun|Railgun]] | | Railgun || Weapons || [[Weapon#Railgun|Railgun]] | ||
Line 133: | Line 153: | ||
|- | |- | ||
| SewagePipe || Logistics || [[Sewage Pipe]] | | SewagePipe || Logistics || [[Sewage Pipe]] | ||
|- | |||
| Shuttle || Other || [[Shuttle]] | |||
|- | |- | ||
| SmallTank || Storage || [[Tank#Medium Tank|Medium Tank]] | | SmallTank || Storage || [[Tank#Medium Tank|Medium Tank]] | ||
Line 147: | Line 169: | ||
|- | |- | ||
| Thruster || Propulsion || [[Thruster]] | | Thruster || Propulsion || [[Thruster]] | ||
|- | |||
| Tiddlet || Cargo || [[Tiddlet]] | |||
|- | |- | ||
| TiliumOre || Resource || [[Ore#Tilium Ore|Tilium Ore]] | | TiliumOre || Resource || [[Ore#Tilium Ore|Tilium Ore]] |
Revision as of 15:55, 8 March 2023
Save files for the game are stored in %LOCALAPPDATA%\Introversion\LastStarship\saves
on Windows and ~/Library/Application\ Support/LastStarship/saves
on Mac. They are stored in a plaintext format and end in a .space
extension.
Common modifications
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:
- Save and close the game.
- In the directory listed above, find the
.space
file corresponding to the saved game and open it in a text editor. - 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.
- 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. - Save the changes, run the game, and load the save.
Add items to a shuttle
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.
- Purchase something or initiate a mission delivery.
- As soon as the shuttle appears, save and close the game.
- In the directory listed above, find the
.space
file corresponding to the saved game and open it in a text editor. - Find the section for your ship. It should be the first section beginning with
BEGIN Layer
. Find the lineBEGIN Deliveries
inside that section. - 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
If your ship runs out of fuel, but you have a fuel tank installed:
- Save and close the game.
- In the directory listed above, find the
.space
file corresponding to the saved game and open it in a text editor. - Search for a line containing
Resource Fuel
. Spacing is important. - 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. - Update or add the corresponding
Quantity
line to add fuel to the tank. - Save the changes, run the game, and load the save.
Items Inventory Codes
- This table is incomplete.
Inventory Item Codes ID Code Category Item AirReprocessor Life Support Air Reprocessor Airduct Life Support Airduct 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 Civilian Crew Civilian Comet Environment Ice Comet Compost Resource Compost CrewMember Crew Crew Member Deuterium Resource Deuterium DockingPort Logistics Docking Port Door Other Door DroneBay Logistics Drone Bay EnergyCell Resource Energy Cell Engine Propulsion Engine Equipment Unknown Unknown Fighter Weapons Fighter FTLCharge FTL FTL Charge FTLDrive FTL FTL Drive Food Resource Food Fuel Resource Fuel FuelLoader Loader Fuel Loader FusionReactor Power Generation Fusion Reactor GatlingGun Weapons Gatling Gun Generator Power Generation Generator HullBreach Special Hull breach HyperspaceSensor Logistics Hyperspace Sensor HyperspaceSensorLR Logistics Long-range Hyperspace Sensor IceGrinder Logistics Ice Grinder Loader Loader Generic Loader LogisticsDrone Logistics Logistics Drone MetalIngot Resource Metal Ingot Meteor Environment Meteor MineralPatch Environment Mineral patches on Asteroids MiningLaser Logistics Mining Laser MissionCargo Cargo Courier contract cargo Ordnance Environment Ordnance travelling from a weapon to a target Oxygen Resource Water 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 RefinedTilium Resource Refined Tilium ScrapMetal Resource Scrap Metal Scrubber Life Support CO2 Scrubber 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 Other Stairs Tank Storage Huge Tank Thruster Propulsion Thruster Tiddlet Cargo Tiddlet TiliumOre Resource Tilium Ore TinyTank Storage Small Tank Water Resource Water WaterPurifier Logistics Water Purifier