Sniper Elite 3 Text Files

Need help translating games in other languages? Have your language problems solved here.
User avatar
connortg12
advanced
Posts: 42
Joined: Sun Nov 10, 2013 2:19 pm
Location: Turkey
Has thanked: 5 times
Been thanked: 6 times

Sniper Elite 3 Text Files

Post by connortg12 » Wed Jul 02, 2014 5:57 pm

Hi, I found the SE3 text files. How do I edit the file? I used the Asura Text Editor, but does not seem to some texts.

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

Re: Sniper Elite 3 Text Files

Post by swuforce » Tue Jul 15, 2014 6:57 am

Try this: https://www.sendspace.com/file/mml37s

For .asr file (i'm not sure about it's working!):
Drag asr to export exe.
Drag txt to import exe.

For .en file:
Use Evin tool to unpack en file. viewtopic.php?f=33&t=8902
Drag the folder to export exe.
Drag txt to import exe.
Repack en file.
Last edited by swuforce on Sat Jul 19, 2014 12:12 am, edited 2 times in total.

User avatar
connortg12
advanced
Posts: 42
Joined: Sun Nov 10, 2013 2:19 pm
Location: Turkey
Has thanked: 5 times
Been thanked: 6 times

Re: Sniper Elite 3 Text Files

Post by connortg12 » Wed Jul 16, 2014 10:22 am

swuforce wrote:Try this: https://www.sendspace.com/file/dgq79u

For .asr file:
Drag asr to export exe.
Drag txt to import exe.

For .en file:
Use Evin tool to unpack en file. viewtopic.php?f=33&t=8902
Drag the folder to export exe.
Drag txt to import exe.
Repack en file.
Thanks for the tool. I extracted texts, but game shuts down after the importing texts.

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

Re: Sniper Elite 3 Text Files

Post by swuforce » Wed Jul 16, 2014 11:08 pm

I think the problem is a value, that i can't change correctly.
Try to use only for .en files.

Update: This value somehow related to the size, but i dont know how. I change it by the difference of the original and edited file. Looks like its ok now, but im not sure it will work in the entire game.

Ok i think i get it. The HTXT file format is something like

Code: Select all

char(4)    - HTXT
uint32(4)  - Filesize
uint32(4)  - Version
uint32(4)  - Null
uint32(4)  - Number of strings
uint32(4)  - File hash?
uint32(4)  - Text string size [-Number of strings*8]
uint32(4)  - Language id

for each string
    uint32(4)  - String hash?
    uint32(4)  - String Length [*2]
    char(x)    - Unicode string (null terminated)

char(x)    - Filename
byte(x)    - Padding(4)
uint32(4)  - Text ids size
char(x)    - Text ids (null separated)
Last edited by swuforce on Mon Jul 21, 2014 10:19 pm, edited 1 time in total.

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

Re: Sniper Elite 3 Text Files

Post by swuforce » Sun Jul 20, 2014 10:45 am

connortg12 wrote:
swuforce wrote:Try this: https://www.sendspace.com/file/dgq79u

For .asr file:
Drag asr to export exe.
Drag txt to import exe.

For .en file:
Use Evin tool to unpack en file. viewtopic.php?f=33&t=8902
Drag the folder to export exe.
Drag txt to import exe.
Repack en file.
Thanks for the tool. I extracted texts, but game shuts down after the importing texts.
I updated the tool, try it now.
But i'm still not sure it gonna work.

User avatar
connortg12
advanced
Posts: 42
Joined: Sun Nov 10, 2013 2:19 pm
Location: Turkey
Has thanked: 5 times
Been thanked: 6 times

Re: Sniper Elite 3 Text Files

Post by connortg12 » Sun Jul 20, 2014 1:53 pm

Thank you! It's working. :D

User avatar
connortg12
advanced
Posts: 42
Joined: Sun Nov 10, 2013 2:19 pm
Location: Turkey
Has thanked: 5 times
Been thanked: 6 times

Re: Sniper Elite 3 Text Files

Post by connortg12 » Sun Jul 20, 2014 4:20 pm

swuforce wrote:
connortg12 wrote:
swuforce wrote:Try this: https://www.sendspace.com/file/dgq79u

For .asr file:
Drag asr to export exe.
Drag txt to import exe.

For .en file:
Use Evin tool to unpack en file. viewtopic.php?f=33&t=8902
Drag the folder to export exe.
Drag txt to import exe.
Repack en file.
Thanks for the tool. I extracted texts, but game shuts down after the importing texts.
I updated the tool, try it now.
But i'm still not sure it gonna work.
How do I edit the text in this .en file?
<link removed due forum rules violation>

User avatar
evin
ultra-veteran
ultra-veteran
Posts: 329
Joined: Sat Aug 05, 2006 2:04 pm
Location: Hungary
Has thanked: 1 time
Been thanked: 134 times
Contact:

Re: Sniper Elite 3 Text Files

Post by evin » Thu Jul 24, 2014 4:15 pm

I updated my text tool. (I didn't wrote into the tool, laziness:), but this compatible backward. Sniper Elite2, AvP2010 etc.)
You do not have the required permissions to view the files attached to this post.

namquang93
veteran
Posts: 116
Joined: Mon Apr 09, 2012 8:40 am
Has thanked: 50 times
Been thanked: 5 times

Re: Sniper Elite 3 Text Files

Post by namquang93 » Sun Aug 31, 2014 2:28 pm

Hi all! I have a prolem with DDS font (Sniper Elite 2). I opend origin DDS file and save with this setting: DXT5_NM XY 8 bpp | using DXT5. Game working normal, but when I edited DDS file and save with setting: DXT5_NM XY 8 bpp | using DXT5, text isn't display. Here is origin DDS file in hex:
Image

When I view in IranView: Image display with red color
When I view in Photoshop: Image display with black white color

Thanks in advance!

User avatar
connortg12
advanced
Posts: 42
Joined: Sun Nov 10, 2013 2:19 pm
Location: Turkey
Has thanked: 5 times
Been thanked: 6 times

Re: Sniper Elite 3 Text Files

Post by connortg12 » Sun Aug 31, 2014 6:42 pm

Try to use XnView. Save .dds file as .png edit then open with XnView. Save as .dds and repack. I'm using this method and no problem.

namquang93
veteran
Posts: 116
Joined: Mon Apr 09, 2012 8:40 am
Has thanked: 50 times
Been thanked: 5 times

Re: Sniper Elite 3 Text Files

Post by namquang93 » Mon Sep 01, 2014 1:15 am

connortg12 wrote:Try to use XnView. Save .dds file as .png edit then open with XnView. Save as .dds and repack. I'm using this method and no problem.
Thanks! For your help!

namquang93
veteran
Posts: 116
Joined: Mon Apr 09, 2012 8:40 am
Has thanked: 50 times
Been thanked: 5 times

Re: Sniper Elite 3 Text Files

Post by namquang93 » Thu Sep 11, 2014 4:45 pm

I translate Sniper Elite2 (*.en) Big problem, my text must equal origin text, It's hard! How to solve it? Thanks.

Lajti
n00b
Posts: 13
Joined: Wed Sep 14, 2011 11:20 pm
Location: Hungary
Been thanked: 3 times
Contact:

Re: Sniper Elite 3 Text Files

Post by Lajti » Tue Dec 09, 2014 9:25 pm

You can try to use my editor:
viewtopic.php?f=10&t=8888&p=89585&hilit ... ite#p89585

Meanwhile I creating the tools for SE3, but I don't know when will be it finished, I have to solve some problem (game patching is continuous, and always need to update my tools, and maybe create a patching tool between two patches; testing the translate, etc.).

Lajti
n00b
Posts: 13
Joined: Wed Sep 14, 2011 11:20 pm
Location: Hungary
Been thanked: 3 times
Contact:

Re: Sniper Elite 3 Text Files

Post by Lajti » Thu Nov 19, 2015 3:26 pm

Hi guys!

I finished my Sniper Elite III text editor. Also, I packed the 3, V2 and NZA editors into one package (old editors no longer available):
http://lajti.hu/se_translator
The editors treat the .en files well and not character limited.

michalss
Moderator
Posts: 941
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 130 times

Re: Sniper Elite 3 Text Files

Post by michalss » Fri Nov 20, 2015 8:24 pm

Lajti wrote:Hi guys!

I finished my Sniper Elite III text editor. Also, I packed the 3, V2 and NZA editors into one package (old editors no longer available):
http://lajti.hu/se_translator
The editors treat the .en files well and not character limited.

Support also big endian ? Can you please share structure ?
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/

Post Reply