xoreos
xoreos is an open source project to implement Bioware’s Aurora engine on unsupported operating systems. Their xoreos-tools collection contains a number of utilities that are helpful for modding, especially as downloads of older tools have a tendency to disappear.
Command line usage:
To convert GFF files to xml with gff2xml
tlk2xml.exe --dragonage "path\to\file.gff" "path\for\xml.xml"
Many, many files in Dragon Age are in GFF format, including conversations, plots, creatures, areas—basically, anything you can open in pyGFF. Please note that as of version 0.0.6, the reverse process, xml2gff, does NOT work on GFF V4.0, which is most GFF files in Dragon Age, including conversations, plots—basically, anything you can edit in pyGFF.
To convert talktables to xml with tlk2xml
tlk2xml.exe --dragonage "path\to\talktable.tlk" "path\for\xml.xml"
To disassemble compiled scripts with ncsdis
ncsdis.exe --dragonage "path\to\script.ncs" "path\for\assembly.asm"
ncsdis.exe --dragonage2 "path\to\script.ncs" "path\for\assembly.asm"
Helpful batch processes:
These assume you have created folders in your xoreos-tools folder named “gff”, “tlk”, “ncs_dao”, “ncs_da2”. Then create batch files in the xoreos-tools folder by copying the following code into a text editor and saving with the .bat extension. To use, copy game files into the appropriate folder and then double click the batch file to automatically process all unprocessed files in the folder.
gff_2_xml.bat:
@echo off
for %%a in (gff\*) do (
if not exist %%a.xml (
gff2xml.exe --dragonage %%a %%a.xml
)
)
echo Process complete
pause
tlk_2_txt.bat:
@echo off
for %%a in (tlk\*.tlk) do (
if not exist %%a.xml (
tlk2xml.exe --dragonage %%a %%a.xml
)
)
echo Process complete
pause
dao_decompile.bat:
@echo off
for %%a in (ncs_dao\*.ncs) do (
if not exist %%a.asm (
ncsdis.exe --dragonage %%a %%a.asm
)
)
echo Process complete
pause
da2_decompile.bat
@echo off
for %%a in (ncs_da2\*.ncs) do (
if not exist %%a.asm (
ncsdis.exe --dragonage2 %%a %%a.asm
)
)
echo Process complete
pause