convert xml ship to csv ship

Need help testing contributed art or code or having trouble getting your newest additions into game compatible format? Confused by changes to data formats? Reading through source and wondering what the developers were thinking when they wrote something? Need "how-to" style guidance for messing with VS internals? This is probably the right forum.
Post Reply
captnemo
Merchant
Merchant
Posts: 51
Joined: Mon Aug 25, 2003 9:34 pm

convert xml ship to csv ship

Post by captnemo »

How can I transfer upgrades from my old lama.default (xml format) to the new csv format used in the new cvs? Or some thing eqivalent?
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

copy the ship to the appropriate directory where the textures are


python ~/vegastrike/objconv/ucsv.py <unitname>
that should add it to units.csv, replacing an old ship by the same name

if you just want it for your save file, then you can copy the new row outta there and paste it into an appropriately named unit file

~/.vegastrike/serialized_xml/myssave/<unitname>.csv
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply