Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to resolve Steam Friend "App ID" to Game Name

imgI have a friend lists which checks if friends are in a game and then calls "Steam Friend Game Played" to get "App ID" which is an integer.

How can I convert the integer to the actual name of the game the friend is in? I found that you could potentially download a massive json file and then try to parse it out, but there has to be an easier way?

Product Version: UE 4.21
bigsigh.png (80.4 kB)
more ▼

asked Dec 11 '18 at 11:28 PM in Blueprint Scripting

avatar image

24 2 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I could not see any related ReturnGameName function in AdvancedSteamSessionsPlugin or SteamSDK. But if you can dig in to it more, in case of I missed something, to find a proper working way to create a new function for yourself.

And also there are these lines after Line111 of AdvancedSteamFriendsLibrary.cpp

             // Forgot this test and left it in, it is incorrect, you would need restricted access
             // And it would only find games in the local library anyway
             /*char NameBuffer[512];
             int Len = SteamAppList()->GetAppName(GameInfo.m_gameID.AppID(), NameBuffer, 512);
             if (Len != -1) // Invalid
                 GameName = FString(UTF8_TO_TCHAR(NameBuffer));

So, Plugin creator was trying to achieve what you wanted. And even if Plugin creator would achieve this, he had to download all app infos by calling SteamAppList() function.

I think, you need to resolve this JSON via some plugins which are on market.


more ▼

answered Dec 12 '18 at 02:17 AM

avatar image

133 4 8 9

avatar image Regentlord Dec 12 '18 at 08:55 PM

Yes, unfortunately it seems the only way to do it is by getting the app list and checking the app ids against it.

avatar image M.FatihSaglam Dec 27 '18 at 03:59 PM

There's an update for you.

This guy below found a way to implement what you want. I didn't watch all video but in the beginning of the video, it's clear to see this can be implemented.


(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question