The dist-timurid.zip turns out to provide a very easy way for incorporating the games. I have tried that for Timurid Chess now. I simply copied all the files to the dist/browser/games/chessbase directory. Then all I have to do is add one line to teh dist/broawser/jocly-allgames.js file:
to let Jocly know the game exists, and load these files if it gets selected.
It is a bit of a battle, though, to make Jocly actually use the modified file, rather than the one that is cached. I could achieve that by accessing this jocly-allgames.js file directly, and then (in FireFox) reload while pressing Shift to bypass the cache. Starting Jocly after that made the game show up.
I'll incorporate the other 3 games here later. And then I will try to push the sources to the hgm branch of my on-line Jocly git repository.
The dist-timurid.zip turns out to provide a very easy way for incorporating the games. I have tried that for Timurid Chess now. I simply copied all the files to the dist/browser/games/chessbase directory. Then all I have to do is add one line to teh dist/broawser/jocly-allgames.js file:
to let Jocly know the game exists, and load these files if it gets selected.
It is a bit of a battle, though, to make Jocly actually use the modified file, rather than the one that is cached. I could achieve that by accessing this jocly-allgames.js file directly, and then (in FireFox) reload while pressing Shift to bypass the cache. Starting Jocly after that made the game show up.
I'll incorporate the other 3 games here later. And then I will try to push the sources to the hgm branch of my on-line Jocly git repository.