How to use R2RePak
From the R2RePak thread in #research chat in the Northstar Discord by Spoon. This is the archive of the pseudo guide. Discord Message Link at the bottom of the page.
This is no longer the original guide. This is now an edited version of pseudo guide.
Setting things up
1 ) Get R2RePak.
You can build it from https://github.com/ASpoonPlaysGames/RePak/tree/R2-not-bad.
or Download the from the Releases page on the Github; https://github.com/ASpoonPlaysGames/RePak/releases.
But this guide will use the names and files/folder found in the .zip below.
2 ) RePak Folders
In the .zip you have RePak.exe and folders called "assets", "config", and "rpaks".
the "assets" folder is where you will put your folder/file structure and textures etc.
the "config" folder is where you will put the .json files which determine how the rpak is made
the "rpaks" folder is where RePak will put the rpaks once they have been made
3 ) pack_all.bat (included)
In the folder with RePak.exe, make a .bat file, i called mine "pack_all.bat".
Inside the .bat put
Making your rpaks
1 ) Make config.json
Make the .json file, recommend config.json
but it doesn't matter.
2 ) Copy and paste
Go into the .json file, and copy the following into it for now
if your output folder and your asset folder have different names, be sure to change the "assetsDir" and "outputDir" respectively
This is set up now to make a ronin nose art, you can change the paths in the .json to make it override other things. Included .zip removed everything but the _col map.
You can get the paths for things through Legion+.
3 ) Use your textures
For each entry in the json file, you need to make sure that the file exists in the assets folder so it can be packed.
Textures must be in .dds format, and with one of the following compression methods: DXT1 BC4U BC5U DX10
4 ) Packing your rpak
To pack your rpaks, run pack_all.bat
5) Resources
Here is the working test.
Making the Northstar mod
1 ) Northstar mod set up
Take your rpak, and make your Northstar mod like normal, inside the Northstar mod, make a "paks" folder.
2 ) Make rpak.json
Within the "paks" folder, make a json file called rpak.json
.
3 ) Copy and paste in rpak.json
put the following into the rpak.json:
if your rpak is called something other than common.rpak
make sure the json file reflects that
4 ) Drag & Drop
Drag and drop your rpak into the "paks" folder.
Discord Message Link:
https://discord.com/channels/920776187884732556/987730053439827998/988111160786190386.
Things that might be useful:
Glitch Loadscreen Change: https://discord.com/channels/920776187884732556/987730053439827998/988136914819354654
ReDecompress (decompress rpak files): https://github.com/IcePixelx/ReDecompress
Last updated