Among The Sleep

Need help translating games in other languages? Have your language problems solved here.
Post Reply
TRfan
n00b
Posts: 16
Joined: Thu Jul 12, 2012 4:44 pm
Has thanked: 3 times
Been thanked: 2 times

Among The Sleep

Post by TRfan » Sat May 31, 2014 1:39 pm

Hi all.

I feel like someone has a solution for me in this forum :D

I need to edit text files from assets file of this game. I tried a tool called Unity Assets Explorer (viewtopic.php?f=10&t=10085) but I only managed to extract files. I found text files but couldn't import them back into the file. I hope someone will reply soon.

swuforce
veteran
Posts: 121
Joined: Thu Nov 05, 2009 8:46 pm
Has thanked: 9 times
Been thanked: 104 times

Re: Among The Sleep

Post by swuforce » Thu Jun 05, 2014 9:00 am

Use the tool that Haoose linked here: viewtopic.php?f=33&t=10739&start=22

TRfan
n00b
Posts: 16
Joined: Thu Jul 12, 2012 4:44 pm
Has thanked: 3 times
Been thanked: 2 times

Re: Among The Sleep

Post by TRfan » Thu Jun 05, 2014 11:30 am

Thanks but it's all russian and I don't know how to use the tool.

kofola
n00b
Posts: 10
Joined: Sun Mar 09, 2014 5:12 pm
Has thanked: 2 times

Re: Among The Sleep

Post by kofola » Fri Jun 13, 2014 8:41 pm

I need too.
Can some do import/extract tool.
I need translate for my country.

Thank you for any help.

merlinsvk
ultra-veteran
ultra-veteran
Posts: 409
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 114 times

Re: Among The Sleep

Post by merlinsvk » Sat Jun 14, 2014 2:04 pm

Just use Haoose's Unity Assets Explorer. Plus some hex editor and some text editor.
For faster "searching" through .assets files, you can use Barracuda's DisUnity tool.

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: Among The Sleep

Post by lostprophet » Sun Jun 15, 2014 10:25 am

Here is how you can translate this game (I think it'll work with other Unity games too):
1. Download the Unity Asset Editor from this link:

Code: Select all

http://7daystodie.com/forums/showthread.php?5030-Grim-s-Unity-Asset-Editor
2. Open up resources.asset with it.
3. Search up all texts (they will have "Text" type and if you're looking for the English texts, they'll have "_en" in the end).
4. Right click on each of them and "Export".
5. Translate them.
6. Right click on each of them and "Import".
7. "File -> Save as" and overwrite the original resources.asset file.
8. Profit! :)

Some texts are not translatable sadly (like the text in Options like "Audio", "Video", "Controls", but they are in the files. Why the game doesn't use those lines, who knows?).
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

merlinsvk
ultra-veteran
ultra-veteran
Posts: 409
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 114 times

Re: Among The Sleep

Post by merlinsvk » Sun Jun 15, 2014 1:00 pm

lostprophet wrote: Some texts are not translatable sadly (like the text in Options like "Audio", "Video", "Controls", but they are in the files. Why the game doesn't use those lines, who knows?).
Probably a bug. Those words (and "ago" and "<New Profile>") are in Among the Sleep_Data\Managed\Assembly-CSharp.dll file. I used .NET Reflector to edit that .dll.

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: Among The Sleep

Post by lostprophet » Tue Jun 17, 2014 9:04 pm

merlinsvk wrote:
lostprophet wrote: Some texts are not translatable sadly (like the text in Options like "Audio", "Video", "Controls", but they are in the files. Why the game doesn't use those lines, who knows?).
Probably a bug. Those words (and "ago" and "<New Profile>") are in Among the Sleep_Data\Managed\Assembly-CSharp.dll file. I used .NET Reflector to edit that .dll.
I opened up .NET Reflector, opened "Assembly-CSharp.dll" and tried searching for eg. "New Profile" but there is no such text like that in it. Am I doing something wrong?
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

merlinsvk
ultra-veteran
ultra-veteran
Posts: 409
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 114 times

Re: Among The Sleep

Post by merlinsvk » Tue Jun 17, 2014 11:13 pm

Image


But I totally forgot to mention that you have to use Reflexil add-in (it's free) for Reflector to be able modify .NET source code. Sorry about that (:

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: Among The Sleep

Post by lostprophet » Wed Jun 18, 2014 5:48 am

merlinsvk wrote:Image


But I totally forgot to mention that you have to use Reflexil add-in (it's free) for Reflector to be able modify .NET source code. Sorry about that (:
Oh, okay, I got a bit further now :)
1. I opened up Assembly-CSharp.dll.
2. I've done what you have shown me.
3. After finding <New profile>, I can't edit it.
4. I chose Tools > Reflexil v1.7.
5. I clicked on New profile with the right mouse button and chose Edit.
6. Modified "<New Profile>" and clicked "Update".
7. I couldn't find any Save button and the modified text doesn't show up in-game.
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

merlinsvk
ultra-veteran
ultra-veteran
Posts: 409
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 114 times

Re: Among The Sleep

Post by merlinsvk » Wed Jun 18, 2014 7:59 am

Yeah, it's hidden in the context menu.

Image

Post Reply