Difference between revisions of "WPFL"
Jump to navigation
Jump to search
m (→File Format) |
(added tools section) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{File-stub}} | |
'''WPFL''' is a particle effects file usually located in the "Rockstar Games\Grand Theft Auto IV\pc\data\effects" folder | '''WPFL''' is a particle effects file usually located in the "Rockstar Games\Grand Theft Auto IV\pc\data\effects" folder | ||
+ | == File Format == | ||
HEADER | HEADER | ||
offset size data desc | offset size data desc | ||
================================ | ================================ | ||
0x00 4 byte offset (24+8 bit) | 0x00 4 byte offset (24+8 bit) | ||
− | 0x04 4 byte padding [ | + | 0x04 4 byte padding [usually 0xCDCDCDCD] * |
0x08 4 byte offset (24+8 bit) | 0x08 4 byte offset (24+8 bit) | ||
0x0C 4 byte offset (24+8 bit) | 0x0C 4 byte offset (24+8 bit) | ||
− | 0x10 4 byte padding [ | + | 0x10 4 byte padding [usually 0xCDCDCDCD] * |
0x14 4 byte offset (24+8 bit) | 0x14 4 byte offset (24+8 bit) | ||
0x18 4 byte offset (24+8 bit) | 0x18 4 byte offset (24+8 bit) | ||
0x1C 4 byte LONG (always 0) | 0x1C 4 byte LONG (always 0) | ||
+ | |||
+ | ''* 0xCDCDCDCD comes from nonallocated memory on [[wiki:Microsoft|Microsoft]] systems, so the padding can also simply be left 0'' | ||
DATA HEADER | DATA HEADER | ||
Line 31: | Line 34: | ||
(The offset 0x10 refers to list of LONG values (4 byte) and following 0x14 WORD to the size of the list. List ends with 0xCD padding) | (The offset 0x10 refers to list of LONG values (4 byte) and following 0x14 WORD to the size of the list. List ends with 0xCD padding) | ||
(The offset 0x18 refers to another list of offsets (24+8 bit) and the following 0x1C WORD to the size of this list. List ends with 0xCD padding) | (The offset 0x18 refers to another list of offsets (24+8 bit) and the following 0x1C WORD to the size of this list. List ends with 0xCD padding) | ||
+ | |||
+ | == Tools == | ||
+ | * [[OpenIV]] – contains a built-in WPFL viewer | ||
== Discussion Topics == | == Discussion Topics == | ||
− | * {{GTAF|409182|Particle FX discussion}} – by ZAZ | + | * {{GTAF|409182|Particle FX discussion}} – by {{U|ZAZ}} |
− | * {{GTAF|382615|WPFL post in IV model format topic}} – by pr0f | + | * {{GTAF|382615|WPFL post in IV model format topic}} – by {{U|pr0f}} |
− | |||
{{GTA4-navi}} | {{GTA4-navi}} | ||
− | + | [[Category:GTA 4]][[Category:Map Formats]] | |
− | [[Category: |
Latest revision as of 08:09, 2 February 2012
WPFL is a particle effects file usually located in the "Rockstar Games\Grand Theft Auto IV\pc\data\effects" folder
File Format
HEADER offset size data desc ================================ 0x00 4 byte offset (24+8 bit) 0x04 4 byte padding [usually 0xCDCDCDCD] * 0x08 4 byte offset (24+8 bit) 0x0C 4 byte offset (24+8 bit) 0x10 4 byte padding [usually 0xCDCDCDCD] * 0x14 4 byte offset (24+8 bit) 0x18 4 byte offset (24+8 bit) 0x1C 4 byte LONG (always 0)
* 0xCDCDCDCD comes from nonallocated memory on Microsoft systems, so the padding can also simply be left 0
DATA HEADER offset size data desc ================================ 0x00 4 byte LONG 0x04 4 byte LONG (always 0) 0x08 4 byte LONG (always 0) 0x0C 4 byte LONG (always 1; maybe ID of 1st record ?) 0x10 4 byte offset (24+8 bit) 0x14 2 byte WORD 0x16 2 byte WORD (identical to 0x14) 0x18 4 byte offset (24+8 bit) 0x1C 2 byte WORD 0x1E 2 byte WORD (identical to 0x1C) 0x20 ... varying data (some with corresponding offset+WORD+WORD organisation)
(The offset 0x10 refers to list of LONG values (4 byte) and following 0x14 WORD to the size of the list. List ends with 0xCD padding) (The offset 0x18 refers to another list of offsets (24+8 bit) and the following 0x1C WORD to the size of this list. List ends with 0xCD padding)
Tools
- OpenIV – contains a built-in WPFL viewer
Discussion Topics
- GTAForums: Particle FX discussion – by ZAZ
- GTAForums: WPFL post in IV model format topic – by pr0f
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |