scene.org File Archive

File download

<root>­/­resources­/­in4k/frame1k_20060303.zip

File size:
114 353 bytes (111.67K)
File date:
2018-05-28 21:36:44
Download count:
all-time: 127

Preview

  • apack.exe 52.99K
  • Dropper.exe 108.00K
  • GUIDELINES.txt 1.76K
  • Makefile.win 568B
  • makesmall 158B
  • oglsmall.c 1.39K

file_id.diz

Aulds 1k Framework for OpenGL Demos.
Also useful for 4k work obviously.

*****************************************************
Any demo made using this framework, please greet me as
a minimum in nfo file or if possible on-screen.

Greets: Auld for OGL framework
******************************************************

Contents
---------
1. oglsmall.c : the code including lots of smarts, don't rearrange it
2. dropper 2.0: converts an exe to a com file
	(add in some credits here)
3. apack: compressor
	(add in some credits)
4. Makefile.win: a normal makefile for compiling the code
5. makesmall: a *unix* script with the right flags for making the code small using dropper and apack

Instructions
------------


THIS IS A UNIX FRAMEWORK. If you are a windows person, then:
  * Download MINGW and use it OR
  * Convert makesmall to a .bat file : should be trivially easy.

C CODE WILL NOT COMPILE UNDER VC++. Choices:
  * Make the changes commented in the C file and create your own VC++ size compression framework
  * Download GCC and use that instead.

THE FLAGS ARE OPTIMAL, SO IS THE PACKER
  * You can't do better so don't bother to try, I spent a whole week experimenting with an enormous collection of flags. -Os under GCC = about 30 flags, its very powerful, do not mess.

ORDINALS ARE GOOD :-)
  * It uses import by ordinal (/n flag to dropper) which of course will fail in places. OGL is fairly safe with ordinals but if you start adding other stuff, beware.


How To
-------
> make -f Makefile.win
> makesmall
   
Done...

Thats all, maybe at a later date I'll expand the package to cover VC++ as well but I'm not a Microsoft lover so don't hold your breath.


¬¬¬¬¬AULD Feb 2006¬¬¬¬¬
http://in4k.untergrund.net/index.php?title=User:auld