Mod Unity SiNiSistar 2 AssetBundle Content Overrider [v1.0.0] [Henry1887]

misakik1

Member
Jan 14, 2020
168
243
I managed to decrypt one file from the StreamingAssets with the information from your post , and what I got is an AssetBundle file. I tried to open it with UABEA, and there's a message saying it's compressed.

There are 2925 items in the StreamingAssets folder. How am I supposed to find the files of interest, and even if I did find them all, I have to pack them all individually as AssetBundle files and somehow compress them, then encrypt them, then rename them back to those gibberish filenames and replace the original file...

Oh. My. God.

Maybe I should just ask if the developer is interested in exposing the text files for modding. I'm not going to go through all those files manually.
 

Henry1887

Active Member
Aug 2, 2020
694
911
I managed to decrypt one file from the StreamingAssets with the information from your post , and what I got is an AssetBundle file. I tried to open it with UABEA, and there's a message saying it's compressed.

There are 2925 items in the StreamingAssets folder. How am I supposed to find the files of interest, and even if I did find them all, I have to pack them all individually as AssetBundle files and somehow compress them, then encrypt them, then rename them back to those gibberish filenames and replace the original file...

Oh. My. God.

Maybe I should just ask if the developer is interested in exposing the text files for modding. I'm not going to go through all those files manually.
You can utilize the AssetBundleNameTable.json to find out in which Assetbundles your Assets are in.
If you want to replace an asset from StreamingAssets you can use my plugin to replace them. The easiest way to go at this would be to decrypt every single assetbundle from StreamingAssets and then open them all up with AssetRipper and use the Export function to extract every asset out of every assetbundles from the StreamingAssets.
Then u can use the guide in the op of this thread to pack all assets you want to replace back into an assetbundle. You can then just place this assetbundle into the Override folder of my plugin and my plugin will handle the rest as long as the path to the replacement asset is the same as the asset it is replacing.
 

misakik1

Member
Jan 14, 2020
168
243
You can utilize the AssetBundleNameTable.json to find out in which Assetbundles your Assets are in.
If you want to replace an asset from StreamingAssets you can use my plugin to replace them. The easiest way to go at this would be to decrypt every single assetbundle from StreamingAssets and then open them all up with AssetRipper and use the Export function to extract every asset out of every assetbundles from the StreamingAssets.
Then u can use the guide in the op of this thread to pack all assets you want to replace back into an assetbundle. You can then just place this assetbundle into the Override folder of my plugin and my plugin will handle the rest as long as the path to the replacement asset is the same as the asset it is replacing.
The problem is, two of the files (which includes most of the text lines...) aren't listed inside AssetBundleNameTable.json.

Also, I have literally 0 experience with Unity. I have no idea how to "Assign all Assets you added the same AssetBundle Label" - does this mean I have to repeat some action for all the 182+2 text files? Sure, it's much less work compared to compressing those files back, but still...
 

Henry1887

Active Member
Aug 2, 2020
694
911
The problem is, two of the files (which includes most of the text lines...) aren't listed inside AssetBundleNameTable.json.

Also, I have literally 0 experience with Unity. I have no idea how to "Assign all Assets you added the same AssetBundle Label" - does this mean I have to repeat some action for all the 182+2 text files? Sure, it's much less work compared to compressing those files back, but still...
yeah then those two files aren't inside any of the StreamingAsset Assetbundles.
Also yeah I described that step in the guide pretty vaguely, here I explained exactly what I meant https://f95zone.to/threads/sinisist...errider-v1-0-0-henry1887.257067/post-17184776
 

misakik1

Member
Jan 14, 2020
168
243
When I try to open the game folder (excluding StreamingAssets) and export all, I can't find the two files:
TextAsset/LocalizeTable.bytes
TextAsset/LocalizeTableChoice.bytes

I managed to decrypt all the files under StreamingAssets but was unable to unpack them using AssetRipper due to not having enough RAM... I tried to remove the bigger files from it and I can't find those files by this way either.

Can you help me locate where those two files are? They were present within the Assets.rar you've provided in the OP.


Well... right after making the post I tried to open the largest file under StreamingAssets (7d9ce67d99ed5b44c858fbac0cd53) and sure enough, there was the TextAssets folder.

The only entry for this file in AssetBundleNameTable.json is:
JSON:
            {
                "m_VirtualPath": "Scenes/Resident.unity",
                "m_AssetBundleName": "7d9ce67d99ed5b44c858fbac0cd53",
                "m_Guid": "4ef3d917e9298d440b7c5ddfc34314bb"
            },
So, is it possible to replace those TextAssets files?
 
Last edited:

misakik1

Member
Jan 14, 2020
168
243
After much frustration, I managed to set up Unity and successfully built an .assetbundle file.

I was able to override those Event_XXX.json with your plugin (had to change the extension from .bytes to .json), but TextAsset/LocalizeTable.bytes doesn't work no matter what extension I set it to.

EDIT: I tried to replace the encrypted files directly without your plugin. Well... it works. I can edit any of those files now, but I don't think I'm motivated enough to go through the whole process of decrypt - editing using uabe - compress with uabe - encrypt for all 182 + 2 files...

EDIT2: I wonder if it's possible to edit the AssetBundleNameTable.json file and combine all the Event_xxx.bytes into a single assetsbundle file.
EDIT3: Just tried that and failed. Maybe it's because the AssetBundleNameTable.json is encrypted and UABEA didn't work correctly.
 
Last edited:

qwereti

New Member
Oct 25, 2018
10
4
Does anyone have any idea where the dialog portraits for Haanja are stored? I can't find it for the life of me