goliat17 Posted February 27 Posted February 27 I have finished translated decoded files czech a text to Ryse Son of Rome to my polish launguage. But how insert text to game? I tried contact with folkemon, translator czech fan translation, but he writed me, that their helped their famialiar programist, but he dosen't have contact long ago. Is someone to be able help me insert text to game?
Supporter Noob Posted February 28 Supporter Posted February 28 9 hours ago, goliat17 said: I have finished translated decoded files czech a text to Ryse Son of Rome to my polish launguage. But how insert text to game? I tried contact with folkemon, translator czech fan translation, but he writed me, that their helped their famialiar programist, but he dosen't have contact long ago. Is someone to be able help me insert text to game? I haven't tried editing the game yet, but at first glance I would suggest you try this: 1) - Rename the original "...\Localization\English_xml.pak" file to backup_English_xml.pak. 2) - Copy the extracted .xml and font files next to the .pak file. I hope it works. If not, I can't help you.
Pikor Posted March 1 Posted March 1 (edited) The game uses CryEngine. The PAK file can be extracted using the Crysis 3 PAK Extractor tool (https://gamebanana.com/tools/5416). Also, can pack file using CMD: dec.exe input.zip output.pak Looking at the structure of the extracted XML files, they are also somehow packed with the CryXmlB header and is not plain XML. I am sending the original file from the game as an attachment. So, you need convert XML -> CryXmlB (I found only extractor on github https://github.com/Bl00drav3n/CryXmlB | https://github.com/pleonex/HappyXml) -> pack all files to ZIP -> use cmd to pack ZIP to PAK. English_xml_ORGINAL.zip Edited March 1 by Pikor
Moderators ikskoks Posted March 1 Moderators Posted March 1 28 minutes ago, goliat17 said: Problem solved. How? This forum is for sharing knowledge. Please explain what did you do.
goliat17 Posted March 4 Author Posted March 4 On 3/1/2025 at 12:13 PM, ikskoks said: How? This forum is for sharing knowledge. Please explain what did you do. I got help from programist friend, nick "karhorus". He created a Polish installer based on its Czech counterpart. But I have to translate one file, because not everything was translated.
wolf1987 Posted May 18 Posted May 18 I have translated the game but how do you convert the xml file to CryXmlB?
wolf1987 Posted May 19 Posted May 19 (edited) I extracted the game files and translated and converted them from CryXmlB to xml. Here are all the required files. Sites I've used https://github.com/Bl00drav3n/CryXmlB or https://github.com/pleonex/HappyXml I need help converting an XML file to CryXmlB. Thank you all. Ryse Son of Rome.rar Edited May 19 by wolf1987
haibaer Posted May 20 Posted May 20 (edited) A reasonably new version of cry engine's source code is available on github, which contains codes for loading and writing their own binary xml format. An AI should be able to write a converter for you if you provide it with those codes, I guess. Edited May 20 by haibaer
FEARka Posted May 20 Posted May 20 Copy the translated .xml and .gfx files into the Ryse Son of Rome\Localization folder, alongside the other .pak files. Then delete the English_xml.pak file.
wolf1987 Posted May 21 Posted May 21 Is there a tool to convert XML file to CryXmlB? I mean to return it to its original state.
Jsnbrody Posted May 21 Posted May 21 If your xml is decrypted, just drop it into English_Xml.pak using Winrar. The game already reads both formats (compressed or not)
Jsnbrody Posted May 21 Posted May 21 In games made with CryEngine, especially in localization files, there are usually two identical lines that contain the same in-game text. If you want to change the game's text or subtitles, you must edit both lines with the same content; otherwise, the game will throw an error. I don't know why this is.
wolf1987 Posted May 22 Posted May 22 I know, my friend, that I've finished translating it, but in order for you to read the game file, the translated text is new. After converting it to a package, you must return the XML file to CryXmlB. Do you understand what I mean?
wolf1987 Posted May 22 Posted May 22 Take a look at this text and you'll see what I mean. I want to return it to its encrypted form so the game can read it. AR.rar
Solution Jsnbrody Posted May 22 Solution Posted May 22 (edited) I figured out your mistake. I’ll leave the decrypted file English_XML.pak for you. Your task is to use WinRAR as the archiver. You can extract the files however you like, but when repacking, just drag and drop the files into the archive and click OK. All the texts are already decrypted. Extract all the text files, translate them, and put them back in exactly. Just don’t use your previously translated XML files — they are incorrect, which is why the game throws an error. The decryption doesn’t match the game’s format. These are my modified texts: DecryptLocalization.rar Edited May 22 by Jsnbrody
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now