Re: One thing we REALLY need...
- Posted by Jacques Deschenes <desja at QUEBECTEL.COM> Feb 17, 1997
- 1098 views
At 22:43 16-02-97 -0800, you wrote: >---------------------- Information from the mail header ----------------------- >Sender: Euphoria Programming for MS-DOS <EUPHORIA at >MIAMIU.ACS.MUOHIO.EDU> >Poster: Michael Packard <lgp at EXO.COM> >Subject: One thing we REALLY need... >------------------------------------------------------------------------------- > >We need an archive function that will build a zip of all the files we need >to package up with our programs, include files, BMPs, data files, WAV >files, whatever. It should read all the include files for "hidden" >include files, etc. I use Autodesk 3D studio, and it's Archive function >is extremely useful, packing up every file associated with a project so I >can send everything my clients need to render my scenes. > >Anyone wanna tackle this? > >Michael Packard >Lord Generic Productions >lgp at exo.com http://exo.com/~lgp >A Crash Course in Game Design and Production >http://exo.com/~lgp/euphoria > Hi Micheal, I already written a program to create a list of all includes of a program. But it doesn't create an archive just a list on screen (or in a file by using redirection). Scanning the main file for include (an recursing into the includes itself) is not a big problem because the syntax to include a file is always the same. But, at first glance scanning for all resources (.WAV,.BMP,etc) look complex to me. As resources files can be of any name, for the scanner they would look like any other string constants. I'll look At my listinc.ex program to improve it, so it would create an archive with the main file and the includes, but for the resources files no promise. NOTE: for visual basic 3.0 the problem is simpler as the project file contain the list of all files used by the project. With euphoria there is no project file. Jacques Deschenes Baie-Comeau, Quebec Canada desja at quebectel.com