|
04 Launcher 1.5.0 - Beta 4 - 10/19/2016
|
|
Topic Started: Jun 2 2016, 10:03 AM (35,091 Views)
|
|
Vod
|
Jan 27 2018, 11:01 PM
Post #301
|
Development Team
- Posts:
- 2,093
- Group:
- Administrator
- Member
- #16
- Joined:
- April 6, 2011
|
It sounds like you haven't gotten the launcher working properly in general. There should be no default music at all if everything is running correctly and you have launcher's ditty feature enabled.
|
|
NHL 2004 Launcher | My Changelog | NHL 2004 Preservation | NHL 2004 Debugger
|
| |
|
Cycloniac
|
Jan 28 2018, 06:20 AM
Post #302
|
|
Rookie
- Posts:
- 10
- Group:
- Members
- Member
- #21,957
- Joined:
- January 20, 2018
|
- Vod
- Jan 27 2018, 11:01 PM
It sounds like you haven't gotten the launcher working properly in general. There should be no default music at all if everything is running correctly and you have launcher's ditty feature enabled. When I installed the interface from the main Rebuilt 2017 thread, it included launcher v1.45. I ended up replacing that with 1.5 manually.
Is there an interface zip that has launcher 1.5 included? Could that be the issue?
It seems as if the launcher works; if I change settings in the launcher like windowed/full screen, he changes occur, but the ditties definitely aren't playing.
Also, I'm not sure if this is related, but I was running a test ANA-PHI game, cpu v cpu. Every time I started the game, it would go the exact same way. The same sequence of events would occur (I only let the first few minutes play out). Those events would be: -Icing by Sean Couturier -Tripping penalty by David Weise -Goal by Andrew Cogliano, PP (one timer) -Another PHI penalty, can't remember by who
Literally every time.
The play clock also goes ascending, rather than descending i.e. if five minutes have elapsed, it dsplays 5:00 rather than 15:00.
|
|
|
| |
|
Vod
|
Jan 28 2018, 06:27 AM
Post #303
|
Development Team
- Posts:
- 2,093
- Group:
- Administrator
- Member
- #16
- Joined:
- April 6, 2011
|
- Cycloniac
- Jan 28 2018, 06:20 AM
- Vod
- Jan 27 2018, 11:01 PM
It sounds like you haven't gotten the launcher working properly in general. There should be no default music at all if everything is running correctly and you have launcher's ditty feature enabled.
When I installed the interface from the main Rebuilt 2017 thread, it included launcher v1.45. I ended up replacing that with 1.5 manually. Is there an interface zip that has launcher 1.5 included? Could that be the issue? It seems as if the launcher works; if I change settings in the launcher like windowed/full screen, he changes occur, but the ditties definitely aren't playing. Also, I'm not sure if this is related, but I was running a test ANA-PHI game, cpu v cpu. Every time I started the game, it would go the exact same way. The same sequence of events would occur (I only let the first few minutes play out). Those events would be: -Icing by Sean Couturier -Tripping penalty by David Weise -Goal by Andrew Cogliano, PP (one timer) -Another PHI penalty, can't remember by who Literally every time. The play clock also goes ascending, rather than descending i.e. if five minutes have elapsed, it dsplays 5:00 rather than 15:00. 1) I don't believe there's an interface with 1.5 pre-installed since it's still an alpha 2) Windowed mode is one of the only features that can work without the launcher being properly installed or if it's blocked by security software. It's very common for security software to block the launcher because it behaves like malware. 3) CPU vs CPU having the same results happens in the vanilla game as well. The game uses a static random seed. I plan on fixing that, but until then you can take over a team, do just about anything, and the results will change. 4) Ascending time happens if you select international rules (Referee).
Edited by Vod, Jan 28 2018, 06:33 AM.
|
|
NHL 2004 Launcher | My Changelog | NHL 2004 Preservation | NHL 2004 Debugger
|
| |
|
Cycloniac
|
Jan 28 2018, 06:56 AM
Post #304
|
|
Rookie
- Posts:
- 10
- Group:
- Members
- Member
- #21,957
- Joined:
- January 20, 2018
|
- Cycloniac
- Jan 28 2018, 06:20 AM
- Vod
- Jan 27 2018, 11:01 PM
It sounds like you haven't gotten the launcher working properly in general. There should be no default music at all if everything is running correctly and you have launcher's ditty feature enabled.
When I installed the interface from the main Rebuilt 2017 thread, it included launcher v1.45. I ended up replacing that with 1.5 manually. Is there an interface zip that has launcher 1.5 included? Could that be the issue? It seems as if the launcher works; if I change settings in the launcher like windowed/full screen, he changes occur, but the ditties definitely aren't playing. Also, I'm not sure if this is related, but I was running a test ANA-PHI game, cpu v cpu. Every time I started the game, it would go the exact same way. The same sequence of events would occur (I only let the first few minutes play out). Those events would be: -Icing by Sean Couturier -Tripping penalty by David Weise -Goal by Andrew Cogliano, PP (one timer) -Another PHI penalty, can't remember by who Literally every time. The play clock also goes ascending, rather than descending i.e. if five minutes have elapsed, it dsplays 5:00 rather than 15:00. Yup, had it set to international, somehow. That did the trick.
 New set of events played out this time; I tweaked the roster a bit, new lines. So that was nice.
I don't have it set to Windowed; it's on full screen exclusive, so parts of the launcher are working. I'm not quite sure what's up.
Also, here's the code fo the ditties LUA (maybe there's an issue in there, I updated the reverb settings in Notepad).
- Code:
-
--[[ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. --]]
--[[
Events (* = No reverb):
Interface* Loading* Intro Menu* Intermission* Goal Home Goal Road (Loaded from away team) Goal Away (If 'Goal Road' from the away team does not exist) Play Stopped Puck over (Or Play Stopped if doesn't exist) Offside (Or Play Stopped if doesn't exist) Icing (Or Play Stopped if doesn't exist) Net Loose (Or Play Stopped if doesn't exist) Two Line Pass (Or Play Stopped if doesn't exist) Penalty Home Penalty Away Home Win Away Win Tie Fight Period Started --]]
-- Options MusicPath = "launcher\\media\\sound\\ditties\\" ArenaVolume = 0.4 -- Volume range: 0.0 - 1.0 MenuVolume = 0.4 InterfaceVolume = 0.4 DisableReverb = false IntroReverb = true IntermissionReverb = false MenuReverb = false LoadingReverb = false FadeOutTime = 500 MenuRepeat = true MenuMusicInReplay = false PreloadDitties = true
BASS_DX8_I3DL2REVERB_lRoom = -10 BASS_DX8_I3DL2REVERB_lRoomHF = 0 BASS_DX8_I3DL2REVERB_flRoomRolloffFactor = 0 BASS_DX8_I3DL2REVERB_flDecayTime = 0.755 BASS_DX8_I3DL2REVERB_flDecayHFRatio = 0.5 BASS_DX8_I3DL2REVERB_lReflections = -2048 BASS_DX8_I3DL2REVERB_flReflectionsDelay = 0.007 BASS_DX8_I3DL2REVERB_lReverb = 92 BASS_DX8_I3DL2REVERB_flReverbDelay = 0.095 BASS_DX8_I3DL2REVERB_flDiffusion = 15.5 BASS_DX8_I3DL2REVERB_flDensity = 35.5 BASS_DX8_I3DL2REVERB_flHFReference = 8192 --[[
lRoom: Attenuation of the room effect, in millibels (mB), in the range from -10000 to 0. The default value is -1000 mB. lRoomHF: Attenuation of the room high-frequency effect, in mB, in the range from -10000 to 0. The default value is -100 mB. flRoomRolloffFactor: Rolloff factor for the reflected signals, in the range from 0 to 10. The default value is 0.0. flDecayTime: Decay time, in seconds, in the range from 0.1 to 20. The default value is 1.49 seconds. flDecayHFRatio: Ratio of the decay time at high frequencies to the decay time at low frequencies, in the range from 0.1 to 2. The default value is 0.83. lReflections: Attenuation of early reflections relative to lRoom, in mB, in the range from -10000 to 1000. The default value is -2602 mB. flReflectionsDelay: Delay time of the first reflection relative to the direct path, in seconds, in the range from 0 to 0.3. The default value is 0.007 seconds. lReverb: Attenuation of late reverberation relative to lRoom, in mB, in the range from -10000 to 2000. The default value is 200 mB. flReverbDelay: Time limit between the early reflections and the late reverberation relative to the time of the first reflection, in seconds, in the range from 0 to 0.1. The default value is 0.011 seconds. flDiffusion: Echo density in the late reverberation decay, in percent, in the range from 0 to 100. The default value is 100.0 percent. flDensity: Modal density in the late reverberation decay, in percent, in the range from 0 to 100. The default value is 100.0 percent. flHFReference: Reference high frequency, in hertz, in the range from 20 to 20000. The default value is 5000.0 Hz.
--]] --***************
Preloaded = {}
function PlayInterfaceTimer() if InterfaceTimer ~= nil and Launcher.Sound.Loaded(InterfaceStream) then if Launcher.Sound.Status(InterfaceStream) == 0 then StopSong(InterfaceStream) InterfaceTimer = nil PlayInterface() return end InterfaceTimer = Launcher.Timer.SetTimeout(1000,PlayInterfaceTimer) end end function PlayMenuTimer() if MenuTimer ~= nil and Launcher.Sound.Loaded(MenuStream) ~= nil then if Launcher.Sound.Status(MenuStream) == 0 then StopSong(MenuStream) MenuTimer = nil PlayMenu() return end MenuTimer = Launcher.Timer.SetTimeout(1000,PlayMenuTimer) end end function PlayMenu() if not Launcher.Game.Over() then local MenuSong, Reverb Reverb = false StopSong(MenuStream) MenuTimer = nil if Launcher.Sound.Loaded(Stream) then if Launcher.Sound.Status(Stream) == 1 then Launcher.Sound.Pause(Stream) else StopSong(Stream) end end if Launcher.Game.Time() == 0 then MenuSong = PickSong("Intermission") if MenuSong ~= nil and IntermissionReverb then Reverb = true end end if MenuSong == nil then MenuSong = PickSong("Menu") if MenuSong ~= nil and MenuReverb then Reverb = true end end if MenuSong ~= nil then MenuStream = PlaySong(MenuSong, Reverb, MenuVolume) if MenuStream ~= nil and MenuRepeat then MenuTimer = Launcher.Timer.SetTimeout(1000,PlayMenuTimer) end end end end function PlayInterface() local Song = PickSong("Interface") if Song ~= nil then InterfaceStream = PlaySong(Song, false, InterfaceVolume) if InterfaceStream ~= nil then InterfaceTimer = Launcher.Timer.SetTimeout(1000,PlayInterfaceTimer) end end end function QuitGameCallback() HomeAbbreviation = nil MenuTimer = nil
StopSong(Stream) StopSong(MenuStream)
PlayInterface() end function PreloadEvent(Event,Alt) local Dir, Size, Path, Filename, Abbrev Abbrev = HomeAbbreviation if Alt ~= nil then if Alt == 1 then Abbrev = AwayAbbreviation end end if Abbrev ~= nil then Path = MusicPath..Abbrev.."\\".. Event.."\\" if not Launcher.Filesystem.DirectoryExists(Path) then Path = MusicPath.."ALL\\".. Event.."\\" end else Abbrev = "ALL" Path = MusicPath.."ALL\\".. Event.."\\" end if Launcher.Filesystem.DirectoryExists(Path) then if Preloaded[Abbrev] == nil then Preloaded[Abbrev] = {} end Preloaded[Abbrev][Event] = {} Dir = Launcher.Filesystem.EnumerateFiles(Path,"*.mp3") if Dir ~= nil then while Launcher.Filesystem.EnumerateNextFile(Dir) ~= nil do Filename = Launcher.Filesystem.EnumeratedFilename(Dir) if Filename ~= "." and Filename ~= ".." then table.insert(Preloaded[Abbrev][Event],Path..Filename) end end Launcher.Filesystem.EnumeratedFilesFinish(Dir) else return nil end else return nil end end function Preload(Event) if Event ~= nil then PreloadEvent(Event) return end local Count = #Preloaded local I for I=0, Count do Preloaded[i]=nil end PreloadEvent("Menu") PreloadEvent("Interface") PreloadEvent("Loading") PreloadEvent("Intro") PreloadEvent("Menu") PreloadEvent("Intermission") PreloadEvent("Goal Home") PreloadEvent("Goal Away") PreloadEvent("Goal Road",1) PreloadEvent("Play Stopped") PreloadEvent("Puck over") PreloadEvent("Offside") PreloadEvent("Icing") PreloadEvent("Net Loose") PreloadEvent("Penalty Home") PreloadEvent("Penalty Away") PreloadEvent("Home Win") PreloadEvent("Away Win") PreloadEvent("Tie") PreloadEvent("Fight") PreloadEvent("Period Started") PreloadEvent("Two Line Pass") end function DeviceCreatedCallback() InterfaceTimer = nil MenuTimer = nil Launcher.Override.DisableMusic() HomeAbbreviation = Launcher.Game.HomeNameAbbreviation() AwayAbbreviation = Launcher.Game.AwayNameAbbreviation() if PreloadDitties then Preload() end StopSong(InterfaceStream) local Song = PickSong("Loading") if Song ~= nil then Stream = PlaySong(Song, LoadingReverb, InterfaceVolume) end end function PausedCallback() PlayMenu() end function UnpausedCallback() local Song MenuTimer = nil StopSong(MenuStream)
if Launcher.Sound.Loaded(Stream) then Launcher.Sound.Play(Stream,0) end end function FadeOutTimer() StopSong(Stream) end function PlayStartedCallback() if Launcher.Sound.Loaded(Stream) then Launcher.Sound.SlideVolume(Stream,0,FadeOutTime) Launcher.Timer.SetTimeout(FadeOutTime,FadeOutTimer) end end function CutsceneStartedCallback(CutsceneID) if CutsceneID == 44 then StopSong(Stream) Song = PickSong("Intro") if Song ~= nil then Stream = PlaySong(Song,IntroReverb,ArenaVolume) end end end function PlayStoppedCallback(Reason)
local Song = nil StopSong(Stream)
if Reason == LauncherPlayStoppedPeriod then Song = nil elseif Reason == LauncherPlayStoppedGoalHome then Song = PickSong("Goal Home") elseif Reason == LauncherPlayStoppedGoalAway then Song = PickSong("Goal Road",1) if Song == nil then Song = PickSong("Goal Away") end elseif Reason == LauncherPlayStoppedPuckOver then Song = PickSong("Puck Over") if Song == nil then Song = PickSong("Play Stopped") end elseif Reason == LauncherPlayStoppedOffside then Song = PickSong("Offside") if Song == nil then Song = PickSong("Play Stopped") end elseif Reason == LauncherPlayStoppedIcing then Song = PickSong("Icing") if Song == nil then Song = PickSong("Play Stopped") end elseif Reason == LauncherPlayStoppedNetLoose then Song = PickSong("Net Loose") if Song == nil then Song = PickSong("Play Stopped") end elseif Reason == LauncherPlayStoppedTwoLinePass then Song = PickSong("Two Line Pass") if Song == nil then Song = PickSong("Play Stopped") end elseif Reason == LauncherPlayStoppedPenaltyHome then Song = PickSong("Penalty Home") elseif Reason == LauncherPlayStoppedPenaltyAway then Song = PickSong("Penalty Away") elseif Reason == LauncherPlayStoppedGameOver then if Launcher.Stats.HomeGoals() > Launcher.Stats.AwayGoals() then Song = PickSong("Home Win") elseif Launcher.Stats.AwayGoals() > Launcher.Stats.HomeGoals() then Song = PickSong("Away Win") else Song = PickSong("Tie") end elseif Reason == LauncherPlayStoppedFight then Song = PickSong("Fight") else Song = PickSong("Play Stopped") end if Song ~= nil then Stream = PlaySong(Song,true, ArenaVolume) end end function StopSong(MusicStream) if MusicStream ~= nil then if Launcher.Sound.Loaded(MusicStream) then Launcher.Sound.Release(MusicStream) end end end function PlaySong(Path, Reverb, Volume) local RetStream if Reverb and not DisableReverb then RetStream = Launcher.Sound.Load(Path,false) Launcher.Sound.SetReverb(RetStream,BASS_DX8_I3DL2REVERB_lRoom,BASS_DX8_I3DL2REVERB_lRoomHF,BASS_DX8_I3DL2REVERB_flRoomRolloffFactor,BASS_DX8_I3DL2REVERB_flDecayTime,BASS_DX8_I3DL2REVERB_flDecayHFRatio,BASS_DX8_I3DL2REVERB_lReflections,BASS_DX8_I3DL2REVERB_flReflectionsDelay,BASS_DX8_I3DL2REVERB_lReverb,BASS_DX8_I3DL2REVERB_flReverbDelay,BASS_DX8_I3DL2REVERB_flDiffusion,BASS_DX8_I3DL2REVERB_flDensity,BASS_DX8_I3DL2REVERB_flHFReference) else RetStream = Launcher.Sound.Load(Path,true) end if RetStream ~= nil then Launcher.Sound.SetVolume(RetStream,Volume) Launcher.Sound.Play(RetStream,1) end return RetStream end function PickSong(Event,Alt) math.randomseed(os.time()) local Dir, List, Size, Path, Filename, Rand, Abbrev
Abbrev = HomeAbbreviation if Alt ~= nil then if Alt == 1 then Abbrev = AwayAbbreviation end end if Abbrev ~= nil then Path = MusicPath..Abbrev.."\\".. Event.."\\" if not Launcher.Filesystem.DirectoryExists(Path) then Path = MusicPath.."ALL\\".. Event.."\\" end else Path = MusicPath.."ALL\\".. Event.."\\" Abbrev = "ALL" end if PreloadDitties then if Preloaded[Abbrev] ~= nil then if Preloaded[Abbrev][Event] ~= nil and #Preloaded[Abbrev][Event] > 0 then Rand = math.random(1,#Preloaded[Abbrev][Event]) return Preloaded[Abbrev][Event][Rand] end end return nil end if Launcher.Filesystem.DirectoryExists(Path) then Dir = Launcher.Filesystem.EnumerateFiles(Path,"*.mp3") List = {} if Dir ~= nil then while Launcher.Filesystem.EnumerateNextFile(Dir) ~= nil do Filename = Launcher.Filesystem.EnumeratedFilename(Dir) if Filename ~= "." and Filename ~= ".." then table.insert(List,Path..Filename) end end Launcher.Filesystem.EnumeratedFilesFinish(Dir) if #List > 0 then Rand = math.random(1,#List) return List[Rand] else return nil end else return nil end else return nil end end function InitSoundCallback() if PreloadDitties then Preload("Interface") end PlayInterface() end function RematchCallback() StopSong(MenuStream) StopSong(Stream) MenuTimer = nil end function PeriodStartedCallback() local Song StopSong(Stream) Song = PickSong("Period Started") if Song ~= nil then Stream = PlaySong(Song,true, ArenaVolume) end end function EnterReplayCallback() MenuTimer = nil StopSong(MenuStream) end if Launcher.Config.Bool("enableditties",true) then Launcher.Override.DisableMusic()
Launcher.Callback.Register("DeviceCreated",DeviceCreatedCallback) Launcher.Callback.Register("PlayStarted",PlayStartedCallback) Launcher.Callback.Register("PlayStopped",PlayStoppedCallback) Launcher.Callback.Register("Paused",PausedCallback) Launcher.Callback.Register("Unpaused",UnpausedCallback) Launcher.Callback.Register("QuitGame",QuitGameCallback) Launcher.Callback.Register("SoundInit",InitSoundCallback) Launcher.Callback.Register("CutsceneStarted",CutsceneStartedCallback) Launcher.Callback.Register("Rematch",RematchCallback) Launcher.Callback.Register("PeriodStarted",PeriodStartedCallback) if MenuMusicInReplay == false then Launcher.Callback.Register("EnterReplay",EnterReplayCallback) end end [/i]
Edited by Vod, Jan 28 2018, 07:09 AM.
|
|
|
| |
|
Vod
|
Jan 28 2018, 07:07 AM
Post #305
|
Development Team
- Posts:
- 2,093
- Group:
- Administrator
- Member
- #16
- Joined:
- April 6, 2011
|
Order of events:
- You run Launcher.exe
- You click "Launch NHL 04"
- Launcher.exe sets some registry keys. One of those keys is what makes the game a window or fullscreen exclusive
- Launcher.exe starts the game
- Launcher.exe injects launcher.dll into the game process (This part is probably what failed)
- Launcher.exe closes
So as you can see in the order of events, it can set the registry key which determines if it's windowed or fullscreen, but it can fail to inject launcher.dll, which is where most of the features exist, such as launcher scripting. If launcher.dll doesn't get injected, then none of the lua scripts will work. You won't even get a log file. The game will just start like normal, but in a window or fullscreen exclusive. If you're sure all of the files are in the right place, the first thing I would check is your security software. Any good heuristic scan is pretty much guaranteed to block the launcher.
|
|
NHL 2004 Launcher | My Changelog | NHL 2004 Preservation | NHL 2004 Debugger
|
| |
|
Cycloniac
|
Jan 28 2018, 08:14 AM
Post #306
|
|
Rookie
- Posts:
- 10
- Group:
- Members
- Member
- #21,957
- Joined:
- January 20, 2018
|
It appears that launcher.dll isn't injecting indeed
I set create log to yes, launched NHL 04, and exitted, but I'm not seeing a log file.
What security settings could be preventing it from running? What should I try to change?
|
|
|
| |
|
Sence
|
Jan 28 2018, 11:30 AM
Post #307
|
Hall of Famer
- Posts:
- 2,138
- Group:
- Moderator
- Member
- #6,220
- Joined:
- January 29, 2013
|
@Cycloniac about the cpu vs. cpu. Those will play the game always same way. So you have to take control of other team for the first faceoff, try to take the puck or move a little bit! Just 1 meter is already enough and then change the control back to cpu. The game will be totally different!
|
A video is worth of thousand pictures.
http://www.youtube.com/watch?v=bFq2dGSVdOI My Sharks 2015-16 season (finished)
|
| |
|
Vod
|
Jan 28 2018, 04:47 PM
Post #308
|
Development Team
- Posts:
- 2,093
- Group:
- Administrator
- Member
- #16
- Joined:
- April 6, 2011
|
- Cycloniac
- Jan 28 2018, 08:14 AM
It appears that launcher.dll isn't injecting indeed
I set create log to yes, launched NHL 04, and exitted, but I'm not seeing a log file.
What security settings could be preventing it from running? What should I try to change?
It depends on the security software you're using. Try completely disabling it or just make sure there's an exception for everything in the launcher folder. Before that though, make sure you have all of the files in the right place and that you overwrite the previous launcher.dll
You should have:
NHL 2004\nhl2004.exe NHL 2004\launcher.exe NHL 2004\launcher.dll NHL 2004\bass.dll NHL 2004\lua5*.dll NHL 2004\fasm.dll NHL 2004\launcher\..
Edited by Vod, Jan 28 2018, 04:49 PM.
|
|
NHL 2004 Launcher | My Changelog | NHL 2004 Preservation | NHL 2004 Debugger
|
| |
|
Cycloniac
|
Jan 28 2018, 05:17 PM
Post #309
|
|
Rookie
- Posts:
- 10
- Group:
- Members
- Member
- #21,957
- Joined:
- January 20, 2018
|
- Vod
- Jan 28 2018, 04:47 PM
- Cycloniac
- Jan 28 2018, 08:14 AM
It appears that launcher.dll isn't injecting indeed
I set create log to yes, launched NHL 04, and exitted, but I'm not seeing a log file.
What security settings could be preventing it from running? What should I try to change?
It depends on the security software you're using. Try completely disabling it or just make sure there's an exception for everything in the launcher folder. Before that though, make sure you have all of the files in the right place and that you overwrite the previous launcher.dll You should have: NHL 2004\nhl2004.exe NHL 2004\launcher.exe NHL 2004\launcher.dll NHL 2004\bass.dll NHL 2004\lua5*.dll NHL 2004\fasm.dll NHL 2004\launcher\.. My NHL 2004 folder looks like this; I think I have all the files where they should be

|
|
|
| |
|
Vod
|
Jan 28 2018, 05:40 PM
Post #310
|
Development Team
- Posts:
- 2,093
- Group:
- Administrator
- Member
- #16
- Joined:
- April 6, 2011
|
The pics are too small, but I'll take your word for it. Do you have antivirus software installed? Or any sort of third party security software?
|
|
NHL 2004 Launcher | My Changelog | NHL 2004 Preservation | NHL 2004 Debugger
|
| |
|
Cycloniac
|
Jan 28 2018, 06:32 PM
Post #311
|
|
Rookie
- Posts:
- 10
- Group:
- Members
- Member
- #21,957
- Joined:
- January 20, 2018
|
No, no 3rd party antivirus software, just the default antivirus that is installed with Windows 10 (Windows Defender)
|
|
|
| |
|
Cycloniac
|
Jan 29 2018, 06:31 AM
Post #312
|
|
Rookie
- Posts:
- 10
- Group:
- Members
- Member
- #21,957
- Joined:
- January 20, 2018
|
I replaced launcher.dll in 1.5 with it's 1.45 counterpart--nothing else was switched-- and that seems to be working. I'm getting a log file, and the changes I make in the launcher GUI take effect. However, I'm assuming the ditty engine script isn't running because the only way in-game music plays is when I use the asf files in the My Documents NHL 2004 ditties path.
Is there any reason the 1.45 .dll would be working instead of the 1.5?
Does 1.45 apply reverb to the dittes in-game?
|
|
|
| |
|
Vod
|
Jan 29 2018, 07:02 AM
Post #313
|
Development Team
- Posts:
- 2,093
- Group:
- Administrator
- Member
- #16
- Joined:
- April 6, 2011
|
- Cycloniac
- Jan 29 2018, 06:31 AM
I replaced launcher.dll in 1.5 with it's 1.45 counterpart--nothing else was switched-- and that seems to be working. I'm getting a log file, and the changes I make in the launcher GUI take effect. However, I'm assuming the ditty engine script isn't running because the only way in-game music plays is when I use the asf files in the My Documents NHL 2004 ditties path.
Is there any reason the 1.45 .dll would be working instead of the 1.5?
Does 1.45 apply reverb to the dittes in-game? I strongly advise against mixing the files like that. 1.45 and 1.5 are completely different. It's not just a small update, but almost a complete rewrite of the code, including the config file standards. 1.45 has no scripting features, it's just some basic display settings. I would start over, delete all of the launcher files and folders (including launcher.ini), extract the files, make sure you're running as admin and disable windows defender.
Edited by Vod, Jan 29 2018, 07:03 AM.
|
|
NHL 2004 Launcher | My Changelog | NHL 2004 Preservation | NHL 2004 Debugger
|
| |
|
Cycloniac
|
Jan 29 2018, 07:43 AM
Post #314
|
|
Rookie
- Posts:
- 10
- Group:
- Members
- Member
- #21,957
- Joined:
- January 20, 2018
|
- Vod
- Jan 29 2018, 07:02 AM
- Cycloniac
- Jan 29 2018, 06:31 AM
I replaced launcher.dll in 1.5 with it's 1.45 counterpart--nothing else was switched-- and that seems to be working. I'm getting a log file, and the changes I make in the launcher GUI take effect. However, I'm assuming the ditty engine script isn't running because the only way in-game music plays is when I use the asf files in the My Documents NHL 2004 ditties path.
Is there any reason the 1.45 .dll would be working instead of the 1.5?
Does 1.45 apply reverb to the dittes in-game?
I strongly advise against mixing the files like that. 1.45 and 1.5 are completely different. It's not just a small update, but almost a complete rewrite of the code, including the config file standards. 1.45 has no scripting features, it's just some basic display settings. I would start over, delete all of the launcher files and folders (including launcher.ini), extract the files, make sure you're running as admin and disable windows defender. So, I went through and deleted every launcher file in the NHL 2004 root folder, one at a time, including te launcher folder
I went to re-extract the launcher v1.5 b4 I downloaded previously, and thought I had a breakthrough when I realized the RAR didn't contain launcher.dll. I went back and redownloaded Launcher v1.5 b4, and unblocked the RAR file before extracting. I then extracted everything into the root NHL 2004 folder, and made sure everything was there.
I ran launcher.exe, adjusted the config settings, and made sure ditty engine was set to yes, as well as create log.
Launched NHL 04. Default menu music played. Started a game, and display didn't use full resolution. In game, it did not play the test files I added to launcher's ditties ALL folder. Instead, it played the ditties from the My Documents folder.
No log file was created.
When I was using the 1.45 launcher.dll: -log file created successfully -gameplay displayed in correct resolution -ditties still only playing from My Documents folder (of course)
Could it have anything to do with Microsoft Edge settings/IE settings? I made sure Windows Defender's "Check Apps and files" setting was turned from "warn" to "off." And made sure none of the launcher files were being blocked.
|
|
|
| |
|
Cycloniac
|
Jan 30 2018, 06:05 PM
Post #315
|
|
Rookie
- Posts:
- 10
- Group:
- Members
- Member
- #21,957
- Joined:
- January 20, 2018
|
I re-insalled Laucnher 1.5, this time I tried beta 1.
I noticed somehing that may or may not help solve this issue:
I made sure the NHL 2004 root folder and all of its content weren't read only prior to running launcher.exe. I run the launcher, start the game, exit. Checked the folder, and noticed that it reset to read only.
|
|
|
| |
| 2 users reading this topic (2 Guests and 0 Anonymous)
|