Modules/Texturizer: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
   name          = Texturizer |
   name          = Texturizer |
   version        = 0.91 |
   version        = 0.91 |
   author        = [[User:Jyrno|Jyrno]] |
   author        = [[User:Jyrno|Jyrno]] and JoRX |
   module_website = ''Not available'' |
   module_website = ''Not available'' |
   download_link  = N/A |
   download_link  = [http://www.mediafire.com/?65c339jt4wl21i5 Here] [http://www.multiupload.com/JW4SICQG57 Mirror] |
   license        = ''GNU LPGL 1.0'' |
   license        = ''Unlicensed'' |
  written_in    = C++ |
  operating_system = Windows only |
  compatible_with = 1.0.4 |
}}
}}


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.
Texturizer is a module which provides TXD libary writing and GD functions to MTASA server. It is currently available Windows only, however since the build system is CMake it should be pretty simple to use it on another platforms.


__TOC__
__TOC__
Line 15: Line 18:
===Windows===
===Windows===


* Uncompress the file Texturizer.dll into your ''%PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\modules\'' directory.
# Uncompress the file Texturizer.dll into your ''%PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\modules\'' directory.
* Uncompress the GD libary binary bgd.dll and libpng14.dll into your ''%PROGRAMFILES%\MTA San Andreas\server\'' directory.
# Uncompress the GD libary binary bgd.dll and libpng14.dll into your ''%PROGRAMFILES%\MTA San Andreas\server\'' directory.
* Restart server.
# Then, add the following line in mtaserver.conf:
<syntaxhighlight lang="xml">
  <module src="Texturizer.dll" />
</syntaxhighlight>
 
Now all you have to do is start your server.


Then, add the following line in mtaserver.conf:
'''Also Recommended:'''
# Uncompress the texturizer resource to your ''%PROGRAMFILES%\MTA San Andreas\server\mods\deathmatch\resources\'' directory.
# Then, add the following line in mtaserver.conf:
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
   <module src="Texturizer.dll" />
   <resource src="texturizer" startup="1" protected="0" />
</syntaxhighlight>
</syntaxhighlight>
This provides automatic memory cleanup when you forget to destroy images some resource used on it's unload.


==Functions==
==Functions==
Line 28: Line 39:


[[Category:Modules]]
[[Category:Modules]]
[[ru:Modules/Texturizer]]

Latest revision as of 09:25, 20 May 2012

Module info
Name Texturizer
Version 0.91
Author Jyrno and JoRX
Module website Not available
Download link Here Mirror
License Unlicensed
Written in C++
Operating system Windows only
Compatible with 1.0.4

Texturizer is a module which provides TXD libary writing and GD functions to MTASA server. It is currently 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