Closed Auzgame closed 1 year ago
Edited for code tags.
There's no way to pass settings (in particular wasmFile
) to the worker, so I don't think this approach is possible with this library as is.
The newer https://github.com/lichess-org/stockfish.wasm and https://github.com/hi-ogawa/Stockfish instanciate the module directly, so they would accept options like wasmBinary
or locateFile
when instanciating the module:
So i'm having an issue in my code where the stockfish.wasm.js file can't find the stockfish.wasm file.
(The code tag wasn't working on GitHub for me. :( ) I'm currently trying to load the files through blob and stockfish.wasm.js can't find the stockfist.wasm file.