xwords/xwords4/wince
2010-02-08 13:46:19 +00:00
..
bmps replace remaining binary bmps with ascii pgms 2009-09-24 04:37:59 +00:00
l10n Changes from translator 2010-01-11 03:38:22 +00:00
scripts make provision of dict path optional 2009-12-27 21:33:53 +00:00
test minimal test for comparing cegcc versions 2009-02-25 03:45:14 +00:00
.cvsignore
armrel.mk
ceaskpwd.c Move another string from code into resources. 2009-04-26 20:21:21 +00:00
ceaskpwd.h
ceblank.c Make state private to ceblank.c; all dict strings are utf8, so don't 2009-10-23 08:54:54 +00:00
ceblank.h Make state private to ceblank.c; all dict strings are utf8, so don't 2009-10-23 08:54:54 +00:00
ceclrsel.c Invalidate color sample after editing it so it'll get redrawn even if 2010-01-11 03:31:04 +00:00
ceclrsel.h
cecondlg.c Add help text explaining room and connect order to conns dialog. 2009-12-09 05:11:20 +00:00
cecondlg.h Add define set to number of conn types compiled in; use it to compile 2009-09-05 13:08:46 +00:00
ceconnmg.h remove stuff duplicate by what should be cegcc header file. Renamed 2009-12-23 06:08:47 +00:00
cedebug.c assume log strings are utf-8, as they may contain dict letters 2009-11-15 15:46:57 +00:00
cedebug.h Fix other sites putting up dialogs claiming main window as parent when 2008-12-07 05:21:13 +00:00
cedefines.h Make tray tiles one pixel taller, extending all the way to bottom of 2008-12-12 13:40:41 +00:00
cedict.c replace array of indices with array of ptrs for faster & smaller code 2009-09-13 05:28:12 +00:00
cedict.h Merge in unicode changes to read in utf-8 dictionary format 2009-09-04 12:30:10 +00:00
cedraw.c reduce logging 2009-12-21 06:21:37 +00:00
cedraw.h Fix to compile when RELAY feature disabled 2009-11-22 17:56:54 +00:00
cefonts.c Track HINSTANCE of localization .dll separately, passing it where 2009-04-11 15:45:59 +00:00
cefonts.h
ceginfo.c remove unused param 2010-02-08 13:46:19 +00:00
ceginfo.h Respond to disconnect error from comms with new error message then new 2009-12-04 09:09:07 +00:00
cehntlim.c
cehntlim.h
ceir.h
cemain.c remove unused param 2010-02-08 13:46:19 +00:00
cemain.h Until user has explicitly chosen a language, on launch see if there 2010-01-11 03:36:12 +00:00
ceprefs.c remove unused param 2010-02-08 13:46:19 +00:00
ceprefs.h remove unused param 2010-02-08 13:46:19 +00:00
ceresstr.c Until user has explicitly chosen a language, on launch see if there 2010-01-11 03:36:12 +00:00
ceresstr.h Until user has explicitly chosen a language, on launch see if there 2010-01-11 03:36:12 +00:00
cesms.c fix some warnings when building without debugging 2009-09-20 20:49:37 +00:00
cesms.h Turn on and enable UI for relay and sms transport. relay doensn't 2009-01-05 14:13:40 +00:00
cesockwr.c improve logging 2010-01-28 04:29:24 +00:00
cesockwr.h Add ifdefs to work with and without cegcc support for ConnMgr (which 2009-12-23 06:01:26 +00:00
cestrbx.c fix debug build compile errors. Duh. 2009-12-04 02:19:58 +00:00
cestrbx.h Make cestrbox state private. And set font of TEXTEDIT to one that, at 2009-10-01 04:15:18 +00:00
cesvdgms.c fix some string display bugs by using utf8 when converting; handle 2009-09-11 07:44:27 +00:00
cesvdgms.h Fix other sites putting up dialogs claiming main window as parent when 2008-12-07 05:21:13 +00:00
ceutil.c Don't put certain alerts up more than once at a time -- to prevent a 2009-12-27 02:54:30 +00:00
ceutil.h Don't put certain alerts up more than once at a time -- to prevent a 2009-12-27 02:54:30 +00:00
common_rsrc.rc restore HI_RES_AWARE resource that got lost in l10n changes. 2009-09-30 02:50:11 +00:00
connmgr.h This should eventually be part of cegcc's headers. But use it locally 2009-12-23 06:09:25 +00:00
debhacks.c
debhacks.h
LocalizedStrIncludes.h
Makefile fix to work when ENV var isn't set too 2010-01-27 05:45:56 +00:00
newres.h
rc_incs.h version -> b10 2010-01-12 13:40:16 +00:00
README.txt
resource.h Add help text explaining room and connect order to conns dialog. 2009-12-09 05:11:20 +00:00
shared.mk
simrel.mk
StdAfx.cpp
stdafx.h
strids.h remove whitespace that was confusing check_ids.sh 2009-12-27 17:33:11 +00:00
xptypes.h Start factoring out strings for localization: move most to resource, 2009-04-09 13:48:38 +00:00
xwords.vcp
xwords4.h
xwords4.ico

This document describes how to build Crosswords for PocketPC (and for
desktop Windows).  You can build using Debian Linux, or using
Microsoft's embedded visual tools (which are free provided you have a
copy of Visual Studio.)

(Caveat: I've had to make modifications to the MinGW and pocketpc-sdk
packages to support Crosswords.  I have submitted the changes back to
the tool maintainers, but it may take some time before they appear in
Debian.  Please contact me if you need them in the meantime, at
ehouse@users.sf.net.)

To build for PocketPC with Debian, you need to install the MinGW and
pocketpc packages:

sudo apt-get install pocketpc-binutils pocketpc-gas pocketpc-gcc \
pocketpc-sdk mingw32-runtime

If you're building for Windows, you also need the mingw tools: 

sudo apt-get install mingw32-binutils mingw32

Once those are installed, it's just a matter of typing

make TARGET_OS=wince

or

make TARGET_OS=win32

at the commandline in this directory.

******************************************************************************
The rest of this file is older, and talks about building with
Microsoft's tools.

First, you need to install Microsoft's SDK for Wince/PocketPC.  It's
available for about $8 shipping and handling from Microsoft, and is
included with many books on PocketPC/Wince programming.  Here's a link
where I was able to get it:

https://microsoft.order-5.com/trialstore/product.asp?catalog%5Fname=MSTrialandEval&category%5Fname=Developer+Tools&product%5Fid=X09%2D17298

1.  Launch eMbedded Visual C++ (EVC++).

2.  Choose "Open" from the "File" menu, and open xwords.vcp in this
    directory.

*** To build for the emulator (best for development work): ***

3.  On the "Build" menu, choose "Set active conguration".  Select
    "xwords - Win32 (WCE x86) Debug" and click on the "OK" button.

4.  Choose "Build xwords.exe" from the "Build" menu.  You will see the
    names of files appear in the Build window, and a few warnings that
    you can safely ignore (though fixes are welcomed!)  After the link
    finishes, you'll see a dialog announcing that the emulator is
    being started.  The emulator will appear, and once the dialog
    disappears, if you go to the Start menu in the emulator you'll see
    a listing for "xwords".

5.  Before you can run Crosswords/xwords, you need to install a
    dictionary on the emulator.  To do this, go back to EVC++ and
    choose "Remote file viewer" from the "Tools" menu.

6.  From the "Connection" menu of the file browser that appears, choose
    "Add connection", select "Pocket PC 2002 Emulation" and click "Ok".

7.  Now navigate to a directory.  (I usually use "\My
    Documents\Personal", but it shouldn't matter.)  From the "File"
    menu, choose "Export file".  Then select the file
    "BasEnglish2to8.xwd" from the directory dawg/English.  (The
    directory dawg lives in the same directory as the wince directory
    this document is in.)

8.  Now when you launch xwords on the emulator it will not complain
    that there's no dictionary, and you'll be able to navigate to
    BasEnglish2to8.xwd when starting your first game.


*** To build for a device ***

9.  On the "Build" menu, choose "Set active conguration".  Select
    "xwords - Win32 (WCE ARM) Release" or "xwords - Win32 (WCE x86)
    Debug" and click on the "OK" button.  The "Debug" version has a
    number of asserts and other debugging aids compiled in, and logs
    to the file "/My Documents/Personal/xwDbgLog.txt" on the device.
    The "Release" version does no logging, and is smaller and faster
    and in general better suited for non-developers.

10. Choose "Build xwords.exe" from the Build menu.  Once the link is
    finished, EVC++ will try to upload the executable to your device.
    If that works, fine.  Otherwise, you'll need to get the file
    wince/ARMRel/xwords.exe (or wince/ARMDbg/xwords.exe) to your
    device on your own.  I use either an SD card or IR beaming for
    this.  You'll also need a dictionary such as BasEnglish2to8.xwd
    from dawg/English.

11. Once xwords.exe and a dictionary are on your device, just use the
    File Explorer to lauch xwords.exe.

12. Enjoy!  And please report bugs and/or submit fixes.