Voodoo Detective (Bundle files)

How to translate the files of a game
ghylard
Posts: 77
Joined: Wed Oct 08, 2014 1:03 pm

Voodoo Detective (Bundle files)

Post by ghylard »

I'm trying to translate the game Voodoo Detective.
The files containing the texts to be translated are in Bundle files located in Voodoo Detective_Data\StreamingAssets\aa\StandaloneWindows64.
I have decompiled each of the bundle files with Unity Ultimate (this also works with UABEA)
I then tried to extract the text from the files from these decompilations but I can't extract any text.
I'll take an example:
non-game-preloader_scenes_all_8a2ad4a2e592ebf902efebf772d59c34.bundle
non-game-preloader_scenes_all.7z

This bundle file after decompilation with Unity Ultimate has 3 files:
- CAB-67f56349384e1ee9ae70ca5bf1ff4fc8 (467 K0)
- CAB-67f56349384e1ee9ae70ca5bf1ff4fc8.sharedAssets 28 Ko)
- CAB-67f56349384e1ee9ae70ca5bf1ff4fc8.sharedAssets.resS
non-game-preloader_scenes_all_Extract.7z

This bundle corresponds to this image in the game:

Image

The text is in the file "CAB-67f56349384e1ee9ae70ca5bf1ff4fc8" but UnityText does not extract any text.

Image

The game uses il2cpp.
I decompiled it with il2cpp dumper and added the Managed directory containing the dlls in the Voodoo Detective_Data directory, but it doesn't change anything for the extraction.
I also put this Managed directory containing the dlls in Voodoo Detective_Data\StreamingAssets\aa\StandaloneWindows64. but again no change in the extractionVoodoo Detective (Bundle files)
Managed.7z

Can anyone help me solve this problem?
jonastraducoes
Posts: 88
Joined: Sun Aug 18, 2019 1:33 am

Re: Voodoo Detective (Bundle files)

Post by jonastraducoes »

ghylard wrote:I'm trying to translate the game Voodoo Detective.
The files containing the texts to be translated are in Bundle files located in Voodoo Detective_Data\StreamingAssets\aa\StandaloneWindows64.
I have decompiled each of the bundle files with Unity Ultimate (this also works with UABEA)
I then tried to extract the text from the files from these decompilations but I can't extract any text.
I'll take an example:
non-game-preloader_scenes_all_8a2ad4a2e592ebf902efebf772d59c34.bundle
non-game-preloader_scenes_all.7z
This bundle file after decompilation with Unity Ultimate has 3 files:
- CAB-67f56349384e1ee9ae70ca5bf1ff4fc8 (467 K0)
- CAB-67f56349384e1ee9ae70ca5bf1ff4fc8.sharedAssets 28 Ko)
- CAB-67f56349384e1ee9ae70ca5bf1ff4fc8.sharedAssets.resS
non-game-preloader_scenes_all_Extract.7z
This bundle corresponds to this image in the game:

Image

The text is in the file "CAB-67f56349384e1ee9ae70ca5bf1ff4fc8" but UnityText does not extract any text.

Image

The game uses il2cpp.
I decompiled it with il2cpp dumper and added the Managed directory containing the dlls in the Voodoo Detective_Data directory, but it doesn't change anything for the extraction.
I also put this Managed directory containing the dlls in Voodoo Detective_Data\StreamingAssets\aa\StandaloneWindows64. but again no change in the extractionVoodoo Detective (Bundle files)
Managed.7z
Can anyone help me solve this problem?



I'll analyze, but from my experience maybe you must be using the tools wrong, both Unity ex and UABEA.
jonastraducoes
Posts: 88
Joined: Sun Aug 18, 2019 1:33 am

Re: Voodoo Detective (Bundle files)

Post by jonastraducoes »

the correct file to translate is this "global_assets_all_6a11be1e6b6179bbbf3477762f52706c.bundle"

the file "non-game-preloader_scenes_all_8a2ad4a2e592ebf902efebf772d59c34.bundle" and a mirror file of the texts.
ghylard
Posts: 77
Joined: Wed Oct 08, 2014 1:03 pm

Re: Voodoo Detective (Bundle files)

Post by ghylard »

jonastraducoes wrote:I'll analyze, but from my experience maybe you must be using the tools wrong, both Unity ex and UABEA.

jonastraducoes wrote:the correct file to translate is this "global_assets_all_6a11be1e6b6179bbbf3477762f52706c.bundle"


