Skip to content

Commit

Permalink
musics: Rename *.mus to *.mid
Browse files Browse the repository at this point in the history
  • Loading branch information
chungy committed Jul 17, 2017
1 parent 7776b2f commit 7dfc0ae
Show file tree
Hide file tree
Showing 103 changed files with 13 additions and 18 deletions.
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@
*.gif -text
*.wad -text
*.wav -text
*.mus -text
*.mid -text
*.midi -text
25 changes: 11 additions & 14 deletions musics/README
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
This directory contains the background music heard during play. The
files are in General MIDI (.mid) format, but are renamed to .mus because
of the limitations of the deutex tool.
This directory contains the background music heard during play.

In general, most files are per-level music files:

* d_eXmY.mus - Freedoom: Phase 1 music for cXmY.
* d_mapXY.mus - Freedoom: Phase 2 music for mapXY.
* d_dmXY.mus - FreeDM music for level XY.
* d_eXmY.mid - Freedoom: Phase 1 music for cXmY.
* d_mapXY.mid - Freedoom: Phase 2 music for mapXY.
* d_dmXY.mid - FreeDM music for level XY.

There are a few other MIDI files:

* d_intro.mus / d_introa.mus - Freedoom: Phase 1 title music
* d_inter.mus - Freedoom: Phase 1 intermission music
* d_bunny.mus - Freedoom: Phase 1 Chapter 3 end music
* d_victor.mus - Freedoom: Phase 1 victory screen music

* d_dm2ttl.mus - Freedoom: Phase 2 / FreeDM title music
* d_dm2int.mus - Freedoom: Phase 2 / FreeDM intermission music
* d_read_m.mus - Freedoom: Phase 2 / FreeDM text screen music
* d_intro.mid / d_introa.mid - Freedoom: Phase 1 title music
* d_inter.mid - Freedoom: Phase 1 intermission music
* d_bunny.mid - Freedoom: Phase 1 Chapter 3 end music
* d_victor.mid - Freedoom: Phase 1 victory screen music

* d_dm2ttl.mid - Freedoom: Phase 2 / FreeDM title music
* d_dm2int.mid - Freedoom: Phase 2 / FreeDM intermission music
* d_read_m.mid - Freedoom: Phase 2 / FreeDM text screen music
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions scripts/music-duplicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_music_tracks():
to a list of game tracks that use that MIDI."""
result = {}
musics_path = os.path.join(os.path.dirname(sys.argv[0]), '../musics')
for mus in glob('%s/*.mus' % musics_path):
for mus in glob('%s/*.mid' % musics_path):
with open(mus) as f:
contents = f.read()
m = hashlib.sha1()
Expand Down Expand Up @@ -67,7 +67,7 @@ def print_report(title, tracks):
return
print(title)
for track in sorted(tracks):
print('\t%s' % track.replace('.mus', '').upper())
print('\t%s' % track.replace('.mid', '').upper())
print('')

missing_tracks = set(find_missing_tracks(get_music_tracks()))
Expand Down

0 comments on commit 7dfc0ae

Please sign in to comment.