WEAP and Magic.TXD: Difference between pages

(Difference between pages)
(contributions from myself and Aschratt)
 
(contributions from The_GTA)
 
Line 1: Line 1:
{{IdeSection
__NOTOC__
|game        = {{Icon-square|vc}} {{Icon-square|sa}} {{Icon-square|4}}
{{ToolBox
|description = Defines weapon objects
| name    = Magic.TXD
| version = 1.1
| patrol  = no
| author  = Martin Turski (The_GTA), Dmitry K (DK22Pac)
| game    = [[GTA III]], [[GTA VC]], [[GTA SA]], '''Manhunt''', '''Sonic Heroes''', '''Persona 3/4'''
| genre  = [[TXD|Texture Dictionary]] editor
}}
}}
'''WEAP''' is a section in the item definition file in [[Grand Theft Auto: Vice City]], [[Grand Theft Auto: San Andreas]], and [[Grand Theft Auto IV]]. It is used to define weapon objects. In [[Grand Theft Auto III]] weapon objects are defined inside the [[OBJS]] section, so this section can be seen as an extension of that section. Additional weapon information are defined inside the [[weapon.dat]] file.
'''Magic.TXD''' is an open-source RenderWare [[TXD|Texture Dictionary]] ('''TXD''') editor written by [[User:DK22Pac|DK22Pac]] and The_GTA for Microsoft Windows. It aims to support every RW TXD format and comes with many unprecedented features to make TXD editing simple.


== Format ==
==Features==
=== GTA Vice City and GTA San Andreas ===
* PC, PS2, XBOX, Gamecube, Android, iOS TXD support
{{Pre|
* supports all RenderWare GTA titles
weap
* live preview of TXD contents
Id, ModelName, TxdName, AnimationName, MeshCount, DrawDistance
* Windows shell extension for thumbnails and context menu
end
* importing, exporting, resizing, encoding and decoding
}}
* uses Qt framework for modern GUI
 
* TXD builder, converter and exporter
{|class="wikitable center-col-1 center-col-2" style="width: 100%;"
* Image formats: PNG, BMP, DDS, PVR, JPEG, TIFF, TGA
!style="width: 3em;" |{{Icon-square|vc}} {{Icon-square|sa}}
* mipmap generation (+ black-roads-fix)
!style="width: 12em;" |Identifier
* translated into many languages
!style="width: 6em;" |Type
!Description
|-
|A ||Id ||integer ||Unique object identifier.
|-
|B ||ModelName ||string ||Name of the model file without extension.
|-
|C ||TxdName ||string ||Name of the texture dictionary without extension.
|-
|D ||AnimationName ||string ||Name of the <code>.ifp</code> animation file without extension.
|-
|E ||MeshCount ||integer ||Number of meshes, always 1.
|-
|F ||DrawDistance ||float ||Draw distance in [[unit]]s.
|}
 
The games' data files for this section have entries with an additional column G that doesn't seem to be read by the game.


