AI Porn is here, Create and Fap TRY FREE
x

Tool Unity [BepInEx][plugin] Texture Replacer v1.2.0.0

kumarin

Engaged Member
Feb 19, 2022
2,690
4,735
387
Hello! Since this text was translated, I hope the meaning comes through correctly.
First of all, thank you for this amazing plugin! I used it because I wanted to change Manaka’s body texture in SFM. I was able to make Manaka even more “hentai,” and I’m very satisfied with the result.


Now I’d like to go further and modify the matcap and normal maps as well, but even after doing an imagedump, I couldn’t find them.
Is it possible to change textures or normal maps using this plugin?
I’m a beginner, so any guidance would be greatly appreciated.


With love from the land of hentai.
I'm making a lot of changes to the source code so that I don't feel any structural lag except when the replace function occurs (fire read & replace).
I think it might work for textures other than mainTexture as well... Could you give me an example texture name? I'll check if it can be dumped.
 

freshbag1

New Member
Jan 24, 2025
9
0
1
I'm making a lot of changes to the source code so that I don't feel any structural lag except when the replace function occurs (fire read & replace).
I think it might work for textures other than mainTexture as well... Could you give me an example texture name? I'll check if it can be dumped.
Thanks for replying! The textures I want to modify are the mat cap and the normal map, but I still haven’t been able to find the texture names related to the Manaka body in the imagedump. For example, with an outfit I found, something like "BodySuit_NonNP_Normal_(hash).png" can be modified. Is there any way to look up texture names directly from the game other than using imagedump? Sorry for asking so many questions.
write by translation
 

kumarin

Engaged Member
Feb 19, 2022
2,690
4,735
387
Thanks for replying! The textures I want to modify are the mat cap and the normal map, but I still haven’t been able to find the texture names related to the Manaka body in the imagedump. For example, with an outfit I found, something like "BodySuit_NonNP_Normal_(hash).png" can be modified. Is there any way to look up texture names directly from the game other than using imagedump? Sorry for asking so many questions.
write by translation
Try it with .
 

freshbag1

New Member
Jan 24, 2025
9
0
1
Try it with .
I managed to get CinematicUnityExplorer working in SFM with the MelonLoader version!
However, I still don’t really understand how to use it.
How can I look up things like the texture names of GameObjects?
 

kumarin

Engaged Member
Feb 19, 2022
2,690
4,735
387
to find manaka's body, click CUE(Cinematic Unity Explorer)'s Animator menu, refresh Animation. 'Manustia' is a manaka.
if want to change a shape of body, you must edit Mesh. texture replacer doesn't support change a Mesh.
 

freshbag1

New Member
Jan 24, 2025
9
0
1
I managed to find the “manustia” object in UCE, but I have no idea how to edit its mesh.
What’s the proper way to modify the mesh?
 

kumarin

Engaged Member
Feb 19, 2022
2,690
4,735
387
I managed to find the “manustia” object in UCE, but I have no idea how to edit its mesh.
What’s the proper way to modify the mesh?
The texture replacer does not have a Mesh replacement function.
Meshes can be extracted using AssetStudio, AssetRipper, or uabea, and after modification, the assets must be replaced with uabea.
I think I saw a plugin that also changes Meshes in the manaka thread, but I don't know because I haven't used it.
 

freshbag1

New Member
Jan 24, 2025
9
0
1
I tried using AssetRipper, but I still couldn’t find any assets related to Manaka’s body.
I’m not very familiar with how this works, but there’s a file called SecretFlasherManaka_Data/StreamingAssets/-265379604.
Is this file supposed to contain the assets for Manaka’s body?
 

kumarin

Engaged Member
Feb 19, 2022
2,690
4,735
387
Seeing that the Selestia_body mesh isn't in SecretFlasherManaka_Data\data.unity3d, I suspect it's in SecretFlasherManaka_Data\StreamingAssets\StandaloneWindows64\-265379604, as you mentioned. However, that file is encrypted.
Some users might be able to decrypt it (some extract mobile game resources).
But I've never tried it, and I don't have the time.
Some people mod Genshin using 3dmigoto, so why not try it? It seems you can dump it using frame analysis with (press F8 to frame analysis). On my PC, it came up with a hash value of 444fce49, and among the files with "444fce49" in their names, there were 60 files with "vb" in them, including *.txt and *.buf. I'm not sure if this is the correct way to search. If you look into Genshin modding, you might find a way.
 

freshbag1

New Member
Jan 24, 2025
9
0
1
Seeing that the Selestia_body mesh isn't in SecretFlasherManaka_Data\data.unity3d, I suspect it's in SecretFlasherManaka_Data\StreamingAssets\StandaloneWindows64\-265379604, as you mentioned. However, that file is encrypted.
Some users might be able to decrypt it (some extract mobile game resources).
But I've never tried it, and I don't have the time.
Some people mod Genshin using 3dmigoto, so why not try it? It seems you can dump it using frame analysis with (press F8 to frame analysis). On my PC, it came up with a hash value of 444fce49, and among the files with "444fce49" in their names, there were 60 files with "vb" in them, including *.txt and *.buf. I'm not sure if this is the correct way to search. If you look into Genshin modding, you might find a way.
Thank you, brother!
This has been a really difficult journey for someone like me who has no knowledge at all, but thanks to your advice I still haven’t given up.
I’ll try 3DMigoto for now.
 

kumarin

Engaged Member
Feb 19, 2022
2,690
4,735
387
plugin updated.

After nearly a month of tinkering with Gemini, I've revamped its overall structure. Previously, I used Resources.FindObjectsOfTypeAll<Texture2D>() to retrieve textures, which caused lag during this process. If you had a lot of textures, the lag was noticeable. This wasn't a one-time occurrence, but rather a recurring issue.
Now, GameObjects are retrieved one by one, so you won't notice any lag. Of course, when a replace operation is performed, the file must be read, which can cause lag.

There's still a shortcoming, particularly with animation. Most animations prepare images in memory and only change the sprites in the SpriteRenderer, which is inappropriate because only the image that's scanned is replaced. This issue didn't occur when Resources.FindObjectsOfTypeAll was used. I haven't found a good solution for this yet.

The issue of title sprites being cut off has been fixed, as sprites are handled in a more normal(?) way.
1767132147992.png

It should also work without issues on manaka with many modded images.