| Welcome to NHL04 Rebuilt 2017. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| NHL 2004 Launcher 1.45 - 01/09/14; Adds new features incl. widescreen | |
|---|---|
| Tweet Topic Started: Jun 16 2013, 07:54 AM (79,747 Views) | |
| Ciais | Sep 12 2015, 09:03 AM Post #706 |
|
Hall of Famer
|
So it's something the Launcher does when injecting You can do what Sence suggested for the time being, only Vod can shed some light on this one
|
![]() |
|
| CHAKA | Sep 12 2015, 09:13 AM Post #707 |
|
Charter Member
|
Yes Ciais, I will do so And thanks Sence! This helped!
|
![]() |
|
| Vod | Sep 12 2015, 02:47 PM Post #708 |
|
Development Team
|
Thanks Sence and Ciais :). Here are the default values in Launcher.ini: PointsWin = 2 PointsWinOT = 2 PointsLoseOT = 1 PointsTie = 1 They aren't saved with your season. |
| NHL 2004 Launcher | My Changelog | NHL 2004 Preservation | NHL 2004 Debugger | |
![]() |
|
| Ciais | Sep 12 2015, 02:53 PM Post #709 |
|
Hall of Famer
|
So, if you don't set any in the .ini, those are the ones getting injected for all leagues, right?
|
![]() |
|
| Vod | Sep 12 2015, 03:14 PM Post #710 |
|
Development Team
|
Yeah, it's for all leagues. In nhl2004.exe one hardcoded function at 0x56F780 sets the points for all game modes and that function has 4 parameters corresponding to the point values. So when you switch to a different league, the game calls this function with different parameters to set the points. What launcher 1.45 does is it replaces the entire function, ignores the parameters and sets the values based on launcher.ini: 0x774A74 = PointsWin 0x774A78 = PointsWinOT 0x774A7C = PointsLoseOt 0x774A80 = PointsTie Not the best way of doing it.. Launcher 1.5 handles it differently since almost everything is managed by lua scripts.
|
| NHL 2004 Launcher | My Changelog | NHL 2004 Preservation | NHL 2004 Debugger | |
![]() |
|
| Ciais | Sep 12 2015, 03:19 PM Post #711 |
|
Hall of Famer
|
So the scripts will recognize the different parameters, and we'll be able to have different points for different leagues. Nice thinking
|
![]() |
|
| Vod | Sep 12 2015, 03:38 PM Post #712 |
|
Development Team
|
There's quite a few ways it can be done since scripts have full control over the hard code. Launcher 1.5 no longer replaces that function, so the easiest way would probably be for a lua script to wait until a game mode change and then set the points after the game sets them internally. |
| NHL 2004 Launcher | My Changelog | NHL 2004 Preservation | NHL 2004 Debugger | |
![]() |
|
| Ciais | Sep 12 2015, 03:50 PM Post #713 |
|
Hall of Famer
|
Ah, I see. Cool
|
![]() |
|
| Thrashmands | Oct 6 2015, 03:05 PM Post #714 |
|
Regular
![]() ![]() ![]() ![]()
|
Is there a way to run nhl through Launcher in windowed mode? I can only do this through original exe. |
![]() |
|
| Sence | Oct 6 2015, 03:19 PM Post #715 |
|
Hall of Famer
|
To launcher.ini
It should work!
|
|
A video is worth of thousand pictures. http://www.youtube.com/watch?v=bFq2dGSVdOI My Sharks 2015-16 season (finished) | |
![]() |
|
| Thrashmands | Oct 6 2015, 03:33 PM Post #716 |
|
Regular
![]() ![]() ![]() ![]()
|
Ah, it does indeed work. I never expected that to be this easy! Thanks for your help, man! |
![]() |
|
| Sence | Oct 6 2015, 03:39 PM Post #717 |
|
Hall of Famer
|
No problem!
|
|
A video is worth of thousand pictures. http://www.youtube.com/watch?v=bFq2dGSVdOI My Sharks 2015-16 season (finished) | |
![]() |
|
| ZeroPucks | Oct 7 2015, 10:16 PM Post #718 |
|
Hall of Famer
![]() ![]() ![]() ![]() ![]() ![]()
|
I have two questions: 1. With the team ditties for goal songs, I have found that late in a game, instead of a Generic break in play ditty I get the Vancouver goal ditty. This wouldn't be too big a problem except I have the goal horn+goal song together in that ditty, so it's a little jarring. I don't have anything in the "TIME_RUNNING_OUT" folder (and did not use MyDocsPath in launcher.ini), but even when I used to it would never work. Any ideas why this happens and whether the latest update for team ditties fixed the TIME_RUNNING_OUT folder? 2. Using MyDocsPath in the launcher.ini and starting a season works fine with the rosters, but somehow borks the post-game box scores with AHL mod. This is what I see: ![]() I stopped using MyDocsPath because of the V2 vintage mod ditty issues (which were fixed for V1) and because of the box scores, but I'm curious if anyone knows the cause of this and if it only happens in AHL mod. Thanks. |
![]() |
|
| Ciais | Oct 7 2015, 10:25 PM Post #719 |
|
Hall of Famer
|
About 2, if I remember correctly, the boxscore data is extracted from fixed paths -- namely the standard NHL 2004 folder under MyDocs ("My Documents\NHL 2004") Since you're using the MyDocsPath setting in the Launcher, the season save file that is needed for data extraction is not inside the standard "My Documents\NHL 2004" folder -- where the boxscore is looking for it, because the code there specifically looks for "My Documents\NHL 2004" Hope it's clear
|
![]() |
|
| ZeroPucks | Oct 7 2015, 10:50 PM Post #720 |
|
Hall of Famer
![]() ![]() ![]() ![]() ![]() ![]()
|
Perfect explanation, Ciais, thank you for the clarification. |
![]() |
|
| 2 users reading this topic (2 Guests and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · NHL 2004 Launcher · Next Topic » |








![]](http://z4.ifrm.com/static/1/pip_r.png)


8:18 AM Jul 11