Skip to content

Commit

Permalink
modified: en/Archive/Community/Music replacement project
Browse files Browse the repository at this point in the history
User Summary: Clarify some points about .obm format
  • Loading branch information
merni-ns authored and Librarian committed Nov 27, 2023
1 parent 3d0883f commit 42d11d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Page/en/Archive/Community/Music replacement project.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ A base music pack is composed of a meta data file (with a file extension of .obm

The meta data file will contain five sections:

:Metadata - the name, version number and description of the music pack
:Files - the file names of each MIDI file included
:Metadata - the name, version number and description of the music pack:
:Files - the file names of each MIDI file included, each with its category as described below
:MD5 - the MD5 checksum of each file, to ensure that they are the original and correct file
:Names - linking of each file name to a human-readable title that displays in the in-game player
:Origin - expanded information about the music pack
:Origin - a place from which a copy of the music pack can be obtained, displayed if the files get corrupted. Even though some music sets use this field for other purposes, such use may not be useful.
The music pack can support a total of 31 MIDI files. The songs are organized into four categories: Theme (the theme song for the music pack), Old Style, New Style and Ezy Street. These are the categories as named by the original TTD game and the music in each category matched that theme. New music packs do not have to adhere to this style, or any style at all. The Theme category can only list one song, while the other categories can have up to ten songs each. Each category does not have to be filled with ten songs, but if there are not ten songs in each category there must still be a place listing in the meta data file, which can be left blank.
The music pack can support a total of 31 MIDI files. The songs are organized into four categories: Theme (the theme song for the music pack), Old Style (old_0 to old_9), New Style (new_0 to new_9) and Ezy Street (ezy_0 to ezy_9). These are the categories as named by the original TTD game and the music in each category matched that theme. (New music packs do not have to adhere to this style, or any style at all, but still have to define their files in these styles.) The Theme category can only list one song, while the other categories can have up to ten songs each. Each category does not have to be filled with ten songs, but if there are not ten songs in each category there must still be a place listing in the meta data file, which can be left blank.

An example of an .obm meta file can be found in the [[en/SimCity 2000/Special Edition Music Set]] pack.
An example of an .obm meta file can be found in [https://github.com/OpenTTD/OpenMSX/releases/ OpenMSX].

==Releases==
*[[en/Basesets/OpenMSX]]
Expand Down

0 comments on commit 42d11d4

Please sign in to comment.