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

Henry1887

Active Member
Aug 2, 2020
574
732
Overview:
This is a BepInEx plugin mod for SiNiSistar2 that allows users to dynamically override streamed AssetBundle content (such as music, sound effects, and textures) without modifying the game files directly similar to how the game already lets users override character sprites and portrais.​

Updated: 2025/03/30
Game/Creator: SiNiSistar 2/Nennai 5
Modder: Henry1887
Mod Version: 1.0.0
Game Version: 1.0.7
Language: English

Installation:
You don't have permission to view the spoiler content. Log in or register now.

For Mod Developers:
You don't have permission to view the spoiler content. Log in or register now.

For Normal Users:
You don't have permission to view the spoiler content. Log in or register now.

Example AssetBundle Mod: (This replaces the title music with the song "Karma Police" from Radiohead)

Download: ( )
 
Last edited:

mk40

Member
Jul 23, 2018
306
504
Henry1887, I'm having an issue with the script to build asset, I'm getting an error "No AssetBundle been set for this build". I figured it has something to do with step 3, which I skipped because I don't understand what I'm supposed to do. What do you mean by "assign all Assets you added the same AssetBundle Label"?
 

Henry1887

Active Member
Aug 2, 2020
574
732
Henry1887, I'm having an issue with the script to build asset, I'm getting an error "No AssetBundle been set for this build". I figured it has something to do with step 3, which I skipped because I don't understand what I'm supposed to do. What do you mean by "assign all Assets you added the same AssetBundle Label"?
Oh Yes im sorry i explained it a bit bad.
1749072459726.png
You have to select every asset you want to include individually and assign it a assetbundle name on the bottom right of the inspector
 
  • Like
Reactions: mk40

mk40

Member
Jul 23, 2018
306
504
Any chance you could update your plugin to allow overriding texture filtering ("Filter Mode" in Unity's inspector)? I'm thinking of making an "HD Interface" mod for the HUD and the buttons promt so it looks better when playing in higher screen resolution. Currently it seems the UI elements are all set to "Point (no filter)", so I'd like to be able to set the filtering to "Bilinear".
 

Henry1887

Active Member
Aug 2, 2020
574
732
Any chance you could update your plugin to allow overriding texture filtering ("Filter Mode" in Unity's inspector)? I'm thinking of making an "HD Interface" mod for the HUD and the buttons promt so it looks better when playing in higher screen resolution. Currently it seems the UI elements are all set to "Point (no filter)", so I'd like to be able to set the filtering to "Bilinear".
It should allow that out the box i think. My Plugin basically completely intercepts the AssetBundle Load call and if any of the override assetbundles contains that asset it will just load it from that assetbundle natively. It should respect any settings on that overriden asset.
 

Henry1887

Active Member
Aug 2, 2020
574
732
mk40 also heres a little variation of my plugin that logs to the console when it hasnt found an override so you can see what the exact path is the game expects and also see what it loads:
 

mk40

Member
Jul 23, 2018
306
504
Hmm, yeah I don't think it loads my textures actually. I'll check that in detail tomorrow, but if you want to take a look here's the file (only change the button icons for now).

Also, is this normal? Is it supposed to also create another AssetBundles archive? 1749078073426.png
 

Henry1887

Active Member
Aug 2, 2020
574
732
Hmm, yeah I don't think it loads my textures actually. I'll check that in detail tomorrow, but if you want to take a look here's the file (only change the button icons for now).

Also, is this normal? Is it supposed to also create another AssetBundles archive? View attachment 4909904
Hmm yeah i just remembered that the assets i provided also included some that are originally not from an assetbundle but rather from "sharedassets0.assets" in your case for the ui textures.
Ill try to see if i can dynamically override those assets but i dont think theres an easy way.
 

Henry1887

Active Member
Aug 2, 2020
574
732
Yea unfortunately i cant easily override those assets at runtime with my plugin. So youll have to limit yourself to those the game loads from its StreamingAssets Folder. Most if not all of the ui assets are not loaded from the StreamingAssets folder.
 

mk40

Member
Jul 23, 2018
306
504
Yea unfortunately i cant easily override those assets at runtime with my plugin. So youll have to limit yourself to those the game loads from its StreamingAssets Folder. Most if not all of the ui assets are not loaded from the StreamingAssets folder.
Well... to the trash goes my plan for this. That's really unfortunate. :(

So, from what you said, I presume you don't have any plan to make it works with the other assets files outside of the StreamingAssets folder then? I guess I could just replace the files directly from sharedassets0 since it's not encrypted, but... your plugin is a way more elegant way to do it without having to replace the orignal files.
 

Henry1887

Active Member
Aug 2, 2020
574
732
Well... to the trash goes my plan for this. That's really unfortunate. :(

So, from what you said, I presume you don't have any plan to make it works with the other assets files outside of the StreamingAssets folder then? I guess I could just replace the files directly from sharedassets0 since it's not encrypted, but... your plugin is a way more elegant way to do it without having to replace the orignal files.
There may be options for doing it, though they won't be as elegant as overriding Streamed Assets. Gimme a bit and I'll probably figure something out
 
  • Like
Reactions: mk40

Henry1887

Active Member
Aug 2, 2020
574
732
mk40 I think i managed to do it as elegant as i can doing this dynamically.
1749140594611.png

I tried your Hd interface assetbundle with it and it made the textures a bit weird. Is it supposed to be like this or did i mess something up with my replacement logic?
 

Henry1887

Active Member
Aug 2, 2020
574
732
It breaks the Keyboard Textures but the Controller Textures look fine even though were only replacing the controller textures
 

mk40

Member
Jul 23, 2018
306
504
The keyboard ones probably need to have their wrap mode changed. It's currently on "Repeat", changing it to "Clamp" may fix it.
1749142089406.png

Since the HD textures are 4 times the size of the original ones, some issue are to be expected though.
 
Last edited: