Pages: [1]
Print
Author Topic: How to check Android apps for PhysX usage  (Read 7184 times)
Stefan
Sr. Member
****
Posts: 292


View Profile WWW
« on: June 07, 2011, 08:00:53 pm »

Example used "Dungeon Defenders: First Wave"

Use the Android SDK "Dalvik Debug Manager" to copy the game's archive to your PC, the file name is the same as the URL in the Android market.
Other apps probably will show text messages containing "PhysX" in the "Dalvik Debug Manager", this game does not.



Extract the game's ELF file with 7-zip (APK is actually a renamed ZIP)



Do a text search in your favorite hex editor



For further investigation you would need to disassemble the ELF with IDA Pro
Logged
Zogrim
Administrator
Hero Member
*****
Posts: 564


Expert Scrounger


View Profile WWW
« Reply #1 on: June 07, 2011, 10:22:10 pm »

Great find, Stefan  Grin
Will it work for Unity based games too ?
Any way to check out iOS games ?
Logged

PhysXInfo.com Team
Stefan
Sr. Member
****
Posts: 292


View Profile WWW
« Reply #2 on: June 08, 2011, 01:26:42 am »

Great find, Stefan  Grin
Will it work for Unity based games too ?
Any way to check out iOS games ?

I didn't check Unity games yet, stay tuned...

Checking iOS works almost the same way



Example: Epic Citadel

itunes stores files in the folder C:\Users\[yourname]\Music\iTunes\iTunes Media\Mobile Applications\

Open IPA file with 7-zip (also a renamed ZIP)

Here we find at least 2 files "CastleGame" and "Engine.xxx", i assume you find the latter in any Unreal Engine game



Again extract them and load them into a hex editor

Logged
Zogrim
Administrator
Hero Member
*****
Posts: 564


Expert Scrounger


View Profile WWW
« Reply #3 on: June 08, 2011, 12:11:12 pm »

Hmm.. I dunno then if this method is showing actual PhysX usage or traces of PhysX SDK integration into the engine.
Epic Citadel was part of December UDK, and that one was not using PhysX (it was added in the next version)
More precision is needed to make actual conclusion on PhysX usage.
Logged

PhysXInfo.com Team
Stefan
Sr. Member
****
Posts: 292


View Profile WWW
« Reply #4 on: June 08, 2011, 05:37:31 pm »

More precision is needed to make actual conclusion on PhysX usage.

Then you need to disassemble the code with IDA Pro
A used function should have a "cross reference".
I think i need to learn a bit of ARM machine code language to dig deeper...
Logged
Pages: [1]
Print
Jump to: