FTL Developer Console
Posted: Mon Jun 24, 2019 9:15 am
Hey all.
Did you know FTL has a developer console? Probably not, since it's hard-coded as being disabled in FTL's code.
This "mod" re-enables it.
Currently, it's only compatible with the windows 1.6.9 steam release of the game. I'm happy to port it to other releases if anyone wants that.
Here's what it looks like in-game:
Download
Note: THIS MODIFIES YOUR FTLGame.exe. If it breaks, you may have to re-install FTL.
Installation
Download and unpack the .zip
Run install.bat and follow instructions
Uninstallation
Run uninstall.bat and follow instructions
If that doesn't work, go to your FTL directory and rename FTLGame-backup.exe to FTLGame.exe
Usage
When in-game, press "L" to open the console.
Console commands: (I haven't figured out all of them)
event [event ID]
Triggers event
index
???
load
???
ach
Achievement unlock?
sector [sector type]
Immediately jumps to a new sector with the type specified (sector types are in sector_data.xml)
scrap [number]
Gives player scrap equal to the number given
weapon [weapon ID]
Gives player the weapon specified
ship
Unlocks ship?
"ship all" unlocks all ships
drones [number]
Gives player the number of drone parts specified
drone [drone ID]
Gives player the drone specified
fuel [number]
Gives player the amount of fuel specified
missiles [number]
Gives player the amount of missiles specified
hull [number]
Changes the player's hull ingegrity by the amount specified
rich
Adds +80 fuel, missles, and drone parts, as well as +1999 scrap
god
Upgrades all of players' systems to max
sys [system ID]
Add system to player ship (case-sensitive)
exit
Set current location to be an exit beacon
aug
??? probably something to do with augments
crew [type]
Add crewmember of specified type (case-sensitive) to player ship
delete
Kill non-player ship
lang
Sets language?
loadtext
???
Credit where credit is due: I'm not the first one to find the developer console. I think TheSwiftTiger managed to enable it on an older version of FTL a year or two ago. Not sure if that ever got publicly released.
I'll release source code for this mod soon. It'll come as an update to the FTLAPI github repo I started years back.
Did you know FTL has a developer console? Probably not, since it's hard-coded as being disabled in FTL's code.
This "mod" re-enables it.
Currently, it's only compatible with the windows 1.6.9 steam release of the game. I'm happy to port it to other releases if anyone wants that.
Here's what it looks like in-game:
Download
Note: THIS MODIFIES YOUR FTLGame.exe. If it breaks, you may have to re-install FTL.
Installation
Download and unpack the .zip
Run install.bat and follow instructions
Uninstallation
Run uninstall.bat and follow instructions
If that doesn't work, go to your FTL directory and rename FTLGame-backup.exe to FTLGame.exe
Usage
When in-game, press "L" to open the console.
Console commands: (I haven't figured out all of them)
event [event ID]
Triggers event
index
???
load
???
ach
Achievement unlock?
sector [sector type]
Immediately jumps to a new sector with the type specified (sector types are in sector_data.xml)
scrap [number]
Gives player scrap equal to the number given
weapon [weapon ID]
Gives player the weapon specified
ship
Unlocks ship?
"ship all" unlocks all ships
drones [number]
Gives player the number of drone parts specified
drone [drone ID]
Gives player the drone specified
fuel [number]
Gives player the amount of fuel specified
missiles [number]
Gives player the amount of missiles specified
hull [number]
Changes the player's hull ingegrity by the amount specified
rich
Adds +80 fuel, missles, and drone parts, as well as +1999 scrap
god
Upgrades all of players' systems to max
sys [system ID]
Add system to player ship (case-sensitive)
exit
Set current location to be an exit beacon
aug
??? probably something to do with augments
crew [type]
Add crewmember of specified type (case-sensitive) to player ship
delete
Kill non-player ship
lang
Sets language?
loadtext
???
Credit where credit is due: I'm not the first one to find the developer console. I think TheSwiftTiger managed to enable it on an older version of FTL a year or two ago. Not sure if that ever got publicly released.
I'll release source code for this mod soon. It'll come as an update to the FTLAPI github repo I started years back.