Code Monkey home page Code Monkey logo

nfs_customjukebox's Introduction

NFS Custom Jukebox Playlists

This is a plugin which overrides the built-in jukebox playlist with a custom one.

It is made with the sole purpose of simplifying access to the jukebox playlist by removing the need to edit the Attrib database (VLT)

This does NOT replace the music data itself. To modify music data, use a tool such as MPFmaster.

This is also unrelated to the XNFSMusicPlayer project. This is intended to modify the music playlist via the internal music player of the game, whereas the aforementioned project is intended to modify the music via a custom player.

Usage

  1. Create a folder somewhere within the game files (by default it's "CustomPlaylists")

  2. Set that path in the main ini file (PlaylistFolder) - skip if you're using the default path

  3. Create an ini file (or multiples) which will contain your playlist data (or modify StockPlaylist.ini to your liking)

  4. Inside the ini, define the track properties for each track (name, album, artist, index) - check PlaylistExample.ini for more and detailed info or StockPlaylist.ini as another example.

(for Pro Street) This plugin will overwrite the playlist data within the save file, which will make the playlist unusable. Follow the instructions below to fix it

Jukebox save file repairing

In case you decide that you do not want to play with the custom playlist anymore and/or have a broken playlist in the save file:

  1. Place the RepairJukebox ASI inside the scripts folder

  2. Load the game and the broken save file

  3. Observe the playlist, it should be back to default now.

  4. Save the alias to save the fixes.

This ASI doesn't do anything if CustomJukebox.asi is present, so both can be kept at the same time.

Compatibility

Currently it ONLY works for NFS Pro Street as it was built with priority (for another project).

However, as of now, the custom playlists for Most Wanted and Carbon are already figured out for another project - XNFSMusicPlayer which is basically the same thing except it also replaces the music player itself. Taking the playlist replacer out of that code will allow for this exact same functionality.

MW and Carbon are on the TODO list and are probably coming soon.

Undercover is potentially very similar.

Underground 2 is also possible, but, Pathfinder version 4 hadn't yet been fully figured out.

And lastly, Underground 1 is completely different and doesn't use Pathfinder, so this will not apply to it in the same way.

nfs_customjukebox's People

Contributors

xan1242 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

nfs_customjukebox's Issues

Music appearing in game, but not playing.

Hi xan,
As in title, i managed to successfully make two tracks appear at the in-game jukebox, but the music is not playing.
I think that i did all the steps correctly according to readme files.

The only thing that comes to my mind that could cause this issue is the fact that i used an online converter to convert FLAC. files to WAV. ones, but i have absolutely no idea if that's the case.

cheers.

New playlist ini format idea

Instead of having playlist entries per-file, use a single big ini as a playlist containing the event IDs as keys.

Example:

Instead of this:

Filename: 0105E11E.ini

[Entry]
Index = 39
Name = My Song Name
Artist = My Song Artist
Album = My Song Album
Playability = 3

We make this:

Filename: myplaylist.ini

[0x0105E11E]
Index = 39
Name = My Song Name 1
Artist = My Song Artist 1
Album = My Song Album 1
Playability = 3

[0x0105E11F]
Index = 40
Name = My Song Name 2
Artist = My Song Artist 2
Album = My Song Album 2
Playability = 3

That way we can keep a single file containing the info without confusing the users too much.

Cannot find RepairJukebox.asi

Hello, I have a broken save file and wanted to fix it but your latest release does not contain the "RepairJukebox.asi" like you mentioned in the readme. Do I have to compile it myself, and if yes, what tool do I have to use?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.