Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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: 7 times

Sniper Elite 3 Text Files

Post by connortg12 »

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: 14 times
Been thanked: 106 times

Re: Sniper Elite 3 Text Files

Post by swuforce »

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: 7 times

Re: Sniper Elite 3 Text Files

Post by connortg12 »

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: 14 times
Been thanked: 106 times

Re: Sniper Elite 3 Text Files

Post by swuforce »

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: 14 times
Been thanked: 106 times

Re: Sniper Elite 3 Text Files

Post by swuforce »

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: 7 times

Re: Sniper Elite 3 Text Files

Post by connortg12 »

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: 7 times

Re: Sniper Elite 3 Text Files

Post by connortg12 »

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: 348
Joined: Sat Aug 05, 2006 2:04 pm
Location: Hungary
Has thanked: 2 times
Been thanked: 160 times
Contact:

Re: Sniper Elite 3 Text Files

Post by Evin »

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: 115
Joined: Mon Apr 09, 2012 8:40 am
Has thanked: 50 times
Been thanked: 6 times

Re: Sniper Elite 3 Text Files

Post by namquang93 »

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: 7 times

Re: Sniper Elite 3 Text Files

Post by connortg12 »

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: 115
Joined: Mon Apr 09, 2012 8:40 am
Has thanked: 50 times
Been thanked: 6 times

Re: Sniper Elite 3 Text Files

Post by namquang93 »

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: 115
Joined: Mon Apr 09, 2012 8:40 am
Has thanked: 50 times
Been thanked: 6 times

Re: Sniper Elite 3 Text Files

Post by namquang93 »

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 »

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 »

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: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: Sniper Elite 3 Text Files

Post by michalss »

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