PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

How can I load my data files in the PPC 2002 emulator

Hello,

I'm working on PPC port of my Symbian game,I haven't got a PPC device yet, so I have to use the emulator which is shipped with PocketPC 2002 SDK.
My currently biggest problem is that I don't know where to put my files so that I can see them in the emulator.

I have several data files which I want to load. My file structure is as follow:

C:\WindowsCE Tools\MyGame\X86Dbg\Data\DataFile1.dat
...
C:\WindowsCE Tools\MyGame\X86Dbg\Data\DataFileN.dat
C:\WindowsCE Tools\MyGame\X86Dbg\MyGame.exe


I use GetModuleFileName() function, but the returned path is "Windows\Start Menu\MyGame.exe" instead of "C:\WindowsCE Tools\MyGame\X86Dbg\MyGame.exe".
The path "Windows\Start Menu\MyGame.exe" doesn't really exist on my HDD.

Please advice,
Some of this may be different because I'm referencing the PocketPC SDK, but it should point you in the right directino... assuming default installation paths:

C:\Program Files\Windows CE Tools\wce300\MS Pocket PC\emulation\palm300

This represents the "virtual" file system of your emulated PocketPC. Place files here and you'll see them in the emulator (the file system structure you see in Windows Explorer should look very familiar to you, it's what you'll see on a real PocketPC).

As I said, some of the above path will likely be different depending on the SDK in use, but if you installed using defaults, that should put you very close to where you need to be.
fzammetti wrote:Some of this may be different because I'm referencing the PocketPC SDK, but it should point you in the right directino... assuming default installation paths:

C:\Program Files\Windows CE Tools\wce300\MS Pocket PC\emulation\palm300


Thank you for you answer. I have default installation paths, but there aren't such directories on my HDD.

I think all files which I can see in the emulator is in fact packed into one binary image (C:\Windows CE Tools\wce300\MS Pocket PC 2002\emulation\English-No Radio\wwenoril.bin (14 MB)), because I can't find any of these files on my HDD.

Please, Is here anybody who know how to share files with PPC 2002 emulator?
GeoffSulcer · 28 May 2004, 15:12 UTC
I believe you need to use the FileView application to "import" and "export" to the emulatory directory. It is not very friendly to use.

I don't have it here with me, so I can't verify it, but it should be in the /bin directory under /Windows CE Tools/

Pretty sure it is called FileView.exe or similar. You "export" from your desktop to the emulator and "import" from the emulator to the desktop.

HTH

Geoff
GeoffSulcer · 28 May 2004, 15:17 UTC
UPDATE:

From the Gapidraw documentation:

To copy the correct GapiDraw DLL to the emulator, use the program "CEFILEVW.EXE", located in the folder "Windows CE Tools\BIN". The file is installed with Embedded Visual Tools. You can also start the file copier by starting Microsoft Embedded Visual C++, and chosing the menu "Tools->Remote File Viewer". The GapiDraw DLLs are located in the folder "GapiDraw\DLL". Place the correct DLL in the "\Windows" folder on the emulator using the "Export" menu command. If you use the Pocket PC 2002/2003 or the Smartphone 2002/2003 emulators you need to remember to save the emulator state when you shut it down.

Geoff
Wow, I didn't know it was an image for that SDK's emulator, thanks for teaching me something today too! :)
To Geoff: Thank you very much.