Thanks... you're right. :D
I used AssetStudio and found quite a bit of text in UI Text Table and in Voodoo Detective Dialogue Database as well as Voodoo Detective Dialogue Database #286
UI Text Table.7z

Voodoo Detective Dialogue Database.7z

Maybe there is some elsewhere but I will see as I translate.

The problem is that AssetStudio is not able to re-import the json files. So I have to find another way to extract the texts.
UnityEx Ultimate seems to be able to extract xml files.
Unity_Assets_xml_files.7z
jonastraducoes
Posts: 88
Joined: Sun Aug 18, 2019 1:33 am

Re: Voodoo Detective (Bundle files)

Post by jonastraducoes »

If you buy the UnityEx Ultimate tool what I can suggest is to ask the developer of the tool for help, and let him know that using AssetStudio opens normally and in UnityEx Ultimate it doesn't because of what you said.
ghylard
Posts: 77
Joined: Wed Oct 08, 2014 1:03 pm

Re: Voodoo Detective (Bundle files)

Post by ghylard »

Problem reported to DragonZH. Here is his response.

Хорошо поддержка 2021.3.4 будет в следующей версии. Там выравнивание 16 после шапки, предполагалось, что его добавили только с 2022.
Good support for 2021.3.4 will be in the next version. There's alignment 16 after the hat, it was supposed to be added only from 2022.


This update of UnityEX Ultimate is already done and works perfectly. :D
I also hope that UABE Avalonia and AssetBundleExtractor 3.0 will be updated to take into account the latest Unity developments.
jonastraducoes
Posts: 88
Joined: Sun Aug 18, 2019 1:33 am

Re: Voodoo Detective (Bundle files)

Post by jonastraducoes »

ghylard wrote:Problem reported to DragonZH. Here is his response.

Хорошо поддержка 2021.3.4 будет в следующей версии. Там выравнивание 16 после шапки, предполагалось, что его добавили только с 2022.
Good support for 2021.3.4 will be in the next version. There's alignment 16 after the hat, it was supposed to be added only from 2022.


This update of UnityEX Ultimate is already done and works perfectly. :D
I also hope that UABE Avalonia and AssetBundleExtractor 3.0 will be updated to take into account the latest Unity developments.


I am happy.
I always use AssetStudio to search the files and then use the other programs for editing.
I have analyzed the files and font sdf.
It is likely that you know how to do them, if not I can help you, but only after you update UnityEx Ultimate.
ghylard
Posts: 77
Joined: Wed Oct 08, 2014 1:03 pm

Re: Voodoo Detective (Bundle files)

Post by ghylard »

The latest version of Unity Ultimate now allows you to open bundle files without any problem, extract data, reinsert them to recompile.

However, UnityEX Ultimate is unable to open the new bundle file, even when reinserting unmodified files.
Error message: Stream read error

AssetStudio can't open the new bundle file either.

I have reported this error message to DragonZH.

I managed to get the game to work at the very beginning of my modifications, but now even if the game starts, I only get a black screen.

Image

However, I have found that if instead of extracting the CAB-7e73aa029b6ef25a1fedc57dcc1f5279_00001.-7 and CAB-7e73aa029b6ef25a1fedc57dcc1f5279_00001.-9 files directly, I use RawToDumpXML to extract and DumpXMLToRaw to re-insert, the crash doesn't seem to happen anymore.

Regarding fonts, I have started working on creating new dds fonts with BMFont but I am not done yet.
jonastraducoes
Posts: 88
Joined: Sun Aug 18, 2019 1:33 am

Re: Voodoo Detective (Bundle files)

Post by jonastraducoes »

ghylard wrote:The latest version of Unity Ultimate now allows you to open bundle files without any problem, extract data, reinsert them to recompile.

However, UnityEX Ultimate is unable to open the new bundle file, even when reinserting unmodified files.
Error message: Stream read error

AssetStudio can't open the new bundle file either.

I have reported this error message to DragonZH.

I managed to get the game to work at the very beginning of my modifications, but now even if the game starts, I only get a black screen.

Image

However, I have found that if instead of extracting the CAB-7e73aa029b6ef25a1fedc57dcc1f5279_00001.-7 and CAB-7e73aa029b6ef25a1fedc57dcc1f5279_00001.-9 files directly, I use RawToDumpXML to extract and DumpXMLToRaw to re-insert, the crash doesn't seem to happen anymore.

Regarding fonts, I have started working on creating new dds fonts with BMFont but I am not done yet.



Right, I create the fonts from unity Engine and it's easier.