Ventero / FRESteamWorks

SteamWorks API for AIR applications
Other
83 stars 27 forks source link

Access to Environment Variables #4

Closed vieko closed 10 years ago

vieko commented 10 years ago

Thank you immensely for the library! It has been extremely helpful. Wondering if you have looked into accessing Environment Variables? Particularly SteamTenfoot... I'm trying to determine if my game was launched from Big Picture mode.

Thanks again!

SEE: Environment.GetEnvironmentVariable();

Ventero commented 10 years ago

Glad to hear this project is useful to you! :)

Sure, I guess I can add a function to get environment variables. One question though, if I may ask: what's the use case for wanting to know if the game was launched from Big Picture mode?

vieko commented 10 years ago

Hey! Thanks for getting back to me. I wish to know if on Big Picture Mode to exclude / include info (example: keyboard controls). Also, if on BPM: start the game on fullscreen mode.

Cheers,

Vieko Franetovic { vee-echo } http://LeGrudgeRugged.com http://KrunchGame.com

On Mar 15, 2014, at 5:37 AM, Ventero notifications@github.com wrote:

Glad to hear this project is useful to you! :)

Sure, I guess I can add a function to get environment variables. One question though, if I may ask: what's the use case for wanting to know if the game was launched from Big Picture mode?

— Reply to this email directly or view it on GitHub.

Ventero commented 10 years ago

Ah, guess that makes sense.

I've just added FRESteamWorks#getEnv(name:String):String to the API (in https://github.com/Ventero/FRESteamWorks/commit/1622b66a29d563d1960d9d78b3e81e456a67f5e3, forgot to reference this issue in the commit message). For a very simple usage example, see https://github.com/Ventero/FRESteamWorks/commit/1622b66a29d563d1960d9d78b3e81e456a67f5e3#diff-7.

I'll upload a new build of the ANEs later today.

vieko commented 10 years ago

Awesome! Thank you... will give this a try later today :)

Vieko Franetovic { vee-echo } http://LeGrudgeRugged.com/ http://KrunchGame.com/ 403-993-7993

On Sat, Mar 15, 2014 at 6:01 AM, Ventero notifications@github.com wrote:

Ah, guess that makes sense.

I've just added FRESteamWorks#getEnv(name:String):String to the API (in 1622b66https://github.com/Ventero/FRESteamWorks/commit/1622b66a29d563d1960d9d78b3e81e456a67f5e3, forgot to reference this issue in the commit message). For a very simple usage example, see 1622b66#diff-7https://github.com/Ventero/FRESteamWorks/commit/1622b66a29d563d1960d9d78b3e81e456a67f5e3#diff-7 .

I'll upload a new build of the ANEs later today.

Reply to this email directly or view it on GitHubhttps://github.com/Ventero/FRESteamWorks/issues/4#issuecomment-37724041 .

Ventero commented 10 years ago

New builds are up here: http://dump.ventero.de/FRESteamWorks/v0.4-30-g207935d/

A short confirmation if everything works as expected would be appreciated.

vieko commented 10 years ago

Thank you, thank you! I will try this in the AM :) On a related note, is it possible to add personaName as a value for LeaderboardEntry? am I missing something that is already there?

Vieko Franetovic { vee-echo } http://LeGrudgeRugged.com/ http://KrunchGame.com/ 403-993-7993

On Sat, Mar 15, 2014 at 11:50 AM, Ventero notifications@github.com wrote:

New builds are up here: http://dump.ventero.de/FRESteamWorks/v0.4-30-g207935d/

A short confirmation if everything works as expected would be appreciated.

Reply to this email directly or view it on GitHubhttps://github.com/Ventero/FRESteamWorks/issues/4#issuecomment-37732705 .

vieko commented 10 years ago

Digging further yielded this: SteamFriends()->GetFriendPersonaName( m_leaderboardEntries[index].m_steamIDUser ); Looks like it would be possible to add a function to grab the personaName for leaderboard entries, I think I could do it myself but had issues the last time I tried building the project locally... Any help, would be extremely appreciated it :) We are literally only missing the personaName for our leaderboards to be fully functional on KRUNCH.

Vieko Franetovic { vee-echo } http://LeGrudgeRugged.com/ http://KrunchGame.com/ 403-993-7993

On Sat, Mar 15, 2014 at 10:21 PM, Vieko Franetovic (@vieko) < vieko.franetovic@gmail.com> wrote:

Thank you, thank you! I will try this in the AM :) On a related note, is it possible to add personaName as a value for LeaderboardEntry? am I missing something that is already there?

Vieko Franetovic { vee-echo } http://LeGrudgeRugged.com/ http://KrunchGame.com/ 403-993-7993

On Sat, Mar 15, 2014 at 11:50 AM, Ventero notifications@github.comwrote:

New builds are up here: http://dump.ventero.de/FRESteamWorks/v0.4-30-g207935d/

A short confirmation if everything works as expected would be appreciated.

Reply to this email directly or view it on GitHubhttps://github.com/Ventero/FRESteamWorks/issues/4#issuecomment-37732705 .

Ventero commented 10 years ago

Yeah, building the project is a bit tricky. There are some instructions in the readme (https://github.com/Ventero/FRESteamWorks#building-fresteamworks), but I really have to write a proper guide on how to set up and build FRESteamWorks.

I've opened #5 about the friend/persona stuff.

vieko commented 10 years ago

Sweet.

On Sun, Mar 16, 2014 at 7:51 AM, Ventero notifications@github.com wrote:

Yeah, building the project is a bit tricky. There are some instructions in the readme ( https://github.com/Ventero/FRESteamWorks#building-fresteamworks), but I really have to write a proper guide on how to set up and build FRESteamWorks.

I've opened #5 https://github.com/Ventero/FRESteamWorks/issues/5 about the friend/persona stuff.

Reply to this email directly or view it on GitHubhttps://github.com/Ventero/FRESteamWorks/issues/4#issuecomment-37757553 .