Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Rybka Support / Hard code Large page default to Enabled?
- - By Fulcrum2000 (****) [nl] Date 2010-05-31 13:39
Is it possible (using a hex editor) to set the default value of Large pages to enabled?. When I use Fritz10 I first have to load the engine to change the value to Enabled, after that the engine is reloaded. This loading, unloading, reloading is sometimes causing the set Large pages to fail (when using a large hask size).
Parent - - By Lukas Cimiotti (Bronze) [de] Date 2010-05-31 14:03
Make a new uci file by clicking on "Create UCI Engine", click on engine options, enable large pages, click OK, change the name of the engine by adding at least one letter (space is also accepted), click OK - ready :)
Parent - By Fulcrum2000 (****) [nl] Date 2010-05-31 16:43
Should have thought of that myself ;-)
Parent - - By Sesse (****) [ch] Date 2010-05-31 14:18
Quite possibly -- I could think of a number of ways. I don't think you'll find anyone here willing to actually find the addresses and stuff for you, though -- it's quite a lot of work even for someone who knows how. :-)

/* Steinar */
Parent - By Banned for Life (Gold) Date 2010-05-31 16:25
BB might do it if he were still here. He's quite good at reverse engineering. Luckily he uses his powers for good rather than evil! :-D
Parent - - By Fulcrum2000 (****) [nl] Date 2010-05-31 16:51 Edited 2010-05-31 16:54
It's indeed incredible difficult to find. I'm playing with HxD and so far only found the offset for the MultiPV_cp and NalimovUsage. Most entries are listed several times in the exe and at the moment it's just trial and error to get the correct one. It's fun though :-)
Parent - - By Master Om (Bronze) [in] Date 2010-05-31 17:01
No need of all these. Just find the .uci file that fritz 10 makes. open it with note pad. write the parameter there. simple. Like this. See the Bold ones. just add that simple.
[ENGINE]
Name=Deep Rybka 4 x64
Author=Vasik Rajlich
Filename=E:\Engines\Rybka_4\Deep Rybka 4 x64.exe
LogoName=Logo
[OPTIONS]
Use Large Pages=true
Parent - - By Fulcrum2000 (****) [nl] Date 2010-05-31 17:19 Edited 2010-05-31 17:22
I know, that's basically the solution Kullberg mentioned.
BTW While exploring the executable I found several hardcoded fen positions. This are two one of them:

4r3/1b2rp1k/1p1q1bpp/pP1p3P/P1pP4/4PB2/2Q2PP1/2R1RNK1 w - - 0 1


2k5/pb1r1pr1/8/1qNp4/1ppB4/6P1/1P3PBP/R4RK1 b - - 0 1
Parent - By Master Om (Bronze) [in] Date 2010-05-31 17:32
in the executables ?
Parent - - By Lukas Cimiotti (Bronze) [de] Date 2010-05-31 17:33
Maybe Vas has added some garbage to confuse hackers :lol:
Parent - By Fulcrum2000 (****) [nl] Date 2010-05-31 17:38
I think it are (auto)test positions. There is still some testcode left in the exe, for example hardcoded TB paths (c:\autoTB\TB5) etc.
Parent - By Sesse (****) [ch] Date 2010-05-31 17:49
Based on how easily the UCI parser reads in Hex-Rays, I'd say those attempts were pretty bad, if so =)

/* Steinar */
Parent - - By Sesse (****) [ch] Date 2010-05-31 17:36
This was also discussed after Rybka 3 release -- I think some of it was for testing, and other was junk Vas forgot to remove from the executable.

/* Steinar */
Parent - By Fulcrum2000 (****) [nl] Date 2010-05-31 17:40
Yeah, I think I remember now. All that junk is still in, so he fortunately did not loose to much of his Rybka 3 source code ;-)
Up Topic Rybka Support & Discussion / Rybka Support / Hard code Large page default to Enabled?

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill