The play sheet chooses Maia or Rodent IV, and Rodent's character in a full-screen list (docs/design/android-rodent.md, docs/decisions.md «Rodent IV на телефоне»). The engine is built from its authors' sources by androidApp/scripts/rodent4.sh (patches: no wordexp.h on bionic; the search thread took its parameter by reference, which clang builds read after it was gone) and ships in both APKs; the opening books are one checked download. Rodent's tables, its book manifest and its opponent loop move from the desktop into crates/play, shared by both apps; uci's EngineConfig takes an environment (RODENT4HOME). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
499 lines
15 KiB
Rust
499 lines
15 KiB
Rust
//! Generated by scripts/rodent4-manifest.py: the personalities and opening books of
|
|
//! Rodent IV as they are in the authors' repository at `COMMIT`, with their sizes and
|
|
//! SHA-256 (each is checked as it is downloaded).
|
|
|
|
pub const COMMIT: &str = "e8d84c8c8c189a1cf4eb27c578fc573af3b916d2";
|
|
|
|
/// (path in the repository, bytes, SHA-256).
|
|
pub const FILES: &[(&str, u64, &str)] = &[
|
|
(
|
|
"books/#readme.txt",
|
|
190,
|
|
"48d94c1e55cb6f98476bccaf9432166d3bb07aea664bf595c4b85a65ef43a714",
|
|
),
|
|
(
|
|
"books/guide.bin",
|
|
3056,
|
|
"168abc6dc0af6cf5c1719403e51e367cc56c5929531c8f35b8000dcda0de84ba",
|
|
),
|
|
(
|
|
"books/guide/#readme.txt",
|
|
1263,
|
|
"7a73f72ac924f4988b88da2ea6ad3168c99107202a690905e011b0f3e66f1875",
|
|
),
|
|
(
|
|
"books/guide/Strangler.bin",
|
|
10144,
|
|
"35303138aacbea4ce768414f4b7c709e5705e7d17f57a487136d6575634dfbf1",
|
|
),
|
|
(
|
|
"books/guide/active.bin",
|
|
298368,
|
|
"4ce06ffe8208ea462623d4aa2cd76e5fffb43fee568eec926dda58c49de39a74",
|
|
),
|
|
(
|
|
"books/guide/cat.bin",
|
|
3280,
|
|
"6b38a429a10d9214b2bef03ddff3f1d07ba29486e47d2b23a52ca256b7af4929",
|
|
),
|
|
(
|
|
"books/guide/closed.bin",
|
|
1312,
|
|
"eb663e1ed1e6cffbfcc33f2aed8b080df70dd6fe3e0f549a3ad20938f37f2da6",
|
|
),
|
|
(
|
|
"books/guide/cs.bin",
|
|
4336,
|
|
"ea213e6c49e32b0b0e6ab1ce48b91fff354a05893d3a7fcaef595c1b82c8ee32",
|
|
),
|
|
(
|
|
"books/guide/empty.bin",
|
|
16,
|
|
"60c69a3e87bf5c4f1e546bec45f262690bcf5494c4ecac2616bf2f731afa152a",
|
|
),
|
|
(
|
|
"books/guide/exchange.bin",
|
|
1824,
|
|
"98b191cbb8426bf4098c7330861d441315687325e5f27d7f9dc623c163c2ff39",
|
|
),
|
|
(
|
|
"books/guide/flank.bin",
|
|
186144,
|
|
"da019cc249e2f5e9559067faa7cbfeadde405cdd5f77dabd8059589329d88243",
|
|
),
|
|
(
|
|
"books/guide/grandpa.bin",
|
|
11584,
|
|
"2c2d177e4695e32e22915dc4d2d624e834d59a75aef889f9a3d2190b6d9de71e",
|
|
),
|
|
(
|
|
"books/guide/low.bin",
|
|
2432,
|
|
"549b341172c980aa7b47750b8caafa9e5e4df8161f9e9a3ae84df65a7db135a5",
|
|
),
|
|
(
|
|
"books/guide/ph-exoticbook.bin",
|
|
9361568,
|
|
"fa0f55de6bd345521633f1ad0f3171823f4ff36c8784b123c9963278bc0cac13",
|
|
),
|
|
(
|
|
"books/guide/ph-gambitbook.bin",
|
|
8407936,
|
|
"f2dddc37343b155624fddb08a7743965e806b717ac87985f887643e126119f14",
|
|
),
|
|
(
|
|
"books/guide/simple.bin",
|
|
1136,
|
|
"5c5655286dfb7828ecdc516ec5a04bc7ff82ee6d4d6d3b1e6737eea0a2a3f01c",
|
|
),
|
|
(
|
|
"books/guide/solid.bin",
|
|
702704,
|
|
"b6ed13b48ede300b9c33944e12d899daaab1fc120d129379bfe234f2f65dffc8",
|
|
),
|
|
(
|
|
"books/guide/tricky.bin",
|
|
236128,
|
|
"ea008c67e321c3460298777be6b4ad6d21384589c148bec16c8295b84870ab63",
|
|
),
|
|
(
|
|
"books/hist/#readme.txt",
|
|
285,
|
|
"7997dfcd3f1f1afd8da16ddddada703eca0a74c0e57b7ef7357e90f075c0b6e3",
|
|
),
|
|
(
|
|
"books/hist/_31to80.bin",
|
|
588640,
|
|
"c51764eab0ad6ab0659c6aba8bdfa7cec930e88dfc5887efce1e31a5ca80e81f",
|
|
),
|
|
(
|
|
"books/hist/_81to06.bin",
|
|
1393952,
|
|
"ddd3fe064d17ee52e6653dbafbd6280d2d85f09da50352366c3515585c0c8d19",
|
|
),
|
|
(
|
|
"books/hist/_post06.bin",
|
|
1474384,
|
|
"b3b1fb48054e4737b80acebe8851c152188243439bc7194b3faa01be85116ee9",
|
|
),
|
|
(
|
|
"books/hist/_pre30.bin",
|
|
169856,
|
|
"77aeca2bd8ee5996cd95683531f008b4e038c6f8a1d41550d5b02c73d4f17257",
|
|
),
|
|
(
|
|
"books/main/micro.bin",
|
|
76400,
|
|
"40b063b1a2dfff9964b3e43f76e321863a3bc40d79c9ec71d604116d5cb0fb0e",
|
|
),
|
|
(
|
|
"books/main/mini.bin",
|
|
154576,
|
|
"cde1a83f2f8d067920d9bd63bd6e66840ec8b74b4e85ed43b26e3dfcb5c0ba1d",
|
|
),
|
|
(
|
|
"books/main/small.bin",
|
|
311296,
|
|
"ef9c73df2d1df15cfd70bea5f6ed074298a583fb2248a2ea626f008bbad55148",
|
|
),
|
|
(
|
|
"books/players/#readme.txt",
|
|
908,
|
|
"fb5a69bee93feec68ee8ca24a86f7877b008a01b8438ffe5d0ae8f6874a387ad",
|
|
),
|
|
(
|
|
"books/players/bn-bosboom.bin",
|
|
538960,
|
|
"c75133dc14d07034d73e7faace7adbe6a2f8ea3a5b55ff6e2f3b6cd8b3c13b48",
|
|
),
|
|
(
|
|
"books/players/morphy.bin",
|
|
1440,
|
|
"57e6e7619ac7647acaf561e0ebc2f065c32835cadca2029386ea4bbb347f58b0",
|
|
),
|
|
(
|
|
"books/players/nimzowitsch.bin",
|
|
261040,
|
|
"64f43e651515f68c5a8e5eb1c970cfc6b49b47e30abf3a078659b5465bf79459",
|
|
),
|
|
(
|
|
"books/players/petrosian.bin",
|
|
850048,
|
|
"0393a98eaa0a86203066494447d9a90255518499ba702933118b72af281a364e",
|
|
),
|
|
(
|
|
"books/players/ph-anand2.bin",
|
|
1998384,
|
|
"ca5d7a52b33f78e857fb44f6157ac83b943dcd2e36c630c77e107a7c8d5f94ad",
|
|
),
|
|
(
|
|
"books/players/ph-anderssen2.bin",
|
|
8539632,
|
|
"7edf078361d6462584107b0b37d9c24ee6dec297936bacc6f4085069687256eb",
|
|
),
|
|
(
|
|
"books/players/ph-botvinnik2.bin",
|
|
1764656,
|
|
"dd041dad209ae2278f94ea3bd3d59aa280b07ee5b6f5e856aef87cb800bdd7e7",
|
|
),
|
|
(
|
|
"books/players/ph-fischer2.bin",
|
|
1728896,
|
|
"1b8bc31b15a135c0cef705e633524583cea304f4c44cf705bb7b0a58d0be1279",
|
|
),
|
|
(
|
|
"books/players/ph-karpov2.bin",
|
|
2287088,
|
|
"aed5d14526826482414ae9a8334cf84ee812de6da01e9f50ad14b48d3ebd7668",
|
|
),
|
|
(
|
|
"books/players/ph-larsen2.bin",
|
|
2086640,
|
|
"c88749872fa2d8f99b699d21c30e8e4b61b1a5cd84feef9eebd3354be70f37c3",
|
|
),
|
|
(
|
|
"books/players/ph-lasker2.bin",
|
|
1752464,
|
|
"7c11cc10212424fb8dd24da6e6e4fabdb6f9689d5e0eb9cd4c8d7b7494a44ef9",
|
|
),
|
|
(
|
|
"books/players/ph-reti2.bin",
|
|
1644768,
|
|
"50837dc5bed4f94a35449732c676dba3bafde132b219b63ea683b1159988f9f2",
|
|
),
|
|
(
|
|
"books/players/ph-rubinstein2.bin",
|
|
1705984,
|
|
"3dd2f06df72c2666d37ef3e397bec296add5d4e3de45bfeed6c07823de21cb36",
|
|
),
|
|
(
|
|
"books/players/ph-spassky2.bin",
|
|
2021984,
|
|
"d0c981ea25e3ab6e48984bcdd587e74d08aa6bced545b15b0d4cf3d29b8e2e3b",
|
|
),
|
|
(
|
|
"books/players/ph-tal2.bin",
|
|
2062464,
|
|
"2e7923a363a4d24fa10cda6991dc5c289cde57d536b358b45b29a157690c9c04",
|
|
),
|
|
(
|
|
"books/players/ph-tarrasch2.bin",
|
|
1677472,
|
|
"16954ddd54e2aa82dddd418fba651a6f19052205d7aa203fe9d6098a60c700b4",
|
|
),
|
|
(
|
|
"books/players/ph-topalov2.bin",
|
|
1828864,
|
|
"5a07a21d75424b59b7c1a51387868bbd0f55cf0e3eb83d223b9f0bdac410dfdf",
|
|
),
|
|
(
|
|
"books/players/rj-alekhine.bin",
|
|
865072,
|
|
"df46561ddcd723f3f01fc7c6fbab290b0c9eb2a3594a87c79eadbd87fdcc2737",
|
|
),
|
|
(
|
|
"books/players/rj-kasparov.bin",
|
|
1617072,
|
|
"06e06f3b061f31002a58a39ddf26a9fd5064b827522b06cedde25198d54d9d45",
|
|
),
|
|
(
|
|
"books/players/rj-kortchnoi.bin",
|
|
135424,
|
|
"4e2ff5a5be4aee43c56998015cc800f3537d16371dfab4be3726734b252727c9",
|
|
),
|
|
(
|
|
"books/players/rj-marshall.bin",
|
|
300688,
|
|
"c11f9dab58a0ef1efe655ca92ef010b4384e819affc7116c6ba110f33622312c",
|
|
),
|
|
(
|
|
"books/players/steinitz.bin",
|
|
81280,
|
|
"14d96f0b54b578bdead1cd214bc8fc6442f5a09a7a99f3a9ea129f47df17aa2b",
|
|
),
|
|
(
|
|
"books/rodent.bin",
|
|
10179008,
|
|
"4a65869ba4081398bfa0804b953502352815dcfae49ad5af9726a69d46047786",
|
|
),
|
|
(
|
|
"personalities/alekhine.txt",
|
|
3517,
|
|
"3d618e0a35cbcdc2467f5f114790646fe40050bea78c62c5520e888a02553bb8",
|
|
),
|
|
(
|
|
"personalities/amanda.txt",
|
|
2510,
|
|
"ff04a71cd2f1eb626d8805d37f2dd3a6904d93a1c93c5290553431453fea26b6",
|
|
),
|
|
(
|
|
"personalities/ampere.txt",
|
|
2498,
|
|
"a9ce7312c0fb8f3b0c46e3ff58e79cb10a6fd092f1cb69c480e102461861e912",
|
|
),
|
|
(
|
|
"personalities/anand.txt",
|
|
3366,
|
|
"f01b264bf221118af21f8576c8234fc7259ee32b008d7f604764f14abd38965a",
|
|
),
|
|
(
|
|
"personalities/anderssen.txt",
|
|
3274,
|
|
"5d4235febae596783c0d68c2567900440addfebf6697c48ad5d0ada2eb94cceb",
|
|
),
|
|
(
|
|
"personalities/basic.ini",
|
|
2719,
|
|
"abe0ebe031c00009d3d3bbce7daf218e54f0422a8e6ded3c29d6e9c3350551bd",
|
|
),
|
|
(
|
|
"personalities/bosboom.txt",
|
|
2904,
|
|
"172d473052ee04141235b90bceb2eace235c1c33f7c46aae292a22ceeebbaa85",
|
|
),
|
|
(
|
|
"personalities/botvinnik.txt",
|
|
3385,
|
|
"e4de674084b289e6a5eca65edce542c948e3e75ffa25c155c7af56069ff8816e",
|
|
),
|
|
(
|
|
"personalities/cloe.txt",
|
|
2483,
|
|
"dfe5a303071440c531b91437d81a47a0be1d51b4e63bdeb64794a7c2d4f504a9",
|
|
),
|
|
(
|
|
"personalities/deborah.txt",
|
|
2489,
|
|
"7d2203efdd3972a1b9bd836dc9237121873de26200f515378bc24850446f85f7",
|
|
),
|
|
(
|
|
"personalities/default.txt",
|
|
1091,
|
|
"1470a3e385b26efdd37d7ba30aae50e008a35eea78f03f683db82d02d1a2df2e",
|
|
),
|
|
(
|
|
"personalities/defender.txt",
|
|
2455,
|
|
"7b0d1e377d0862d18f8101e2068eed8486558416997fe596c42f589c525aae7c",
|
|
),
|
|
(
|
|
"personalities/dynamic.txt",
|
|
2543,
|
|
"1edd02be3baddba2f5056db8fdabfe549488c0f9832e553677227e98b3a0f404",
|
|
),
|
|
(
|
|
"personalities/fischer.txt",
|
|
3333,
|
|
"ee2ab4e175f0dbee88f2f12595393d14001915670e086198139d15ad86eae577",
|
|
),
|
|
(
|
|
"personalities/grumpy.txt",
|
|
2531,
|
|
"0ff254a3439d947756fdf748b94fcceb82cc202b46ded10e839a7204fbce3c03",
|
|
),
|
|
(
|
|
"personalities/karpov.txt",
|
|
2893,
|
|
"9ea8a26ddd30ebb7085193d2c94119bdeb9535cd7b43a283741ad27244c78aee",
|
|
),
|
|
(
|
|
"personalities/kasparov.txt",
|
|
2949,
|
|
"0167481c1a12c5ee50dcaae8d9a5de80ca5baccb44114e603ae8395cd4244f43",
|
|
),
|
|
(
|
|
"personalities/kortchnoi.txt",
|
|
3084,
|
|
"36fa917d841447df9aa2168f4f736c80d1506afe270c015ceba6a013c80802ad",
|
|
),
|
|
(
|
|
"personalities/larsen.txt",
|
|
3430,
|
|
"e0ae364f22630da9bfbe4a415ad05555a19c526a8efba2e0e716c23b603bc60b",
|
|
),
|
|
(
|
|
"personalities/lasker.txt",
|
|
2850,
|
|
"2f522070cc68bede8c77d6e7040939c0ba24aba7017988d417b37ec9a424c388",
|
|
),
|
|
(
|
|
"personalities/marshall.txt",
|
|
2960,
|
|
"38dfc223a8067f5a041e011c25c914e56bebbfd78e0dc10648c6a73a228f5711",
|
|
),
|
|
(
|
|
"personalities/morphy.txt",
|
|
2486,
|
|
"8e6d9aa1658deda43c280bef69ec6e0914c883e57f118a22c7a5edbe7cfef7de",
|
|
),
|
|
(
|
|
"personalities/nimzowitsch.txt",
|
|
2475,
|
|
"53b1825b4dd6ea709b5fcfc401ce9ab920ffcd03b9e54936e8fa3c36812ceae1",
|
|
),
|
|
(
|
|
"personalities/partisan.txt",
|
|
2504,
|
|
"483d94226b4d5b42105db4c28c0f078ae096a6f26777ee558e5c7afabc8730fe",
|
|
),
|
|
(
|
|
"personalities/pawnsacker.txt",
|
|
2563,
|
|
"bf92b869e67fce75d967f8c385787ef52ac62ffa612917184d7b6f75caff7941",
|
|
),
|
|
(
|
|
"personalities/pedrita.txt",
|
|
2482,
|
|
"3f9858b2e7912e666d4b48b6f6509d712b63428db06902b83e45aadef2988ad3",
|
|
),
|
|
(
|
|
"personalities/petrosian.txt",
|
|
3350,
|
|
"e4558a9035d0e21afa9bbd453f5ded76d22fb274ca39889cf2163d7472879ef4",
|
|
),
|
|
(
|
|
"personalities/preston.txt",
|
|
2487,
|
|
"a232ea602749587fbd15889a8948403c5ac2687234caca538d3aa6b641741944",
|
|
),
|
|
(
|
|
"personalities/reti.txt",
|
|
3327,
|
|
"8d15e479e118903309afe215cd070faaa2e4337b2b62809a26476113a9469d20",
|
|
),
|
|
(
|
|
"personalities/rubinstein.txt",
|
|
3384,
|
|
"efb9dda6d01b824ba39260881deb18a22c22774d7946eeb6adbd3d4d4c18ca39",
|
|
),
|
|
(
|
|
"personalities/simple.txt",
|
|
2510,
|
|
"19f83fb05f96039a34e0e9a36bf66fc841693f70d73ee2a243df42e90caf1613",
|
|
),
|
|
(
|
|
"personalities/spassky.txt",
|
|
3347,
|
|
"000da9c591c8e63fe5e4b11c812c42d3e700032e034f75934d67faba089b4bbd",
|
|
),
|
|
(
|
|
"personalities/spitfire.txt",
|
|
2448,
|
|
"5b42cac56aa4fbab4b6dff48e86fbfec8744e27bb310475b9bc9e91746e519f6",
|
|
),
|
|
(
|
|
"personalities/steinitz.txt",
|
|
2572,
|
|
"f7ab0efd23c94f96f025104dc82eab993163d7a7523cab8b612add1d85d1b338",
|
|
),
|
|
(
|
|
"personalities/strangler.txt",
|
|
2526,
|
|
"3ed1809e19ba622c165b9fbf8eb10f056a3acbb3a0ee2a4c32b9488919d85409",
|
|
),
|
|
(
|
|
"personalities/swapper.txt",
|
|
2513,
|
|
"d1b8ec5e016452f002609c32bc575fb9ee47ba4e0db671f82215009c731187fc",
|
|
),
|
|
(
|
|
"personalities/tal.txt",
|
|
2459,
|
|
"f6b58d7cc9e7d2fcdbbc24a20ea72035d05ca5ed5e3401bda240b1b298ce149d",
|
|
),
|
|
(
|
|
"personalities/tarrasch.txt",
|
|
2546,
|
|
"6fafaf4cb8ec37439c2471a26b9be471a35d5e14faf1a624bb2fe9edb6f3f496",
|
|
),
|
|
(
|
|
"personalities/topalov.txt",
|
|
3358,
|
|
"0e5a9fc33d3ade50d7eaa68a06d29131151d270d5d0f3afd5d408bfb9081e4d8",
|
|
),
|
|
];
|
|
|
|
/// The personalities of the engine's list: (name, guide book, main book), the books
|
|
/// as the personality's file names them (under `books/`).
|
|
pub const PERSONALITY_BOOKS: &[(&str, &str, &str)] = &[
|
|
("Alekhine", "players/rj-alekhine.bin", "hist/_pre30.bin"),
|
|
("Amanda", "guide/ph-gambitbook.bin", "rodent.bin"),
|
|
("Ampere", "guide/active.bin", "rodent.bin"),
|
|
("Anand", "players/ph-anand2.bin", "hist/_post06.bin"),
|
|
("Anderssen", "players/ph-anderssen2.bin", "hist/_pre30.bin"),
|
|
("Bosboom.txt", "players/bn-bosboom.bin", "hist/_post06.bin"),
|
|
("Botvinnik", "players/ph-botvinnik2.bin", "hist/_31to80.bin"),
|
|
("Cloe", "guide/closed.bin", "rodent.bin"),
|
|
("Deborah", "guide/guide.bin", "rodent.bin"),
|
|
("Defender", "guide/solid.bin", "rodent.bin"),
|
|
("Dynamic", "guide/active.bin", "rodent.bin"),
|
|
("Fischer", "players/ph-fischer2.bin", "hist/_31to80.bin"),
|
|
("Grumpy", "guide/grandpa.bin", "rodent.bin"),
|
|
("Karpov", "players/ph-karpov2.bin", "hist/_81to06.bin"),
|
|
("Kasparov", "players/rj-kasparov.bin", "hist/_81to06.bin"),
|
|
("Kortchnoi", "players/rj-kortchnoi.bin", "hist/_31to80.bin"),
|
|
("Larsen", "players/ph-larsen2.bin", "hist/_31to80.bin"),
|
|
("Lasker", "players/ph-lasker2.bin", "hist/_pre30.bin"),
|
|
("Marshall", "players/rj-marshall.bin", "hist/_pre30.bin"),
|
|
("Morphy", "players/morphy.bin", "hist/_pre30.bin"),
|
|
("Nimzowitsch", "players/nimzowitsch.bin", "hist/_pre30.bin"),
|
|
("Partisan", "guide/low.bin", "rodent.bin"),
|
|
("Pawnsacker", "rodent.bin", "rodent.bin"),
|
|
("Pedrita", "guide/solid.bin", "rodent.bin"),
|
|
("Petrosian", "players/petrosian.bin", "hist/_31to80.bin"),
|
|
("Preston", "guide/cs.bin", "rodent.bin"),
|
|
("Reti", "players/ph-reti2.bin", "hist/_pre30.bin"),
|
|
(
|
|
"Rubinstein",
|
|
"players/ph-rubinstein2.bin",
|
|
"hist/_pre30.bin",
|
|
),
|
|
("Simple", "guide/simple.bin", "rodent.bin"),
|
|
("Spassky", "players/ph_spassky2.bin", "hist/_31to80.bin"),
|
|
("Spitfire", "guide/active.bin", "rodent.bin"),
|
|
("Steinitz", "players/steinitz.bin", "hist/_pre30.bin"),
|
|
("Strangler", "guide/strangler.bin", "rodent.bin"),
|
|
("Tal", "players/ph-tal2.bin", "hist/_31to80.bin"),
|
|
("Tarrasch", "players/ph-tarrasch2.bin", "hist/_pre30.bin"),
|
|
("Topalov", "players/ph-topalov2.bin", "hist/_post06.bin"),
|
|
];
|