mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-23 23:06:00 +00:00
Added mp3 support back in, changed layout of townmapgen.html, screenshots now go in Screenshots folder, added "NoName" flag for trainer types
This commit is contained in:
@@ -508,8 +508,8 @@ module BattleAnimationEditor
|
||||
ret = false
|
||||
pbRgssChdir(File.join("Audio", "SE", "Anim")) do
|
||||
animfiles.concat(Dir.glob("*.wav"))
|
||||
# animfiles.concat(Dir.glob("*.mp3"))
|
||||
animfiles.concat(Dir.glob("*.ogg"))
|
||||
animfiles.concat(Dir.glob("*.mp3"))
|
||||
animfiles.concat(Dir.glob("*.wma"))
|
||||
end
|
||||
animfiles.uniq!
|
||||
|
||||
@@ -613,7 +613,7 @@ def pbImportAllAnimations
|
||||
Graphics.update
|
||||
audios = []
|
||||
files = Dir.glob(folder + "/*.*")
|
||||
["wav", "ogg", "mid", "wma"].each do |ext| # mp3
|
||||
["wav", "ogg", "mp3", "midi", "mid", "wma"].each do |ext|
|
||||
upext = ext.upcase
|
||||
audios.concat(files.find_all { |f| f[f.length - 3, 3] == ext })
|
||||
audios.concat(files.find_all { |f| f[f.length - 3, 3] == upext })
|
||||
|
||||
@@ -213,11 +213,12 @@ class MusicFileLister
|
||||
folder = (@bgm) ? "Audio/BGM/" : "Audio/ME/"
|
||||
@commands.clear
|
||||
Dir.chdir(folder) do
|
||||
# Dir.glob("*.mp3") { |f| @commands.push(f) }
|
||||
Dir.glob("*.ogg") { |f| @commands.push(f) }
|
||||
Dir.glob("*.wav") { |f| @commands.push(f) }
|
||||
Dir.glob("*.mid") { |f| @commands.push(f) }
|
||||
Dir.glob("*.ogg") { |f| @commands.push(f) }
|
||||
Dir.glob("*.mp3") { |f| @commands.push(f) }
|
||||
Dir.glob("*.midi") { |f| @commands.push(f) }
|
||||
Dir.glob("*.mid") { |f| @commands.push(f) }
|
||||
Dir.glob("*.wma") { |f| @commands.push(f) }
|
||||
end
|
||||
@commands.uniq!
|
||||
@commands.sort! { |a, b| a.downcase <=> b.downcase }
|
||||
|
||||
Reference in New Issue
Block a user