PocketMatrix forums

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

How to Distribute My Game?

Hi guys, I need help distributing my game.

I found ezsetup, cabwiz, and all that but can't figure out the exact steps to pack it all together into a setup file.

How are all the execution files packaged seperately for each CPU?
How does it install on the ppc, where does gapidraw200.dll and any other supporting files (sound files, graphics etc.) for the application go?
How does shortcutting/linking the game to the start menu on the handheld device work, and is there a specific directory where programs should be installed? (similar to how we use "program files" on desktop PCs)
Conan · 18 May 2003, 07:38 UTC — Packaging your game
A good start is my article on using EZSetup to build your setup.exe from the .CAB as this covers all the basics. You should then read the posts in the general developer forum on this site as they go in to most of the other issues such as dll's & multiple processor types. Note that you can treat ARM / XScale PocketPCs as one type assuming no XScale only stuff so it's only MIPS & SH3 you would want to cover in addition. There are also 4 posts in the GapiDraw forum which may help.

http://www.sundialsoft.freeserve.co.uk/sddocs013.htm
Conan's tutorial is recommended reading if you want to use ezsetup. Also visit the CAB file description link included in his article. Its not unusual to have some questions about ezsetup (even after you've used it a dozen times!) so feel free to ask here - I've probably hit every snag there is. :wink:
NSIS is a really good free installation program. It is not specifically built for Pocket PCs but you can use it to install Pocket PC software.

You can build your cabs and ini file like you would for other installers then you can add the following code to NSIS to get it to install your files...

Code:

File yourgame.arm.CAB
File yourgame.sh3.CAB
File yourgame.mips.CAB
File yourgame.ini

ReadRegStr $R1 HKLM "software\Microsoft\Windows\CurrentVersion\App Paths\CEAppMgr.exe" ""

ExecWait '$R1 "yourgame.ini"'


You can also use NSIS to do a lot of other install shield type things. It is well worth looking at.
Tedson,

Thanks a lot for that tip about NSIS. I wasn't aware you could do that type of things with it!

For those that need the url to get NSIS, which is made from the maker of Winamp, it's:

http://www.nullsoft.com

Version 2 is very nice and professionnal.

--Eric
Thanks Guys!

I ended up using ezsetup to package the cab files together. :)
Hey guys, I used ezSetup to package my cab files.

The problem is that my setup.exe installs the wrong cab file (different processor) on the pocket pc device. How does ezSetup take care of this?

Thanks again