Page 13 of 15 FirstFirst ... 3 11 12 13 14 15 LastLast
Results 121 to 130 of 143

Thread: WowLoader Source Code Discussion

  1. #121
    HA10 Limited's Avatar
    Join Date
    Sep 2006
    Location
    England
    Posts
    7,800

    Re: WowLoader Source Code Discussion

    Quote Originally Posted by cAPS lOCK View Post
    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?
    Reply With Quote

  2. #122

    Re: WowLoader Source Code Discussion

    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.
    Reply With Quote

  3. #123
    Junior Member
    Join Date
    Jun 2007
    Posts
    19

    Re: WowLoader Source Code Discussion

    Sorry for the late reply. I don't check this account very often.

    Quote Originally Posted by cAPS lOCK View Post
    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

    Quote Originally Posted by cAPS lOCK View Post
    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.

    Quote Originally Posted by cAPS lOCK View Post
    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.

    Quote Originally Posted by cAPS lOCK View Post
    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/Sho...16582&SiteID=1
    The link provides an alternative definition of the removed values.

    Quote Originally Posted by cAPS lOCK View Post
    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.
    Reply With Quote

  4. #124
    Junior Member
    Join Date
    Jun 2007
    Posts
    19

    Re: WowLoader Source Code Discussion

    Quote Originally Posted by Limited View Post
    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.
    Reply With Quote

  5. #125

    Re: WowLoader Source Code Discussion

    Quote Originally Posted by abcba View Post
    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 :-)

    Quote Originally Posted by abcba View Post
    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/Sho...36621&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 ;-)
    Last edited by cAPS lOCK; September 1st, 2007 at 12:58 AM. Reason: less talk, more action
    Reply With Quote

  6. #126
    Junior Member
    Join Date
    Jun 2007
    Posts
    20

    Re: WowLoader Source Code Discussion

    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.
    Reply With Quote

  7. #127
    Junior Member
    Join Date
    Nov 2007
    Posts
    1

    Question Re: WowLoader Source Code Discussion

    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...?
    ?????????????????????????????????????????????????? ??????????????????????????
    Reply With Quote

  8. #128
    Conversation Terrorist Pyong Kawaguchi's Avatar
    Join Date
    May 2007
    Location
    East Usa
    Posts
    3,902

    Re: WowLoader Source Code Discussion

    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
    Reply With Quote

  9. #129
    chilango Con's Avatar
    Join Date
    Aug 2006
    Location
    Victoria, BC, Canada
    Posts
    8,397

    Re: WowLoader Source Code Discussion

    Quote Originally Posted by lone wolf View Post
    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.
    Reply With Quote

  10. #130

    Exclamation Re: WowLoader Source Code Discussion

    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:
    Code:
    http://rapidshare.com/files/43119769/Halo_2_XP_Install_Package_0.3.zip
    Gravemind level fix:
    Code:
    http://rapidshare.com/files/63766338/Halo_level_Fix.zip
    Have fun.
    Last edited by Ancient; March 20th, 2008 at 12:41 PM.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •