Difference between revisions of "List of radio stations (GTA4)"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''WPL''' is the format of the map-related files similar to [[IPL]]s from the previous games. It can be edited with [[WPL Manager]].
+
Here's the list of radio stations of GTA 4 including their indexes and names for using in [[native function]]s. For detailed information about each station visit [http://www.gta4.net/music/ this page].
 +
{|{{Prettytable}}
 +
!Index
 +
!Name for hash
 +
!Title
 +
!Icon
 +
|-
 +
|0 || THE_VIBE || THE VIBE 98.9 || [[File:Thevibe bw.png|64px|The Vibe]]
 +
|-
 +
|1 || LIBERTY_ROCK || LRR 97.8 LIBERTY ROCK RADIO || [[File:Lrr bw.png|64px|Liberty Rock Radio]]
 +
|-
 +
|2 || JAZZ_NATION || JNR JAZZ NATION RADIO 108.5 || [[File:Jnr bw.png|64px|JNR]]
 +
|-
 +
|3 || BOBBY_KONDERS || MASSIVE B || [[File:Massiveb bw.png|64px|Massive B Soundsystem]]
 +
|-
 +
|4 || K109_THE_STUDIO || K 109 THE STUDIO || [[File:K109 bw.png|64px|K109 The Studio]]
 +
|-
 +
|5 || WKTT || WKTT RADIO || [[File:Wktt bw.png|64px|WKTT]]
 +
|-
 +
|6 || HARDCORE || LCHC (WHERE HARDCORE LIVES) || [[File:Lchc bw.png|64px|LCHC]]
 +
|-
 +
|7 || CLASSICAL_AMBIENT || THE JOURNEY || [[File:Thejourney bw.png|64px|The Journey]]
 +
|-
 +
|8 || FUSION_FM || FUSION FM || [[File:Fusion bw.png|64px|Fusion FM]]
 +
|-
 +
|9 || BEAT_95 || THE BEAT 102.7 || [[File:Beat bw.png|64px|Beat 102.7]]
 +
|-
 +
|10 || DANCE_ROCK || RADIO BROKER || [[File:Radiobroker bw.png|64px|Radio Broker]]
 +
|-
 +
|11 || VLADIVOSTOK || VLADIVOSTOK FM || [[File:Vladivostok bw.png|64px|Vladivostok FM]]
 +
|-
 +
|12 || PLR || PLR - PUBLIC LIBERTY RADIO || [[File:Plr bw.png|64px|PLR]]
 +
|-
 +
|13 || SAN_JUAN_SOUNDS || SAN JUAN SOUNDS || [[File:Sanjuan bw.png|64px|San Juan Sounds]]
 +
|-
 +
|14 || DANCE_MIX || ELECTRO-CHOC || [[File:Electrochoc bw.png|64px|Electro-choc]]
 +
|-
 +
|15 || NY_CLASSICS || THE CLASSICS 104.1 || [[File:Theclassics bw.png|64px|The Classics]]
 +
|-
 +
|16 || AFRO_BEAT || IF 99 - INTERNATIONAL FUNK || [[File:If99 bw.png|64px|IF99]]
 +
|-
 +
|17 || BABYLON || TUFF GONG || [[File:Tuffgong bw.png|64px|Tuff Gong]]
 +
|-
 +
|18 || INDEPENDENT || INPEDENDENCE FM || [[File:Independence bw.png|64px|Independence FM]]
 +
|-
 +
|19 || INTEGRITY || INTEGRITY 2.0 || [[File:Integrity bw.png|64px|Integrity 2.0]]
 +
|}
  
== File Format ==
+
=== Additional radio stations ===
  
Each world placement file starts with one single header followed by the object placement information. The structure for the header is very simple:
+
{|{{Prettytable}}
 +
!Index
 +
!Description
 +
|-
 +
|254 ||Only on Game Start
 +
|-
 +
|255 ||Radio Off
 +
|}
  
4b - UINT32  - Unknown
+
{{N|4}}[[Category:Audio Formats]][[Category:Mission Script]]
4b - UINT32  - Instances
 
 
 
The placement information corresponds to the previous [[Item_Placement#inst|instance]] section of the <code>.ipl</code> files. They have a binary structure like the [[Binary_IPL|binary ipl]] files introduced with [[San Andreas]]:
 
 
 
''' Section 0 - INST'''
 
 
 
4b - FLOAT  - Position X
 
4b - FLOAT  - Position Y
 
4b - FLOAT  - Position Z
 
4b - FLOAT  - Rotation X
 
4b - FLOAT  - Rotation Y
 
4b - FLOAT  - Rotation Z
 
4b - FLOAT  - Rotation W
 
4b - UINT32  - Model name [[:Category:Static_Model_Hashes|hash]]
 
4b - UINT32  - Unknown
 
4b - UINT32  - [[LOD]] Index (Index of another model in the current file)
 
4b - UINT32  - Unknown
 
4b - UINT32  - Unknown
 
 
 
''Rotation information as [[Wikipedia:Quarternion|Quarternion]]''
 
 
 
'''Section 3 - Parked Cars'''
 
 
 
4b - FLOAT  - Position X
 
4b - FLOAT  - Position Y
 
4b - FLOAT  - Position Z
 
4b - FLOAT  - Unknown
 
4b - FLOAT  - Unknown
 
4b - FLOAT  - Unknown
 
4b - UINT32  - Model name [[:Category:Static_Model_Hashes|hash]]
 
4b - INT32  - Unknown
 
4b - INT32  - Unknown
 
4b - INT32  - Unknown
 
4b - INT32  - Unknown
 
4b - INT32  - Unknown
 
4b - INT32  - Unknown
 
4b - INT32  - Unknown
 
 
 
'''Section 9 - LODcull'''
 
 
 
4b -  FLOAT  - Position X1
 
4b -  FLOAT  - Position Y1
 
4b -  FLOAT  - Position Z1
 
4b -  FLOAT  - Position X2
 
4b -  FLOAT  - Position Y2
 
4b -  FLOAT  - Position Z2
 
4b  - UINT32  - number of lod models in wdd file
 
4b  - UINT32  - Hash 1 [[:Category:Static_Model_Hashes|hash]]
 
4b  - UINT32  - Hash 2 [[:Category:Static_Model_Hashes|hash]]
 
4b  - UINT32  - Hash 3 [[:Category:Static_Model_Hashes|hash]]
 
4b  - UINT32  - Hash 4 [[:Category:Static_Model_Hashes|hash]]
 
4b  - UINT32  - Hash 5 [[:Category:Static_Model_Hashes|hash]]
 
4b  - UINT32  - Hash 6 [[:Category:Static_Model_Hashes|hash]]
 
4b  - UINT32  - Hash 7 [[:Category:Static_Model_Hashes|hash]]
 
4b  - UINT32  - Hash 8 [[:Category:Static_Model_Hashes|hash]]
 
4b  - UINT32  - Hash 9 [[:Category:Static_Model_Hashes|hash]]
 
4b  - UINT32  - Hash 10 [[:Category:Static_Model_Hashes|hash]]
 
32b - String  - Model name 1
 
32b - String  - Model name 2
 
32b - String  - Model name 3
 
32b - String  - Model name 4
 
32b - String  - Model name 5
 
32b - String  - Model name 6
 
32b - String  - Model name 7
 
32b - String  - Model name 8
 
32b - String  - Model name 9
 
32b - String  - Model name 10
 
 
 
'''''X1, Y1, Z1''' = lower left vertex position'' and
 
'''''X2, Y2, Z2''' = upper right vertex position''
 
 
 
'''Section 10 - Unknown Zon or Cull'''
 
 
 
4b - FLOAT    - Position X1
 
4b - FLOAT    - Position Y1
 
4b - FLOAT    - Position Z1
 
4b - FLOAT    - Position X2
 
4b - FLOAT    - Position Y2
 
4b - FLOAT    - Position Z2
 
 
 
'''''X1, Y1, Z1''' = lower left vertex position'' and
 
'''''X2, Y2, Z2''' = upper right vertex position''
 
 
 
<!---
 
;Header
 
<source lang="cpp">
 
struct Header_t
 
{
 
    BYTE byteUnknown01[4];
 
    DWORD dwNbrOfBlockInst;
 
};
 
</source>
 
 
 
;InstBlock (Start from 0x44)
 
<source lang="cpp">
 
struct Inst_t
 
{
 
    float  fPosition[3];
 
    float  fRotation[4];
 
    DWORD dwModelNameHash;
 
    BYTE byteUnknown01[4];
 
    DWORD dwAttachedLod;
 
    BYTE byteUnknown02[8];
 
};
 
</source>
 
-->
 
 
 
== XPL ==
 
In the XBox 360's version of GTA 4 same files have the extension <code>.xpl</code>. The XPL and WPL formats  are same, but due to the fact XPL files are used on the Xenon platform its data is stored in the [[Wikipedia:Endianness|big-endian order]].
 
<!--not sure where to put this: "They are used to map generic objects which are defined with another path in the [[Images.txt|image listing]] file."-->
 
 
 
== Tools ==
 
* [[WPL Manager]] &ndash; by {{U|UZI-I|Yoann (UZI-I)}}
 
 
 
== External Link ==
 
* {{GTAF|389423|WPL file format specification}}
 
 
 
{{GTA4-navi}}
 
{{File-stub}}
 
[[Category:Map Formats]][[Category:GTA 4]]
 

Latest revision as of 15:07, 21 December 2010

Here's the list of radio stations of GTA 4 including their indexes and names for using in native functions. For detailed information about each station visit this page.

Index Name for hash Title Icon
0 THE_VIBE THE VIBE 98.9 The Vibe
1 LIBERTY_ROCK LRR 97.8 LIBERTY ROCK RADIO Liberty Rock Radio
2 JAZZ_NATION JNR JAZZ NATION RADIO 108.5 JNR
3 BOBBY_KONDERS MASSIVE B Massive B Soundsystem
4 K109_THE_STUDIO K 109 THE STUDIO K109 The Studio
5 WKTT WKTT RADIO WKTT
6 HARDCORE LCHC (WHERE HARDCORE LIVES) LCHC
7 CLASSICAL_AMBIENT THE JOURNEY The Journey
8 FUSION_FM FUSION FM Fusion FM
9 BEAT_95 THE BEAT 102.7 Beat 102.7
10 DANCE_ROCK RADIO BROKER Radio Broker
11 VLADIVOSTOK VLADIVOSTOK FM Vladivostok FM
12 PLR PLR - PUBLIC LIBERTY RADIO PLR
13 SAN_JUAN_SOUNDS SAN JUAN SOUNDS San Juan Sounds
14 DANCE_MIX ELECTRO-CHOC Electro-choc
15 NY_CLASSICS THE CLASSICS 104.1 The Classics
16 AFRO_BEAT IF 99 - INTERNATIONAL FUNK IF99
17 BABYLON TUFF GONG Tuff Gong
18 INDEPENDENT INPEDENDENCE FM Independence FM
19 INTEGRITY INTEGRITY 2.0 Integrity 2.0

Additional radio stations

Index Description
254 Only on Game Start
255 Radio Off