Grand Theft Auto IV: The Complete Edition

Grand Theft Auto IV: The Complete Edition

Not enough ratings
Fix custom radio / Independence FM on Linux/Proton/SteamDeck
By headlesscyborg
Make Independence FM great again when playing via Proton!
   
Award
Favorite
Favorited
Unfavorite
Initial information
GTA IV supports adding custom MP3 files, from which it then creates a radio you can listen to in a car (Independence FM).
This feature has proven to be rather unstable. While the radio may work without problems for some, others may spend hours trying to get it to work without success.

When it comes to its functionality on Linux in Proton, another layer of potential problems is added to all this. Fortunately, getting Independence FM to work is easy.

For some reason, GTA IV uses Windows Media Player (or some of its libraries) to play these MP3 files - not that surprising, considering the entire game was released branded with "Games For Windows Live". Since WMP is not usually a part of a typical default Wine/Proton prefix, it's also not that surprising that it doesn't work.

The following fix should work on desktop PCs as well as on Steam Decks.
The fix
To make it work, just install winetricks (should be in the repository of your distribution) and let winetricks install WMP for the specific Wine prefix of GTA IV. It will only exist in this very prefix.

WINEPREFIX=“~/.local/share/Steam/steamapps/compatdata/12210/pfx“ winetricks wmp11

This command runs the winetricks command in the GTA IV prefix (Steam application ID 12210). The path may be different on your machine, but it should always point to "12210/pfx" in "compatdata", regardless of the SteamLibrary in which you've got your GTA installed.

That's usually all you need to do but for the sake of completness, let's go through a few more steps.

MP3 placement

MP3s are meant to be stored in the following directory
~/.local/share/Steam/steamapps/compatdata/12210/pfx/drive_c/users/steamuser/Documents/Rockstar Games/GTA IV/User Music/

Just like in case of running the winetricks command, the path may be different in your case but you'll get the idea.

MP3 format

It's unknown to me what are all the accepted formats, it's possible that your existing and untouched MP3s will work just fine but in case of any issues, you can convert them the way I did.

  • install Sound Converter ("soundconverter") package from your distro repository
  • set format to MP3
  • set bitrate type to VBR
  • set quality to high
  • set resampling to 48kHz

Still doesn't work?

No worries, go to "audio" in game settings, re-scan custom songs and set it to "sequential". If it still doesn't work, you may need WMP10 instead because your Wine prefix is most likely a 32 bit one but with all this, you'll most likely figure it out.

11 Comments
Void_Sentient 14 Aug @ 10:23pm 
Possibly seconded on the Quicktime Player workaround. wmp11 from proton nor that archive was working, the latter crashing the game on file search. This may have been a result of using fre:ac rather than soundconverter, as I crashed after a couple songs with the .m4a files but after re-encoding it seems to be just fine.
KTG 11 Jun @ 7:53pm 
Ok so I found a workaround by installing QuickTime player with protontricks and converting my .mp3 files to .m4a files. There is a tiny delay with playback when switching to the station for the first time but after that it plays perfectly fine.
KTG 10 Jun @ 6:49pm 
I either get 30 seconds of music before it skips to the next track/ad or 1 full song followed by silence and static. I have tried multiple proton / proton GE versions, all having wmp11 installed. I have no idea how to get it to play the tracks properly.
Eggo 4 May @ 10:20am 
Ok, cool. Good to know it isn't just happening to me then.
headlesscyborg  [author] 4 May @ 9:40am 
This was happening to me last time I played through GTA IV as well, it didn't happen in the past. I play GTA once a year so something probably changed, maybe newer Proton versions do this.
Eggo 4 May @ 9:25am 
This might just be my mp3s being the issue, but abysmal loud glitchy audio plays for the first time i switch to independence fm. is this meant to happen?
elkniW 30 Oct, 2024 @ 4:50pm 
Did not work for me BUT I HAVE A SOLUTION

If anyone is here digging for answers, the version of WMP11 that was installed by my winetricks needed windows verification which it couldn't do so i scrapped this route and followed this guide.
Which uses a known good archived installer.

https://gist.github.com/joshuakraemer/fb794625af08f076d0d283f5d6ba7562

Worked like a dream, i'd recommend a fresh prefix > launch game > close game > follow guide > copy music to your protoncompat 12210 C/users/steamuser/documents/Rockstar games/GTAIV/user music folder > launch game and enjoy
Namo 27 Jun, 2024 @ 2:27pm 
thanks man :steamhappy: :winterpenguin2023:
Frogster08 23 Mar, 2024 @ 10:23pm 
Make sure you have at least 3 songs for it to work
HunterCZ122 14 Jan, 2024 @ 2:45am 
If you don't want to use WInetricks, then you can use Proton GE, which applies this fix automatically: https://github.com/GloriousEggroll/protonfixes/blob/209d3493b6c3efe09b7fbef99132a8a2ceb97c4a/gamefixes/12210.py