Modding Guides (ENG) - KCreator/Earth-Defence-Force-Documentation GitHub Wiki

This page is mainly made to get rid of unnecessary clutter in the getting started page

Wikipeople notes

NOTE:Mapping documentation needed.
NOTE:Texturing documentation needed. Video planned.
NOTE:More detailing about weapon modification needed. Video planned.

Links

Installing Mod Loader
Weapon Modification
EATing sound files

Weapon modification

Setup

For modifying weapons you will need Zeddidragon's SGOTT.

Download the newest release and unpack it anywhere. Preferably outside EDF's folder.

CPK Unpacking

If you are only planning on creating new weapons for EDF all you will need is the .json files included with SGOTT source.

If you want to get all of EDF's files you will need a .CPK extractor like YACpkTool.
Unpack it outside of EDF's directory and drag a copy of Root.CPK into YACpkTool.exe.

Find your file

Find the weapon you want to modify inside ./sgott-master/data/5/weapons (Refer to the weapon's list)

If you extracted the Root.CPK, instead, find the .SGO corresponding to the weapon you want to modify inside ./root.cpk_unpacked/weapon/

Then drag it into SGOTT.exe to unpack it into a readable format.

It's recommended to use a text editor like Notepad++ for better reading clarity while editing.

Compiling and use

After modifying your .json files drag and drop them into SGOTT.exe ONE AT A TIME to turn them back into .SGO files.

Place the .SGO files into your ./EDF5/Mods/Weapon folder, and you're done.
The weapon's you modified should now reflect their changes while in-game.
To make the changes visible in the equippement menu aswell, edit the WEAPONTABLE.EN.SGO file.

If your game crashes please don't be afraid to ask for help on the EDF Discord.

Sound modification

Step 1

Download Eternity Audio Tool
Extract it, and create an empty folder somewhere on your PC with the sound files you wish to replace EDF's sounds with.

Step 2

Navigate to ./Earth Defense Force 5/SOUND/PC/
then open your desired ACB file inside E.A.T. with the "external AWB" option.
some experimentation will be needed, do ask for help on the EDF discord.

Step 3

List trough the sounds till you find the one you wish to replace.
(Refer to BlueAmulet's list if editing TIKYUUX_SE)
Select it, and click "Replace".

Find the folder in which your soundfiles are stored,
and rename them to the TRACKID of the sound you're replacing.
Then select the folder and open.

Step 4

Save the file, and you are done!
Enjoy your new abomination/meme mod/quality soundtrack/rock music/sound replacement!