XML:Basic tutorial: Difference between revisions
Paradox-01 (talk | contribs) m (updated Windows section) |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 9: | Line 9: | ||
===Windows=== | ===Windows=== | ||
: ''' | : '''Open AEInstaller, then Vago''' | ||
:: Open AEI, goto "Tools" > "Vago GUI (Win)". (Install Vago via Tools manager if necessary.) | :: Open AEI, goto "Tools" > "Vago GUI (Win)". (Install Vago via Tools manager if necessary.) | ||
:: When Vago is used for first time it ask you the AE path | :: When Vago is used for first time it ask you the AE path | ||
Line 20: | Line 20: | ||
: '''Convert oni to xml''' | : '''Convert oni to xml''' | ||
:: In level0_Final folder there are a lot of files. You want to convert TRAM*.oni to xml format. | :: In level0_Final folder there are a lot of files. You want to convert TRAM*.oni to xml format. | ||
:: Goto Vago "XML" tab and drag and drop for instance "ONCCk4_L | :: Goto Vago "XML" tab and drag and drop for instance "ONCCk4_L.oni" into the "Sources" field. Click convert. | ||
: '''Edit xml''' | : '''Edit xml''' | ||
Line 34: | Line 34: | ||
:: Create a new folder "level0_Final" and put your ONCC*.oni file there. | :: Create a new folder "level0_Final" and put your ONCC*.oni file there. | ||
[[Image: | [[Image:HasSupershield_1.png|thumb|200px|right|For more information on Supershield see [[XML:ONCC#ONCV.2C_death_particle.2C_TRBS.2C_TRMA.2C_TRAC.2C_TRAS.2C_health.2C_daodan.2C_etc.|XML:ONCC page]] ]] | ||
: '''Get the file back into the game''' | : '''Get the file back into the game''' | ||
:: Vago supports AE package creation: in Vago, goto "Tools", "AEI Mod Package Wizard" | :: Vago supports AE package creation: in Vago, goto "Tools", "AEI Mod Package Wizard" | ||
Line 44: | Line 44: | ||
:: Restart AEI and install your mod. (Type your mod's name into the Filter to find it faster.) | :: Restart AEI and install your mod. (Type your mod's name into the Filter to find it faster.) | ||
:: Start TCTF HQ redux (pre-last level). | :: Start TCTF HQ redux (pre-last level). | ||
:: The supershield becomes automatically switched on at 51% overpower (301 | :: The supershield becomes automatically switched on at 51% overpower (301 health points). "chenille" cheat works too. | ||
Line 141: | Line 141: | ||
!colspan=4|testing the modification | !colspan=4|testing the modification | ||
|- | |- | ||
|valign="top"|Let's test our modification. Therefore we start TCTF HQ redux (pre-last level). The supershield becomes automatically switched on at '''51% overpower''' (301 | |valign="top"|Let's test our modification. Therefore we start TCTF HQ redux (pre-last level). The supershield becomes automatically switched on at '''51% overpower''' (301 health points). '''"chenille" cheat works too.''' | ||
|[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/XML_tutorial_img6.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/XML_tutorial_img6_TN.png] | |[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/XML_tutorial_img6.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/XML_tutorial_img6_TN.png] | ||
|valign="top"|Let's test our modification. Therefore we start TCTF HQ redux (pre-last level).<br>The supershield becomes automatically switched on at '''51% overpower''' (301 | |valign="top"|Let's test our modification. Therefore we start TCTF HQ redux (pre-last level).<br>The supershield becomes automatically switched on at '''51% overpower''' (301 health points). '''"chenille" cheat works too.''' | ||
|[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/XML_tutorial_img6.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/XML_tutorial_img6_TN.png] | |[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/XML_tutorial_img6.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XML_modding/XML_tutorial_img6_TN.png] | ||
|} | |} | ||
[[Category:Modding tutorials]] | [[Category:Modding tutorials]] |
Revision as of 13:44, 3 May 2015
This page contains information that is out of date. |
This a step-by-step guide taking an ONCC modification as example.
It will give you an impression of the tools and workflow. Let's roll!
Windows
- Open AEInstaller, then Vago
- Open AEI, goto "Tools" > "Vago GUI (Win)". (Install Vago via Tools manager if necessary.)
- When Vago is used for first time it ask you the AE path
- Get Konoko's character file (ONCC) by spliting level0_Final.dat
- In Vago goto "Levels" tab.
- Drag and drop level0_Final.dat from AE\AEInstaller\vanilla into the "Sources" field. Click "Convert".
- At the top, click onto the blue folder icon. Follow that path "Levels\DAT - ONI FILES\level0_Final".
- Convert oni to xml
- In level0_Final folder there are a lot of files. You want to convert TRAM*.oni to xml format.
- Goto Vago "XML" tab and drag and drop for instance "ONCCk4_L.oni" into the "Sources" field. Click convert.
- Edit xml
- Click blue folder again and follow "XML\ONI - XML", there should be a "ONCCk4_L.xml" now.
- Open that file with a plain text editor. (Windows: Start > notepad.exe)
- Search for <HasSupershield> and set its value from 0 to 1.
- Save file.
- Convert the xml back to oni format
- Vago, "XML" tab. Choose From "XML" To "Oni"
- DnD your xml file into the "Sources" field. Convert.
- Click blue folder again and follow "XML\ONI - XML".
- Create a new folder "level0_Final" and put your ONCC*.oni file there.
- Get the file back into the game
- Vago supports AE package creation: in Vago, goto "Tools", "AEI Mod Package Wizard"
- Fill all fields. Let Type be "Character". When choosing a number, replace the X and click "Check".
- DnD your level0_Final folder into the "Common" field. Hit "Next". Leave the optional fields blank.
- Test your mod
- Copy your package into "Oni\AE\AEInstaller\packages"
- Restart AEI and install your mod. (Type your mod's name into the Filter to find it faster.)
- Start TCTF HQ redux (pre-last level).
- The supershield becomes automatically switched on at 51% overpower (301 health points). "chenille" cheat works too.
Mac
[...]
remove pc, update mac section if needed
Mac: | PC: | ||
---|---|---|---|
converting an ONI file into an XML file | |||
Open Edition's AETools_Data folder and create a new folder named "ONIfiles".
|
Open Edition's GameDataFolder and create two new folders named "XML" and "ONI".
|
||
modifing the XML file | |||
Open the extracted file with a simple text editor. Search for "HasSupershield" tag and set its value to "1". Save file. | Open the extracted file with a simple text editor. Search for "HasSupershield" tag and set its value to "1". Save file. | ||
creating the ONI file | |||
Choose "Convert" tab. Now click onto "Select File(s) for Conversion" button and mark "ONCCk4_L.xml". Click "Choose" button. Then click "Select Destination Folder". Search for your ONIfiles folder, mark it, and click "Choose button."
|
Goto "XML -> ONI" section. Click first browse button and search for "ONCCk4_L.xml" inside the XML folder. Click second browse button and choose the ONI folder as target. Now click on Convert button.
|
||
creating and installing a mod package | |||
Choose "Package" tab.
The GUI is actually pretty much self-explaining.
|
|
Click on GUI's "AE Package" tab.
Browse Edition's GameDataFolder and choose the ONI folder as source folder. Browse Edition's install folder and choose the package folder as target.
|
|
testing the modification | |||
Let's test our modification. Therefore we start TCTF HQ redux (pre-last level). The supershield becomes automatically switched on at 51% overpower (301 health points). "chenille" cheat works too. | Let's test our modification. Therefore we start TCTF HQ redux (pre-last level). The supershield becomes automatically switched on at 51% overpower (301 health points). "chenille" cheat works too. |