Jump to content
Sign in to follow this  

[Tutorial] Freestyle plugin translation

Recommended Posts

Hi ,

this is a translation i've made of our french tutorial here  http://psychomantis59.free.fr/nst/showthread.php?tid=95 (sorry if english is not so good)


Freestyleplugin translation


After our release ( here and here ) and of lot of PM's asking how to, where going to explain our method step by step.

Part 1 : freestyleplugin.xex translation

Prerequisites :

- xextool by xorloser : http://jheberg.net/captcha/xextool-v63/
- hexadecimal editor  (Hexedit, Hxd, WinHex, ...),
- our example files : http://jheberg.net/captcha/exemple/
- lot of patience ...


We are first going to prepare the freestyleplugin.xex file so we can edit it :
Copy the freestyleplugin.xex file in the xextool folder,
in MS-DOS command go to the xextool folder,
we are now going to uncrypt and uncompress the .xex file,
you just have to type this command : "xextool.exe -e u -c u freestyleplugin.xex",
Here it is , our xex file is uncrompressed and uncrypted.

mini_140716102148946492.png mini_140716102150162861.png mini_140716102151937154.png

Now that our xex file is ready we are going to use the hex software to edit it,
This is the longest and hardest part, you will have to find the strings to translate , you also need to translate the words with the same number of letter or less and unicode isn't supported .
We advise you to do the modifications step by step and testing it each time, it could seem boring but that's the best way to do it.

We provided you 2 example files so you have just to compare them (in hex) to find the strings to translate, Theses examples files can be a little bit different of the one provided in aurora thats cause we worked on the FSD version of the plugin, you can work on our orignal file in our archive it will wok on aurora as well .


Once your translation done you have to recompress and recrypt the xex file in xextool with the command: "xextool.exe -e e -c c freestyleplugin.xex"


Now you've done the hardest part, if everything went well to this step for you, the second part will be easy.

Part 2 : Plugin .xur files translation

For this part you will have 2 possibilities ,

    - The first one is the hardest one but was the only option we had before the second one came out, wich consist in the same method as for the xex file with hex editing. Here are our .xur files if you want to hex compare : link

    - The second one wich we will explain, is with the Xuiworkshop software from Masterrowen (PHOENIX/FSD). (EDIT : saving the binary don't work for now need to find what's wrong, you can use first method)

Prerequisites :

- This file : http://jheberg.net/captcha/development/
- a little bit more patience .

First we're gonna put the content of the rar file we provided in the root of your C: hdd, you need to have this : "C:\Development\...."

Now launch the software a this place "C:\Development\JQE360 Repository\Trunk\XuiWorkshop\XuiWorkshop.exe" (in admin mode)
You will now have the possibility to open the plugin .xur files
Once .xur file loaded you will see all the labels in it , to edit them you to just need in the properties in the text field .


Same as for the xex translation we advise you to do it step by step and testing it every time.

Now you should have a 100% translated plugin .
We hope this tutorial will make us see a lot of releases in all the languages .

Enjoy !!!

Psychomantis59 and PeZeD

  • Like 3

Share this post

Link to post
Share on other sites

Yeah just checked it won't save the modifications ,

will take a closer look a it did not saw that as we allways do with hex editing and didn't check this ,

the strange fact is that it does create the file well but without the modifciations


Edit : edited the OP , with the link to our .xur files so you can compare it  with orignal ones and hex edit them ,

Share this post

Link to post
Share on other sites

Length of string don't may change via xex edit?

No, hexediting means you have to edit everything to make your strings longer (all offsets needs to be modified for each jump in the code...)

Share this post

Link to post
Share on other sites

Do not tell me in detail how to do it?

Why should i explain to you how to read assembly code from binary?? I told you what would be needed to make it work if you changed the length of the strings used...

Another restriction is that unicode will not work...

Share this post

Link to post
Share on other sites

that the sad part , but better than nothing :) , will add the resctriction for unicode to my tutorial ,

also if someone had managed to get xuiworkshop working , please contact me , this way i think length of the string wouldn't be a problem (but only for .xur files but not the .xex one)

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...