open an image file in a zip file

Discussion about everything. New games, 3d math, development tips...
Post Reply
ulao
Posts: 274
Joined: Fri Mar 28, 2008 2:13 am

open an image file in a zip file

Post by ulao »

I know this is not related to irrlicht at all but I have to admit I really don't want to register on some programming forum just to post one question.

Ok, so here is the deal. I'm trying to program in the world of delphi, not my cup of jo... And the author of this application did something like this.
'R:\temp\zyx.zip=zxy.png'

So my question is, is this = business related to delphi, or is it a common way to open from within a zip. Because it sure does not work in code or from the rum menu. Searching the net for this is impossible.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

I have no idea, but if it works in Delphi then I'd guess it's something to do with whatever library is loading the image.

Using an equals sign is arbitrary and ugly IMO (then again, so is Pascal), and I've never seen it before. Any sane implementation would just use a forward slash.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
ulao
Posts: 274
Joined: Fri Mar 28, 2008 2:13 am

Post by ulao »

tnx bitplane, my guess is zipmaster a package they use.
nespa
Posts: 167
Joined: Wed Feb 24, 2010 12:02 pm

Post by nespa »

see 02 example, Quake3Map;

the .pk3 archive is a zip archive;
rename your archive from .zip to .pk3 and see the steps in 02 example;
Post Reply