From: Leif Newsgroups: comp.os.msdos.djgpp Subject: Re: Help me merge my .DAT and .EXE files! Please.... Date: Sun, 25 Oct 1998 16:13:27 -0800 Organization: NorthWest Nexus Inc. Lines: 26 Message-ID: <3633BEA7.5B0A@hotmail.com> References: <3632C1C1 DOT 7A45 AT hotmail DOT com> <3633BD50 DOT 63AA83E3 AT geocities DOT com> NNTP-Posting-Host: blv-pm102-ip18.halcyon.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.04 (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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.