XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Dec 13, 2018 9:05 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Among The Sleep
PostPosted: Sat May 31, 2014 1:39 pm 
Offline
n00b

Joined: Thu Jul 12, 2012 4:44 pm
Posts: 16
Has thanked: 3 times
Have thanks: 1 time

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.

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Thu Jun 05, 2014 9:00 am 
Offline
veteran

Joined: Thu Nov 05, 2009 8:46 pm
Posts: 121
Has thanked: 9 times
Have thanks: 104 times
Use the tool that Haoose linked here: viewtopic.php?f=33&t=10739&start=22


Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Thu Jun 05, 2014 11:30 am 
Offline
n00b

Joined: Thu Jul 12, 2012 4:44 pm
Posts: 16
Has thanked: 3 times
Have thanks: 1 time
Thanks but it's all russian and I don't know how to use the tool.


Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Fri Jun 13, 2014 8:41 pm 
Offline
n00b

Joined: Sun Mar 09, 2014 5:12 pm
Posts: 10
Has thanked: 2 times
Have thanks: 0 time
I need too.
Can some do import/extract tool.
I need translate for my country.

Thank you for any help.


Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Sat Jun 14, 2014 2:04 pm 
Online
ultra-veteran
ultra-veteran

Joined: Mon Oct 27, 2008 12:11 am
Posts: 407
Location: Slovakia
Has thanked: 35 times
Have thanks: 113 times
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.


Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Sun Jun 15, 2014 10:25 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Wed Apr 07, 2010 7:38 pm
Posts: 197
Has thanked: 35 times
Have thanks: 5 times
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:
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


Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Sun Jun 15, 2014 1:00 pm 
Online
ultra-veteran
ultra-veteran

Joined: Mon Oct 27, 2008 12:11 am
Posts: 407
Location: Slovakia
Has thanked: 35 times
Have thanks: 113 times
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.


Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Tue Jun 17, 2014 9:04 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Wed Apr 07, 2010 7:38 pm
Posts: 197
Has thanked: 35 times
Have thanks: 5 times
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


Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Tue Jun 17, 2014 11:13 pm 
Online
ultra-veteran
ultra-veteran

Joined: Mon Oct 27, 2008 12:11 am
Posts: 407
Location: Slovakia
Has thanked: 35 times
Have thanks: 113 times
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 (:


Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Wed Jun 18, 2014 5:48 am 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Wed Apr 07, 2010 7:38 pm
Posts: 197
Has thanked: 35 times
Have thanks: 5 times
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


Top
 Profile  
 
 Post subject: Re: Among The Sleep
PostPosted: Wed Jun 18, 2014 7:59 am 
Online
ultra-veteran
ultra-veteran

Joined: Mon Oct 27, 2008 12:11 am
Posts: 407
Location: Slovakia
Has thanked: 35 times
Have thanks: 113 times
Yeah, it's hidden in the context menu.

Image



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group