Tutorial Unity How To Uncensor (Almost) Any Unity Game

Nov 22, 2018
265
235
So, I'm currently looking into decensoring 2 games made by an artist by the name of Tukada. After a quick search, I was able to find multiple mosaic sprites, and a shader. However, disabling the shader didn't seem to do anything.

However, the games in question might be using live2d as all of the assets are in pieces, even to the point where I can find uncensored versions of genitalia for the male and female character. I ran out of time at the moment to take a deeper look for live2d related fields, but any other tips?
Don't know what game you are talking about.
 
Nov 22, 2018
265
235
Here's a link to each game. They're pretty short, but they're decent titles.





They're not that well known since the creator of the games also isn't that well known
I see... I have bought the first one before.
For decensoring it, you only need to do material or shader(I edit this one) editing. Sprite editing is rare case that you can just ignore it usually.
There is a weird thing, that using newest AssetStudio to view this game will cause soft lock...
 
  • Like
Reactions: Bulhutz

Bulhutz

Newbie
Jan 24, 2022
16
4
I see... I have bought the first one before.
For decensoring it, you only need to do material or shader(I edit this one) editing. Sprite editing is rare case that you can just ignore it usually.
There is a weird thing, that using newest AssetStudio to view this game will cause soft lock...
Thanks for the help, I'll try modifying the shader, or then the marerial if I can find it. I wasn't able to find the material for the octoling one, but I haven't checked the inkling one yet (the inkling one was made first, so I might see some different materials in it compared to the later game)
 

Prick

Engaged Member
Jul 17, 2017
2,006
1,755
Thanks for the help, I'll try modifying the shader, or then the marerial if I can find it. I wasn't able to find the material for the octoling one, but I haven't checked the inkling one yet (the inkling one was made first, so I might see some different materials in it compared to the later game)
It's useful to recognize what is actually a shader mosaic as well. Shaders can be identified by the fact that they appear to float above the image, and filter in a live setting. Pixelation added to artwork is static, and doesn't really float. If you open the game files up in UAS, check the textures to see if there is a censor applied directly to the raw artwork. If not, then it's definitely a shader. If the raw artwork is censored, it's baked and there's basically nothing you can do.

I have uncensored "Inkling" in the past, but it's been a while.
If I remember, the censor is via material / shader, the methods on this thread should work.

To get rid of the black boxes you'll need to edit the textures in GIMP or Photoshop, ideally any paint software that supports the alpha channel.

Make sure to scan over the materials for generic terms, like mosaic, moza, censor, pixelate, etc.
Very rarely is the material file obfuscated.

If you can't figure it out, feel free to find a filehost, and share a link via PM, and I can take a look at both.
 
  • Like
Reactions: Bulhutz

dima.245

Member
Oct 11, 2020
135
50
How can I remove censorship in the game? https://f95zone.to/threads/nursery-dimension-final-mikotoshido.68568/
due to the fact that the new version of the game 1.02 is newer than the chat on the site. the old ancensor, does not fit. .

AssetStudio showed me the code

Code:
//////////////////////////////////////////
//
// NOTE: This is *not* a valid shader file
//
///////////////////////////////////////////
Shader "FX/Censor (Masked Smooth)" {
Properties {
_MainTex ("Mask (Alpha)", 2D) = "white" { }
_Pixelation ("Pixelation", Range(0.001, 0.1)) = 0.01
}
SubShader {
LOD 100
Tags { "QUEUE" = "Overlay" "RenderType" = "Cutout" }
GrabPass {
}
Pass {
  LOD 100
  Tags { "QUEUE" = "Overlay" "RenderType" = "Cutout" }
  GpuProgramID 64482
Program "vp" {
SubProgram "d3d11 " {
"// shader disassembly not supported on DXBC"
}
}
Program "fp" {
SubProgram "d3d11 " {
"// shader disassembly not supported on DXBC"
}
}
}
}
}
 
  • Like
Reactions: spokkimax
Nov 22, 2018
265
235
How can I remove censorship in the game? https://f95zone.to/threads/nursery-dimension-final-mikotoshido.68568/
due to the fact that the new version of the game 1.02 is newer than the chat on the site. the old ancensor, does not fit. .

AssetStudio showed me the code

Code:
//////////////////////////////////////////
//
// NOTE: This is *not* a valid shader file
//
///////////////////////////////////////////
Shader "FX/Censor (Masked Smooth)" {
Properties {
_MainTex ("Mask (Alpha)", 2D) = "white" { }
_Pixelation ("Pixelation", Range(0.001, 0.1)) = 0.01
}
SubShader {
LOD 100
Tags { "QUEUE" = "Overlay" "RenderType" = "Cutout" }
GrabPass {
}
Pass {
  LOD 100
  Tags { "QUEUE" = "Overlay" "RenderType" = "Cutout" }
  GpuProgramID 64482
Program "vp" {
SubProgram "d3d11 " {
"// shader disassembly not supported on DXBC"
}
}
Program "fp" {
SubProgram "d3d11 " {
"// shader disassembly not supported on DXBC"
}
}
}
}
}
AssetStudio can't do editing, but you have viewed the correct item.
You need to use UABE to dump that file and edit.
The steps can be found at #1.
 

