Update Creating Mods

Downforce Agent 2024-06-30 15:48:10 -04:00
parent 8fa657ecf7
commit a49e1e537f

@ -24,3 +24,38 @@ Use the -y flag to overwrite existing files from data.psarc when extracting patc
wine psp2psarc.exe extract -y dlc1.psarc
```
The above commands will extract to the current working directory. All of the WipEout assets are stored in a "data" folder inside of data.psarc and not the archive root, so this should all automatically end up in a data/ folder for you.
## Creating .FSTAR Files
For storing mods, Firestar uses the common ZIP format with the FSTAR file extension. The contents of the ZIP are dumped directly over top of the original assets at build time when the user selects "Deploy" and then psp2psarc is called to re-bundle the assets together.
### Using a ZIP Archiver
Place your modified files inside of a new ZIP folder, ensuring that their path precisely matches the path of the originals you are replacing, including placing them in an all-encompasing data/ folder and not the ZIP root. Like so:
![](https://files.worlio.com/users/bonkmaykr/http/git/embed/zip.png)
(And please, don't copy the ENTIRE data folder with the original assets. You will bloat your modpacks up tremendously, and you would also be committing piracy.)
Next, open the Comments editor.
On **Peazip**, this can be found in Tools > Comment or with the keyboard shortcut Alt+M. On **WinRAR**, this can be done by clicking the Comment button at the top toolbar.
Now write in your mod's metadata in JSON format. For example:
![](https://files.worlio.com/users/bonkmaykr/http/git/embed/2024-06-30_14-42.png)
Ah, but what is that "delete.txt" file? That's the delete list, and as the name suggests, Firestar will use this file to delete the files in the final PSARC that conflict with your mod if it is being installed.
```
audio/music/01/music_stereo.fft
audio/music/02/music_stereo.fft
audio/music/03/music_stereo.fft
audio/music/04/music_stereo.fft
audio/music/05/music_stereo.fft
audio/music/06/music_stereo.fft
audio/music/07/music_stereo.fft
audio/music/08/music_stereo.fft
audio/music/09/music_stereo.fft
audio/music/10/music_stereo.fft
audio/music/11/music_stereo.fft
audio/music/FEDemoMusic/frontend_stereo.fft
audio/music/FEMusic/frontend_stereo.fft
```
Place this file in the root of your ZIP if there are any files that need to be disposed of in order for your mod to work.
Now, save your zip with the **.fstar** extension, and import it into Firestar. Ta-da!