SteamLite
Last updated
Last updated
At the moment, this is primarily just a built-in implementation of achievements, very similar to the script. Because MKXP is GPL licensed (and therefore isn't actually allowed to directly link to Steamworks, probably even using the aforementioned script), this functionality is implemented through .
When built with Steam support, two executables are created instead of one -- the first being Steamshim, and the second (the one ending in _rt
) being the game itself. Remember to keep both.
If steam_appid
not set when building, the application must be launched directly from Steam unless steam_appid.txt
is placed in the same directory containing your App ID. If steam_appid
is set, the game will automatically request for Steam to start it (using SteamAPI_RestartAppIfNecessary
) if it was not already launched using it.
The only significant differences from SUSL should be:
Functions are accessed through the SteamLite
module
get_stat_float
and get_stat_int
are now get_stat_f
and get_stat_i
respectively
the is_subscribed
, is_dlc_present
, update_avg_rate_stat
, and get_achievement_display_info
methods are not present (yet)
It is a little simpler to use than SteamUserStatsLite due to initialization, shutdown, and updating being handled internally. Using it is as simple as: