Just tried playing 997 for the first time but I got this error:
----------------------------------------------------------------------
Timestamp : 4/24/2014 16:53:30
Error level : FATAL EXCEPTION
Message : Fatal exception encountered
An unhandled exception occurred at $004B1748 :
ELuaException : F:\Stuff\Roguelike\doomrl\config.lua:9: require "F:\Stuff\Roguelike\doomrl\musichq.lua" failed!
$004B1748 TLUACONFIG__LOAD, line 140 of e:/Projects/fpcvalkyrie/src/vluaconfig.pas
$004B181F TLUACONFIG__LOADMAIN, line 149 of e:/Projects/fpcvalkyrie/src/vluac----------------------------------------------------------------------
Timestamp : 4/24/2014 16:55:19
Error level : FATAL EXCEPTION
Message : Fatal exception encountered
An unhandled exception occurred at $004B1748 :
ELuaException : F:\Stuff\Roguelike\doomrl\config.lua:9: require "F:\Stuff\Roguelike\doomrl\musichq.lua" failed!
$004B1748 TLUACONFIG__LOAD, line 140 of e:/Projects/fpcvalkyrie/src/vluaconfig.pas
$004B181F TLUACONFIG__LOADMAIN, line 149 of e:/Projects/fpcvalkyrie/src/vluaconfig.pas
$004AEE7A TDOOMCONFIG__CREATE, line 107 of src/doomconfig.pas
$0041EE23 TDOOM__CREATE, line 221 of src/doombase.pas
$00401BCE main, line 86 of src/doomrl.pas
----------------------------------------------------------------------
----------------------------------------------------------------------
Timestamp : 4/24/2014 16:56:10
Error level : FATAL EXCEPTION
Message : Fatal exception encountered
An unhandled exception occurred at $004B1748 :
ELuaException : F:\Stuff\Roguelike\doomrl\config.lua:9: require "F:\Stuff\Roguelike\doomrl\musichq.lua" failed!
$004B1748 TLUACONFIG__LOAD, line 140 of e:/Projects/fpcvalkyrie/src/vluaconfig.pas
$004B181F TLUACONFIG__LOADMAIN, line 149 of e:/Projects/fpcvalkyrie/src/vluaconfig.pas
$004AEE7A TDOOMCONFIG__CREATE, line 107 of src/doomconfig.pas
$0041EE23 TDOOM__CREATE, line 221 of src/doombase.pas
$00401BCE main, line 86 of src/doomrl.pas
----------------------------------------------------------------------
----------------------------------------------------------------------
Timestamp : 4/24/2014 16:57:06
Error level : FATAL EXCEPTION
Message : Fatal exception encountered
An unhandled exception occurred at $004B1748 :
ELuaException : F:\Stuff\Roguelike\doomrl\config.lua:9: require "F:\Stuff\Roguelike\doomrl\musichq.lua" failed!
$004B1748 TLUACONFIG__LOAD, line 140 of e:/Projects/fpcvalkyrie/src/vluaconfig.pas
$004B181F TLUACONFIG__LOADMAIN, line 149 of e:/Projects/fpcvalkyrie/src/vluaconfig.pas
$004AEE7A TDOOMCONFIG__CREATE, line 107 of src/doomconfig.pas
$0041EE23 TDOOM__CREATE, line 221 of src/doombase.pas
$00401BCE main, line 86 of src/doomrl.pas
----------------------------------------------------------------------
I also should mention that I changed up the music settings like I did for 996. Here is the copy of my musichq file:
-- High quality remixes of the original Doom music are a courtesy of Sonic
-- Clang ( http://sonicclang.ringdev.com/ ) used with permission.
-- Doom the Roguelike theme, Unholy Cathedral, Final Showdown, Hells
-- Weapons, Something Wicked, Of Skull And Bone, The Brick Song, and
-- Too Hot Down Here tracks composed by Simon Volpert (thanks!)
dofile "random.lua"
local function rand_music(music_array,song_num)
local song_tot = table.maxn(music_array)
local song_count = 1
local music_list = {}
for i=1,math.ceil(song_num/song_tot) do
local loop_itr = math.min(song_tot,song_num)
song_num = song_num - song_tot
local song_list = music_array
for j=1,loop_itr do
idx = math.random(song_tot-j+1)
song = song_list[idx]
music_list[song_count] = song
table.remove(song_list,j)
song_count = song_count + 1
end
end
return(music_list)
end
local title_playlist = {
"mp3/PSX_Doom_Music/doom_titlescreen.mp3",
"mp3/cdoom.mp3",
"mp3/doom3.mp3",
"mp3/DSoP_00_WelcomeToHell(Intro).mp3",
"mp3/PSX_Doom_Music/PSX_stats_screen.mp3",
"mp3/PSX_Doom_Music/PSX_stats_screen.mp3",
}
local reg_playlist = {
"mp3/d64/d64_1.mp3"
"mp3/d64/d64_2.mp3"
"mp3/d64/d64_3.mp3"
"mp3/d64/d64_4.mp3"
"mp3/d64/d64_5.mp3"
"mp3/d64/d64_6.mp3"
"mp3/d64/d64_7.mp3"
"mp3/d64/d64_8.mp3"
"mp3/d64/d64_9.mp3"
"mp3/d64/d64_10.mp3"
"mp3/d64/d64_11.mp3"
"mp3/d64/d64_12.mp3"
"mp3/d64/d64_13.mp3"
"mp3/d64/d64_14.mp3"
"mp3/d64/d64_15.mp3"
"mp3/d64/d64_16.mp3"
"mp3/d64/d64_17.mp3"
"mp3/d64/d64_18.mp3"
"mp3/d64/d64_19.mp3"
"mp3/d64/d64_20.mp3"
"mp3/PSX_Doom_Music/doom_01hangar.mp3",
"mp3/PSX_Doom_Music/doom_02plant.mp3",
"mp3/PSX_Doom_Music/doom_03toxinrefinery.mp3",
"mp3/PSX_Doom_Music/doom_04commandcontrol.mp3",
"mp3/PSX_Doom_Music/doom_05phoboslab.mp3",
"mp3/PSX_Doom_Music/doom_06centralprocessing.mp3",
"mp3/PSX_Doom_Music/doom_07computerstation.mp3",
"mp3/PSX_Doom_Music/doom_08phobosanomaly.mp3",
"mp3/PSX_Doom_Music/doom_09deimosanomaly.mp3",
"mp3/PSX_Doom_Music/doom_10containmentarea.mp3",
"mp3/PSX_Doom_Music/doom_11refinery.mp3",
"mp3/PSX_Doom_Music/doom_12deimoslab.mp3",
"mp3/PSX_Doom_Music/doom_13commandcenter.mp3",
"mp3/PSX_Doom_Music/doom_16hellgate.mp3",
"mp3/PSX_Doom_Music/doom_17hellkeep.mp3",
"mp3/PSX_Doom_Music/doom_18pandemonium.mp3",
"mp3/PSX_Doom_Music/doom_22limbo.mp3",
"mp3/PSX_Doom_Music/doom_20unholycathedral.mp3",
"mp3/PSX_Doom_Music/doom_21mterebus.mp3",
"mp3/PSX_Doom_Music/doom_24hellbeneath.mp3",
"mp3/PSX_Doom_Music/fdoom_01attack.mp3",
"mp3/PSX_Doom_Music/fdoom_02virgil.mp3",
"mp3/PSX_Doom_Music/fdoom_03canyon.mp3",
"mp3/PSX_Doom_Music/fdoom_04combine.mp3",
"mp3/PSX_Doom_Music/fdoom_05catwalk.mp3",
"mp3/PSX_Doom_Music/fdoom_06fistula.mp3",
"mp3/PSX_Doom_Music/fdoom_07geryon.mp3",
"mp3/PSX_Doom_Music/fdoom_08minos.mp3",
"mp3/PSX_Doom_Music/fdoom_09nessus.mp3",
"mp3/PSX_Doom_Music/fdoom_10paradox.mp3",
}
local spec_playlist = {
"mp3/e1m1.mp3",
"mp3/e1m2.mp3",
"mp3/e1m3.mp3",
"mp3/e1m4.mp3",
"mp3/e1m5.mp3",
"mp3/e1m6.mp3",
"mp3/e1m7.mp3",
"mp3/e1m8.mp3",
"mp3/e1m9.mp3",
"mp3/Hangarmageddon.mp3",
"mp3/PA01Quake_Theme.mp3",
"mp3/Animal_Acoustic.mp3",
"mp3/Qmusic/03 PA02Intermission.mp3"
"mp3/Qmusic/04 PA03Whispers.mp3"
"mp3/qmusic/05 PA04Grizzly_Grotto.mp3"
"mp3/qmusic/06 PA05Slipgate_Complex.mp3"
"mp3/qmusic/07 PA06Underearth.mp3"
"mp3/qmusic/08 PA07damned.mp3"
"mp3/qmusic/09 PA08Necropolis.mp3"
"mp3/qmusic/10 PA09Ziggurat_Vertigo.mp3"
"mp3/qmusic/11 PA10Gloom_Keep.mp3"
}
local boss_playlist = {
"mp3/PSX_Doom_Music/doom_credits.mp3",
"mp3/PSX_Doom_Music/final_doom_end.mp3",
"mp3/PSX_Doom_Music/psx_main_menu.mp3",
"mp3/PSX_Doom_Music/PSX_stats_screen.mp3",
}
local titlemus = rand_music(title_playlist,1)
local regmus = rand_music(reg_playlist,23)
local bossmus = rand_music(boss_playlist,4)
local specmus = rand_music(spec_playlist,11)
Music = {
start = titlemus[1],
interlude = "mp3/PSX_Doom_Music/fdoom_04combine.mp3",
bunny = "mp3/d2end.mp3",
intro = "mp3/DSoP_00_WelcomeToHell(Intro).mp3",
hellgate = bossmus[1],
level2 = regmus[1],
level3 = regmus[2],
level4 = regmus[3],
level5 = regmus[4],
level6 = regmus[5],
level7 = regmus[6],
level8 = regmus[7],
level9 = regmus[8],
level10 = regmus[9],
level11 = regmus[10],
level12 = regmus[11],
level13 = regmus[12],
level14 = regmus[13],
level15 = regmus[14],
level16 = regmus[15],
level17 = regmus[16],
level18 = regmus[17],
level19 = regmus[18],
level20 = regmus[19],
level21 = regmus[20],
level22 = regmus[21],
level23 = regmus[22],
level24 = regmus[23],
level25 = regmus[24],
hells_arena = specmus[1],
the_chained_court = specmus[2],
military_base = specmus[3],
halls_of_carnage = specmus[4],
hells_armory = specmus[5],
spiders_lair = specmus[6],
city_of_skulls = specmus[7],
the_wall = specmus[8],
unholy_cathedral = specmus[9],
the_mortuary = specmus[10],
the_vaults = specmus[11],
the_lava_pits = specmus[12],
phobos_lab = specmus[13],
deimos_lab = specmus[14],
containment_area = specmus[15],
abyssal_plains = specmus[16],
limbo = specmus[17],
mt_erebus = specmus[18],
tower_of_babel = bossmus[2],
hell_fortress = bossmus[3],
dis = bossmus[4],
victory = "mp3/Motorhead - Hellraiser.mp3",
}
Is there something I missed that is causing it to crash in the musichq.lua?