Add your language/alphabet in settings.cpp, just like Jason mentioned.
The only necessary places to do this are:

settings.cpp:69:items << "cswapr07" << "sowpods" << "twl06" << "twl98"
<< [...] << "mylanguage";
settings.cpp:84:alphabetItems << "english" << "english_super" << [...]
<< "myalphabet";

Note that you may have to increase the hardcoded memory allocations to
be able to use your language lexicon, if it exceeds 7MB (dawg) or 40MB
(gaddag). This is done here:

lexiconparameters.cpp:69:m_dawg = new unsigned char[...];
lexiconparameters.cpp:91:m_gaddag = new unsigned char[...];
loaddawg.cpp:103:dawg = new unsigned char[...];
loadgaddag.cpp:107:dawg = new unsigned char[...];

Happy quackling! :)
//D, also looking forward to see Indonesian Q in action

--- In [email protected], "Jason Katz-Brown"
<[EMAIL PROTECTED]> wrote:
>
> Unfortunately the language and alphabet selections are hardcoded into
> the UI. You could recompile Quackle after adding items to the menubox
> (I think in a file called setting.cpp or something), or commandeer one
> of the existing alphabets and lexica and strategy directories =P
> Sorry that it's a pain.
> 
> I can't wait to see an Indonesian Quackle!
> 
> Thanks,
> Jason
> 
> On Wed, Oct 8, 2008 at 19:34, Arudea Mahartianto <[EMAIL PROTECTED]>
wrote:
> > Hi,
> > I'm currently designing a scrabble board configuration for indonesian.
> > However, i have some problems.
> > It seems like that i cannot add a new alphabet or lexica to quackle. I
> > already add new alphabet set in /data/alphabets named
> > indo.quackle_alphabet and a new dawg generated using makedawg in
> > /data/lexica
> >
> > everything builds just nice, but once i run quackle, i cannot find the
> > new alphabet an lexicon in the options.
> >
> > anyone can help me with this?
> >
> >
>


Reply via email to