Actually upto know I hardly did anything, other than explaining how to use what already existed. It is true that this exposed some flaws in WinBoard, which I repaired, but you actually did me a favor by making these bugs surface. The change I had to make in p2p.exe to let it make use of the new WInBoard 4.8 feature for engine-defined pieces, to let it print the custom.dat file, was only 3 lines of code which took me less than 2 minutes.
So as far as I am concerned, the real fun starts now. I already fixed the e.p. problem. (A bit in an ad-hoc way, which only works for straight-ahead 3-step pushes.) And now I am working on this Q-R castling ('guarding', in Omega-Chess terminology, it seems). Which poses a logical problem: with K-R castling the move can be encoded (and entered with the mouse) as a large King step. But with guarding this would be ambiguous, as the Queen has a normal move to that same square too.
I therefore use the Chess960 trick of indicating such a 'castling' by dragging the Queen on top of the Rook. WinBoard already had a feature for 'multi-leg' moves, which normally move to their destination via an intermediate square, occupied by an opponent, which is then captured. This seemed suitable for the guarding as well: You just let the first 'leg' of the Queen move capture the Rook, and then indicate where the Queen should end up. The only thing I have to add is that the Rook should not be truly gone, but has to re-appear on the other side of the Queen. It will give a bit weird move notation for this (like Qxb3-d3, like it really captures the Rook), but that is all.
As to setting up your friend: you could of course e-mail him the custom.dat file. In fact once we have this working completely, you could put the stuff that is really required (winboard.exe, p2p.exe, custom.dat, a winboard.ini file that already has installed p2p as an engine that can be selected) in one folder, zip that and e-mail it to him. Then he just has to unpack it, and he will be ready to run.
Thank you once again. I actually understand most of that. Which is nice! :)
I have 4 computers at home between me, my roommate, & his daughter. So I'll do as you suggested and test at home first.
Teaching my friend all this. Is going to be fun. If I have the steps right. It is;
To get him to download & instale the program winboard 4.8.0.
Download & replace the winboard.exe.
Download and add P2P.
Then make the .dat file with the needed code inside & add that too.
Select the engine from game menus.
Restart & select from startup menu
Select new variant then custom, form file in the game board menus.
Then the online...
Which really does sound kind of easy. Yet he is 100% computer illiterate. He has never used one really at all. So this is going to be fun. I'll most likely have his nephew do it for him. Can't wait to be able to play again.
Everything works great. The queen don't castle but that is not important. As for the advanced pawns(jacks) not promoting. That is fine too. I was in debate whether they should be allowed to anyways. Because of their move advantage. I also don't overly care if the piece icons are what I choose. The ones you picked work out just fine. I'll just have to name them a little different. I can live with that. The en passant is the only thing that is hard to let go. Which is funny. Because it is a rather rare move. Aside from that one thing. This game runs great. You did a great job on it. I'll see if i can get the P2P stuff to connect.