- Joined
- Aug 1, 2023
- Messages
- 43
csv-from-w3x is a command line program that converts object editor data (units, items, destructables, doodads, buffs/effects, abilities and upgrades) to 'csv' files. The object editor data can be from 'war3map.w3u' (units data), 'war3map.w3t' (items data), etc. files or directly from a map file (map.w3x).
When the 'csv-from-w3x' program is ran without providing any arguments it prints the following:
The command to convert a map's 'war3map.w3u' (units data) to 'units.csv' would be:
Where 'map.w3x' is the name of the map. The 'u' flag stands for "convert only units data".
Both units and abilities data can be converted by specifying 'ua' as the flags:
All available object editor data from a map can be converted using both of these commands:
See also: w3o-from-csv
When the 'csv-from-w3x' program is ran without providing any arguments it prints the following:
Code:
usage:
csv-from-w3x version -- print csv-from-w3x's version
csv-from-w3x -uf <war3map.w3u> -- output 'units.csv' file
csv-from-w3x -tf <war3map.w3t> -- output 'items.csv' file
csv-from-w3x -bf <war3map.w3b> -- output 'destructables.csv' file
csv-from-w3x -hf <war3map.w3h> -- output 'buffs-and-effects.csv' file
csv-from-w3x -df <war3map.w3d> -- output 'doodads.csv' and 'doodads-variations.csv' files
csv-from-w3x -qf <war3map.w3q> -- output 'upgrades.csv' and 'upgrades-levels.csv' files
csv-from-w3x -af <war3map.w3a> -- output 'abilities.csv' and 'abilities-levels.csv' files
csv-from-w3x -uf <war3map.w3u> -tf <war3map.w3t> -- output 'units.csv' and 'items.csv' files
csv-from-w3x w3x u <map.w3x> -- output 'units.csv' file from map 'map.w3x's 'war3map.w3u'
csv-from-w3x w3x uq <map.w3x> -- output 'units.csv', 'upgrades.csv' and 'upgrades-levels.csv' files from map 'map.w3x'
csv-from-w3x w3x all <map.w3x> -- output all tables from map 'map.w3x'
The command to convert a map's 'war3map.w3u' (units data) to 'units.csv' would be:
Code:
csv-from-w3x w3x u map.w3x
Both units and abilities data can be converted by specifying 'ua' as the flags:
Code:
csv-from-w3x w3x ua map.w3x
All available object editor data from a map can be converted using both of these commands:
Code:
csv-from-w3x w3x all map.w3x
csv-from-w3x w3x utbhdqa map.w3x
See also: w3o-from-csv
Attachments
Last edited: