Evert wrote:myfish wrote:it's like a house of cards, you move one, break 3 more.
I must have reconfigured 50% of the pieces...
I might be getting closer but THERE has to be a better way.
No sleep tonight till I crack this nut.
All you need to do is shuffle them around in the pieceToChar table, right?
LOL, no.
I have to rename loads of pieces and, in the last half hour, make a new piece.
I wish it was that easy though.
When a piece gets pointed to one already in use, it seems to almost shift the stack. How I don't know but, change 1 piece, like I changed N and +N and named the pieces under the new PTCT. Yes, those pieces DID load, and promote but, 2 other pieces then changed their armour too.
At one juncture, I had 3 of the 'same' pieces on the board. It was odd so, I worked from the beginning, ditched S/+S, G/+G and L/+L and didn't use +Q as advised. However, D is out too.
So, I utilised A/+A, V/+V and J/+J. This shifted everything again and V pointed to a previously 'promoted piece' !
However...
I looked again at the naming convention and with regards to the landmine map written by hgm, I looked and looked and for over an hour, one piece was simply stuck in limbo.
There was no piece in the chu folder, nor the default folder and, as a consequence, I think that fact was part of the issue all along. I made a new blank piece, White/BlackPhoenix and BOOM, with one more piece rename, everything was where it was supposed to be. All promote too thankfully but what a 'nightmare'.
But...
This Wa config, for all the effort and headaches I've caused you guys has taught me loads. I've been keeping revisions for a start (massive help) and, I've learned much more about sjaakii's config language.
And, I've pretty much learned already, 75% of the WaShogi kanji off by heart as I've seen them so many times.
I'll take a fresh look tomorrow BUT, as it stands, I'm pretty sure this is close to being ready to play. When that time comes, I'll zip up the 'theme file', svg's, backgrounds and the config for sjaakii.
Now, whilst I have your attention...
Kyoto ?
Can we define zones in sjaakii so a piece promotes, and demotes in perpetuity. Move promote, move demote, move promote across the 'whole board' Only the king doesn't.
I see sjaakii has mechanisms for promote and demote and, definable zones so, can it be done ?
I would like this, to be my 'next' project in sjaakii
But, if not, I'll do Tai...
LOL
In a few years.