dima.245

Member
Oct 11, 2020
135
50
it is clear which programs to use. and what to do with the text of the code? what to write? or delete text or file? then repackage?


I used UABE. got the file . what do i need to look for? what line?
 
Last edited:

dima.245

Member
Oct 11, 2020
135
50
no longer need to answer. just deleted the section. from the archive. Checked and there is no censorship.
 

spokkimax

Member
Sep 19, 2022
399
137
Can anybody provide a list of the games which have been uncensored* according to the method illustrated in the OP please ?


*Edit on 10/01/2022
 
Last edited:

Prick

Engaged Member
Jul 17, 2017
2,006
1,755
Can anybody provide a list of the games which have been censored according to the method illustrated in the OP please ?
Not sure anyone has taken the trouble to catalogue all of the games.

But generally, the vast majority of 3D Unity games, and a minority of 2D Unity games are able to be uncensored using the methods from the guide.
 
  • Red Heart
Reactions: spokkimax

GranTurboAutismo

Active Member
Aug 4, 2019
631
1,023
So there is a game I have been trying to uncensor, but Avalonia and UABE both do not support the unity version the game's using. Seems the dev decided to use a really old unity version, 2018.4.11
So when you try to import/remove the mosaic files. The game cant start due to version mismatch. There's a few variables related to mosaic in the assembly but removing them didn't seem to do anything. DnSpy's search doesnt really help.
The game's Ecchi & Craft by Azcat.

Alright, after a few more hours of messing around I decided to try Marco's demosaics
You need to use Dumb Renderer Demosaic to get rid of the mosaic on the pussy
and CombinedMeshDemosaic to get rid of the mosaic on phalli
Edit: Actually this results in huge amount of memory leaks. Bepinex is straight up consuming 10GB of RAM over time, from 500MB at startup.
No matter which dll I use. Maybe it's a bepinex version issue?

Here's a link if anyone wants to take a crack at it.


Yooo finally. hunted down the Shader and used colMask method. Uploading the fixed version to ^

Edit: The game is Ecchi & Craft
 
Last edited:

Prick

Engaged Member
Jul 17, 2017
2,006
1,755
Could you please decensor this game with this method?
[Unity] - [Completed] - ~Azur Ring~ virgin and slave's phylacteries [Final] [PinkPeachStudio] | F95zone
I know that this game can be decensord, look at this image:

Please let me know if you find the way to do that.
Pretty sure there is a patch available for this game but it just adds adult content. The developer might also have a demosaic patch available, if there are uncensored game images floating around. From what I can tell, the textures are in fact censored even with the patch, this won't be a shader.

I have not downloaded the game to test for myself, but I can usually identify a shader vs texture, even through just a screenshot.

TLDR, developer is the only person who can uncensor the textures due to the original artwork being filtered in post.
If the developer has a demosaic patch available, good luck finding it.
 
  • Like
Reactions: spokkimax

123454321

Newbie
Jul 18, 2017
18
79
Is there any way to edit the unityweb file?

https //drive.google.com/file/d/1E1N9lu4vuGFwIeZQxOUrvLt3KFo-yBvI/view?usp=sharing
 

spokkimax

Member
Sep 19, 2022
399
137
Pretty sure there is a patch available for this game but it just adds adult content. The developer might also have a demosaic patch available, if there are uncensored game images floating around. From what I can tell, the textures are in fact censored even with the patch, this won't be a shader.

I have not downloaded the game to test for myself, but I can usually identify a shader vs texture, even through just a screenshot.

TLDR, developer is the only person who can uncensor the textures due to the original artwork being filtered in post.
If the developer has a demosaic patch available, good luck finding it.
Thank you for the answer, I will look for It and see what I can find.
 

kumarin

Well-Known Member
Feb 19, 2022
1,577
2,160
Could you please decensor this game with this method?
[Unity] - [Completed] - ~Azur Ring~ virgin and slave's phylacteries [Final] [PinkPeachStudio] | F95zone
I know that this game can be decensord, look at this image:

Please let me know if you find the way to do that.
It's a .

Edit: I had uncesored version(v2.01). I copied above files, It's not works. May be for another version ?
I What I had. Copy above patch and overwrite with What I uploaded.

Edit 2 : Not All CGs are uncensored. hm..
 
Last edited:
  • Thinking Face
Reactions: spokkimax