This plugin is outdated, for A5.5+ use GSImgList.
Download
Download demo of 3DGSJpeg in Action!
3D Game Studio Jpeg Image Compression Study
Use:
Free for all GameStudio projects without restrictions.
Disclaimer: If it blows up your machine it's not my fault.
Installation:
Unzip 3dgsjpeg.wdl into your templates directory.
Unzip 3dgsjpeg.dll into your work directory.
Publishing:
You will have to copy the DLL manually to your .cd directory when you publish.
It is recommended that you use a plain black PCX file of the same height and width
as the height and width of your JPEG's for place holders when compiling your project.
Testing:
When testing your level from inside 3D GameStudio you must have any JPEG or resource
DLL you try to use in \bin or a sub directory of it.
Place this line at the end of your include list in your main project WDL file:
include <3dgsjpeg.wdl>;
Versions:
6/10/2002 -- v1.0 -- Released.
Usage:
If the function worked it will return 0. If it exploded it will return 1
(or crash DirectX). If you try to run it in 8bit it will return 2.
None of the functions will work in 8bit mode. They may work on 8bit textures
but will most likely be converted to 24bit (16bit internally).
// D3D mode required. Does not work in 8-bit mode.
// With all functions the panel, entity, or bmap MUST be visible before you
// try to load into it.
// With all functions the panel, entity, or bmap MUST already have a texture.
// With all functions the filename is in the current directory.
// You can use a sub directory with mysubdir\test.jpg.
// With all functions any alpha or transparency should be applied
// AFTER the jpeg texture is loaded.
// All functions return 0 if successful and return 1 if it failed.
// filename is the name of the jpeg file to load
dllfunction LoadPanelJpeg(filename, panel);
// filename is the name of the jpeg file to load
dllfunction LoadEntityJpeg(filename, entity);
// filename is the name of the jpeg file to load
dllfunction LoadBmapJpeg(filename, bmap);
// filename is the name of the resource DLL to load from
dllfunction LoadPanelJpegRes(filename, id, panel);
// filename is the name of the resource DLL to load from
dllfunction LoadEntityJpegRes(filename, id, entity);
// filename is the name of the resource DLL to load from
dllfunction LoadBmapJpegRes(filename, id, bmap);
|