Quantcast

Jump to content

» «
Photo

IV_MP3

26 replies to this topic
sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#1

Posted 28 September 2010 - 09:17 PM Edited by sjaak327, 25 November 2010 - 02:09 PM.

IV_MP3 2.4

This is a radio mod for GTAIV / EFLC. It is basically Independence FM with a little twist.
It offers the same abilities as the game included Independence FM with the following additions:

Ability to fast forward/fast rewind.
Ability to pause a song.
In-game display of elapsed time, remaining time, artist, title, album and year.

The mod uses the following keys:
X Start IV_MP3 (Play)
Multimedia Next Next Song
Multimedia Previous Previous Song
Multimedia Play/Pause Pause/Resume
Multimedia Stop Stop
Num 1 Fast Rewind
Num 3 Fast Forward
Num 7 Volume Down (songs only)
Num 9 Volume Up (songs only)
U Display/hide in-game display
R Enable /disable Random order
T Enabled/disable URL
RCTRL+F10 Create list of songs to songs.txt

As you can see, it utilizes the multimedia keys of modern keyboards, if you don’t have such a keyboard, you can always bind the keys to different keys using IV_MP3.ini. In addition to setting the keys, you can also set the following settings:

Display=1 //Display In-Game Song Information Enabled on Game start
DisplayTitle=1 //Display Song Title 5 seconds on each new song, this only happens if
In-Game Song information is disabled.
OnFootEnabled=1 //Enable music on foot
Volume=500 //Volume values from 100 to 1000
ShortCutDir=Music
Url=

To install this mod, place IV_MP3.asi + IV_MP3.ini + scripthook.dll to the main GTAIV directory (C:\Program Files\Rockstar Games\Grand Theft Auto IV ) or the main EFLC directory (c:\Program Files\Rockstar Games\EFLC). If using a patch older then patch 6, use scripthook.dll for old patches, and rename the file to scripthook.dll. You also need an asi loader, download one of the following three:

Asi Loader:
http://www.gtaforums...howtopic=380830
Xliveless:
http://www.gtaforums...howtopic=388658
Yaasil:
http://www.gtaforums...howtopic=394806

Finally you need to create a directory in the main IV or EFLC directory called Songs. In this directory you can either place MP3, or WMA files, you can place shortcuts to those files, or alternatively you can place one shortcut directory to your songs. In case you use the shortcut directory, set the name of the shortcut directory in IV_MP3.ini: ShortCutDir=Music making sure that the name of the shortcut is the same in the ini file (case sensitive).