=== GTA IV ===
==Videos==
{{Pre|
* [https://www.youtube.com/watch?v=VNUeAw9vDBU&index=1&list=PL3ehr62XBxTLC2KR9EXFAI6MqCS63gbdD How to replace road textures in GTA:Vice City] ([https://mega.nz/#!RFV1gZJR!CNNYC5lJmE6_It_HomrtRsnAJIuMNqHMf399C60I4lU HD download])
weap
* [https://www.youtube.com/watch?v=b2lbGDpla3E&index=2&list=PL3ehr62XBxTLC2KR9EXFAI6MqCS63gbdD How to fix dark vehicles in GTA3] ([https://mega.nz/#!RIsCDTjT!LLG7cUKqTC5lZXqVX5r9oMOXZeYsKMe1Nt1235N-MGg HD download])
ModelName, TxdName, AnimationName, ObjectCount, DrawDistance, Flag
* [https://www.youtube.com/watch?v=s-JeAbRiR6o&index=3&list=PL3ehr62XBxTLC2KR9EXFAI6MqCS63gbdD GUI Texture Editing Guide] ([https://mega.nz/#!EYl2gC4a!Vo8ZvSqbN8wVLHZwn3sRs3i0nxBNA1wIuEv36YxjRok HD download])
end
* [https://www.youtube.com/watch?v=wZyCQGPHg6w&index=4&list=PL3ehr62XBxTLC2KR9EXFAI6MqCS63gbdD How to compress the GTA3 folder] ([https://mega.nz/#!NRV1wQZC!s6KeN1dsh2fAa_1aVpebGbqUe7ornEI2WtRnJVCfyQ8 HD download])
}}
* [https://www.youtube.com/watch?v=qAsKaXIX1GU&list=PL3ehr62XBxTLC2KR9EXFAI6MqCS63gbdD&index=5 Build System How-To] ([https://mega.nz/#!sRlRSKKA!FXzJ32nrdKkAQICsLuxxDB0caP984ckrvTP9tU2qVq0 HD download])
* [https://www.youtube.com/watch?v=krGoYjnyZpw GTA Mipmap Comparison] (using Magic.TXD mipmaps)


{|class="wikitable center-col-1 center-col-2" style="width: 100%;"
==Plugin Support==
!style="width: 3em;" |{{Icon-square|4}}
There is support for Direct3D 9 color storage format extensions. Dynamic link libraries are loaded which define how Magic.TXD should treat D3DFORMAT types that it has no native support for. By default, Magic.TXD ships with D3DFMT_V8U8 and D3DFMT_A8 plugins.
!style="width: 12em;" |Identifier
!style="width: 6em;" |Type
!Description
|-
|A ||ModelName ||string ||Name of the <code>[[WDR|.wdr]]</code> model file without extension.
|-
|B ||TxdName ||string ||Name of the <code>.wtd</code> texture dictionary without extension.
|-
|C ||AnimationName ||string ||Name of the <code>[[WAD|.wad]]</code> animation file without extension.
|-
|D ||ObjectCount ||integer ||Number of [[RenderWare_binary_stream_file|clumps]]? Apparently unused.
|-
|E ||DrawDistance ||float ||Draw distance in units.
|-
|F ||Flag ||integer ||Object flag (seems to be unused).
|}


== Statistics ==
==References==
Total number of WEAP entries in:
* [https://mega.nz/#!oVFRwQrL!i04SJLbmgupd966R4Tu6KwHxpUR4Wfso2JoLHWre3gY Download link (Win7+)], [https://mega.nz/#!dQE21Z7I!BN2bC18g1PmHSHYT4Imi0WDmAKgtaBl-9_m1m8gPb4Y Download link (WinXP+)] (1.1 rc3 build)
:GTA Vice City: 37 (max 37)
* [https://osdn.net/projects/magic-txd Source code on OSDN.net]
:GTA San Andreas: 50
* [https://github.com/quiret/magic-txd Source code on GitHub]
:GTA IV: 80
* [http://gtaforums.com/topic/851436-relopensrc-magictxd/ Forum topic]
* [http://www.gtagarage.com/mods/show.php?id=27862 GTAGarage entry]
* [https://mega.nz/#!BZcVwbQa!5A2iyOGfErRhog2GAddgvPGVklSVM96Uhjv7-lEQoRM 32bit portable build (rc6.2)]
* [https://mega.nz/#!lVVlEJJB!hs48PCUIVo9777BypmBShWC6UCg-6V93rYf8WdmgPhs 64bit portable build (rc6.2)]
* [http://www.gtainside.com/en/sanandreas/tools/88448-magic-txd-1-0/ Magic.TXD on GTAinside]


{{fdl}}
{{fdl}}
[[Category:Modding]]

Latest revision as of 20:51, 7 July 2018

Magic.TXD
Current version:1.1
Developed by:Martin Turski (The_GTA), Dmitry K (DK22Pac)
Supported games:GTA III, GTA VC, GTA SA, Manhunt, Sonic Heroes, Persona 3/4
Type:Texture Dictionary editor

Magic.TXD is an open-source RenderWare Texture Dictionary (TXD) editor written by DK22Pac and The_GTA for Microsoft Windows. It aims to support every RW TXD format and comes with many unprecedented features to make TXD editing simple.

Features

  • PC, PS2, XBOX, Gamecube, Android, iOS TXD support
  • supports all RenderWare GTA titles
  • live preview of TXD contents
  • Windows shell extension for thumbnails and context menu
  • importing, exporting, resizing, encoding and decoding
  • uses Qt framework for modern GUI
  • TXD builder, converter and exporter
  • Image formats: PNG, BMP, DDS, PVR, JPEG, TIFF, TGA
  • mipmap generation (+ black-roads-fix)
  • translated into many languages

Videos

Plugin Support

There is support for Direct3D 9 color storage format extensions. Dynamic link libraries are loaded which define how Magic.TXD should treat D3DFORMAT types that it has no native support for. By default, Magic.TXD ships with D3DFMT_V8U8 and D3DFMT_A8 plugins.

References

Copyrighted

This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of Grand Theft Wiki.

The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See Grand Theft Wiki:Copyright for more detail on our copyright policy.

GNU Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
See Grand Theft Wiki:Copyright for more information.