Modules/Texturizer: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
   module_website = ''Not available'' |
   module_website = ''Not available'' |
   download_link  = N/A |
   download_link  = N/A |
   license        = ''GNU LPGL 1.0'' |
   license        = ''Unlicensed'' |
}}
}}



Revision as of 02:25, 30 December 2010

Module info
Name Texturizer
Version 0.91
Author Jyrno
Module website Not available
Download link N/A
License Unlicensed
Written in {{{written_in}}}
Operating system {{{operating_system}}}
Compatible with {{{compatible_with}}}

Texturizer is a module which provides TXD libary writing and GD functions to MTASA server. It will be available Windows only, however since the build system is CMake it should be pretty simple to use it on another platforms.

Installation

Windows

  1. Uncompress the file Texturizer.dll into your %PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\modules\ directory.
  2. Uncompress the GD libary binary bgd.dll and libpng14.dll into your %PROGRAMFILES%\MTA San Andreas\server\ directory.
  3. Then, add the following line in mtaserver.conf:
  <module src="Texturizer.dll" />

Now all you have to do is start your server.

Also Recommended:

  1. Uncompress the texturizer resource to your %PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\resources\ directory.
  2. Then, add the following line in mtaserver.conf:
  <resource src="texturizer" startup="1" protected="0" />

This provides automatic memory cleanup when you forget to destroy images some resource used on it's unload.

Functions

Texture Functions

GD Functions

Create

Info

Save

Cleanup

Alter

Color

Text

Draw


Draw Style