CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Tutorial Unity How To Uncensor (Almost) Any Unity Game

Prick

Engaged Member
Jul 17, 2017
2,147
1,956
After I remove file id 704 it become like this :cry:
You removed the file?

That's for monoscripts, and I've only seen it work on one game, ever. Should be a last resort honestly.

I'm fairly positive the pink color is because of a missing material, that's a Unity feature. Judging by your post I would assume you've literally deleted the material asset. Please read the guide.

If you did follow the guide correctly, the pink texture might just be what the developers left underneath the mosaic filtering. You'll have to edit the texture manually to get rid of the pink color.
 
  • Haha
Reactions: Officer Cat

Officer Cat

Member
Nov 12, 2021
114
236
I just miss-read and mix the 2 topic together :LOL: between Shader Mosaic Removal and Monoscript Mosaic Removal

After restore the backup files data.unity3d and use Shader Mosaic Removal method and changes

0 float val = 15 to 0 float val = 0

the mosaic is gone now. btw thank you (y)
 
  • Like
Reactions: Prick

cooperdk

Engaged Member
Jul 23, 2017
3,508
5,172
You removed the file?

I'm fairly positive the pink color is because of a missing material, that's a Unity feature. Judging by your post I would assume you've literally deleted the material asset. Please read the guide.
A missing material/texture is purple, not pink.
 

hype95

Newbie
Mar 19, 2022
50
73
Trying to uncensor from a compressed data file. I've identified two MonoScript classes:
1) "Mosaic"
2) "Mosaic Renderer"
This is what I see inside:
1686577400212.png

I don't see the appropriate variables to edit based on the guides. I've also tried removing both classes, saving, and loading up the game. Game boots fine, but everything is still censored. Any suggestions? My only guess is having the edit the Assembly DLL reference.
 

Prick

Engaged Member
Jul 17, 2017
2,147
1,956
Trying to uncensor from a compressed data file. I've identified two MonoScript classes:
1) "Mosaic"
2) "Mosaic Renderer"
This is what I see inside:

I don't see the appropriate variables to edit based on the guides. I've also tried removing both classes, saving, and loading up the game. Game boots fine, but everything is still censored. Any suggestions? My only guess is having the edit the Assembly DLL reference.
For one, I'll give you a 99% chance it's not a monoscript. I should really just delete that part from the guide.

You should always double check the textures, especially today with DLsite's new policies.
I might wager that all games released after 2023 will have baked mosaics within the textures.

Also, I'm not sure if you are trying to edit the text within UABE (screenshot related), but you need to export and edit with a text editor. Monoscript will not have the information needed to be edited AFAIK. You need a material file that states that it is the censor, then use the material reference to locate the shader path ID. This is the most efficient method.

Sometimes you can use UAS to read the shader names directly, which can allow you to skip the material step.
 

hype95

Newbie
Mar 19, 2022
50
73
Hey, yeah, I exported and edited as a txt file. Also had fun playing around in the Assembly-CSharp file and modifying the classes related to mosaics. Just couldn't get anything to stick. Turns out it's not as simple as setting the mosaic value to 0, removing hard-coded float values, or removing references to the functions that are applying the shader. I made 0 progress but it was fun.
 

Prick

Engaged Member
Jul 17, 2017
2,147
1,956
playing around in the Assembly-CSharp
Turns out it's not as simple as setting the mosaic value to 0
I made 0 progress but it was fun.
Indeed, I think developers are getting better at dissuading people from modifying their games.
Assembly level editing should probably be left to people who are comfortable with C#.
That's a different ball game altogether.

This guide does work 90% of the time with most 3D games released pre-2023, less commonly for 2D games.
The other 10% requires additional work, but it's still entirely possible with the right skill set.
It's the 2D games that are widely hit or miss.

Unfortunately we're on the brink of ALL games having permanent censors baked into the textures until Japan changes their laws. We do have advances in stable diffusion which can potentially take care of these issues, but it won't be the original artist's vision. Not to mention, bunch of Unity games will just break after changing a single pixel on an imported texture.

This is why my texture modding tutorial is forever WIP. It works for one game, then it doesn't.
I've got a local text file crammed full of information about mip maps, DXT format, block compression, alpha channels, etc.
But even after all of my research, it's all useless when the game looks like it went through a deep dream filter.


Anyway, the quick and dirty way to test for decensoring, is to follow the Shader Removal Method.
If you cannot find the material, or the shader, it's either obfuscated by name, or it's all in the textures.
I've formed the habit to immediately check the textures with UAS before even trying to remove shaders nowadays.
 

Prick

Engaged Member
Jul 17, 2017
2,147
1,956
give me some advice, i would be grateful
Indeed, this is not the thread for RPGM games. While there are tools for modding, most RPG games I've checked out are either raw video files or png's layered into animations.

My advice, give up while you're ahead.

Until we have good demosaic checkpoints and plugins for stable diffusion that work in batches (temporal consistency), it's simply not worth your time and effort. One day in the near future I suspect all forms of censored pornography & games will be incredibly easy to decensor. We just aren't there yet.
 

Cumotaro

Newbie
Apr 9, 2023
25
9
It seems "some guy" managed to get this one done as well. Still just using BepInEx(need to get BepInEx yourself though), no need for other stuff.
Any chance you can update this please? The game has been updated to 1.10 and the uncesor makes the censored bits pink.
 
  • Like
Reactions: bwebrwkerw

kumarin

Well-Known Member
Feb 19, 2022
1,978
2,858
Last edited: