View Full Version : WowLoader Source Code Discussion
abcba
June 24th, 2007, 09:09 AM
Hey, I'm the author of WowLoader.
It was suggested to me that I might find people interested in the source here.
As I've decided to move on, there's still a few things left undone (ignoring the various crashes).
First off, there's the activation issue.
The reason activate.exe isn't working is because it dynamically loads a DLL which cannot be loaded due to unresolved imports.
Unresolved imports is handled in the loader during the process creation stage, by creating the process suspended, the loader has a chance to resolve missing imports, before the OS attempts to resolve them.
The specific class which handles this is named CAppPatch.
Obviously this approach doesn't work with dynamically loaded DLL's.
What's needed is to hook the LoadLibrary(Ex)(A/W) call used and load the DLL manually.
You can use the flag DONT_RESOLVE_DLL_REFERENCES to get the OS to map the DLL properly.
Then you need to resolve the imports of the DLL yourself and call the entry point at appropiate times.
Not sure if there's more work to be done after that, in theory that should be enough.
Second, there's the dedicated server.
The dedicated runs as a service process, which means the loader doesn't have any control of it's creation.
What's needed here is to adapt the loader to work as a proxy service, which can then be registered in place of the dedicated server, to launch it properly.
Once the loader service is started, it will need to create the dedicated server process, passing the appropiate arguments, using CLoader.
Wow.dll will need to include hooks for RegisterServiceCtrlHandler(Ex)(A/W) so that it can catch the address of ServiceMain in the dedicated server.
Now, whenever the loader service receives a notification through it's ServiceMain it'll have to notify Wow.dll, so that it can relay the notification onto the dedicated server's ServiceMain.
I'd suggest creating a window in Wow.dll and using windows messages.
Anyway, that's about it, I think.
If you have any questions about the source, this is the place to ask them.
There's a little bit of info on the FileFront forums where I posted WowLoader originally.
Here's a direct link to the source code: http://upload2.net/page/download/VnotnQ8XwHb6RLg/WowLoader-SRC.rar.html
[Local] http://files.h2vista.net/software/WowLoader/WowLoader-SRC.rar
Limited
June 24th, 2007, 10:37 AM
Bit of a bogded job then? Makes it unstable and possibly unreliable later on down the line (after updates)
Patrickssj6
June 24th, 2007, 10:40 AM
Hey!
Good to have you here. :)
abcba
June 24th, 2007, 11:28 AM
Bit of a bogded job then? Makes it unstable and possibly unreliable later on down the line (after updates)
I'm sorry you can't appreciate the effort on my part for what it is.
However, the source code is right here, you're more then welcome fix it.
Cheers
bitterbanana
June 24th, 2007, 11:53 AM
I don't think this would be the best place to find someone to continue your code. As far as I know, there aren't too many programmers here. Where do hackers hang out anyway? I'll send this out to the few people I know, but I don't even have the minimum video card to run the game, let alone test the code.
By the way, great job getting it to work.
Con
June 24th, 2007, 02:37 PM
I'd have to agree with bitter. There aren't many programmers here, and those who can aren't all skilled to the level you require.
Phopojijo
June 24th, 2007, 02:40 PM
Meh, there a few programmers around here. Probably the best way to proceed is to create an account down at Sourceforge.
abcba
June 24th, 2007, 02:44 PM
I don't know know any "hackers" that plays halo.
Oh well, at least I tried...
StankBacon
June 24th, 2007, 03:14 PM
god i love these forums.
so many appreciative people.
Flapjack
June 24th, 2007, 11:35 PM
Dude, you seriously have to fix the crash issues, please! I frikken almost fried my GPU by overclocking it so I could run it in Vista. I just wish and hope you would fix some of the crash issues. PLEASE. By the way, Bitterbanna, I don't have the minimum card either, but it still runs in Vista for me, with or without overclocking. I just had to OC it to get a playable framerate.
~ZMT~Trace
June 24th, 2007, 11:41 PM
Dude, you seriously have to fix the crash issues, please! I frikken almost fried my GPU by overclocking it so I could run it in Vista. I just wish and hope you would fix some of the crash issues. PLEASE. By the way, Bitterbanna, I don't have the minimum card either, but it still runs in Vista for me, with or without overclocking. I just had to OC it to get a playable framerate.
Your computer sucks to much to play it, thats why.
Thats the best way I can put it, you don't have the minimum requirements.
Also, I am just Amazed of what you did, some of these people need to stop and think about how hard it was to make this, and appreciate what you did.
Flapjack
June 24th, 2007, 11:43 PM
I appreciate fully what he did! I'm amazed at it! I just wish he would continue development and fix the bugs. And for the record, my computer does not suck, and there's plenty of people with much better computers that can not play this with good quality and/or frame rate. The fact of the matter is, the people who've gotten this to work have noticed much better frame rates.
~ZMT~Trace
June 24th, 2007, 11:57 PM
Post em up then, it could be just one small thing :like you GPU: causing it.
Flapjack
June 25th, 2007, 12:05 AM
Post what up?
And what the frik? If it was my GPU it wouldn't run in Vista either.
~ZMT~Trace
June 25th, 2007, 12:06 AM
Post what up?
Specs -.-
Flapjack
June 25th, 2007, 12:07 AM
1GB RAM
1.73Ghz Intel Pentium M
128MB Ati Mobility Radeon X300
80GB HD
~ZMT~Trace
June 25th, 2007, 12:15 AM
1GB RAM That shouldn't be a problem
1.73Ghz Intel Pentium M Should be ok.
128MB Ati Mobility Radeon X300 Possibly it, as its X700 required.
80GB HD Ok
Response in bold.
Flapjack
June 25th, 2007, 12:17 AM
Dude, it runs in Vista!!!!!!!!
RUNS
IN
VISTA!
One would think since people are saying it runs better on XP, that my not meeting some of the requirements wouldn't be an issue.
jahrain
June 25th, 2007, 12:23 AM
The reason why it has ridiculous requirements is because it is in vista. In xp, the hardware requirements for the game would be dramatically lower. If you don't believe me, look at any software or hardware product that is marked both Vista and XP compatible and compare the system requirements for both platforms. You will see that the XP system requirements is nearly half of thats of which is marked for Vista.
TheGhost
June 25th, 2007, 12:42 AM
Files are locally hosted now under http://files.h2vista.net/software/WowLoader/
http://files.h2vista.net/software/WowLoader/WowLoader-0.2.rar
http://files.h2vista.net/software/WowLoader/WowLoader-SRC.rar
jahrain
June 25th, 2007, 12:47 AM
Thanks TheGhost.
Its good to see some pro-open source members around here. To much people here have a microsoft mentality on open sourcing.
Nick
June 25th, 2007, 01:44 AM
Its good to see some pro-open source members around here. To much people here have a microsoft mentality on open sourcing.I'm confused, you're glad to see some members in favor of open source because "to much" people are for open source? Unless you were trying to suggest that Microsoft is against open source, in which case you would be wrong (http://www.microsoft.com/resources/sharedsource/Licensing/Developer.mspx) as (http://www.codeplex.com/) usual (http://port25.technet.com/) (yes, those are three separate links).
Nick
Flapjack
June 25th, 2007, 02:49 AM
I'm confused, you're glad to see some members in favor of open source because "to much" people are for open source? Unless you were trying to suggest that Microsoft is against open source, in which case you would be wrong (http://www.microsoft.com/resources/sharedsource/Licensing/Developer.mspx) as (http://www.codeplex.com/) usual (http://port25.technet.com/) (yes, those are three separate links).
Nick
Lol, he was suggesting MS was/are against open sourcing. I like you're reply, a lot.
SnaFuBAR
June 25th, 2007, 03:34 AM
I frikken almost fried my GPU by overclocking it so I could run it in Vista.
sounds pointlessly unrelated to the problem. also, get a better gpu.:lol:
legionaire45
June 25th, 2007, 03:50 AM
1GB RAM
1.73Ghz Intel Pentium M
128MB Ati Mobility Radeon X300
80GB HD
...Your expecting Halo 2 for Windows Vista to run well on a glorified 9600 XT?
And I could have sworn the minimum CPU requirement for H2V was a 2.0 ghz CPU.
Also, if you almost fry components while overclocking, please don't continue. Im pretty sure your using the stock heatsink amirite? Not a good idea. Your better off buying a $30 7300 or going for something that doesn't suck. Like an $150ish 8600 GT.
Not to excuse the fact that they somehow managed to get a game that ran on basically a Geforce 3 and an 800 mHz Pentium 3 to not perform at least the same on a much much much more powerful platform, even with some features tacked on or "improved". Even taking console optimizations into account the PC simply has so much more power to use that it simply shouldn't run as bad as it does.
Thats way besides the point though. Nice job on getting the game to work on XP abcba. Were you the same guy (or in the group) who also got Shadowrun working on XP by any chance?
Flapjack
June 25th, 2007, 04:04 AM
...Your expecting Halo 2 for Windows Vista to run well on a glorified 9600 XT?
And I could have sworn the minimum CPU requirement for H2V was a 2.0 ghz CPU.
Also, if you almost fry components while overclocking, please don't continue. Im pretty sure your using the stock heatsink amirite? Not a good idea. Your better off buying a $30 7300 or going for something that doesn't suck. Like an $150ish 8600 GT.
Not to excuse the fact that they somehow managed to get a game that ran on basically a Geforce 3 and an 800 mHz Pentium 3 to not perform at least the same on a much much much more powerful platform, even with some features tacked on or "improved". Even taking console optimizations into account the PC simply has so much more power to use that it simply shouldn't run as bad as it does.
Thats way besides the point though. Nice job on getting the game to work on XP abcba. Were you the same guy (or in the group) who also got Shadowrun working on XP by any chance?
Yeah dude, if you read more closely, you'd see it's a mobility card...I.E. a laptop. I didn't overclock that much, 10-20%...but I haven't done it again and won't, which is why I really want the bugs on this to be worked out so I can play on XP, which, apparently for those for whom it works, gets a much better frame rate.
jahrain
June 25th, 2007, 09:08 AM
I'm confused, you're glad to see some members in favor of open source because "to much" people are for open source? Unless you were trying to suggest that Microsoft is against open source, in which case you would be wrong (http://www.microsoft.com/resources/sharedsource/Licensing/Developer.mspx) as (http://www.codeplex.com/) usual (http://port25.technet.com/) (yes, those are three separate links).
NickLOL
Your first post you posted in a WEEK, and it was another pathetic microsoft defense. Not to mention your post defies all principles of logical implication by insisting I have posted or said something which I haven't in order just to say that it was wrong, as usual. I'm sure (http://money.cnn.com/magazines/fortune/fortune_archive/2007/05/28/100033867/index.htm) microsoft (http://en.wikipedia.org/wiki/Halloween_documents) loves the open source (http://en.wikipedia.org/wiki/Protected_Media_Path#Criticism) (first couple things that come up when googling microsoft + open source), but thats not my concern. My metaphorical statement on those with the "microsoft mentality on open source is" implies that they don't appreciate it, look down upon it as inferior, yet use it when convenient.
Btw no one is going to buy microsoft's current little "OSSL" act to fool us into thinking they are for free and open source software. You can tell them to give up while they are ahead if this is just another publicity stunt to fan off the media onslaughts. If they really want to prove the world wrong and show they have changed and truly support open source, they are going to have to do allot more than post some old code to some useless lite applications, and launch websites to post code on. Come back and tell me m$ is for open source when they announce DX10 for Linux.
Digikid
June 25th, 2007, 11:18 AM
abcba: Thank you for this. I already have it downloaded and backed up.
I DO appreciate what you have done as will many others. Pay no attention to the naysayers here. They are just jealous that they have not thought of a way to do it themselves. :P :D
Well Done. You have shown us the light.......now we have to follow the path. :)
Samusaaron3
June 25th, 2007, 12:29 PM
For some reason, Halo 2 seems to run with quite a bit of lag while I use this program. I have a Core 2 Duo #6600 (2.4Ghz), 3.2gb of ram, Radeon x1600 with 512mb of memory.
I should not be having these problems, anybody here have any ideas as to why my computer would have such problems with the game?
By the way, great program abcba! :D
wannabeapilot
June 25th, 2007, 01:25 PM
abcba: Thank you for this. I already have it downloaded and backed up.
I DO appreciate what you have done as will many others. Pay no attention to the naysayers here. They are just jealous that they have not thought of a way to do it themselves. :P :D
Well Done. You have shown us the light.......now we have to follow the path. :)
qft thank you man! :D
Flapjack
June 25th, 2007, 03:58 PM
Hey, how do you register it? I own the game, no worries, but I need to know how to register so I can play past the first mission.
Nick
June 25th, 2007, 04:34 PM
Btw no one is going to buy microsoft's current little "OSSL" act to fool us into thinking they are for free and open source software.Cognitive dissonance (http://www.h2vista.net/forums/showpost.php?p=88562&postcount=113).
some old code to some useless lite applicationsAll credibility obliterated.
Nick
augie_doggy
June 25th, 2007, 05:01 PM
Thank you very much abcba. What you've done is wonderful. I'm no programmer, but I have a friend who I think will love to see this. I already have Vista, but I'm for anything that will increase Halo 2's user base.
And I feel a hole in my stomach while I type this, but to our acclaimed map maker and esteemed Prometheus project leader, let's keep our quibble away from this thread, huh? This abcba guy's done some cool stuff, and he's been nice enough to let some people see it in all of its glory.
I know it may not be pretty for me after I post this, so let it be known that I still think what both of you guys do for Halo players and editors is cool.
(Can't we all just get along?)
EDIT: Oh yeah, I'm not directing this at either of you personally (as if I could, we're on a series of tubes, after all). Because I know if I did, I would probably be destroyed.
In the words of Johnny Storm, "Flame on!"
UXB
June 25th, 2007, 05:12 PM
god i love these forums.
so many appreciative people. <LOL>
Dental equine viewing does seem to be a favored past time.
TheGhost
June 25th, 2007, 05:17 PM
Could we please keep this thread relevant to the WowLoader Source Code and keep other discussion out?
AAA
June 25th, 2007, 05:27 PM
Hey, how do you register it? I own the game, no worries, but I need to know how to register so I can play past the first mission.
answer this dude cause I'm stuck in the same spot as him on this.
augie_doggy
June 25th, 2007, 05:40 PM
Ingame, hit home to bring up the blade, and "Join" XBL.
There are other ways, namely finding a certain patched MF.dll, placing THAT one inside the H2V install folder, and the loader's mf.dll into the windows/system32 folder, and away you go.
Live does work.
Reason the installer looks lame = Install IE7. It uses PNG transparency.
Posted in another thread...I don't know if this works.
abcba
June 25th, 2007, 05:57 PM
answer this dude cause I'm stuck in the same spot as him on this.
Perhaps my first post wasn't clear enough.
The reason the activation wizard does not popup when the disc is inserted, is because the loader doesn't support that specific use case.
I've described what needs to be added but it doesn't look like there's anyone who's interested/capable.
AAA
June 25th, 2007, 06:26 PM
umm...would this one not be easier? or do I HAVE to do it your way to have everything capable of working correctly?
http://liveu-87.vo.llnwd.net/flurl/media2/jpg/2007/6/25/FLURL-dot-com-260870_Easier...mb.JPG
Limited
June 25th, 2007, 08:03 PM
I'm sorry you can't appreciate the effort on my part for what it is.
However, the source code is right here, you're more then welcome fix it.
CheersPlease dont put words into my mouth.
It's not that I dont appreciate it. I'm saying, its currently at its max really. Your tricking it into thinking the OS that is running is vista/making it think that XP is compatible with the game. That is pretty much the only way to make it work. Sadly it has its limitations such as the live issue, but that isnt fixable right now.
But you fixed one thing I didnt think was possible. XP h2sapien :)
Also Nick. Everyone knows Microsoft doesnt like open source, they have been FORCED into open sourcing things to keep the numbers up and to keep the customers.
legionaire45
June 25th, 2007, 09:41 PM
Yeah dude, if you read more closely, you'd see it's a mobility card...I.E. a laptop. I didn't overclock that much, 10-20%...but I haven't done it again and won't, which is why I really want the bugs on this to be worked out so I can play on XP, which, apparently for those for whom it works, gets a much better frame rate.
Which is even worse because you are overclocking a part that already gets limited air flow. It's good that you aren't overclocking it anymore though. Other then getting a new laptop I don't think there is too much you can do to improve performance. Even on XP H2V is still a pretty demanding game, and I'll be surprised if the issues you are having are easily fixable. You have a relatively slow CPU, a low amount (for the game) of ram and a relatively poor performing GPU. The only thing I can suggest is to turn absolutely every setting down or off and try and play it like that. If H2V has some kind of safe mode setting try running it in that.
Microsoft really isn't into open source. This is obvious. They release a few cut down apps here and there but until I see Windows/Office Free Edition (even if it is based off an older codebase like 9x) and it's source code released I won't consider them a part of the open source movement.
Flapjack
June 25th, 2007, 09:59 PM
Yeah you're right...I got it to work in XP...but its not a lot better. It's definitely better, but not super. I've applied at three places so hopefully I can get a job, and a new computer.
Veegie
June 26th, 2007, 05:04 AM
Also Nick. Everyone knows Microsoft doesnt like open source, they have been FORCED into open sourcing things to keep the numbers up and to keep the customers.
Unless you were trying to suggest that Microsoft is against open source, in which case you would be wrong (http://www.microsoft.com/resources/sharedsource/Licensing/Developer.mspx) as (http://www.codeplex.com/) usual (http://port25.technet.com/) (yes, those are three separate links).
Nick
:mysterysolved:
Limited
June 26th, 2007, 06:45 AM
:mysterysolved:I said doesnt like. Not doesnt do. Theres a big difference...
abcba
June 26th, 2007, 07:08 AM
Please dont put words into my mouth.
If you think I misinterpreted what you were thinking then fair enough.
I'm saying, its currently at its max really.
How did you come to that conclusion?
There's still a few things which could be added.
And even if MS begins searching for it proactively, there would still be legitimate ways around that.
Your tricking it into thinking the OS that is running is vista/making it think that XP is compatible with the game.
That's not all it's doing, it also provides several API's which are only available on Visata.
That is pretty much the only way to make it work.
Well, duh. If your car runs out of gas, there's only one solution to that as well.
Sadly it has its limitations such as the live issue, but that isnt fixable right now.
*Sigh* Did you even read my first post?
Or maybe the concept of source code escapes you?
But you fixed one thing I didnt think was possible. XP h2sapien :)
Why would H2 Sapien be different from everything else?
Snaver
June 26th, 2007, 08:46 AM
Could we please keep this thread relevant to the WowLoader Source Code and keep other discussion out?
Sup admin, am I the only one that can see your posts.. or..?
:h4x:
Kornman00
June 26th, 2007, 11:58 AM
Sup admin, am I the only one that can see your posts..
DAMNIT! Missed one *deletes*
spiderman120988
June 26th, 2007, 07:14 PM
abcba, can you please just take one last look at your loader? for some reason it keeps asking for the disc when level 12-gravemind loads. apparently, everybody has run into this problem. if anybody can fix it, please? :(
Veegie
June 27th, 2007, 01:36 AM
I said doesnt like. Not doesnt do. Theres a big difference...
I can't recall a company to financially support something they don't... support... morally?
As for the loader, it doesn't get past the initial Halo 2 logo load screen for me, upon launch.
dinonid
June 27th, 2007, 02:24 AM
When I click on loader.exe it doesn't work.
Edit. Damn! "Process exited with this return code 00000000"
Edit. Fixed that, now It loads half-way and then it exits out oh and loader.exe still doesn't work
DemonOne
June 27th, 2007, 06:29 AM
I have two questions,
First for abcba: Which compiler do you use?
Second for everybody: Has anyone tried using the Alpha release of the Alky compatibility libraries (http://www.fallingleafsystems.com/) (http://www.fallingleafsystems.com/) with H2V?
abcba
June 27th, 2007, 08:07 AM
Which compiler do you use?
Visual C++ 2005.
You'll need the Windows SDK for the Vista headers.
And possibly also the DirectX SDK.
Has anyone tried using the Alpha release of the Alky compatibility libraries (http://www.fallingleafsystems.com/) (http://www.fallingleafsystems.com/) with H2V?
The alpha release only implements DX10 API's (not needed for H2V).
And the implementation is far from being complete or even useable.
Not a single DX10 sample from the DX SDK works with alky.
spartacvs
June 27th, 2007, 01:49 PM
Ok, just to get one thing out of the way first... abcba, you are my HERO. I'm normally just a browser on this forum, butI created this profile just to thank you. Running under XP, Halo 2 runs better on Medium at 1280x720 with 2xAA and loads in 1/3 of the time as running under Vista on Low at 1024x768 with no AA. Let me reiterate: MEDIUM LOADS IN ABOUT A QUARTER TO A HALF OF THE TIME ON XP AS LOW ON VISTA. I can only imagine how smokin the framerates would've been if I just kept the same video settings as vista. With the settings cranked (for my 6600GT and 1gb of RAM at least), the framerate was still better. Not only this, but THERE IS NO MOUSE LAG, so I can actually use my MX518 instead of my 360 controller and have a good experience. Lastly, running Halo 2 on XP ACTUALLY LETS YOU CHOOSE ANY ASPECT RATIO, RESOLUTION, OR REFRESH RATE YOU WANT. On Vista my options were "800x600, 1024x768, 1280x960, 1280x1024" and only 60hz. Now my options are "640x480, 800x600, 1024x768, 1280x720, 1280x768, 1280x960, 1280x1024, 1920x1080, 1920x1200" and there are a gazillion refresh rates. On Vista I was stuck with either crappy res and decent framerate at 1024x768 or decent res and crappy framerate at 1280x960. Now I can do what I do with games like Half Life 2 and play 1280x720 letterboxed on my CRT (with 2xAA on), and the framerates are SMOKING. This loader can only get better, and although with my lack of coding experience there is no way I can help, I appreciate all this work you are doing for free. You, one man have beaten an entire team at "Falling Leaf" to the punch, and they are planning on charging $10 for their H2V "compatibility libraries".
Flapjack
June 27th, 2007, 02:06 PM
Hey,
Can anyone provide the patched MF.dll for me? I tried using the Live interface ingame to register with my CD key, but Live and Network are still greyed out, and I can't continue the campaign after registering. So, if anyone can provide for me the patched MF.dll file, that would be lovely.
Thanks,
- Flappy
spartacvs
June 27th, 2007, 03:26 PM
Hey,
Can anyone provide the patched MF.dll for me? I tried using the Live interface ingame to register with my CD key, but Live and Network are still greyed out, and I can't continue the campaign after registering. So, if anyone can provide for me the patched MF.dll file, that would be lovely.
Thanks,
- Flappy
I have the second mf.dll that you supposedly use with the Live update that you need to do before signing in, but it's 4.0kb instead of 32.0kb and the game crashes at the first load screen when I use it. I still haven't been able to enter my cd key through the live interface yet.
Flapjack
June 27th, 2007, 03:31 PM
hmph. I dunno what you're supposed to do.
blibb
June 27th, 2007, 05:05 PM
abcba, can you please just take one last look at your loader? for some reason it keeps asking for the disc when level 12-gravemind loads. apparently, everybody has run into this problem. if anybody can fix it, please? :(
They seem to have solved that problem in this thread:
Well, I removed link just in case its not allowed.
Basically - you copy all the map files with the *.dtz extension from your halo 2 dvd to a folder on your hard drive. Use a program - ungzip.exe to extract them. program only extracts one at a time. Rename files back to the *.map extension. Copy files to the map folder in the Halo 2 directory. Thats it.
Dr Nick
June 27th, 2007, 05:38 PM
Ya know, there wouldn't be this problem if people read up on the compatability issues of Vista, and had an XP/Vista dual boot set up...
People are getting lazier and lazier...
Then there people like this guy, who get all the energy and persistence the lazies didn't want, and make creations like this!
Thanks for the contribution!
Vicky
June 28th, 2007, 11:07 AM
I have the second mf.dll that you supposedly use with the Live update that you need to do before signing in, but it's 4.0kb instead of 32.0kb and the game crashes at the first load screen when I use it. I still haven't been able to enter my cd key through the live interface yet.
Put the 32kb one in the windows\system32 folder and the 4kb one in the game folder, i got the network and live options enabled but they don't really work (can see servers but not join). One more step closer to full gaming :)
Lightning
June 28th, 2007, 06:55 PM
I have the second mf.dll that you supposedly use with the Live update that you need to do before signing in, but it's 4.0kb instead of 32.0kb and the game crashes at the first load screen when I use it. I still haven't been able to enter my cd key through the live interface yet.
Did you copy the 32kb dll into your system32 folder?
Edit: Nevermind :gonk:
Ancient
June 28th, 2007, 07:50 PM
Sorry if this has been posted earlier but in version 0.2 there was a problem with campaign, after level 12 (when loading level "gravemind" ) the game asks for an original halo 2 dvd and u cannot play further... (u can use the map renaming but that's not playing actually) its not only me that had this problem, it appears that many people have been having this trouble....
And it would be very appreciated if the LAN was working, cuz when u try to create a LAN game happens nothing, when pressing create new game happens nothing....
thats all problems i have found so far......
I dont know if they have been solved in version 0.3 so can you please post an answer...
Kornman00
June 29th, 2007, 02:02 AM
Can you please search the thread?
Ancient
June 29th, 2007, 09:33 AM
Can you please answer, cuz that thing
Basically - you copy all the map files with the *.dtz extension from your halo 2 dvd to a folder on your hard drive. Use a program - ungzip.exe to extract them. program only extracts one at a time. Rename files back to the *.map extension. Copy files to the map folder in the Halo 2 directory. Thats it.Does nothing, its basically the same thing the game does when installing.... and yes i tried that if u ask and it didnt work..... my maps had .map extension from the beginning.
And if u have nothing to say dont say it....
Please make it work after level 12 or post more detailed description on how to do play further....
Lightning
June 29th, 2007, 10:19 AM
...did you even TRY what was suggested?
Sunray
June 29th, 2007, 10:27 AM
I don't know if this would work. Might do. Rename the later levels to the names of the earlier levels and you might be able to play them (by going into the program files and renaming the .map files to names of eariler levels).
Vicky
June 29th, 2007, 10:45 AM
Hey kornman, u working on a patched guerilla by any change?
Kornman00
June 29th, 2007, 11:55 AM
Hey kornman, u working on a patched guerilla by any chance?
while this is kinda offtopic, yes its done, I'm just waiting for a few other things before anything final is done with them
Ancient
June 29th, 2007, 01:22 PM
...did you even TRY what was suggested?
Yes i did, so i said in the post, i dropped the maps from cd to my hdd and used that prog (ungzip) to unrar maps and i got names like this: 00a_introduction.map_ungzip.dtz Then i changed the extension to map and it became 00a_introduction.map_ungzip.map when is started the game and tryed to load levels nothing happened (probably cuz the game couldnt find the maps becuz of their different names) then i renamed them to 00a_introduction.map and started the game and the problem still existed "please insert ure original halo 2 cd"
I seriously dont understand how that was supposed to help cuz i basically didnt change anything....
Maybe im missing something.... ?
Vicky
June 29th, 2007, 08:21 PM
while this is kinda offtopic, yes its done, I'm just waiting for a few other things before anything final is done with them
Waiting for? Well cool that ur doing it... again :p looking forward for a link.
Ancient
June 30th, 2007, 05:47 PM
One Q. remains: does anyone know where the savegame file is located if u install on XP ??? i cant find it anywhere..... :/
shweppsie
June 30th, 2007, 08:25 PM
I have the gravemind problem too. I extracted the maps off the disc and it made no difference. I'm not expecting anyone to fix this for me, but if you could upload your savegames somewhere I'd be very grateful.
My save games are in:
C:\Documents and Settings\Administrator\Application Data\Microsoft\Halo 2\Saved Games
oh and thanks abcba
Ancient
July 1st, 2007, 06:05 AM
Thanx shweppsie, for telling where the savegames were, you're a good man, unlike some...
I believe that extract the maps works if ure maps were screwed while installation process, mine were fine... one guy said that the loader 0.3 fixes that level problem, but still can someone please put a list of fixes in 0.3
PS. when can we expect a fully working patch for XP ?
abcba
July 1st, 2007, 07:10 PM
but still can someone please put a list of fixes in 0.3
WowLoader-DBG-0.3 wasn't intended as a fix for anything.
I wouldn't advise you to use it, as it contains logging code which will slow it down.
It was created to troubleshoot a problem several people had with the game crashing.
Which, yet again, turned out to be a missing dependency on their systems, namely xinput9_1_0.dll.
The only other change in that build is a workaround to one of the issues with activation.
PS. when can we expect a fully working patch for XP ?
The source code has been available for a while now but no one is interested in working on it.
The stuff left to be done is actually quite simple to implement, provided you have the know-how.
But I'm quite honestly tired of reading "bug" reports and subsequently wasting time trying to fix issues outside my codebase.
Every issue that I'm aware of, except the gravemind bug (haven't looked at this), is unrelated to anything I've done.
These are mostly issues which MS support would have been dealing with, had the game been released on XP.
So the chances of anything else getting fixed are slim at best.
As it is, you can play the single player campaign on XP and nothing else.
Vicky
July 2nd, 2007, 04:27 AM
Well i did look into the src, might be just a little over my head but what i don't understand, you wrote in your first post that there was one more hook (for the game) to make and do some stuff with it, you already made hooks for other functions... why not put that one in as well? Although it may be pretty straight forward programming, it's always harder for others to read someone elses src.
Fireflyfilms
July 2nd, 2007, 07:44 AM
Hey abcba,
I'm using your Wowloader 0.2 to run the installation on XP SP2, which gets me to the splashscreen then the directory choice, but then I recieve this error:
http://i189.photobucket.com/albums/z127/Fireflyfilms/h2xperror.jpg
:S Any help at all?
I'm running these specs:
P4 3.20
6600GT 128
2GB DDR2
Win XP SP2
Cheers greatly :D
Vicky
July 2nd, 2007, 08:46 AM
Do Run :) It'll continue (i also checked the box).
abcba
July 2nd, 2007, 01:08 PM
Well i did look into the src, might be just a little over my head Anything in particular you don't understand?
but what i don't understand, you wrote in your first post that there was one more hook (for the game) to make and do some stuff with it, you already made hooks for other functions... why not put that one in as well? Because that's where I've drawn the line.
Opening up the box of live bugs would be meaningless unless I also spend the time to ensure it's properly working.
Although it may be pretty straight forward programming, it's always harder for others to read someone elses src.
Yeah, well, that's the deal..
kenney001
July 2nd, 2007, 03:02 PM
ok so i know you need to put the 32kb mf.dll into your system32 folder, problem is it wont let me replace the one thats already there. Howd you go about doing this?
Vicky
July 2nd, 2007, 05:53 PM
Because that's where I've drawn the line.
Opening up the box of live bugs would be meaningless unless I also spend the time to ensure it's properly working.
Ok, reconsidering... i wont either, it's buggy indeed and i'm not gonna risk my key or (worse) getting banned for fidling with the activation/live options. Maybe trapping the complete (normal) activation and live signin would be usefull, but i won't try that either.
Fireflyfilms
July 2nd, 2007, 07:35 PM
Do Run :) It'll continue (i also checked the box).
Thats the trouble, I hit Run and then nothing... the hourglass pops up for a split second and then nothing opens... :S I opened it through the loader again, and again, and still, nothing after hitting Run... Any more ideas??
edit: after choosing to not show the message again, after clicking Install (in the custom install window) absolutely nothing opens, no continuation of the install etc... :S
jahrain
July 3rd, 2007, 07:45 AM
Ok, reconsidering... i wont either, it's buggy indeed and i'm not gonna risk my key or (worse) getting banned for fidling with the activation/live options. Maybe trapping the complete (normal) activation and live signin would be usefull, but i won't try that either.Actually right now would be the best time to do fiddling as live is still shaky and not all together yet. Its less likely you might get banned for doing anything now as they are much more concentrated on fixing their own issues.
Vicky
July 3rd, 2007, 07:33 PM
True, but it could also mean spending hours to get it going and after a (hopefully) bugless update for live one might have to start from scratch for live/activation on xp. Activation sucks anyway, i know at least one person that can't activate his bought version anymore. That was a 3rd or 4th install, so keep ur hd with h2v clean, up and running.....
Fireflyfilms
July 3rd, 2007, 07:55 PM
Any ideas with my issue Vicky? After hitting run, nothing happens, now that i checked the box to not show the message again, after hitting customise install, then choosing the directory, nothing happens...
jahrain
July 3rd, 2007, 08:46 PM
True, but it could also mean spending hours to get it going and after a (hopefully) bugless update for live one might have to start from scratch for live/activation on xp. Activation sucks anyway, i know at least one person that can't activate his bought version anymore. That was a 3rd or 4th install, so keep ur hd with h2v clean, up and running.....Maybe its just a matter of the application storing the activation information in the system registry. Such as an activated cd-key hash somewhere in the registry that live or the game checks to see if it is currently activated. I doubt you might really have to do any live service hacking as most you might need to discover is probably all user client based. It might even be possible to make an activation recovery so once the game has been installed, it can still be activated.
The Last Gunslinger
July 5th, 2007, 03:15 AM
I'm in the same boat as Firefly up there...can't even get the damned thing to install.
The loader brings up the GUI panel for installation and I can select a destination directory, but when I hit the "Run" button, nothing happens. I get dropped back to a command prompt with the message "Program exited with return code: 0000000."
If I recall my CS school days, zero is usually the "no error" retcode, so I'm a bit flummoxed as to where to start poking around.
I've updated my system with the latest DX9.0c redist update package, and dropped the 32K version of MF.DLL into my /system32 directory.
Here's a look into my system and video specs:
Windoze XP SP2
Athlon64 3700+ (90nm)
nForce4 Ultra mainboard
2GB PC3200 DDR (dual channel)
256MB GeForce 6800GT
300GB SATA2 HD (~240GB free)
http://i91.photobucket.com/albums/k315/christopherthe1/diag1.jpg
http://i91.photobucket.com/albums/k315/christopherthe1/diag2.jpg
Vicky
July 6th, 2007, 04:58 PM
Yeah, return 0 is usually no error but that might be just the loader exiting normally.
I don't think it's ur specs, not sure about the videocard, my pc is a little less powered, amd 3400+, and i had no problem installing on xp sp2.
abcba
July 6th, 2007, 09:10 PM
The loader brings up the GUI panel for installation and I can select a destination directory, but when I hit the "Run" button, nothing happens. I get dropped back to a command prompt with the message "Program exited with return code: 0000000."
Upload a picture of your H2V installation disc and I'll gladly help you out..
Also, the WowLoader-DBG builds were not meant for regular use.
giov
July 7th, 2007, 06:00 AM
i've got the same problem at level "grave mind"!! what can i do???
thanks abcba for your work!!!!
javingames
July 8th, 2007, 01:33 PM
I am having the same problem as Fireflyfilms (http://www.h2vista.net/forums/member.php?u=1450). I have even tried the after install steps first to see if that would work and I still get nothing after that page. If anyone had this problem and passed it, please help. I have installed the newest .net framework and updated video drivers. My computer is pent 4 2.60GH(2.73 overclocked) 1 gb ram. my graphics card is a ATI radeon X1600 Pro(512 mb ram)
Fireflyfilms
July 8th, 2007, 11:21 PM
Solved my installation issue, it was a bad copy. Redownloaded elsewhere and now it works fine :D
Now my concern is the bloody activation... ill search around.
StankBacon
July 9th, 2007, 12:20 AM
Solved my installation issue, it was a bad copy. Redownloaded elsewhere and now it works fine :D
Now my concern is the bloody activation... ill search around.
lol.
Hl2xpd
July 9th, 2007, 06:43 AM
Hi all,
I am successfully running halo2 on xp using the abcba's wowloader.
The only problem I am facing is that of frame rates. I am getting avg of 5fps making it really difficult to play it. Even the opening menu looks really slow. Looking at my sys config: athlon64 2800+, fx5200 one might say that its a heavy game and 5fps is reasonable.
I have also read on many posts on the net saying it is heftier than f.e.a.r.
But has anyone tried running taskmgr in bckground to see how much sys usage is halo2.exe using???
well, I did, I found avg processor usage to be only 20%. My CPU is running colder too as compared to other games. This surprised me.
Can someone suggest what is happening? what can I do to make halo2 use my maximum hardware resources?
Regards
iluvallpoetry
July 9th, 2007, 10:55 PM
I'd say it's probably your graphics card...most of the fx5200's are only 64 bit cards that don't support higher than OpenGl 1.5 so I gather you would most likely not have Shader Model 3.0 support, if you even have Shader Model 2.0 support...
on top of that, the fx5200's typically only have 4 pixel pipelines
also, i'm not certain how well we can judge how processor intensive the game is...i mean...if i minimize Halo, i can play FEAR just fine...i think the game pretty much pauses itself when you alt-tab out of it
i just had an idea...gonna look for a program that logs cpu usage...
iluvallpoetry
July 9th, 2007, 11:22 PM
used perfmon...
i've an Athlon X2 3600 running at 1.9ghz
cpu usage during gameplay is an interesting thing for Halo2
virtually maxed out 1 core (95% was the highest)
but the other core peaked at about 60%
not sure what resolution i'm running the game at, i know my effects settings are on medium
so i'd say your cpu could probably go for an upgrade to, if you're only on a single core 2600 while it maxes out one of my cores and gets halfway there on the other...
and then of course, once i alt-tabbed out of the game, activity on both cores dropped considerably and stayed around 10%
Pyong Kawaguchi
July 10th, 2007, 11:05 AM
Ok, since i ha ve this working i can help people with things
here is a small q and a
Q. Whenever i start it up using wowloader it loads but after the screen where it loads left to right it crashes to the desktop why?
A. You need the latest version of directx9.0c *june or later* or you dont have the minimum requirements
Q. What are the windows xp minimum requirements?
A.
WINXP MINIMUM REQS
1.7ghz proscessor
512mb ram (low quality at 800x600, a little lag with meduim)
128mb gfx (256 reccomended)
Winxp sp2
Q. How do i use wowloader?
A. Either make a shortcut ,a batch file, or open halo 2.exe with it
Q. I cant get to level 12, it asks for my disc how do i fix this?
A. Make a copy of 07a_highcharity.map and rename Copy of 07a_highcharity.map to 07a_highcarity.map, the spelling mistake fixes this problem, and you do have to keep the original.
Q.I cant Start a lan game, why is this?
A. Most likeley due to network implementation issues
Q.Why cant i copy the 32kb mf.dll into my system32 folder, it wont let me replace it?
A. Restart your computer, this will make sure that no proscesses are using it, if you still have the problem, start in safemode
Also fyi greenxmodding.net would probably liek this
dupoint
July 15th, 2007, 05:39 AM
First of all abcba, allow me to congratulate you on a job well done...It's great that someone proved to the world that Microsoft was just shoving BS down our throats when made Halo2 Vista only. Your method is great, yet it's fascinatingly simple in it's implementation.
I tried out your patch on 2 systems, one worked like a charm...But I didn't have much luck on the other one :(
Funny thing, I can get the loader.exe to work in safe-mode, but once I start windows up normally I get an error launching startup.exe via the loader....(The send error report dialog box).
I tried disabling all other services running in the background, but still no luck so far. I understand that maybe there's another process interfering with the loader process?
I would be very grateful if you could give me a clue as to how this issue can be addressed...(Without reinstalling WinXP, of course lol ).
Thanks a lot and have a great day!:)
abcba
July 15th, 2007, 09:25 PM
Someone's created a guide which pretty much covers every issue that I'm aware of: http://halo2xp.tk/
Beyond that, all sorts of software work by injecting one of it's modules into other processes.
Any code which is executed in the process started by the loader will "think" it's running on Vista.
So if you've got third party software which injects itself into the h2v process and assumes it's running under Vista, then that might be the cause of the crash.
dupoint
July 16th, 2007, 04:07 AM
Thank you, abcba....
I would like to know if there is any app that could let me monitor process activity, like sub process creation and injection...That would actually help me identify the offending process.
Thanks again for your response.
abcba
July 16th, 2007, 09:41 PM
Well, the DBG builds (you can find those on the filefront forums) should tell you what processes are being created.
But when I mentioned module injection I was thinking of a dynamic link library (DLL) being loaded into the h2v process.
ListDLLs (http://www.microsoft.com/technet/sysinternals/utilities/listdlls.mspx) amongst others will allow you to get a list of the DLL's loaded into the process when it crashes.
When you have that, try comparing the lists between the two machines.
iluvallpoetry
July 17th, 2007, 01:04 PM
not really asking for a solution, just throwing this up in the air but...
ZOMG I'M STUCK ON GRAVEMIND!!!
lol
i beleive i've tried the map rename method, nah, didn't help me any
went to that link abcba mentioned a few posts ago and tried all that rot...
still nothin
so it looks like i'm just screwed for now as far as getting into that level. ((cries))
Ancient
July 22nd, 2007, 09:29 AM
iluvallpoetry, ure not he only one with that problem, veryone's facing it, and the map rezipping didnt help nor any other way mentioned before
Pyong Kawaguchi
July 22nd, 2007, 06:07 PM
abcba, are you going to attempt to allow multiplayer to work in this?
if so, i will finally be able to use this to its full potoential
bitterbanana
July 22nd, 2007, 06:15 PM
abcba, are you going to attempt to allow multiplayer to work in this?
if so, i will finally be able to use this to its full potoential
He posted the source code for someone else to finish. He's moved on to other things.
iluvallpoetry
July 23rd, 2007, 08:29 PM
FOUND A SOLUTION TO THE GRAVEMIND PROBLEM!!!
NONE of the methods mentioned so far on these forums worked for me.
got home from work and saw an rss from a torrent site i use about a Gravemind hack
and it works
if nothing else has worked try the following...
download procmon from microsoft...it didn't check wga or anything
procmon info page is here (http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx) and the file is here (http://download.sysinternals.com/Files/ProcessMonitor.zip).
DON'T RUN IT YET!
i closed out all processes I could, including explorer, and just ran everything from the task manager...
run your halo game
instead of continuing, just start a new game and select gravemind
when it changes to the difficulty screen, Alt-tab back to the Task Manager
now run procmon.exe
the very first thing to do is click the File menu and then click "Backing Files"
you don't want to use your pagefile for this because it uses ALOT of memory...i have 1gb of RAM and my pagefile was set to 2gb and it still was not enough, IT WILL FILL YOUR PAGEFILE and YOU WILL GET A BSOD
so check the "Use file named" circle and make a different file for it, preferably on a different drive than your halo install so it doesn't load even slower.
click ok and save that setting
now go back to the "File" menu and uncheck "Capture Events" to turn off whatever
this will stop the program from writing to your pagefile
once again go to the "File" menu and check "Capture Events" and now the program will start writing to the file you specified...
Alt-tab back to halo, select your difficulty, and prepare to wait...possibly for a few minutes, or longer...
but it worked for me...after nothing at all had worked, it worked for me
and i didn't have to restart the level to view the cinematic normaly (between levels, the vids are so choppy, i miss half of them)
lmao
i guess i could have copy and pasted the nfo from where i found it, but it wasn't nearly as informative...i had to figure alot of it out on my own
but there ya go...
and it's not as difficult as it sounds, i just ramble on alot
enjoy
Hl2xpd
August 4th, 2007, 01:50 AM
I'd say it's probably your graphics card...most of the fx5200's are only 64 bit cards that don't support higher than OpenGl 1.5 so I gather you would most likely not have Shader Model 3.0 support, if you even have Shader Model 2.0 support...
on top of that, the fx5200's typically only have 4 pixel pipelines
also, i'm not certain how well we can judge how processor intensive the game is...i mean...if i minimize Halo, i can play FEAR just fine...i think the game pretty much pauses itself when you alt-tab out of it
i just had an idea...gonna look for a program that logs cpu usage...
My fx5200 is 128bit 256mb, but how can the graphics card be responsible for low cpu usage??
Yes, minimizing it pauses it and brings down the cpu usage to 5% on my comp so I ran taskmgr in background, played halo2, then checked the graph history and found out that the usage wavered around 20%. I am still not convinced that my hardware is weak enough to give me only 5fps.
abcba
August 4th, 2007, 09:43 AM
abcba, are you going to attempt to allow multiplayer to work in this?
Nope. My involvement ended long ago. Which was the original purpose of this thread. To help out anyone interested in continuing my work.
However, I know of one group of people working off my code, it will be interesting to see what they can come up with.
My fx5200 is 128bit 256mb, but how can the graphics card be responsible for low cpu usage??
Yes, minimizing it pauses it and brings down the cpu usage to 5% on my comp so I ran taskmgr in background, played halo2, then checked the graph history and found out that the usage wavered around 20%. I am still not convinced that my hardware is weak enough to give me only 5fps.
Your CPU is too fast for your GFX card. When your CPU finishes it's work, it's got to wait for the GFX card to finish it's. In other words your GFX card is a bottle neck. Get a current-gen card and the situation would flip.
Hl2xpd
August 4th, 2007, 11:19 AM
Your CPU is too fast for your GFX card. When your CPU finishes it's work, it's got to wait for the GFX card to finish it's. In other words your GFX card is a bottle neck. Get a current-gen card and the situation would flip.
Hi abcba, thanks for replying.
This is confusing me a bit, I have seen performance improvements on my other games, such as fsx, after adding the graphics card and all of them show 80-100% cpu usage.
If my graphics card is the bottleneck, then will the halo2 performance improve by removing it, when the entire load comes to the cpu?
abcba
August 4th, 2007, 01:00 PM
Hi abcba, thanks for replying.
This is confusing me a bit, I have seen performance improvements on my other games, such as fsx, after adding the graphics card and all of them show 80-100% cpu usage.
Well, no two games are the same.
Some games are heavy on the CPU others on the GFX card.
Elder games probably run just fine on your machine but many newer games uses shaders intensively, which is something your GFX card doesn't handle very well.
The FX5200 was a bad card even when it was released. The performance didn't match the cards of the previous generation.
If my graphics card is the bottleneck, then will the halo2 performance improve by removing it, when the entire load comes to the cpu? That simply isn't possible. I doubt even the fastest consumer CPU's are fast enough to keep up with the GFX side of H2V.
If you wan't a performance boost, get a newer GFX card.
lugia
August 4th, 2007, 06:31 PM
Hey abcba whats the name of the group thats working of your code?
Limited
August 4th, 2007, 07:32 PM
Bump
y2LWi-gM6g4&NR=1
That dude says hes got it to work online, but I didnt think that was possible, a question for you people who have h2v on vista, that popup at the start when he loaded halo 2, was that live signing in? Or does that popup with XP too...
abcba
August 4th, 2007, 08:15 PM
Hey abcba whats the name of the group thats working of your code? I'm certain you'll hear about it, if anything comes out of it.
That dude says hes got it to work online, but I didnt think that was possible, a question for you people who have h2v on vista, that popup at the start when he loaded halo 2, was that live signing in? Or does that popup with XP too... Only popup I noticed is a helper batch file, for launching WowLoader. From halo2xp.tk I believe.
Given that he has to use a third-party program to start H2V, I doubt he's gotten multiplayer to work. There's certainly no proof in his video.
et_cg
August 4th, 2007, 08:19 PM
It pops up to tell you that your "Profile signed in" but I'm not exactly sure as to whether that was truely online or not.
The pop-up says a two different things that I'm aware of if a sign-in's successful:
"Profile Name" Signed In
"Profile Name" Signed into Live
Hl2xpd
August 4th, 2007, 10:50 PM
another thing I will like to ask is what is the use of xtaskdlg.dll in wowloader? I am able to run halo2 even when I remove the file from the game folder.
abcba
August 5th, 2007, 06:24 AM
another thing I will like to ask is what is the use of xtaskdlg.dll in wowloader? I am able to run halo2 even when I remove the file from the game folder. It's only used by startup.exe during installation. It's used for displaying Vista's extended messagebox type, taskdialog's. When you try installing on a drive with insufficient space, for example, a taskdialog will popup to warn you. It's not needed for playing the game.
Limited
August 7th, 2007, 01:50 PM
Sorry for bump but I'm stuck, I'm on first level, and ive set up the looking pitch just like in halo 1, then I followed sergant and go into the tram when I get out the tram, it says "updated profile" then my sound cuts out and I'm stuck.
Is this the graveyard level that people have been saying you need to get a fix?
Edit:
Wait you have to sign into live to play SP? In other words, you have to be connected to the internet, to play offline content? Gay
et_cg
August 7th, 2007, 02:19 PM
Sorry for bump but I'm stuck, I'm on first level, and ive set up the looking pitch just like in halo 1, then I followed sergant and go into the tram when I get out the tram, it says "updated profile" then my sound cuts out and I'm stuck.
Is this the graveyard level that people have been saying you need to get a fix?
Edit:
Wait you have to sign into live to play SP? In other words, you have to be connected to the internet, to play offline content? Gay
Here's the gay:
-You have to be online in order to register the game.
-You have to make a "Profile" that registers with the Live's guide interface, but you don't have to associate a Live account with it.
-Everytime you boot up, it says "blah blah blah" signed in. It's really retarded.
-Oh, and you have to be a gold member to play peer to peer games over live.
You don't need a Live account to register/play single player/ physical network games.
jahrain
August 7th, 2007, 08:55 PM
If you don't sign into live for SP, you get nag screens like hell telling you that you won't get achievements and other BS. Same thing with not having gold in multiplayer. Every time you go to the multiplayer lobby without gold, you get a nag screen telling you to get gold for server filtering, quick join, and player hosting.
cAPS lOCK
August 30th, 2007, 04:24 PM
First of all, thanks abcba, that's an amazing piece of work, pure wizardry. And thanks a lot for making the source public, allowing us mere mortals a glimpse of all the magic behind the curtain :-)
I'm trying to get the project to build. I've installed the needed DirectX SDK (the August 07 version), the Detours package (version 2.1), and the current version of the Windows SDK for Vista. Right now the dwmapi, Loader, and MFPlat projects will build nicely, however the mf and the Wow projects won't budge.
Creating an CMFTopology instance in line 40 of mf.cpp generates the error msg "error C2259: 'CMFTopology' : cannot instantiate abstract class". The same error pops up in line 68 of MMDevice.cpp when creating the CAudioSessionManager instance. I'm new to C++ so it may be something trivial, but none of the classes look abstract to me (?)
The compiler also complains about the "FireEvent(MESessionTopologyReady)" in line 133 of MFMediaSession.cpp, claiming that the MESessionTopologyReady identifier hasn't been declared.
I'm beginning to suspect that the reason for both errors is that MS has updated the Windows SDK since you released the sources. Does that sound plausible or am I overlooking something obvious? - if I am, then allow me to apologize in advance for bugging you :-)
Once again thanks,
cl
CodeBrain
August 30th, 2007, 04:56 PM
Please look at the last post date before you post. You just made a 23 day bump! D:
SMASH
August 30th, 2007, 05:00 PM
Please look at the last post date before you post. You just made a 23 day bump! D:
Yea, but it was relevant to the thread and it's good he searched rather than making a whole new thread.
Limited
August 30th, 2007, 05:00 PM
I'm trying to get the project to build. I've installed the needed DirectX SDK (the August 07 version), the Detours package (version 2.1), and the current version of the Windows SDK for Vista. Right now the dwmapi, Loader, and MFPlat projects will build nicely, however the mf and the Wow projects won't budge.
I hope you relise, this is to get the game to work for XP. This is NOT to let people who have Vista use a pirated version.
So why exactly are you trying to get it to work when you have Vista?
cAPS lOCK
August 30th, 2007, 05:26 PM
To those of you who consider bumping old threads bad style, please accept my apologies. I didn't realize quite how old this thread was, sorry.
> So why exactly are you trying to get it to work when you have Vista?
Yes, I'm perfectly aware what the purpose is. And no, it's not a question of pirating. I've bought my Vista and my H2 - once for the Xbox and once for Vista, and completed both. But thanks for asking.
No, it's simply a matter of curiosity. Being a kernel programmer myself (embedded systems though) I'm rather impressed by what abcba has managed to do, and, as said, would like to get a glimpse of the magic.
abcba
August 31st, 2007, 11:44 AM
Sorry for the late reply. I don't check this account very often.
First of all, thanks abcba, that's an amazing piece of work, pure wizardry. And thanks a lot for making the source public, allowing us mere mortals a glimpse of all the magic behind the curtain :-)
You're most welcome, and thanks for the compliment :)
I'm trying to get the project to build. I've installed the needed DirectX SDK (the August 07 version), the Detours package (version 2.1), and the current version of the Windows SDK for Vista. Right now the dwmapi, Loader, and MFPlat projects will build nicely, however the mf and the Wow projects won't budge.
Hmm. I did forget to tell about an issue in the mf project. In my first stab at implementing everything I thought was needed, I discovered that the version of IMFPresentationDescriptor used by H2V was different from the one in the Windows SDK (6.0.5383.1.1) which I used. This manifested itself as certain calls beeing off, ie. it was making ::GetMetadata calls with obviously invalid arguments. The quick solution was to remove the function from the SDK headers. A cleaner solution would have been to create a new interface and rename all references, but hacking the headers was less work.
Also, regarding detours. Since the 2.1 version went commercial, they instated a requirement that you also load a dummy DLL (detoured.dll) whenever you use detours. Which I find redundant. So I used the elder version, 1.5. The API's haven't changed (IIRC) apart from the requirement of loading the dummy DLL. So if you can't find the old version you'll have to take that into consideration.
Creating an CMFTopology instance in line 40 of mf.cpp generates the error msg "error C2259: 'CMFTopology' : cannot instantiate abstract class". The same error pops up in line 68 of MMDevice.cpp when creating the CAudioSessionManager instance. I'm new to C++ so it may be something trivial, but none of the classes look abstract to me (?)
The wrapper classes such as CMFTopology and CAudioSessionManager inherit from interfaces (IMFTopology and IAudioSessionManager respectively) defined in the Windows SDK. The only reason why either class would be abstract, is if the interfaces have changed. If you look at the compiler error in the output view, it should tell you which members makes the class abstract.
That being the case, you've got the choice of hacking the headers or creating your own interfaces. If you're planning on using any of these interfaces in your own software, then I would strongly advice against hacking the headers.
The compiler also complains about the "FireEvent(MESessionTopologyReady)" in line 133 of MFMediaSession.cpp, claiming that the MESessionTopologyReady identifier hasn't been declared.
Apparently that enum has been removed from the SDK: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=516582&SiteID=1
The link provides an alternative definition of the removed values.
I'm beginning to suspect that the reason for both errors is that MS has updated the Windows SDK since you released the sources. Does that sound plausible or am I overlooking something obvious? - if I am, then allow me to apologize in advance for bugging you :-)
It looks like they've been doing some compatibility breaking changes to the SDK. The easiest thing might be to track down 6.0.5383.1.1.WindowsSDK_Vista_idw.DVD.Rel.img unless you're up for creating your own set of interfaces and typedefs :)
There's probably one more thing I should mention. If you're planning to have a go at Live then there's something you need to know. Once I had the game starting up. It would randomly crash, without affecting the operation of the game itself. I tracked this down to being a thread in the Live component, making invalid reads/writes to memory. However since it didn't have any effect on the game itself, I decided to catch the exception, using an unhandled exception filter (WowUnhandledExceptionFilter) and skip the faulting instruction upon failure. I can't say what implications this will have on the operation of Live, but I would think it has some significance.
Furthermore there's a fix for the Gravemind level glitch by grue697, which you could integrate into the source code.
Apparently ReadFile on Vista is capable of doing larger reads than previous versions. This causes the ReadFile API to fail on XP.
abcba
August 31st, 2007, 11:55 AM
I hope you relise, this is to get the game to work for XP. This is NOT to let people who have Vista use a pirated version.
So why exactly are you trying to get it to work when you have Vista?
The reason he is using the Vista SDK is because it defines the interfaces and types which WowLoader implements. The whole point of WowLoader is to provide the functionality which is only available on Vista. This project wouldn't have been possible in such a short time, without the Vista SDK and documentation.
cAPS lOCK
August 31st, 2007, 04:50 PM
Sorry for the late reply. I don't check this account very often.
No need to apologize, quite the opposite. I really wasn't expecting to get a reply within less than 24 hours :-)
It looks like they've been doing some compatibility breaking changes to the SDK.
Yup indeed, someone's been tinkering with the code. The IAudioSessionManager interface has gotten a facelift (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1536621&SiteID=1) and I imagine the same applies to IMFTopology. Trying to bend things back into shape will probably lead to nothing but trouble, so I'll just get hold of build 6.0.5383.1.1 of the SDK.
Thanks for the excellent help. If we ever meet in real life I owe you a beer ...heck even a crate probably won't do ;-)
Flapjack
September 3rd, 2007, 12:17 AM
Well, if no one gets multiplayer to work with this, you can look forward to Alky!
Psh, yeah right...for the record, another good reason to play Halo 2 on XP even if you legally own it and/or Vista is because the performance boost that a number of people including myself have experienced.
CEO
November 13th, 2007, 11:41 PM
HELP................HELP................HELP
i got halo to install....
an now, i use d loader to launch the game and this message comes up
initialisation failed. Either insufficienct systems resources were not found to run the game or game is missing or damaged. Reinstalling the game may fix this problem.....thats the message.
what to do...?
?????????????????????????????????????????????????? ??????????????????????????
Pyong Kawaguchi
November 14th, 2007, 10:25 AM
first of all,
dont bump really old topics
second of all, go to halo2xp.tk
they give all help
third of all
get vista and a good pc
Con
November 14th, 2007, 10:55 AM
first of all,
dont bump really old topics
second of all, go to halo2xp.tk
they give all help
third of all
get vista and a good pc
Bumps are fine if they're relevant and on-topic.
However, bumps are NOT fine when one shows such utter disregard for the forum rules.
Ancient
March 20th, 2008, 01:39 PM
I've been away for a long time but here is everything u need to play halo 2 on XP platform
The WOW Loader itself:
http://rapidshare.com/files/43119769/Halo_2_XP_Install_Package_0.3.zipGravemind level fix:
http://rapidshare.com/files/63766338/Halo_level_Fix.zipHave fun. :cool:
Pyong Kawaguchi
March 20th, 2008, 03:12 PM
I doubt there is mp, Until there is mp, its useless to many people.
Vicky
November 12th, 2008, 10:17 AM
This (now) nearly works with todays Live update, can even connect to a server but then it asks for my disc... that's where it ends for me, even with the disc in the drive, maybe others have more luck...
jcap
November 12th, 2008, 03:44 PM
That's odd that it's asking for the disc. I thought that because the game is made to run without a disc, there would never even be a time for it to ask. Maybe it has something to do with Tray 'N Play, where it plays from the disc.
If the game isn't fully installed and it is trying to access a resource it doesn't have, will it then prompt for the DVD?
Vicky
November 12th, 2008, 07:13 PM
Don't know, i did a full install so it shouldn't need any resources from the dvd. With play&tray you do a full install too i guess, just while playing.
If this asking for the disc could be prevented from happening it could be the final step.
jcap
November 12th, 2008, 10:17 PM
Can the game activate while it's run in Wowloader?
supersniper
November 13th, 2008, 07:01 AM
Well some people said that they activated it by editing the registry to bypass activation, some people said it didn't and some actually got it to activate but never could play online. Truly it was completely random.
supersniper
April 22nd, 2012, 07:29 AM
lol h2xp ;)
anyways if anyones interested you can activate it online and play.
Amit
April 22nd, 2012, 04:44 PM
Really? How? I haven't used XP in years, but last I heard it was impossible, so it's cool to hear that it is now.
Cagerrin
April 23rd, 2012, 12:59 AM
lol h2xp ;)
anyways if anyones interested you can activate it online and play.
Still doesn't work on xp64 though, does it? Might finally have a use for my free yard sale copy.
supersniper
April 23rd, 2012, 01:22 AM
well pretty much during you're installation you have to click activate later, then you have to put that MF.dll in you're halo 2 root folder, but apparently the LIVE option was still greyed out. So then you had to manually install LIVE and the c++ distributable off either the DVD or the iso. But then this guy (http://www.gamefaqs.com/boards/932095-halo-2/46899813) figured out that if you have a product ID in the registry then the LIVE option would be enabled. So you'd need to actually have a purchased game or acquire a product ID from someone...
I'm not sure about xp 64bit, i don't think it was ever supported for it.
DeltaHalo
April 23rd, 2012, 02:18 PM
Are my eyes deceiving me or did this thread really get around a 3 year bump just as I became interested in getting this to work?
If we are ever to really going to get Multiplayer to work we need to STOP CARING ABOUT GETTING LIVE TO WORK. First you need to get LAN Custom Games to work then you can worry about LIVE. LIVE isn't all that great. It takes a long time to get a game and Micro$oft servers are very laggy. H2V on LIVE is basically dead, you should use Tunngle.
The only thing stopping LAN (and LIVE) from working is the "SORRY Insert your original Halo 2 game disk" (This error is in the .map file). I hosted a LAN game on my Vista machine (H2V v1.0.4). The problem is when I joined on my XP machine I was forced back to the main menu and I got the "original disk error". I was happy to see on the Vista machine that Windows XP was listed in Score Board which means I did join the game.
I can also create a Custom Game, access game options and start the count down. After the count down I get the Halo loading screen, black screen, then back to Pregame Lobby with the fkn "original disk error". Also the Process Monitor method does not help in this case.
http://s12.postimage.org/y1w7bjwmz/xp_pregame.pnghttp://s12.postimage.org/v1arh9vy3/xp_disk_error.png
I also tried renaming a Custom Map as a Campaign Map and then loading it (If you "Mapped" back on Halo CE for the PC you could load a Custom Map as a Campaign Map). The map is black though I have access to the menu and very important I have sound and I can hear my grenade being tossed and exploding.
http://s15.postimage.org/4r8grlpbt/xp_mp_loaded_as_campagin.png
Another problem I've encourted is Custom Maps do not show up. I place them in this folder C:\Documents and Settings\John\My Games\Halo 2\Maps which the install made so what's the deal?Also sometimes I receive a "Page Guard stack error" which of course is caused by xlive.dll.Sad the Source was released in '07 and nobody has still not built on it. Big thanks to abcda though.
Still doesn't work on xp64 though, does it? Might finally have a use for my free yard sale copy.
Try placing the large MF.dll in your SysWOW64 Folder. I have read elsewhere people have gotten H2V to work on WinXP x64.
well pretty much during you're installation you have to click activate later, then you have to put that MF.dll in you're halo 2 root folder, but apparently the LIVE option was still greyed out. So then you had to manually install LIVE and the c++ distributable off either the DVD or the iso. But then this guy figured out that if you have a product ID in the registry then the LIVE option would be enabled. So you'd need to actually have a purchased game or acquire a product ID from someone... I'm not sure about xp 64bit, i don't think it was ever supported for it.
You need to place the "patched" MF.dll by Razor1911 in your GameInstallDir which will ungray everything. Sorry but what you posted is old news. Even with adding the PID value to the registry you still get the "original disk error" when you try to join a game (even if you have inserted a retail disk). I think it has something to do with something in the Loader or one of it's DLLs.
Vicky
April 24th, 2012, 09:37 PM
Erm.. Crysis 3 is about to be released, have fun with this POS.
Merry christmas!
Ryx
April 25th, 2012, 03:33 PM
Erm.. Crysis 3 is about to be released, have fun with this POS.
Merry christmas!
Free pos ;D
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.