Closed duongbadu closed 9 months ago
Any error message when building? Could you please provide a detailed screenshot of what's happening when building the binary on iOS?
info string ERROR: The network file /var/containers/Bundle/Application/*****-57F3-4167-B2DE-**/ChineseChess172-mobile.app/books/pikafish.nnue was not loaded successfully.
I see that Stockfish use: incbin library to embed the NNUE file. Can we use incbin in Pikafish?
You need to specify the nnue path with the command. eg:setoption name EvalFile value /bin/pikafish.nnue
You need to specify the nnue path with the command. eg:setoption name EvalFile value /bin/pikafish.nnue
already set in ucioption.cpp file: auto nnuePath = FileUtils::getInstance()->fullPathForFilename("pikafish.nnue"); o["EvalFile"] << Option(nnuePath.c_str(), on_eval_file);
I believe chessroad-lite(https://github.com/hezhaoyun/chessroad-lite) have successfully build it. You can ask the author for help.
Since it has been here for more than a year. I'll mark this as stale now.
miniz (extract pikafish.nnue file) does not work when building for iOS device.