Sniper Ghost Warrior 2 .xml files

Need help translating games in other languages? Have your language problems solved here.
User avatar
Haoose
mega-veteran
mega-veteran
Posts: 281
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 188 times
Contact:

Re: Sniper Ghost Warrior 2 .xml files

Post by Haoose » Sun Mar 17, 2013 7:28 pm

michalss wrote:So you saing that it gonna read it from xml files directly from Folders ?
Yes!
(PC version)
Image Image
-= GP-team =-
Image

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

Re: Sniper Ghost Warrior 2 .xml files

Post by michalss » Sun Mar 17, 2013 8:31 pm

hmm ok so far does not work on X360. But se file english_xml.pak does it need to be in localized folder as well or i can simple remove it ? Any chace to release repacker for original XML pls ?
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/

User avatar
Haoose
mega-veteran
mega-veteran
Posts: 281
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 188 times
Contact:

Re: Sniper Ghost Warrior 2 .xml files

Post by Haoose » Sun Mar 17, 2013 8:54 pm

michalss wrote:hmm ok so far does not work on X360. But se file english_xml.pak does it need to be in localized folder as well or i can simple remove it ? Any chace to release repacker for original XML pls ?
1. No. No need to delete the file. Or unpack it (english_xml.pak) in a folder "game" and then delete.
2. Try to pack the files (text_ui_menus.xml, dialog_recording_list.xml) in the file english_xml.pak
3. Try changing one or two letters in a source file (not the ones that I gave, and the source (original from first post) ) and pack the modified file in the file english_xml.pak
If all of this fails, then I can not help you =)
I do not know, what have you on the consoles. We have a PC, all works well. =)
-= GP-team =-
Image

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

Re: Sniper Ghost Warrior 2 .xml files

Post by michalss » Sun Mar 17, 2013 9:07 pm

ok then ill try can you please at least release tool for extraction of original xml to excel xml?
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/

User avatar
Haoose
mega-veteran
mega-veteran
Posts: 281
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 188 times
Contact:

Re: Sniper Ghost Warrior 2 .xml files

Post by Haoose » Sun Mar 17, 2013 9:25 pm

michalss wrote:ok then ill try can you please at least release tool for extraction of original xml to excel xml?
No =)

It's
Hex Editor +
AkelPad(Excel) +
Original files from CryEngine3SDK or Crysis 3 +
Hands +
Brain =))
-= GP-team =-
Image

User avatar
delutto
veteran
Posts: 155
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 49 times
Been thanked: 12 times

Re: Sniper Ghost Warrior 2 .xml files

Post by delutto » Tue Mar 19, 2013 12:21 am

Haoose wrote:Hey
I converted the Russian language version of the game from consoles to PC.
Here I am to you to convert the English files:

dialog_recording_list.xml
text_ui_menus.xml

http://yadi.sk/d/7JAvKj0c3KB8q

Unpack to folder: SniperGhostWarrior2\Game\languages\ (create this folder)

Enjoy =)

P.S. For Editing - Open in Excel or Akelpad
Good!
But, the PC version has 7 XML files:

Code: Select all

dialog_recording_list.xml
text_ui_menus.xml
ai_dialog_recording_list.xml
credits.xml
loading.xml
pc_keyboard.xml
warnings_ui.xml
I have attached these files uncompressed, but in a slightly different format. Edit them using Notepad++.
Put the files in "SniperGhostWarrior2\Game\languages\" (Create this folder)
I have not tested it right, but the menu texts works perfectly.
Enjoy.[/b]
English.7z
You do not have the required permissions to view the files attached to this post.

turkgamer
advanced
Posts: 66
Joined: Sun Oct 02, 2011 6:16 pm
Has thanked: 5 times
Been thanked: 5 times

Re: Sniper Ghost Warrior 2 .xml files

Post by turkgamer » Sat Mar 23, 2013 7:15 pm

It doesn't work on dialogues. We need xml2txt tool.

User avatar
delutto
veteran
Posts: 155
Joined: Sat Apr 16, 2011 5:20 am
Has thanked: 49 times
Been thanked: 12 times

Re: Sniper Ghost Warrior 2 .xml files

Post by delutto » Sun Mar 24, 2013 7:38 am

turkgamer wrote:It doesn't work on dialogues. We need xml2txt tool.
Sorry, but as I said, I haven't tested properly...

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

Re: Sniper Ghost Warrior 2 .xml files

Post by michalss » Sun Mar 24, 2013 8:52 am

we found the c++ source for XML from SDK but i'm c++ noob can anyone please have alook ?

Code: Select all

{
 public:
  uint32 nTagStringOffset;         // offset in CBinaryXmlData::pStringData
  uint32 nContentStringOffset;     // offset in CBinaryXmlData::pStringData
  uint16 nAttributeCount;
  uint16 nChildCount;
  NodeIndex nParentIndex;
  NodeIndex nFirstAttributeIndex;
  NodeIndex nFirstChildIndex;
  Pad<sizeof(uint32) - sizeof(NodeIndex)> reserved_for_alignment;
 };

 class Attribute
 {
 public:
  uint32 nKeyStringOffset;         // offset in CBinaryXmlData::pStringData
  uint32 nValueStringOffset;       // offset in CBinaryXmlData::pStringData
 };

 class BinaryFileHeader
 {
 public:
  static const char* sk_szCorrectSignature;
  char szSignature[8];
  uint32 nXMLSize;
  uint32 nNodeTablePosition;
  uint32 nNodeCount;
  uint32 nAttributeTablePosition;
  uint32 nAttributeCount;
  uint32 nChildTablePosition;
  uint32 nChildCount;
  uint32 nStringDataPosition;
  uint32 nStringDataSize;
 };
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/

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

Re: Sniper Ghost Warrior 2 .xml files

Post by michalss » Sun Mar 31, 2013 7:22 pm

anyone please ?
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/

turkgamer
advanced
Posts: 66
Joined: Sun Oct 02, 2011 6:16 pm
Has thanked: 5 times
Been thanked: 5 times

Re: Sniper Ghost Warrior 2 .xml files

Post by turkgamer » Thu Apr 04, 2013 8:42 am

Anyone?

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

Re: Sniper Ghost Warrior 2 .xml files

Post by michalss » Mon Apr 22, 2013 5:27 pm

bump.... I was try to revers it but really no idea this look so stupid this format anyone can have a look please ?
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/

turkgamer
advanced
Posts: 66
Joined: Sun Oct 02, 2011 6:16 pm
Has thanked: 5 times
Been thanked: 5 times

Re: Sniper Ghost Warrior 2 .xml files

Post by turkgamer » Sat May 11, 2013 9:32 am

Please someone help us!

sarzamin
beginner
Posts: 38
Joined: Fri Nov 19, 2010 3:19 pm
Location: Dubai
Has thanked: 3 times
Contact:

Re: Sniper Ghost Warrior 2 .xml files

Post by sarzamin » Sat Sep 21, 2013 10:45 am

thanks to all

I need
dialog_recording_list.7z
file convert to Excel readable xml file

that is in DLC and different from original file
You do not have the required permissions to view the files attached to this post.

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 7 times

Re: Sniper Ghost Warrior 2 .xml files

Post by lostprophet » Tue Jun 10, 2014 6:59 pm

Any news on this? Still no hope for translating the game?
Hungarian translator | Previous translations: http://lostprophet.hu

Post Reply