Windows 7 compliance
by World-Loom · in Torque Game Builder · 10/19/2009 (6:25 am) · 47 replies
I have just got notice from one of our distributors about compliance of our game (based on TGB 1.7.4. updated with fixes from Alex Stone) with Windows 7. We have three issues:
* Alt-Ctrl-Delete -> game crashes
* 96 dpi -> game cannot be switched to windowed mode
* 144 dpi-> graphical artifacts in main menu
Any help would appreciate as without fixing that our game may be removed from many sales channels and also those issues would for sure affect our next product being in final stage of production.
Looking forward for feedback.
* Alt-Ctrl-Delete -> game crashes
* 96 dpi -> game cannot be switched to windowed mode
* 144 dpi-> graphical artifacts in main menu
Any help would appreciate as without fixing that our game may be removed from many sales channels and also those issues would for sure affect our next product being in final stage of production.
Looking forward for feedback.
About the author
#42
02/11/2010 (8:08 am)
Yeah, want a job? ;)
#43
02/11/2010 (11:00 am)
do it. :)
#44
02/11/2010 (11:41 am)
thank you so much William for putting so much effort into this
#45
02/11/2010 (5:22 pm)
Thanks a lot William, great job!
#46
Duh! The DPI post is *THIS* post!
The checklist is Comment #5 in *THIS* post!
Maybe a strong black tea is in order!
02/12/2010 (4:01 am)
I'm having quite a laugh at myself right now. I spent some time trying to find the DPI post to add a link to here and to the post where I linked the QA checklist.Duh! The DPI post is *THIS* post!
The checklist is Comment #5 in *THIS* post!
Maybe a strong black tea is in order!
#47
Works like a charm.
08/18/2010 (7:51 pm)
Thanks William... that DPI fix there just saved me a heap of trouble with BigFish QA... and however much time it would have taken me to figure it out!Works like a charm.
Associate William Lee Sims
Machine Code Games
Anyway, the solution to the DPI problem is right here: msdn.microsoft.com/en-us/library/dd464660(VS.85).aspx
The short of it is this:
1) Create a file called "DeclareDPIAware.manifest" in the same directory as the project ("engine/compilers/VisualStudio 2005").
2) Put the following into it:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" > <asmv3:application> <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> <dpiAware>true</dpiAware> </asmv3:windowsSettings> </asmv3:application> </assembly>3) Go to Project > Properties > Manifest Tool > Input and Output.4) Edit the "Additional Manifest Files" to add "DeclareDPIAware.manifest".
5) Recompile!
I tested 3 different DPIs, and it worked on all of them.
Anything else?