[Plugin] Detect CPU type on Windows 8

Post your completed addons to share with the community

Post » Mon Dec 03, 2012 5:38 am

Hi all,

Here's a simple plugin to detect whether your Windows 8 app is running on either x64, x86 or ARM.

I don't actually have an x86 or ARM machine to hand, so if anyone can confirm working that would be great.

https://www.dropbox.com/s/vooqb9fdhyq8h8s/CPUClass.zip

Use with caution. Most of the time optimisation is more than sufficient - Microsoft, and users, expect a consistent experience across devices.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Mon Dec 03, 2012 9:08 am

Thanks @thehen you're a legend - I can confirm this works perfectly for x64 and ARM! I haven't tried it on a x86 yet though, but just detecting ARM is great!
B
34
S
8
G
3
Posts: 328
Reputation: 7,692

Post » Mon Dec 03, 2012 10:54 am

@EyeHawk Great stuff. Thanks for testing it.
Moderator
B
72
S
13
G
11
Posts: 900
Reputation: 11,783

Post » Tue Jan 22, 2013 12:28 am

BTW, you should be careful with CPU detection. If you create a single app package that targets multiple CPUs, the certification process will make sure that all users have the same (good) experience. If you need to create different experiences for different processors, you need to create different packages per processor. Here's the way the certification requirements state it...

3.3 Your app must provide the same user experience on all processor types that it supports
If your app has a different user interface or functionality when it runs on different processor types, you must submit a separate app for each processor type and describe the differences in the Description of each app.

You can find all of the Windows 8 cert reqs here: http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx
B
15
S
5
Posts: 28
Reputation: 1,533

Post » Fri Jan 25, 2013 8:10 pm

Also, you may want to walk through these videos just to make sure you are all square before submitting. The videos walk through how to configure, export and build your Scirra game for Windows 8.

http://www.youtube.com/watch?v=Z7VIDaftjNs&list=PLybuIjaQXG4GhaHCZ7X0HQekm0rlHCUE9

Cheers
B
2
Posts: 6
Reputation: 337


Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 4 guests