kiraio-moe / USSR

Easily remove Unity splash screen & watermark.
GNU General Public License v3.0
232 stars 23 forks source link

[REQUEST] Support File Name as Hashes in WebGL build #7

Closed Spectralon closed 2 months ago

Spectralon commented 1 year ago

I used Unity 2022.3.10f1 to build a project with the following settings:

image

The WebGl.data.gz file was named as 7e9c55bf336c56ec56ecff7b98edcd74d3a7.data.unityweb. I opened this file with the Bandizip archiver and saw the following:

image

As suggested in #4, I renamed it to WebGl.data.gz and ran USSR, everything worked. Opening the generated file, I saw the following:

image

I then renamed this file back to 7e9c55bf336c56ecff7b98edcd74d3a7.data.unityweb, but the game failed to load. I opened the renamed file again and was surprised:

image

Maybe this causes the issue, maybe not. In any case, removing the splash screen from builds with the "Name Files As Hashes" option enabled doesn't work.

kiraio-moe commented 1 year ago

Ah yes, I forgot those things 💀 For now, just disable it.

kiraio-moe commented 2 months ago

Sorry, MD5 is a one-way cryptographic hash function, so you can't reverse/crack the original value. Disable Name Files As Hashes is a MUST.