I have made an attempt to support fast castling in the betza.txt GAME-code include file. I could not test it in the context of your preset, though, because there seems to be a mismatch between the labels used in the I.D. that youconverted, and the piece set you use in the preset. So it still crashes because of an unknown piece 'E'. I suppose you would have to use the custom set as the PTA suggests it to make it work.
Anyway, to try the fast castling you should replace the lines
2 99 1 0 88
1 9 0 25
2 99 -1 0 88
1 -9 0 25
at the end of the legdefs array by
1 -3 1 0 FastCastle
1 -3 -1 0 FastCastle
This uses the existing mechanism for invoking dedicated routines for generating piece moves. But the routine FastCastle, which is invoked by this, is already supplied in the betza.txt include file.
I still have to adapt the PTA to generate these lines automatically, when encountering a fast castling.
I have made an attempt to support fast castling in the betza.txt GAME-code include file. I could not test it in the context of your preset, though, because there seems to be a mismatch between the labels used in the I.D. that youconverted, and the piece set you use in the preset. So it still crashes because of an unknown piece 'E'. I suppose you would have to use the custom set as the PTA suggests it to make it work.
Anyway, to try the fast castling you should replace the lines
at the end of the legdefs array by
This uses the existing mechanism for invoking dedicated routines for generating piece moves. But the routine FastCastle, which is invoked by this, is already supplied in the betza.txt include file.
I still have to adapt the PTA to generate these lines automatically, when encountering a fast castling.