Skip to content

alvarikoke99/disc_playlist_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disc Playlist Generator

License: GPL v3

Disc Playlist Generator is a simple Python utility designed to automate the creation of m3u playlists for multi disc games used in emulators such as Duckstation, PCSX2, RPCS3, Dolphin and CemU.

The default supported ROM formats are: .cso .iso .chd .rvz. More file types can be added in the source code.

drawing    drawing    drawing   

drawing   

Usage

  • Python must be first installed in the system in order for the script to work. Apart from that no additional dependencies are needed.
  • The file disc_playlist_generator.py must be placed on the same folder that contains all rom files.
  • After executing the script, all the files in the folder will be scanned and, if multiple files exist of the same game, a new folder with the game name will be created*. All game files will be moved to that folder and a .m3u playlist will be created containing all disc names.
  • .m3u will also be added to the folder name because some emulation frontends need that in order to display the all files as a single game.

* The character used for delimiting the game name can be changed with a command line argument specified in the next section. The default one is )

Arguments

The default execution of the script can be modified with the following arguments:

-s "symbol" :   

Specifies the symbol used for delimiting a game name. The default one is (.

-b :   

Removes the .m3u ending from folder names

Example

Having the files:

Metal Gear Solid (USA) (Disc 1).chd
Metal Gear Solid (USA) (Disc 2).chd

The expected output would be:

Metal Gear Solid (USA).m3u
 └-> Metal Gear Solid (USA) (Disc 1).chd
 └-> Metal Gear Solid (USA) (Disc 2).chd
 └-> Metal Gear Solid (USA).m3u

About

Simple Python utility to generate .m3u playlists of popular game disc formats (.iso .cso .chd .rvz)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages