Afterparty Localization Help

How to translate the files of a game
WhiteHARD
Posts: 13
Joined: Sat Aug 24, 2019 10:06 pm

Afterparty Localization Help

Post by WhiteHARD »

How to can get the language files?
Ogoshi
Posts: 72
Joined: Fri Oct 09, 2015 1:41 am

Re: Afterparty Localization Help

Post by Ogoshi »

I foun a few texts on "resources.assets" but nothing about the menu text and the prologue.

Maybe in texture, or dll, i really don't know. Oxenfree was more easy to found the texts.

Hope anyone can help with.
yusuf0808
Posts: 41
Joined: Thu Jun 29, 2017 10:46 am

Re: Afterparty Localization Help

Post by yusuf0808 »

The localization files are in Afterparty_Data\StreamingAssets\AssetBundles\localizations folder. But the files are encrypted I think. So we need someone to make a tool for us. I've attached the files if someone's interested.
ducan012456
Posts: 64
Joined: Mon Apr 08, 2019 8:20 am

Re: Afterparty Localization Help

Post by ducan012456 »

Open with UABE -> unpack -> export dump.
WhiteHARD
Posts: 13
Joined: Sat Aug 24, 2019 10:06 pm

Re: Afterparty Localization Help

Post by WhiteHARD »

ducan012456 wrote:Open with UABE -> unpack -> export dump.


Some part export, right, but not all of them. Some parts have not in resource file i think
ducan012456
Posts: 64
Joined: Mon Apr 08, 2019 8:20 am

Re: Afterparty Localization Help

Post by ducan012456 »

WhiteHARD wrote:
ducan012456 wrote:Open with UABE -> unpack -> export dump.


Some part export, right, but not all of them. Some parts have not in resource file i think

I don't understand. Just export dump the file has _text at the end.
WhiteHARD
Posts: 13
Joined: Sat Aug 24, 2019 10:06 pm

Re: Afterparty Localization Help

Post by WhiteHARD »

ducan012456 wrote:
WhiteHARD wrote:
ducan012456 wrote:Open with UABE -> unpack -> export dump.


Some part export, right, but not all of them. Some parts have not in resource file i think

I don't understand. Just export dump the file has _text at the end.


As i say some file not working. For example first dialogue part just empty text file when i export dump
ducan012456
Posts: 64
Joined: Mon Apr 08, 2019 8:20 am

Re: Afterparty Localization Help

Post by ducan012456 »

WhiteHARD wrote:
ducan012456 wrote:
WhiteHARD wrote:
Some part export, right, but not all of them. Some parts have not in resource file i think

I don't understand. Just export dump the file has _text at the end.


As i say some file not working. For example first dialogue part just empty text file when i export dump

Not all of the text file is text in game. You can export raw then use hxd to check it.

The game has 252 .en files, every .en files has only 1 text file or nothing. It will take you a lot of times to unpack all.
yusuf0808
Posts: 41
Joined: Thu Jun 29, 2017 10:46 am

Re: Afterparty Localization Help

Post by yusuf0808 »

ducan012456 wrote:
WhiteHARD wrote:
ducan012456 wrote:I don't understand. Just export dump the file has _text at the end.


As i say some file not working. For example first dialogue part just empty text file when i export dump

Not all of the text file is text in game. You can export raw then use hxd to check it.

The game has 252 .en files, every .en files has only 1 text file or nothing. It will take you a lot of times to unpack all.


Actually not 252. There are total of 730 .en files. So if anybody wants to extract all of them at the same time they can use UABE with the command line.

1) Create a .batch file. It is an UTF-8 encoded text file of which each line specifies a file or directory to add or remove from the bundle file list.
For example for this game it should be +DIR (Game_Directory)\Afterparty_Data\StreamingAssets\AssetBundles\localizations
Replace (Game_Directory) with your game's main folder directory.
Save the .batch file.

Then create a cmd file inside UABE folder and edit it like this:

AssetBundleExtractor.exe batchexport (yourbatchfile).batch

Run the cmd file and wait for it to finish.

Now you have all of the .assets files. You can now use UABE's GUI to export all of the text files.

Image
Ogoshi
Posts: 72
Joined: Fri Oct 09, 2015 1:41 am

Re: Afterparty Localization Help

Post by Ogoshi »

yusuf0808 wrote:Actually not 252. There are total of 730 .en files. So if anybody wants to extract all of them at the same time they can use UABE with the command line.

1) Create a .batch file. It is an UTF-8 encoded text file of which each line specifies a file or directory to add or remove from the bundle file list.
For example for this game it should be +DIR (Game_Directory)\Afterparty_Data\StreamingAssets\AssetBundles\localizations
Replace (Game_Directory) with your game's main folder directory.
Save the .batch file.

Then create a cmd file inside UABE folder and edit it like this:

AssetBundleExtractor.exe batchexport (yourbatchfile).batch

Run the cmd file and wait for it to finish.

Now you have all of the .assets files. You can now use UABE's GUI to export all of the text files.


Can you do a CMD file? Idk how to do this. If you dont mind?

Anyone know how much lines of text the game have?
ducan012456
Posts: 64
Joined: Mon Apr 08, 2019 8:20 am

Re: Afterparty Localization Help

Post by ducan012456 »

About 9000.
yusuf0808
Posts: 41
Joined: Thu Jun 29, 2017 10:46 am

Re: Afterparty Localization Help

Post by yusuf0808 »

Ogoshi wrote:
yusuf0808 wrote:Actually not 252. There are total of 730 .en files. So if anybody wants to extract all of them at the same time they can use UABE with the command line.

1) Create a .batch file. It is an UTF-8 encoded text file of which each line specifies a file or directory to add or remove from the bundle file list.
For example for this game it should be +DIR (Game_Directory)\Afterparty_Data\StreamingAssets\AssetBundles\localizations
Replace (Game_Directory) with your game's main folder directory.
Save the .batch file.

Then create a cmd file inside UABE folder and edit it like this:

AssetBundleExtractor.exe batchexport (yourbatchfile).batch

Run the cmd file and wait for it to finish.

Now you have all of the .assets files. You can now use UABE's GUI to export all of the text files.


Can you do a CMD file? Idk how to do this. If you dont mind?

Anyone know how much lines of text the game have?


Here are the cmd files. Remember that you need to edit the (yourbatchfile).batch according to the name of your .batch file.
WhiteHARD
Posts: 13
Joined: Sat Aug 24, 2019 10:06 pm

Re: Afterparty Localization Help

Post by WhiteHARD »

ducan012456 wrote:About 9000.

How to import this file? Which program do you use?
ducan012456
Posts: 64
Joined: Mon Apr 08, 2019 8:20 am

Re: Afterparty Localization Help

Post by ducan012456 »

WhiteHARD wrote:
ducan012456 wrote:About 9000.

How to import this file? Which program do you use?

UnityEX and UnityText 2
WhiteHARD
Posts: 13
Joined: Sat Aug 24, 2019 10:06 pm

Re: Afterparty Localization Help

Post by WhiteHARD »

Okay, I figured it out, but not all the texts are here still.
yusuf0808
Posts: 41
Joined: Thu Jun 29, 2017 10:46 am

Re: Afterparty Localization Help

Post by yusuf0808 »

ducan012456 wrote:About 9000.


Hey ducan, did you use the files I uploaded here? I am asking because when I try to export the text from them I cannot get all the text. But you seem to be able to do it.