Xanvier's NFS Music Player (MW 1.3) by Xanvier

Category: Sounds | Game: Need for Speed: Most Wanted


Xanvier's NFS Music Player (MW 1.3)





This is a custom music player replacement and a BASS library interface for NFS.

FEATURES:
  • Custom playlist generation - put any number of songs you like!
  • Basic support for M3U playlists!
  • Interactive music playback - you're not missing out on these! You can even modify them to your liking! (requires a bit of skill)
  • Online streaming - listen to online radio in the game!
  • Automatic metadata reading
  • SHOUTcast metadata support - a track changed on the radio? No problem, the Chyron will pop up when it happens!
  • Music looping
  • Per track settings - need to change the song's shown title or change the loop point? You can set that in a separate settings file!
  • A LOT of formats supported:
    • BASS' natively supported streaming formats: MP3/MP2/MP1/OGG/WAV/AIFF
    • BASS' natively supported tracker formats (same as XMPlay): mo3/xm/mod/s3m/it/mtm/umx
    • BASSFLAC
    • BASSMIDI (only a single soundfont at a time for now :/)
    • Basic VGMStream (except Vorbis/OGG, AT3, MPEG, G7221, G719, MP4, AAC) - still a crapload of formats!


More info in the README!

INSTRUCTIONS:
1. Install Visual Studio 2015 x86 Redist (from here: https://www.microsoft.com/en-us/download/details.aspx?id=53587 ) (SKIP IF ALREADY INSTALLED)
2. Extract this package to your game's root directory
3. Start the game and follow the instructions
4. Do either of following things:
4.1 Make an M3U playlist with your favorite music player and save to scripts\XNFSMusicPlayer\Playlist.m3u
OR
4.2 Open scripts\XNFSMusicPlayer.ini and set PlaylistFile to the path of your M3U file!
NOTE: M3U must be NON-UNICODE!

UPDATING:
As of now there is no clear way of updating yet. Most of the times I only update the .asi files themselves, however on rare occasions sometimes I may add/change things in the .ini .

Most of the time you can simply extract the .asi files and you'll be fine, however if any issues arise please do start from scratch and overwrite any settings files!

CHANGELOG:
1.7
-- removed fixed memory areas for tracks, added dynamic memory allocation
- calloc's structures by the number of tracks
- the only limits for tracks now should be amount of available memory and my code's optimization
-- decreased the delay between tracks a bit

1.6
-- attempt to force disable channel slide if a looped song was playing
- interactive music could sometimes fade out between parts

1.5:
-- FIXED THE 120 TRACK LIMIT!
- Player1's UserProfile database was being overwritten by track stuff so I disabled that
- I'm not sure if this will introduce new bugs but it seems good so far
- Only tested with 1331 tracks so far, there were no crashes
- In theory, the limit should now be 65535 tracks before I implement dynamic allocation

1.4:
-- prevented the OS from stopping the DLL to start
- by returning TRUE even if an error occurs
- special thanks to LW_X_M_Officer_01b for testing
-- fixed build number
-- added rudimentary logging to file
- set LogFileEnabled to 1 in the ini to use
-- removed comment from the default SF2 file path
- strings don't have inline comment supported
-- hacked the hack previously made for infinite playback
- disabled it for interactive mode
- it previously caused game to randomly stop playing interactive music if it's ASF and kept queueing them
-- fixed some stupid issues with ID3v2 again

1.3:
-- added M3U drive detection for Winamp style paths
-- added more bootflows for the installer
-- hack to prevent infinite playback of some files with VGMStream (except looped)
-- fixed duplicate path creation

1.2:
-- fixed Vorbis comment reading
-- added M3U support
-- changed up some paths again for default files

1.1:
-- fixed crashing issues with ID3v2 tag reading
-- changed default paths to suck less
-- added warning to user for a lot of tracks
- found out game has bugs with more than 120 or so tracks
-- added temporary Unicode to ASCII conversion before going to full Unicode (ID3v2 fixed)

BUG REPORTING:
For now, please report all bugs to the comments section of this page
Or contact me on Discord: Xanvier#6673

Do this (EXCEPT ON XP):
- Open scripts\XNFSMusicPlayer.ini
- Set VerbosityLevel to 3 and LogFileEnabled to 1
- Play the game to where the errors happen if you can, if otherwise, tell me where it happens (before game showed up, after game showed up, during menu/gameplay, etc.)
- Exit the game
- Set those VerbosityLevel and LogFileEnabled to the values before
- Send me the XNFSMusicPlayer.log found in scripts\XNFSMusicPlayer (only if it's not empty)

Once I release the sources, GitHub will be used for proper bug reporting.

SOURCES:
XNFSMusicPlayer: (coming soon)
XNFSMusicPlayerInstaller: https://github.com/xan1242/xnfsmusicplayerinstaller


Comments


edoo1 (August 16, 2018 @ 20:11)
How am I supposed to convert to m3u ?

meynik (July 30, 2018 @ 17:23)
"- Only tested with 1331 tracks so far, there were no crashes
- In theory, the limit should now be 65535 tracks before I implement dynamic allocation"

so why can't i have more? is it a lack of memory? btw i am using extra options, if that has anything to do with it

meynik (July 30, 2018 @ 17:21)
i can only add 8 tracks.. if i add more the music won't play and the game crashes when i go to ea trax

boomedits (July 25, 2018 @ 15:44)
Don't mind my previous comment, the first issue was my mistake which I fixed after looking through log file. Great mod!

boomedits (July 25, 2018 @ 15:02)
Mod's working great but I have a few issues. Can I somehow add my music to play during police chase? Whenever I select interactive music on, the chase music stays the same. However when I disabled interactive music the song from my playlist keeps starting every few seconds so after a couple minutes, this one song is opened many times and is not synced, that really annoying. The other issue I have is whenever I tried using a playlist with 18 songs I kept getting a memory error which disappeared with 10 songs

Xanvier

    
Uploaded at: October 14, 2017 @ 00:54

Mod Screenshots