Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
-
- Posts: 9
- Joined: Sun May 23, 2021 1:32 am
Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
I use tools cryxml_import But it won't convert the file
-
- Posts: 26
- Joined: Wed Jun 30, 2021 12:54 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
how you extract file xml
-
- Posts: 17
- Joined: Wed Jun 09, 2021 6:27 pm
-
- Posts: 26
- Joined: Wed Jun 30, 2021 12:54 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
bornaghi wrote:
how ?
-
- Posts: 44
- Joined: Sat Jun 20, 2015 1:42 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
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:
" <Row ss:AutoFitHeight="0" ss:StyleID="s82">
<Cell ss:Index="2"><Data ss:Type="String">ui_Accept</Data></Cell>
<Cell><Data ss:Type="String">Accept</Data></Cell>
<Cell><Data ss:Type="String">TRANSLATE ALWAYS THE 2ND ONE!!! THIS IS 2ND ENGLISH ROW!!!</Data></Cell>
<Cell ss:Index="6"><Data ss:Type="String">Accepter</Data></Cell>
<Cell><Data ss:Type="String">Accetta</Data></Cell>
<Cell><Data ss:Type="String">Akzeptieren</Data></Cell>
<Cell><Data ss:Type="String">Aceptar</Data></Cell>
<Cell><Data ss:Type="String">Akceptuj</Data></Cell>
<Cell><Data ss:Type="String">Принять</Data></Cell>
<Cell><Data ss:Type="String">Aceitar</Data></Cell>
<Cell><Data ss:Type="String">接受</Data></Cell>
<Cell><Data ss:Type="String">接受</Data></Cell>
<Cell><Data ss:Type="String">Přijmout</Data></Cell>
<Cell><Data ss:Type="String">決定</Data></Cell>
<Cell><Data ss:Type="String">확인</Data></Cell>"
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:
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:
" <Row ss:AutoFitHeight="0" ss:StyleID="s82">
<Cell ss:Index="2"><Data ss:Type="String">ui_Accept</Data></Cell>
<Cell><Data ss:Type="String">Accept</Data></Cell>
<Cell><Data ss:Type="String">TRANSLATE ALWAYS THE 2ND ONE!!! THIS IS 2ND ENGLISH ROW!!!</Data></Cell>
<Cell ss:Index="6"><Data ss:Type="String">Accepter</Data></Cell>
<Cell><Data ss:Type="String">Accetta</Data></Cell>
<Cell><Data ss:Type="String">Akzeptieren</Data></Cell>
<Cell><Data ss:Type="String">Aceptar</Data></Cell>
<Cell><Data ss:Type="String">Akceptuj</Data></Cell>
<Cell><Data ss:Type="String">Принять</Data></Cell>
<Cell><Data ss:Type="String">Aceitar</Data></Cell>
<Cell><Data ss:Type="String">接受</Data></Cell>
<Cell><Data ss:Type="String">接受</Data></Cell>
<Cell><Data ss:Type="String">Přijmout</Data></Cell>
<Cell><Data ss:Type="String">決定</Data></Cell>
<Cell><Data ss:Type="String">확인</Data></Cell>"
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:
-
- Posts: 17
- Joined: Wed Jun 09, 2021 6:27 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
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.
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.
See you Ravens, Seekers.
In case the Google Drive link dies:
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.
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.
See you Ravens, Seekers.
In case the Google Drive link dies:
-
- Posts: 26
- Joined: Wed Jun 30, 2021 12:54 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
Thanks i will try now
Last edited by noteza5555 on Thu Feb 10, 2022 3:25 pm, edited 1 time in total.
-
- Posts: 26
- Joined: Wed Jun 30, 2021 12:54 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
[/quote]
do you know where is font file ?
do you know where is font file ?
-
- Posts: 17
- Joined: Wed Jun 09, 2021 6:27 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
noteza5555 wrote:
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.
-
- Posts: 26
- Joined: Wed Jun 30, 2021 12:54 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
WHAT NEXT CAN YOU DO FOR YOUTUBE PLS I CONFUSE
CHECK THIS
CHECK THIS
Last edited by noteza5555 on Thu Feb 10, 2022 4:31 pm, edited 2 times in total.
-
- Posts: 26
- Joined: Wed Jun 30, 2021 12:54 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
I FOUND FONT FILE IN engine FILE HERE :
-
- Posts: 26
- Joined: Wed Jun 30, 2021 12:54 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
i very confuse this step :delete 2nd ".xml" extension!
what file i delete ?
what file i delete ?
-
- Posts: 17
- Joined: Wed Jun 09, 2021 6:27 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
It is always necessary to translate the second line.
-
- Posts: 26
- Joined: Wed Jun 30, 2021 12:54 pm
Re: Sniper Ghost Warrior Contracts 2 - How to import file txt to xml ?
do you have discord or something ?
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"
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"
-
- Posts: 17
- Joined: Wed Jun 09, 2021 6:27 pm