system.getInfo( )

would be nice if this would return a table with all info [import]uid: 7911 topic_id: 34776 reply_id: 334776[/import]

I’ll bring it up!
[import]uid: 199310 topic_id: 34776 reply_id: 138218[/import]

thanks [import]uid: 7911 topic_id: 34776 reply_id: 138220[/import]

I’ll bring it up!
[import]uid: 199310 topic_id: 34776 reply_id: 138218[/import]

thanks [import]uid: 7911 topic_id: 34776 reply_id: 138220[/import]

+1 [import]uid: 13125 topic_id: 34776 reply_id: 144249[/import]

local tProfile = {}  
  
local isTall = ( "iPhone" == system.getInfo( "model" ) or "iPod touch" == system.getInfo("model")) and ( display.pixelHeight \> 960 )  
  
tProfile["name"] = system.getInfo("name")  
tProfile["model"] = system.getInfo("model")  
tProfile["deviceID"] = system.getInfo("deviceID")  
tProfile["environment"]= system.getInfo("environment")  
tProfile["platformName"] = system.getInfo("platformName")  
tProfile["platformVersion"] = system.getInfo("platformVersion")  
tProfile["version"] = system.getInfo("version")  
tProfile["build"] = system.getInfo("build")  
tProfile["maxTestureSize"] = system.getInfo("maxTextureSize")  
tProfile["architectureInfo"] = system.getInfo("architectureInfo")  
tProfile["isTall"] = isTall  

I have this at the start of all my games - stick it in a module or main and it should give you what you need? [import]uid: 33275 topic_id: 34776 reply_id: 144272[/import]

@SegaBoy, very cool. Bookmarked for future reference. Thank you for sharing!

Naomi [import]uid: 67217 topic_id: 34776 reply_id: 144290[/import]

You know that lovely devices.lua that I blogged about would be a wonderful place to add something like this.

[import]uid: 199310 topic_id: 34776 reply_id: 144341[/import]

+1 [import]uid: 13125 topic_id: 34776 reply_id: 144249[/import]

local tProfile = {}  
  
local isTall = ( "iPhone" == system.getInfo( "model" ) or "iPod touch" == system.getInfo("model")) and ( display.pixelHeight \> 960 )  
  
tProfile["name"] = system.getInfo("name")  
tProfile["model"] = system.getInfo("model")  
tProfile["deviceID"] = system.getInfo("deviceID")  
tProfile["environment"]= system.getInfo("environment")  
tProfile["platformName"] = system.getInfo("platformName")  
tProfile["platformVersion"] = system.getInfo("platformVersion")  
tProfile["version"] = system.getInfo("version")  
tProfile["build"] = system.getInfo("build")  
tProfile["maxTestureSize"] = system.getInfo("maxTextureSize")  
tProfile["architectureInfo"] = system.getInfo("architectureInfo")  
tProfile["isTall"] = isTall  

I have this at the start of all my games - stick it in a module or main and it should give you what you need? [import]uid: 33275 topic_id: 34776 reply_id: 144272[/import]

@SegaBoy, very cool. Bookmarked for future reference. Thank you for sharing!

Naomi [import]uid: 67217 topic_id: 34776 reply_id: 144290[/import]

You know that lovely devices.lua that I blogged about would be a wonderful place to add something like this.

[import]uid: 199310 topic_id: 34776 reply_id: 144341[/import]

+1 [import]uid: 13125 topic_id: 34776 reply_id: 144249[/import]

local tProfile = {}  
  
local isTall = ( "iPhone" == system.getInfo( "model" ) or "iPod touch" == system.getInfo("model")) and ( display.pixelHeight \> 960 )  
  
tProfile["name"] = system.getInfo("name")  
tProfile["model"] = system.getInfo("model")  
tProfile["deviceID"] = system.getInfo("deviceID")  
tProfile["environment"]= system.getInfo("environment")  
tProfile["platformName"] = system.getInfo("platformName")  
tProfile["platformVersion"] = system.getInfo("platformVersion")  
tProfile["version"] = system.getInfo("version")  
tProfile["build"] = system.getInfo("build")  
tProfile["maxTestureSize"] = system.getInfo("maxTextureSize")  
tProfile["architectureInfo"] = system.getInfo("architectureInfo")  
tProfile["isTall"] = isTall  

I have this at the start of all my games - stick it in a module or main and it should give you what you need? [import]uid: 33275 topic_id: 34776 reply_id: 144272[/import]

@SegaBoy, very cool. Bookmarked for future reference. Thank you for sharing!

Naomi [import]uid: 67217 topic_id: 34776 reply_id: 144290[/import]

You know that lovely devices.lua that I blogged about would be a wonderful place to add something like this.

[import]uid: 199310 topic_id: 34776 reply_id: 144341[/import]

+1 [import]uid: 13125 topic_id: 34776 reply_id: 144249[/import]

local tProfile = {}  
  
local isTall = ( "iPhone" == system.getInfo( "model" ) or "iPod touch" == system.getInfo("model")) and ( display.pixelHeight \> 960 )  
  
tProfile["name"] = system.getInfo("name")  
tProfile["model"] = system.getInfo("model")  
tProfile["deviceID"] = system.getInfo("deviceID")  
tProfile["environment"]= system.getInfo("environment")  
tProfile["platformName"] = system.getInfo("platformName")  
tProfile["platformVersion"] = system.getInfo("platformVersion")  
tProfile["version"] = system.getInfo("version")  
tProfile["build"] = system.getInfo("build")  
tProfile["maxTestureSize"] = system.getInfo("maxTextureSize")  
tProfile["architectureInfo"] = system.getInfo("architectureInfo")  
tProfile["isTall"] = isTall  

I have this at the start of all my games - stick it in a module or main and it should give you what you need? [import]uid: 33275 topic_id: 34776 reply_id: 144272[/import]

@SegaBoy, very cool. Bookmarked for future reference. Thank you for sharing!

Naomi [import]uid: 67217 topic_id: 34776 reply_id: 144290[/import]