Self Radio

usb.png

A semi-experimental plugin that allows for a creation of a self radio in the game, allows the player to load their own custom songs into a custom radio in-game
Discord_WY2EvMcp4j.jpg



Download and install Ultimate ASI Loader, dinput8.dll x32 suffices for SR2.
Drag and drop the mod's ASI into the game's directory or into a scripts folder in the same directory as the game.
ini is generated on game boot
After installing both UAL and this mod, for NOW it's REQUIRED for you to install a modified radio.xtbl file (shipped one is for vanilla game).
in order to do add the station in game, this may be automated in the future, if you have an already modified xtbl file
simply add a Self Radio station with any free ordering (this is detected by plugin), and a flag under the name
Self Radio

the .xtbl can be installed using Juiced Patch or your preferred method for loading custom files

Not really a bug but there's no limit of how many radios can be playing at once, this doesn't cause any issues but just sounds alarming as it's be quite load and each instance is it's own stream.

maybe others that idk of

  • Automate radio creation without modifying radio.xtbl​
  • Allow for multiple self radios (overkill?)​
  • Have it work from within the in game menu?, currently new flag "Self Radio" allows us to stop it from appearing at all​
  • Load new image for ^ to show, and SuperUI too​
  • Try to match original XACT/XAudio 3D settings, although it is broken entirely in the PC versions​
  • Save/expose more options idk​

Credits:
logo by @ithinkimcats
Made using FMOD Studio by Firelight Technologies Pty Ltd.​
 

Attachments

Last edited:
holy shit... I can't believe this is real... pinched my cheek just to be sure... thank you Clippy!!
IT EVEN SUPPORTS .lnk SHORTCUTS!
You can do this by right clicking a file > Create a shortcut and cut the shortcut files to the folder. Though you'll have to remove - Shortcut text if you don't want that part to display in-game

selfradio-shortcuts.png

a question:
what all file formats are supported? .mp3 .flac and .ogg? or all the files FMOD Wikipedia says it can do?
FMOD can play back the following audio formats: AIFF, ASF, ASX, BANK (FMOD's sample and metadata format) DLS, FLAC, FSB (FMOD's sample bank format), IT, M3U, MIDI, MOD, MP2, MP3, Ogg Vorbis, PLS, S3M, VAG (PS2/PSP format), WAV, WAX (Windows Media Audio Redirector), WMA, XM, XMA (only on the Xbox 360), as well as raw audio data.
 
holy shit... I can't believe this is real... pinched my cheek just to be sure... thank you Clippy!!
IT EVEN SUPPORTS .lnk SHORTCUTS!
You can do this by right clicking a file > Create a shortcut and cut the shortcut files to the folder. Though you'll have to remove - Shortcut text if you don't want that part to display in-game

View attachment 49027
a question:
what all file formats are supported? .mp3 .flac and .ogg? or all the files FMOD Wikipedia says it can do?
I actually don't know what it'll load, whatever FMOD returns FMOD_OK on a song file I accept, and yeah the shortcuts are implemented into this forgot to mention that
 
Last edited:
I put dinput8.dll into the main game file and it just crash on loading screen. Any idea on what to do?
if it crashes on a certain percentage of loading screen instead of immediately when launching, some ideas:
  • might only work properly with Juiced / GOG LAA patch exe (Steam exe is encrypted iirc, might cause issues)
  • try a different download dll for asi loader
  • try without putting any files in song folder
  • verify game cache?
 
Good news. I manage to get it to work. Seems like the problem lied in the fact that some of the songs had special characters and non-latin words in it which caused it to crash.
Bad news, the song is like terribly tearing and the sound is very broken. I'm using MP3 format and bit rate is 192 kbps

Edit: Nvm. Was dumb and put both the asi in the main folder and the scripts folder which caused the sound to go nuts. Thanks for the help everyone.
 
Last edited:
Allow for multiple self radios (overkill?)
I think this is a great feature, just like in-game mixtape you are limited to one playlist which means you can't have multiple moods of music for example.
If there's problems to do it like limitations of xtbl or radio system I understand though
 
Back
Top