1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00
BadFish/src
MinetaS 1b310cc87e Export and clean up net downloading script
Fixes https://github.com/official-stockfish/Stockfish/issues/5564

This patch extracts the net downloading script in Makefile into an
external script file. Also the script is moderately rewritten for
improved readability and speed.

* Use wget preferentially over curl, as curl is known to have slight
  overhead.
* Use command instead of hash to check if command exists. Reportedly,
  hash always returns zero in some POSIX shells even when the command
  fails.
* Command existence checks (wget/curl, sha256sum) are performed only
  once at the beginning.
* Each of common patterns is encapsulated in a function
  (get_nnue_filename, validate_network).
* Print out error/warning messages to stderr.

closes https://github.com/official-stockfish/Stockfish/pull/5563

No functional change

Co-authored-by: Disservin <disservin.social@gmail.com>
2024-09-09 18:02:27 +02:00
..
incbin Cleanup comments 2023-12-31 19:54:27 +01:00
nnue Improve Comments for Pairwise Multiplication Optimization 2024-08-20 20:47:46 +02:00
syzygy Fixed non UCI compliance 2024-07-15 13:14:57 +02:00
benchmark.cpp Restore NPS output for Perft 2024-04-24 18:20:55 +02:00
benchmark.h Restore NPS output for Perft 2024-04-24 18:20:55 +02:00
bitboard.cpp Early Exit in Bitboards::sliding_attack() 2024-05-18 09:24:23 +02:00
bitboard.h Assorted cleanups 2024-02-11 19:52:00 +01:00
engine.cpp Replicate network weights only to used NUMA nodes 2024-08-03 09:41:37 +02:00
engine.h Replicate network weights only to used NUMA nodes 2024-08-03 09:41:37 +02:00
evaluate.cpp Replace simple eval with psqt in re-eval condition 2024-07-23 19:24:00 +02:00
evaluate.h Update default main net to nn-1111cefa1111.nnue 2024-08-20 20:59:36 +02:00
main.cpp Transform search output to engine callbacks 2024-04-05 21:03:58 +02:00
Makefile Export and clean up net downloading script 2024-09-09 18:02:27 +02:00
memory.cpp Clean up comments in code 2024-07-11 07:29:33 +02:00
memory.h Clean up comments in code 2024-07-11 07:29:33 +02:00
misc.cpp Restore development 2024-09-09 17:21:14 +02:00
misc.h Non-functional Fixes & Updates 2024-07-06 17:56:31 +02:00
movegen.cpp Remove QS_CHECKS movepick stage 2024-07-23 17:56:52 +02:00
movegen.h Remove QS_CHECKS movepick stage 2024-07-23 17:56:52 +02:00
movepick.cpp Clean up comments for movepicker 2024-07-28 22:21:03 +02:00
movepick.h Introduce Material Correction History 2024-09-09 17:43:05 +02:00
numa.h Forcibly split NUMA nodes on Windows 2024-08-28 08:52:24 +02:00
perft.h Restore NPS output for Perft 2024-04-24 18:20:55 +02:00
position.cpp Limit has_game_cycle() to only upcoming repetition 2024-07-03 13:35:49 +02:00
position.h Clean up comments in code 2024-07-11 07:29:33 +02:00
score.cpp Fix wrong sign for 200 TB score 2024-04-13 22:05:19 +02:00
score.h Fix wrong sign for 200 TB score 2024-04-13 22:05:19 +02:00
search.cpp Reduce on ttcaptures if not capture 2024-09-09 17:48:26 +02:00
search.h Introduce Material Correction History 2024-09-09 17:43:05 +02:00
thread.cpp Replicate network weights only to used NUMA nodes 2024-08-03 09:41:37 +02:00
thread.h Replicate network weights only to used NUMA nodes 2024-08-03 09:41:37 +02:00
thread_win32_osx.h Refactor NativeThread start_routine 2024-01-21 12:21:01 +01:00
timeman.cpp Simplify tm, removing faster 1st move and 1.13 extraTime. 2024-06-01 20:12:36 +02:00
timeman.h Simplify tm, removing faster 1st move and 1.13 extraTime. 2024-06-01 20:12:36 +02:00
tt.cpp Simplify away a useless TTEntry::read() 2024-07-01 19:50:32 +02:00
tt.h Simplify TT interface and avoid changing TT info 2024-06-12 09:17:04 +02:00
tune.cpp Move options into the engine 2024-06-12 09:17:04 +02:00
tune.h Move options into the engine 2024-06-12 09:17:04 +02:00
types.h Remove QS_CHECKS movepick stage 2024-07-23 17:56:52 +02:00
uci.cpp Update the WDL model 2024-09-03 17:53:23 +02:00
uci.h Fix printing of empty info strings. 2024-06-15 12:04:16 +02:00
ucioption.cpp Fixed non UCI compliance 2024-07-15 13:14:57 +02:00
ucioption.h Move options into the engine 2024-06-12 09:17:04 +02:00