Skip to content

SQF script (+ .py/.bat scripts +) to export classes to python dicts then to CSV files.

License

Notifications You must be signed in to change notification settings

lukegotjellyfish/Arma-Class-Exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arma-Class-Exporter

Introduction

The main export script: RHSClassExport.sqf (Automatically export all RHS classes of specified source (see links just below))

I highly recommend running RHSClassExport.sqf on Windows for the functionality of AcceptWrites.ahk to auto-confirm the thousands of file write confirmation dialogs from make_file. However, you may be able to do the same with Wine (I haven't tested this yet).

Edit lines 26-35 accordingly to change RHSClassExport to export another mod(s) or basegame:
https://community.bistudio.com/wiki/configClasses
https://community.bistudio.com/wiki/configSourceMod
https://community.bistudio.com/wiki/configSourceModList

The Exports folder contains the script RHSExportScript.py used to get/export details of (currently) any Weapon, Magazine, Scope or Infantry Armour for a given mod(s) exported with /Script/RHSClassExport.sqf
The functionality for Vehicle parameter export is currently abandoned.


RHSClassExport Setup

make_file 32bit: http://killzonekid.com/arma-extension-make_file-dll-v1-0/
make_file 64bit: http://killzonekid.com/arma-64-bit-extensions/

1. Download make_file_x64 (or 32bit version) and put it in your Arma 3 directory (Where the .exe is). 2. Copy RHSClassExport.sqf and edit as described in the Introduction to modify for other mods. 3. Run regex replace //.|/*[\s\S\n]*/ with a blank replacement box to remove all comments because sqf cannot run the script with them in. 4. Set the folder to export to in _basePath on line 4 (Create this folder yourself). 5. Create the folders Magazines,Vehicles,Weapons,Glasses in this folder. 6. Run your version of RHSClassExport.sqf in the debug console. 7. Run ./Script/AcceptWrites.ahk to auto-accept the make_file confirmation dialogs. 8. Customize ./Exports/RHSExportScript.py to export a CSV for the provided loadouts as shown.

Other Notable Scripts

./Script/OtherScripts/*.sqf

About

SQF script (+ .py/.bat scripts +) to export classes to python dicts then to CSV files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages