This site is no longer active and is available for archival purposes only. Registration and login is disabled.

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


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

Postby Tomas » May 28, 2004 @ 9:06am

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,
Last edited by Tomas on May 28, 2004 @ 4:05pm, edited 1 time in total.
Tomas
pm Member
 
Posts: 5
Joined: May 26, 2004 @ 4:03pm


Postby fzammetti » May 28, 2004 @ 2:59pm

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.
...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Tomas » May 28, 2004 @ 4:03pm

Tomas
pm Member
 
Posts: 5
Joined: May 26, 2004 @ 4:03pm


Postby GeoffSulcer » May 28, 2004 @ 4:12pm

User avatar
GeoffSulcer
pm Member
 
Posts: 51
Joined: Nov 11, 2001 @ 9:33am
Location: Stow, OH


Postby GeoffSulcer » May 28, 2004 @ 4:17pm

User avatar
GeoffSulcer
pm Member
 
Posts: 51
Joined: Nov 11, 2001 @ 9:33am
Location: Stow, OH


Postby fzammetti » May 28, 2004 @ 4:18pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Tomas » May 28, 2004 @ 4:23pm

Tomas
pm Member
 
Posts: 5
Joined: May 26, 2004 @ 4:03pm


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron