HI all,
I've recently picked up X4 again, and I just wanted to share a python script I put together to help locate abandoned ships (and other things).
The script reads your save file and outputs the sectors which contain owner-less ships, this includes the ones available at game start as well as any others abandoned by pilots in the heat of battle.
I wanted to avoid spoilers for those who don't want full directions, so by default it only outputs the sector. More information is available if you increase the `--info level` parameter.
The default output for owner-less ships includes this information
Code: Select all
$ ./x4-save-miner.py ~/.config/EgoSoft/X4/11524914/save/quicksave.xml.gz -o
...
Ship: LSJ-036, Class: ship_m, Macro: ship_arg_m_miner_solid_01_a_macro
SpawnTime: 0
Sector: SPOILER IV (VYG-652)
...
Level 1 prints only the sector, level 2 includes the co-ordinates, and level 3 will tell you what the ship had for breakfast.
Code: Select all
$ ./x4-save-miner.py ~/.config/EgoSoft/X4/11524914/save/quicksave.xml.gz -o -i3
...
Ship: LSJ-036, Class: ship_m, Macro: ship_arg_m_miner_solid_01_a_macro
SpawnTime: 0
Sector: SPOILER IV (VYG-652)
Location: {'x': -nnnnn, 'y': -nnnn, 'z': nnnnnn, 'pitch': -20, 'roll': 10, 'yaw': 149}
Engines:
engine_spl_m_combat_01_mk2_macro
Shields:
shield_spl_m_standard_01_mk1_macro
Weapons:
weapon_gen_m_mining_01_mk1_macro
Turrets:
turret_spl_m_mining_01_mk1_macro
turret_spl_m_gatling_01_mk1_macro
Software:
software_dockmk2
software_scannerobjectmk2
software_targetmk1
software_trademk1
Consumables:
eq_arg_resourceprobe_01_macro: 11
ship_gen_xs_lasertower_01_a_macro: 5
env_deco_nav_beacon_t1_macro: 11
countermeasure_flares_01_macro: 1
...
The script can also locate data vaults, erlking vaults, and lock boxes.
I posted it here
https://github.com/TuxInvader/X4-Info-Miner
More information is in the README.