There is also a way to use streaming media from the internet, to use this, set the URL= to the relevant URL, and enable the URL in game (when the mod is not playing any songs. When using the URL, the other songs will not load, and you can only listen to the URL. Whilst the URL is enabled only the artist, title and elapsed time will display, you can (depending on the URL) use next and previous song, you can also use pause/resume. You cannot fast forward or fast rewind.

Now when you start up the game, IV_MP3 will load whatever is in the Songs directory, and on switching on the radio (X) these songs will be played. Be aware that loading a lot of songs might make the initial game start a little bit slower. As a comparison, I tested this with one shortcut to my music directory, which contains subdirectories to a total of 1340 songs (subdirectories are scanned as well), it took the game an average of 25 seconds to load all the information contained in these songs (title, album, year, artist, duration). Luckily the songs are only loaded on game start. Be aware that the ability to display Artist, Title, Album and Year relies on your MP3 or WMA files to have proper id tags.

Additionally there is a list all songs feature, that will create a file in your main game directory called songs.txt, this file will contain all the songs that were loaded by IV_MP3, and will contain the title, duration, artist, album, year and file name separated by a | so that you can easily import this file into Excel or any other spreadsheet program. You can create this list only if you stop the mod (using the stop button, so you cannot create this list whilst playing songs) and pressing RCTRL+F10.

Thanks to Aru for the C++ scripthook, Alexander Blade, Listener and Hazardx for their asi loaders

coin-god
  • coin-god

    High Roller

  • $outh $ide Hoodz
  • Joined: 18 Mar 2007
  • None

#2

Posted 28 September 2010 - 09:26 PM

This sounds really good man. Ill download later icon14.gif

Shadow-Link
  • Shadow-Link

    Li'l G Loc

  • Members
  • Joined: 01 Dec 2004
  • None

#3

Posted 29 September 2010 - 06:58 AM

Awesome work like always sjaak!

SCARFACE1991
  • SCARFACE1991

    Snitch

  • Members
  • Joined: 22 Jan 2009

#4

Posted 07 October 2010 - 10:21 PM

Awesome mod but is there a way to make the songs quieter without editing the mp3 file itself?

sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#5

Posted 12 October 2010 - 11:05 AM

turn down the volume? It uses windows api function. I might look into a way to turn down music volume.

SCARFACE1991
  • SCARFACE1991

    Snitch

  • Members
  • Joined: 22 Jan 2009

#6

Posted 13 October 2010 - 10:55 AM

Yeah but when I turn down the volume, the volume of the game turns down too, the problem is that when your mod is turned on, I hardly can hear any conversations in the car or any other surroundings of the game, because the music is so loud, but I will just edit the tracks myself so they will be a little bit quieter, but thanks anyway, the mod is just awesome.

sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#7

Posted 31 October 2010 - 02:44 PM Edited by sjaak327, 01 November 2010 - 10:10 PM.

QUOTE (SCARFACE1991 @ Oct 13 2010, 12:55)
Yeah but when I turn down the volume, the volume of the game turns down too, the problem is that when your mod is turned on, I hardly can hear any conversations in the car or any other surroundings of the game, because the music is so loud, but I will just edit the tracks myself so they will be a little bit quieter, but thanks anyway, the mod is just awesome.

I will try to adjust the music volume only, not sure if it will be possible, but will try.

Edit: I have just uploaded version 2.0, that will adjust the volume of the songs only (other game sounds are not adjusted) by using num 9 for up and num 7 for down. Also the ability to set the volume in the ini file.

Marsmillo
  • Marsmillo

    All in

  • Members
  • Joined: 14 Jun 2004

#8

Posted 03 November 2010 - 05:30 PM

Nice, will check it out asap!

I did use a other / older similar mod with the ability to also listen to the ingame radio. Don't know if that mod still works or how its called (I did lost it some time back with a format)

question sjaak327,
can this tool play internet streams?

sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#9

Posted 03 November 2010 - 07:40 PM Edited by sjaak327, 04 November 2010 - 01:30 PM.

QUOTE (Marsmillo @ Nov 3 2010, 19:30)
Nice, will check it out asap!

I did use a other / older similar mod with the ability to also listen to the ingame radio. Don't know if that mod still works or how its called (I did lost it some time back with a format)

question sjaak327,
can this tool play internet streams?

It might, I will see if I can get that to work somehow, maybe all that is needed is make a shortcut from the stream (LNK FILE) and place that in the songs directory.

I have uploaded 2.1, which contains one small change, the mod is automatically paused when a cutscene is playing, it will also automatically be resumed if the cutscene is finished or skipped.

Edit, I have re-uploaded 2.2 which offers basic support for URL's. You need to enable the usage of URL in game (using T), not all functions available for normal MP3 or WMA files will be present. Supported at this time are mms and shoutcast streams.

Marsmillo
  • Marsmillo

    All in

  • Members
  • Joined: 14 Jun 2004

#10

Posted 04 November 2010 - 02:41 PM

Cool!

I did try it with version 2.1 yesterday evening, with a url link to without any luck, will try it again with version 2.2. Any way, thanks for updating so quickly!




sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#11

Posted 04 November 2010 - 02:46 PM Edited by sjaak327, 04 November 2010 - 02:52 PM.

QUOTE (Marsmillo @ Nov 4 2010, 16:41)
Cool!

I did try it with version 2.1 yesterday evening, with a url link to without any luck, will try it again with version 2.2. Any way, thanks for updating so quickly!

I just tried the link, and it does seem to work fine, Studio Brussel smile.gif

Be sure to re-download 2.2, I uploaded an updated version just an hour ago or so, it contains some fixes to url playing.

I was able to test plenty of mms links and also http://shoutcast.omroep.nl:8104 which is 3fm in the Netherlands, my favourite radio station.

Also to play the URL you need to press T ingame, to switch between normal mp3's/wma's and streaming media. The mp3's and wma's are played using MCI (core windows api function), the URL's however are played by windows media player (which is also ran using api calls, instead of actually opening the player), therefore all is controlled within the game, you won't even see windows media player appear.


Marsmillo
  • Marsmillo

    All in

  • Members
  • Joined: 14 Jun 2004

#12

Posted 06 November 2010 - 10:01 PM

It works prefect, thanks Sjaak!

sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#13

Posted 23 November 2010 - 08:42 PM Edited by sjaak327, 25 November 2010 - 02:10 PM.

Version 2.3:

Small change, when you enable the MP3 player, changing cars will no longer disable the mod, also changing stations will no longer disable the mod. To return to normal radio, press the stop button.

Version 2.4 is uploaded:

-Fixed small bug when cutscene was finished, and normal radio would also be enabled (low volume), this is prevented now

-When re-enabling the mod, the track played is the next track from the last played track

quicksilver1203
  • quicksilver1203

    Player Hater

  • Members
  • Joined: 04 May 2010

#14

Posted 18 January 2011 - 10:27 PM

My game crashes while loading. What should I do?

SNAKE DOC
  • SNAKE DOC

    \o/

  • Members
  • Joined: 14 Aug 2008
  • None

#15

Posted 21 January 2011 - 02:21 PM

QUOTE (quicksilver1203 @ Jan 19 2011, 00:27)
My game crashes while loading. What should I do?

Same thing happens here in EFLC (latest patch).

I've tried this mod with no other mods interfering but it still crashes.

quicksilver1203
  • quicksilver1203

    Player Hater

  • Members
  • Joined: 04 May 2010

#16

Posted 02 February 2011 - 02:36 PM

No one has an advice or a solution?

sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#17

Posted 06 February 2011 - 03:19 PM

QUOTE (quicksilver1203 @ Feb 2 2011, 16:36)
No one has an advice or a solution?

Does it crash with the original ini file ?


quicksilver1203
  • quicksilver1203

    Player Hater

  • Members
  • Joined: 04 May 2010

#18

Posted 14 February 2011 - 08:25 PM

QUOTE (sjaak327 @ Feb 6 2011, 15:19)
QUOTE (quicksilver1203 @ Feb 2 2011, 16:36)
No one has an advice or a solution?

Does it crash with the original ini file ?

Sorry for the late reply. My internet connection wasn't working. Yes, it crashes even with the original .ini file.

Ibrahim-al baghdadi
  • Ibrahim-al baghdadi

    “Proud Founder of The 'Vercetti' Crime Family''

  • Members
  • Joined: 02 May 2010
  • None

#19

Posted 14 February 2011 - 08:27 PM

Will try this, nice one smile.gif

sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#20

Posted 15 February 2011 - 08:10 PM

QUOTE (quicksilver1203 @ Feb 14 2011, 22:25)
QUOTE (sjaak327 @ Feb 6 2011, 15:19)
QUOTE (quicksilver1203 @ Feb 2 2011, 16:36)
No one has an advice or a solution?

Does it crash with the original ini file ?

Sorry for the late reply. My internet connection wasn't working. Yes, it crashes even with the original .ini file.

Hmm, maybe it is crashing on certain songs ? I am not sure, I myself use this mod (my personal favourite), and I have extensively tested this with certain MP3/WMA files + shortcuts + folder shortcut, and it never crashes for me. Try running the mod with a single MP3 and see if it still crashes. Try with a complete empty music directory, to see if it still crahes. Maybe we can trouble shoot it this way.



SNAKE DOC
  • SNAKE DOC

    \o/

  • Members
  • Joined: 14 Aug 2008
  • None

#21

Posted 16 February 2011 - 12:45 AM

Thanks for the reply, sjaak. I'm gonna try those things. (It crashed when I had a folder filled with music. It didn't recognize the shortcut and it didn't crash [nor work] when the folder was empty.

quicksilver1203
  • quicksilver1203

    Player Hater

  • Members
  • Joined: 04 May 2010

#22

Posted 23 February 2011 - 11:57 PM

OK. I've removed the shortcuts and put audio files in the songs directory, and kept the modified ini. And it works. Thanks for the help. smile.gif

christoforo
  • christoforo

    Player Hater

  • Members
  • Joined: 01 Jan 2008

#23

Posted 30 May 2011 - 08:37 PM

dosnt work for me. always says no songs found.

Warlord.
  • Warlord.

    :O

  • Leone Family Mafia
  • Joined: 03 Apr 2004

#24

Posted 26 December 2011 - 03:18 PM Edited by Warlord., 27 December 2011 - 01:31 AM.

First of all, great mod!

I can't get it to play URLs though. I enter the URL in the ini and the game just keeps playing ads over and over. I've tried .pls (which I later found out isn't supported by WMP), .asx and .mms files. None of them work.

Do I need to save the stream file into the 'Songs' folder or something?

Got any ideas?


Okay, got it working.

My only problem with it is how it reduces the game's volume to a very low level, so much so that you can't hear anything other than the radio. Any way to disable this?

Vintage88
  • Vintage88

    Lost MC | VP

  • Members
  • Joined: 29 Nov 2011

#25

Posted 08 March 2012 - 05:53 PM Edited by Vintage88, 08 March 2012 - 10:43 PM.

QUOTE (Warlord. @ Monday, Dec 26 2011, 15:18)
First of all, great mod!

I can't get it to play URLs though. I enter the URL in the ini and the game just keeps playing ads over and over. I've tried .pls (which I later found out isn't supported by WMP), .asx and .mms files. None of them work.

Do I need to save the stream file into the 'Songs' folder or something?

Got any ideas?


Okay, got it working.

My only problem with it is how it reduces the game's volume to a very low level, so much so that you can't hear anything other than the radio. Any way to disable this?

I also noticed this. Changing the .ini didn't help so I couldn't use it.

I tried changing the volume in-game with the numpad but it changes the volume of the other sounds, not just the music. Now I think this only happens with URLs, haven't noticed it with local music.

Please update it so the volume settings do not affect in-game sounds.

Thanks!

SoWErA
  • SoWErA

    Player Hater

  • Members
  • Joined: 12 Dec 2008

#26

Posted 05 June 2012 - 08:36 AM Edited by SoWErA, 05 June 2012 - 08:39 AM.

Hi

Thanks a lot for a great radio mod I just tried your older mod: "radio mod 2.0" and I liked that you could select your favorite radio station as well in it.

Any chance you can add that to this 1? Cause GTA IV it self always forget which 1 you select after a restart. I also liked that you could select the radio station of the radio in the safe houses without being forced to have radio outside them when not being inside car.

By the way you might wanna put a link to the new 1 from the old 1 in the comments field: http://www.gta4-mods...io-mod-20-f3651

Also you might wanna either update the version with the newer scripthook so people can run it with 1.0.7 or just tell them that they will need a newer version of the scripthook file to use it with the newest version of GTA IV and maybe even where to find it like my newer radio mod got it: link

rymalexgta
  • rymalexgta

    Player Hater

  • Members
  • Joined: 04 Nov 2012

#27

Posted 04 November 2012 - 06:07 AM Edited by rymalexgta, 04 November 2012 - 06:15 AM.

Hello!

I have Win 7 64 bit. First game didn't want to install so I changed options of .exe file and it installed without errors. The game had run fine. Then I downloaded all official patches for game and I installed them without errors: (from left to right) 1.0.1.1, 1.0.2.0, 1.0.3.0, 1.0.3.1, 1.0.5.0, 1.0.6.0, 1.0.6.1. The game had run fine.
Then I decided to install first mod for gta4 is mp3 mod.
I did following:
1) I put in game folder E:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV asi loader from http://alexander.san...ograms&cstart=2
2) I put in game folder E:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV three files of this mod as it says in readme in zip file

Now I have this error

Имя события проблемы: BEX
Имя приложения: GTAIV.exe
Версия приложения: 1.0.6.1
Отметка времени приложения: 4bd9f687
Имя модуля с ошибкой: ScriptHook.dll_unloaded
Версия модуля с ошибкой: 0.0.0.0
Отметка времени модуля с ошибкой: 4c00493c
Смещение исключения: 65247001
Код исключения: c0000005
Данные исключения: 00000008
Версия ОС: 6.1.7601.2.1.0.256.1
Код языка: 1049
Дополнительные сведения 1: 0a9e
Дополнительные сведения 2: 0a9e372d3b4ad19135b953a78882e789
Дополнительные сведения 3: 0a9e
Дополнительные сведения 4: 0a9e372d3b4ad19135b953a78882e789

Please, help me to install it correctly.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users