Mail Archives: djgpp/1998/10/25/18:31:40
Sahab Yazdani wrote:
>
> I dont exactly understand... YOu want something like a Windows
> Executable that contains all its resources in it?
>
> Leif wrote:
> >
> > Ok, I made this game and it works great! My program uses a file on disk
> > to load graphics and other misc data... I was wondering how I could
> > INCLUDE all that data into my program so that it will not need any other
> > files to be on disk.
> > I was thinking something like Including it in the project list and using
> > offsets rather then LOADING from the disk file into memory.
>
Ya, basically. I dont want to ship my program as Prog.exe and Prog.dat,
I want it just to be Prog.exe and have all the data contained in
Prog.dat to be part of Prog.exe so that way Someone could just download
the EXE and run it instead of either
A> Downloading a zip and extracting the 2 files
or
B> Downloading 2 files
In its current state, my game is 2 files Prog.EXE and Prog.DAT
Prog.EXE loads the data from Prog.DAT and then runs. I dont want to have
to load the data from a file. I want it to be part of my EXE.
- Raw text -