well I don't think I'll be posting for a while so in the meantime here is a basic guide on how to edit the models in the game, keep in mind that I am not an expert and surely several things in this guide are wrong or there are better methods but for now this is what has worked for me, if you know things to improve this guide let me know and I will incorporate/edit this guide.
So you want to modify scenes in the game?
these are the tools/programs you will need:
You must be registered to see the links
import and export game files
You must be registered to see the links
create/edit animations (cracked version! if you have the original, the better)
You must be registered to see the links
make the file (.json) made by spine 3.8 compatible with the game (
You must be registered to see the links
)
You must be registered to see the links
advance stuff
You must be registered to see the links
to make your life easier
Find the Filename:
First find the filename of what you want to modify, this I do it with
UnityExplorer
once installed go to the gallery (or whatever level the thing you are looking for is at) go to Object Explorer and search, enemies or scenes usually have "ERO" or "(Clone)" in the name.
open it and there should be another name in the lower corner.
this will help us to have an approximate of what the file is called and words it contains, since for some reason the game files have a similar but not the exact name.
if you have problems running UnityExplorer or BepInEx remember that you have to use the x86 / 5.X version of both to make them work with the game,
still having problems? here is my copy
You must be registered to see the links
, just put the contents of the .7z file inside the game folder and it should work.
Extract data:
Now the most boring part, find where the file is located and extract it, for that we will use
AssetsBundleExtractor.
the game has all the assets in files called
sharedassets.assets that are in the "\NightofRevenge_Data" folder of the game, now open one of those files with the program and look for the file
among the 106 .assets files one by one...
once you find it (in my case sharedassets21.assets) you need these 3 files, click on them and go to plugins and export as .png / .txt
when you save the file delete that part, it is important because it generates problems later on.
move the files to a separate folder and you should have something like this (note that I changed the extension of s_MDogERO.txt to .json)
Loading files into Spine:
first we have to unpack the texture so that spine can read it, for this we open Spine and go to the "Texture Unpacker..." option, select the folder where you saved the 3 files and select the file atlas.txt and the output in the same folder, make sure to check "unpremultiply alpha".
now our folder should look something like this
now go to Spine and Import Data, select the .json file and done!
make sure you go to the "Skins" tab and select one of the 2 options otherwise only half of the texture will be displayed.
Modifying the game files:
Once you are happy with the changes, go to the export option, make sure that "Pretty Print", "Nonessential Data" and "Texture Atlas" are checked, that should generate these 3 files
use
Skeleton Viewer 3.8.99 on the .json file we generated to make it compatible with the game, without this the edits do not work.
here is a video explaining how to use it:
You must be registered to see the links
after this make sure to add the .txt extension to the .atlas and .json files, it is important for the next step.
now we go back to
AssetsBundleExtractor and open the corresponding .assets and replace the 3 files (go to the file, "plugins" and "import from .txt" it is important that they end in .txt so that the program recognizes them).
when importing the .png / texture2D go to "plugins", "Edit" and in "Texture Format" select "RGBA32", then "load" and select the .png and for the final part go to File and Save, put the .assets we generated inside the game folder and we're done!
BepInEx:
if this happens don't worry, it's the BepInEx plug-in screwing up the texture.
to fix it go to the game folder "BepInEx\plugins\ModImages\Uncensored by omp123 and Quaking_Nuts" and delete the corresponding .png
and now it is displayed correctly!
Advanced stuff:
for those who are familiar with coding there is another way to modify the game, with
dnSpy you can modify the Assembly-CSharp.dll file and do many other things like controlling the animation speed, sounds, loop, order, etc.
I won't go into detail here because I don't know about the subject.
and that's all! I hope you find it helpful!
shoutout to Krongorka! this guide was made possible by all the information he shared!