Chess2u
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Chess2uLog in

descriptionRenaming Engines? EmptyRenaming Engines?

more_horiz
question
Anybody Knows Please How to Rename Engines using Hex-Editor,Cygnus Hex Editor?
For Example If I want to Rename Houdini 3 Pro.exe to some Xyz engine.exe which I want to load in Fritz what will be the best procedure?
As after editing codes and inserting and replacing codes Engine wont load in Fritz?
Thanks

descriptionRenaming Engines? EmptyRe: Renaming Engines?

more_horiz
Hi,

1) First download from the Cygnus Hex Editor:
http://download.cnet.com/Cygnus-Hex-Editor-Free-Edition/3000-2352_4-10448945.html
Install it then open it. Do file/open and click on the EXE you want to edit. Make sure you have kept a copy of the EXE before you do this in case it gets messed up and you have to start again.

2) You need to find the engine name (there are hundreds of lines of code). The best way is to do this is to do Edit/Find and then type "id name" or "author" into the search box. You need to type into the right hand side of the search box (the left is for hex characters and the right is for words). Tab to get over to the right. This will take you to the part of the code that has the engine name.

3) Now you need to overtype the engine name with the name that you want to use. Then close it and save changes and you have the renamed engine. However you have to be very careful to do this accurately. PLEASE READ ON.

4) You have to be very careful that when you make a change you must leave everything else in the lines above and below it in exactly the same position on the lines otherwise it won't load. So everything in the line above and below and to the left and right of the change has to be the same and in the same position as before.

5) Just one character out of place or a "." instead of a space - means the engine will not load. A space in hex = 20 and a full stop = 2E so you may need to change these to fill in any extra characters. Where there was a space before you have to leave a space, and where there was a full stop (".") before you have to leave a "." afterwards.

6) Also if you have moved things across to the right (by doing an insert) or to the left (by doing a delete) accidentally - even by by one character - again the engine will not load. If the name you are now typing in is shorter than the original name you must fill in the rest with spaces so that everything is in exactly the same relative position as before else you will disturb the code. So if the original name had 12 characters and the new name you overtype it with has 8 characters you must fill in the remaining 4 with spaces so that it is still 12 characters long.

7) It gets more tricky when you want to rename to a name that is longer than the original as somertimes there is not enough spaces on the line so you have to split the word over 2 lines (eg. "Stock" on one line and "fish" on the line above it). Then you have to get it in exactly the right position in the 2 lines otherwise you get a space in the word, or it will not load. Another thing is where you see Id Name %s %s - this means it is expecting 2 words (each %s = a word string) in the engine name with a space inbetween (because there is a space between %s and %s). So if you wrote Stockfish - it comes out like Stockf ish or Stoc kfish). You then have to remove the space betweeen %s and %s to make it Id Name %s%s (no space) - but then have to shift things along to make sure everything is in the same position as before you started - then type in the new name.

If you make a change then find the engine won't load in Fritz - go to you your engines file and remove what you have just created (it will be a name.uci). Then try again and so on. You may need to do it a few times until you get it right as every EXE is different to rename. Some are straightforward and some are very fiddly. Always test your EXE will load in Fritz correctly before you try using it online

It is hard to explain this but you will see as you try some renaming and have to learn by trial and error.

Good luck
Permissions in this forum:
You cannot reply to topics in this forum