gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > easiest way to detect lite vs. phat?

#90111 - unrequited - Wed Jun 28, 2006 1:47 pm

Curiously, what's the easiest way for a program to detect it's being run on a lite vs. a phat?
_________________
-Unrequited

#90115 - Mighty Max - Wed Jun 28, 2006 1:58 pm

I'd check for brightness control registers.

Alltho it is not 100% accurate as some fat DSes are known to have it too.
_________________
GBAMP Multiboot

#90129 - dualscreenman - Wed Jun 28, 2006 3:20 pm

You could have the application contain a firmware md5 blacklist to check against.

You could read the firmware, make a checksum, and then test against a list of past firmware md5's. If the checksum is not found, then it's a DS Lite. But that might be a bit complicated. (If you can even make a checksum of the firmware.)

*Edit* This would only work if you had official firmware, and you would have to account for all homebrew firmwares, some of which show no discretion between Lite and original. Oh, what they hey, Im just spouting my mouth of in an aea I have no particular expertise in... I'll shut up now ;-)
_________________
dualscreenman wrote:
What about Gaim DS? Gaim pretty much has support for all IM programs.
tepples wrote:
"Goshdammit, the DS is not a Gaim-boy! It's a third pillar!"

#90135 - Ilomoga - Wed Jun 28, 2006 3:58 pm

But it should only check a part of the firmware, because e. g. the wifi settings would change the hash code, wouldn't it?
_________________
The future of gaming is mobile Handheld Gaming.

#90160 - JaJa - Wed Jun 28, 2006 6:25 pm

Just ask the user :P
Lazy, unreliable, but should work.
_________________
LAWL HOOGE
My Blog

#90206 - HyperHacker - Wed Jun 28, 2006 10:40 pm

I posted here the code from Moonshell that tells which system is being used. (BTW nobody ever told me if that test app worked. >_>)
_________________
I'm a PSP hacker now, but I still <3 DS.