WINAMP.COM | Forums > Developer Center > NSIS Discussion > Vista Games Explorer and Media Center |
Last Thread
Next Thread
|
| Author |
|
|
Anders Major Dude
Registered: Jun 2002 |
Working url: http://nsis.sourceforge.net/Games_plug-in __________________ Last edited by Anders on 05-09-2007 at 02:07 AM |
||
|
|
|
Skrapion Junior Member
Registered: May 2007 |
Yep, I know about the other thread you're talking about. I originally started working with that code, but I wanted it to load the information directly from the embedded GDF instead of having to specify it twice, and after a while of trying to do that with the system dll I realized that it was getting ridiculous and made much more sense to do it as a plug-in. |
||
|
|
|
Anders Major Dude
Registered: Jun 2002 |
The findwindow approach is only slightly better, media center could be running but that doesnt mean your game was started from MCE. Putting MCE code in your app is silly anyway, but if you had to do it, you could pass some argument to the game to tell if it was started from MCE. For MCEWrapper it doesnt really matter what you do I guess. And I agree about MCE, it could be so much better than it is now __________________ |
||
|
|
|
Skrapion Junior Member
Registered: May 2007 |
I agree with everything you said >:) |
||
|
|
|
Skrapion Junior Member
Registered: May 2007 |
After some testing on Windows XP, it seems the FindWindow method doesn't return Media Center to fullscreen mode. |
||
|
|
|
Anders Major Dude
Registered: Jun 2002 |
In my MCE controller app, I do SNDMSG(hMCE,WM_SYSCOMMAND,SC_MAXIMIZE,0); seems to work on XP, not really tested on Vista __________________ |
||
|
|
|
Skrapion Junior Member
Registered: May 2007 |
That looks like it would work, but wouldn't it maximize Media Center after you've exited your game, even if you had it in window mode beforehand? |
||
|
|
|
Anders Major Dude
Registered: Jun 2002 |
Yeah, I don't have the code in front of me right now, Im probably checking for WS_MAXIMIZE style or something like that to decide what message to send __________________ |
||
|
|
|
Comm@nder21 Major Dude
Registered: Jul 2003 |
the dll failes loading on my vista business installation while it just exits with error code 0, like documented, on xp pro sp2. __________________ |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
The DLL posted on the Wiki depends on MSVCR80.dll. It should be recompiled statically, or better yet, without the CRT. __________________ |
||
|
|
|
Comm@nder21 Major Dude
Registered: Jul 2003 |
static recompilation gave me a 120kb file. __________________ |
||
|
|
|
Skrapion Junior Member
Registered: May 2007 |
Most likely it means you already registered the game on that machine, and then changed the GUID in your GDF. Use regedit to delete any old and invalid keys from this location: |
||
|
|
|
Navarr Junior Member
Registered: Aug 2007 |
Can't seem to get it to work!
I just can't seem to get it to work. I know the GDF is embedded (I checked using a resource editor) and I know the GDF is properly formatted (made using the GDF maker) and it seems to be all well and good. code: and I get back "Game Not Registered! @.@;;" every time! I checked using regedit and found that there is no data in the registry for my game. What is the problem? Does anyone know, can anyone help me? [pokequest [dot] gtaero [dot] net/pokequest.exe] for reference. (It literally does nothing and wont even run without cygwin1.dll, all it has is the GDF embedded) Last edited by Navarr on 08-03-2007 at 12:11 AM |
||
|
|
|
Skrapion Junior Member
Registered: May 2007 |
What is the value in $0? Is it "0" (indicating that there was an error) or "" (indicating that the target machine isn't Windows Vista)? |
||
|
|
|
Navarr Junior Member
Registered: Aug 2007 |
Last edited by Navarr on 08-03-2007 at 02:47 AM |
||
|
|
|
Skrapion Junior Member
Registered: May 2007 |
It seems the plugin doesn't like UTF-16. Convert the xml file to UTF-8 (including the <?xml?> statement) and try again. |
||
|
|
|
Navarr Junior Member
Registered: Aug 2007 |
|
||
|
|
|
Skrapion Junior Member
Registered: May 2007 |
No problem. Let me know if you find more bugs! |
||
|
|
|
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > NSIS Discussion > Vista Games Explorer and Media Center |
Forum Rules:
|