FUNCTION setGS() ' trig by Main(1) near top
'gS = 2 ' Base "Game Speed" for slow Rokus
timer = createObject("roTimespan") ' For measuring performance
FOR _ = 1 TO 1e5: END FOR ' Speed test code from EnTerr
IF timer.TotalMilliseconds() < 30 THEN gS = 1 ELSE gS = 2 ' Roku 2 XS 3100X: 19-21ms. Roku HD N1100: 39-43ms
' Sometimes I get something higher though, such as Roku 2 XS getting 45 or Roku HD getting 73, dunno why
' So it's not always perfectly reliable
di = CreateObject("roDeviceInfo")
rModel = di.GetModel()
? rModel " is the model, Game Speed (gS) set to " gS " as timer is " timer.TotalMilliseconds()
RETURN gS
END FUNCTION
"RokuShawnS" wrote:
The letter definitions at the end of model numbers were posted on the General forums a while back:
R means retail
X means online
EU mean Europe (UK, Ireland)
Thus, they can be generally ignored.
C. Shawn Smith
"squirreltown" wrote:"RokuShawnS" wrote:
The letter definitions at the end of model numbers were posted on the General forums a while back:
R means retail
X means online
EU mean Europe (UK, Ireland)
Thus, they can be generally ignored.
C. Shawn Smith
Are you saying that when I do
if devinfo.GetModel() = "4200X"
and it returns TRUE
the X is being ignored?
"Komag" wrote:
So I just recently ordered a refurbished Roku 1 2710XB
I assume the B means "refurBished"?
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
Thanks for your patience — we’re excited to share what’s next!