Topic Rybka Support & Discussion / Rybka Support / Hard code Large page default to Enabled? (637 hits)
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).
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 :)
Should have thought of that myself ;-)
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 */
/* Steinar */
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
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 :-)
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
[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
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:
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
in the executables ?
Maybe Vas has added some garbage to confuse hackers

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.
Based on how easily the UCI parser reads in Hex-Rays, I'd say those attempts were pretty bad, if so =)
/* Steinar */
/* Steinar */
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 */
/* Steinar */
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 ;-)
Topic Rybka Support & Discussion / Rybka Support / Hard code Large page default to Enabled? (637 hits)
Powered by mwForum 2.23.1 © 1999-2011 Markus Wichitill