Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?

Featured Replies

  • Author
  • Localization

porton007, posted Mon Jun 07, 2021 5:50 pm (64577)


I use tools cryxml_import But it won't convert the file
Image
Image
  • Author
  • Localization

noteza5555, posted Wed Jun 30, 2021 1:08 pm (64988)


how you extract file xml
  • Author
  • Localization

bornaghi, posted Mon Jan 31, 2022 2:05 pm (69514)


Image
  • Author
  • Localization

noteza5555, posted Mon Jan 31, 2022 9:59 pm (69520)


bornaghi wrote:
Image

how ?
  • Author
  • Localization

Terminator2222, posted Wed Feb 02, 2022 8:32 am (69570)


noteza5555

1. Download the "BinXMLDecode" from HERE: https://www.dropbox.com/s/ksn7a5yggbdqp ... e.exe?dl=0
2. Make a backup of "english_xml.pak" file! With (free) 7zip program open and extract "english_xml.pak" file from the game
3. Extracted *xml files drag and drop onto "BinXMLDecode" > it will decrypt them > text_ui.xml > text_ui.xml.text.xml > delete 2nd ".xml" extension!
4. Open and translate files with Excel or your favorite XML editor program (Notepad good too)

Translate example from "text_ui.xml" file:

"
ui_Accept
Accept
TRANSLATE ALWAYS THE 2ND ONE!!! THIS IS 2ND ENGLISH ROW!!!
Accepter
Accetta
Akzeptieren
Aceptar
Akceptuj
?????
Aceitar
??
??
Prijmout
??
??"

5. Open ORIGINAL (make a backup again!) "english_xml.pak" file with 7zip - drag and drop the translated files into open 7zip window and "Confirm File Copy" > "Yes"
6. Copy this modified "english_xml.pak" to the game's folder and overwrite.
7. TEST IT ingame!

That's it.

Picture from my hungarian test translation:

Image
  • Author
  • Localization

bornaghi, posted Wed Feb 02, 2022 7:10 pm (69585)


Before I forget, let me also say this. The tool also works in the first game of the Contract series.

I tried the attached tool in other games of the series.

on SGWC1 and SGWC2
The tool works fine on SGWC1 and SGWC2. No need for repacking on SGWC1 and SGWC2. You can edit the XML file you analyzed with the tool with NotePad . After localizing, save and replace with the same name as the original file. Open the engish_xml.pak file with Winrar and replace the XML files you edited with NotePad . It works fine.

Image

in SGW2
But it looks like SGW2's language files need to be repackaged. The tool unpacks the language files of SGW2. When I give the same name as the original file and change it, the result is as in the photo. I'm not the reason the codes are appearing. I unpack the file. I copy it back into the game files without making any changes. The rest is as in the photo. I think it needs to be repackaged.

Image

See you Ravens, Seekers.


In case the Google Drive link dies:

BinXMLDecode.rar

  • Author
  • Localization

noteza5555, posted Thu Feb 10, 2022 1:33 pm (69792)


Thanks i will try now
  • Author
  • Localization

noteza5555, posted Thu Feb 10, 2022 3:25 pm (69793)


Image[/quote]

do you know where is font file ?
  • Author
  • Localization

bornaghi, posted Thu Feb 10, 2022 4:13 pm (69794)


noteza5555 wrote:
Image


do you know where is font file ?[/quote]

Can it be the selected file? If it's, I have no idea how it can be opened.

Image
  • Author
  • Localization

noteza5555, posted Thu Feb 10, 2022 4:16 pm (69795)


WHAT NEXT CAN YOU DO FOR YOUTUBE PLS I CONFUSE

CHECK THIS
Image
  • Author
  • Localization

noteza5555, posted Thu Feb 10, 2022 4:21 pm (69796)


I FOUND FONT FILE IN engine FILE HERE :
Image
  • Author
  • Localization

noteza5555, posted Thu Feb 10, 2022 4:38 pm (69798)


i very confuse this step :delete 2nd ".xml" extension!

what file i delete ?
Image
  • Author
  • Localization

bornaghi, posted Thu Feb 10, 2022 4:50 pm (69799)


It is always necessary to translate the second line.

Image


Image
  • Author
  • Localization

noteza5555, posted Thu Feb 10, 2022 4:57 pm (69800)


do you have discord or something ?

Image

what this step mean : 5. Open ORIGINAL (make a backup again!) "english_xml.pak" file with 7zip - drag and drop the translated files into open 7zip window and "Confirm File Copy" > "Yes"
  • Author
  • Localization

bornaghi, posted Thu Feb 10, 2022 5:07 pm (69801)


Control your PM.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.