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

Loading surfaces from memory


Loading surfaces from memory

Postby CpuWhiz105 » Feb 24, 2003 @ 8:37pm

All men are created equal,
but geeks are a little more equal.
User avatar
CpuWhiz105
pm Member
 
Posts: 39
Joined: Feb 24, 2003 @ 8:33pm
Location: Colorado Springs, CO - U.S.A.


Postby CpuWhiz105 » Jun 11, 2003 @ 7:52pm

No one ever answered my question, but I figured it out anyway. Finally got this working. If you lazy people want to know how I did it, just let me know.
All men are created equal,
but geeks are a little more equal.
User avatar
CpuWhiz105
pm Member
 
Posts: 39
Joined: Feb 24, 2003 @ 8:33pm
Location: Colorado Springs, CO - U.S.A.


Postby warmi » Jun 11, 2003 @ 8:26pm

Perhaps not exactly the same issue but , personally, I switched to using PhysFS which is like a virtual file system.
Basically you can create a single ( or multiple ) zip file containing all your images, data files etc and access it from your application as if this stuff was located on the filesystem.
This is a free (lgpl) software and according to the author, the design was somewhat inspired by Quake 3's file subsystem.

http://www.icculus.org/physfs/

This code compiles out of the box with VC++ - it does take a bit of tweaking to get it working with EVC ( if anyone is interested I do have a working dll/lib combo for arm arch.)
Last edited by warmi on Jun 12, 2003 @ 12:00am, edited 1 time in total.
warmi
pm Insider
 
Posts: 518
Joined: Aug 24, 2002 @ 8:07am
Location: Chicago USA


Postby CpuWhiz105 » Jun 11, 2003 @ 11:16pm

Last edited by CpuWhiz105 on Sep 30, 2003 @ 7:00pm, edited 1 time in total.
All men are created equal,
but geeks are a little more equal.
User avatar
CpuWhiz105
pm Member
 
Posts: 39
Joined: Feb 24, 2003 @ 8:33pm
Location: Colorado Springs, CO - U.S.A.


Postby warmi » Jun 12, 2003 @ 4:09am

You will find both X86 and ARM dll/lib files as well as physfs.h at http://www.warmi.net/pocketpc/files/Physfs_ppc.zip

More info about this library can be found at http://www.icculus.org/physfs/ ( which unfortunately seems to be down at this point but I am pretty sure it is only temporary problem since I was able to access the site couple of days ago.)
warmi
pm Insider
 
Posts: 518
Joined: Aug 24, 2002 @ 8:07am
Location: Chicago USA


Postby CpuWhiz105 » Jun 12, 2003 @ 4:11am

Thanks warmi, I hope it will be back up soon.
All men are created equal,
but geeks are a little more equal.
User avatar
CpuWhiz105
pm Member
 
Posts: 39
Joined: Feb 24, 2003 @ 8:33pm
Location: Colorado Springs, CO - U.S.A.


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

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