Page 1 of 1

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

PostPosted: May 28, 2004 @ 9:06am
by Tomas
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,

PostPosted: May 28, 2004 @ 2:59pm
by fzammetti
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.

PostPosted: May 28, 2004 @ 4:03pm
by Tomas

PostPosted: May 28, 2004 @ 4:12pm
by GeoffSulcer

PostPosted: May 28, 2004 @ 4:17pm
by GeoffSulcer

PostPosted: May 28, 2004 @ 4:18pm
by fzammetti

PostPosted: May 28, 2004 @ 4:23pm
by Tomas