Coder Social home page Coder Social logo

yoyogames / gmext-epiconlineservices Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 2.0 10.82 MB

Repository for GameMaker's Epic Online Services Extension

License: Other

Yacc 65.10% Batchfile 1.73% Shell 1.91% Game Maker Language 2.87% C++ 28.24% Objective-C++ 0.05% C 0.10%
gm-extension

gmext-epiconlineservices's Introduction

GMEXT-EpicOnlineServices

Repository for GameMaker's Epic Online Services Extension

This repository was created with the intent of presenting users with the latest version available of the extension (even previous to marketplace updates) and also provide a way for the community to contribute with bug fixes and feature implementation.

This extension will work on Windows and macOS.

VISUAL STUDIO SOURCE: source/EOS_vs/

XCODE SOURCE: source/EOS_xcode/

After compilation the exported dll/dylib file is automatically copied into the extension folder inside the included GameMaker project folder.


Important

Do not download from the main branch this branch is a work in place branch and probably has features that might be broken or not working properly, please download from the releases panel (right side instead).


Requirements

In order to compile for Windows/macOS you are required to download the EpicOnlineSerives SDK v1.15.4 and place it inside source/EOS_sdk/


Documentation

We provide both a PDF version of the documentation included with the extension and inside the demo project (datafiles) and a fully converted version to the Github Wiki format (the latter will be the most up-to-date version, the other will follow shortly after). If there are any PR requests with new feature implementation please make sure you also provide the documentation for the implemented features.

gmext-epiconlineservices's People

Contributors

diasfranciscoa avatar jzavala-yyg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

prazon sgarserdge

gmext-epiconlineservices's Issues

[INIT] Platform creation error

Sorry to post two issues at once, but I've tried switching to the latest public branch of GameMaker and it is also failing to connect to EOS. I've been in contact with a rep at Epic who has seen my extension configuration and backend and confirmed that everything is set up correctly on my end. This error shows in both VM and YYC Windows builds.

I get this same result on my game as well as the sample project.

[EPIC ONLINE SERVICES]: Starting initialization...
[EPIC ONLINE SERVICES]: Current working dir: C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM
[EPIC ONLINE SERVICES]: EOS_Platform_Create :: Platform creation error (check extension configuration)

Full build log:

"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113/bin/igor/windows/x64/Igor.exe"  -j=8  -options="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run

Loaded Macros from C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\macros.json
Options: C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\bin\platform_setting_defaults.json
Options: C:\Users\<user>\AppData\Roaming/GameMakerStudio2\_____202616\local_settings.json
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\targetoptions.json
Setting up the Asset compiler
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113/bin/assetcompiler/windows/x64/GMAssetCompiler.dll  /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="GAME" /td="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3" /rtp="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113" /zpuf="C:\Users\<user>\AppData\Roaming/GameMakerStudio2\_____202616"  /ffe="d3t+fjZrf25zeTdwgjZ8eXZ2bGttdTZ5em98a3GCN4ODbTZzeH5vdnZzfW94fW82eH92dnN9cjZ2eXFzeGl9fXk2fm99fjZtf31+eXdpb3iANnBzdn41cII=" /m=windows /tgt=64 /nodnd /cfg="Default" /o="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM" /sh=True /optionsini="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\BaseProject\BaseProject.yyp" "C:\GAME\GAME-2.3\GAME.yyp\GAME.yyp" /v  /preprocess="C:\
Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3"
Found Project Format 2
+++ FAST SERIALISATION SUCCESSFUL LOAD AND LINK TIME  (with worker concurrency 8): 348.7152ms
Loaded Project: GAME
finished.
Found Project Format 2
+++ FAST SERIALISATION SUCCESSFUL LOAD AND LINK TIME  (with worker concurrency 8): 51.4488ms
Loaded Project: __yy_sdf_shader
finished.
Found Project Format 2
C:/ProgramData/GameMakerStudio2/Cache/runtimes/runtime-2023.4.0.113/bin/ParticlePresets/GMPresetParticles/particlelib/GM_Warp_Lines/GM_Warp_Lines.yy: C:/ProgramData/GameMakerStudio2/Cache/runtimes/runtime-2023.4.0.113/bin/ParticlePresets/GMPresetParticles/particlelib/GM_Warp_Lines/GM_Warp_Lines.yy(59,2): GMSC Error: Field 'spriteAnimate' missing in YoYoStudio.Resources.GMPSEmitter.
+++ ORIGINAL SERIALISATION SUCCESSFUL LOAD AND LINK TIME: 75.9271ms
Loaded Project: GMPresetParticles
finished.
Release build
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\ExtensionOptions.json
OptionsIni
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\PlatformOptions.json
[Compile] Run asset compiler
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113/bin/assetcompiler/windows/x64/GMAssetCompiler.dll  /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="GAME" /td="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP" /cd="C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3" /rtp="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113" /zpuf="C:\Users\<user>\AppData\Roaming/GameMakerStudio2\_____202616"  /ffe="d3t+fjZrf25zeTdwgjZ8eXZ2bGttdTZ5em98a3GCN4ODbTZzeH5vdnZzfW94fW82eH92dnN9cjZ2eXFzeGl9fXk2fm99fjZtf31+eXdpb3iANnBzdn41cII=" /m=windows /tgt=64 /nodnd /cfg="Default" /o="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM" /sh=True /optionsini="C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\options.ini"  /cvm /baseproject="C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\BaseProject\BaseProject.yyp" "C:\GAME\GAME-2.3\GAME.yyp\GAME.yyp" /v  /debug /bt=run /
rt=vm /64bitgame=true
Looking for built-in fallback image in C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\bin\BuiltinImages
Compile Constants...finished.
Remove DnD...finished.
Warning : reference to extension macro steam_input_type_xbox_360_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_xbox_one_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_ps3_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_ps4_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_ps5_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_steam_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_steam_deck_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_mobile_touch which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_pro_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_joycon_single which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_joycon_pair which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_pro_controller which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_joycon_single which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_type_switch_joycon_pair which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_off which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_feedback which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_weapon which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_vibration which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_led_flag_set_color which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_led_flag_restore_user_default which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_off which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_mode_off which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_trigger_mask_l2 which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro steam_input_sce_pad_trigger_effect_trigger_mask_r2 which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Compile Scripts...finished.
Compile Rooms...finished.
Warning : reference to extension macro lb_sort_ascending which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro lb_disp_numeric which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro lb_sort_ascending which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Warning : reference to extension macro lb_disp_numeric which is not available for this target - macro is in extension Steamworks and file Steamworks.dll
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Warning : gml_Object_Obj_EpicGames_Controller_Other_70(25) : variable AuthToken name clashes with a global variable of same name
Final Compile...finished.
Looking for built-in particle images in C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113\bin\assetcompiler\ParticleImages
Saving IFF file... C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\GAME.win
Writing Chunk... GEN8 size ... -0.00 MB
option_game_speed=60
Writing Chunk... OPTN size ... 0.00 MB
Writing Chunk... LANG size ... 0.00 MB
Writing Chunk... EXTN size ... 0.00 MB
Writing Chunk... SOND size ... 0.01 MB
Writing Chunk... AGRP size ... 0.00 MB
Writing Chunk... SPRT size ... 0.00 MB
Writing Chunk... BGND size ... 2.90 MB
Writing Chunk... PATH size ... 0.00 MB
Writing Chunk... SCPT size ... 0.00 MB
Writing Chunk... GLOB size ... 0.03 MB
Writing Chunk... SHDR size ... 0.00 MB
Writing Chunk... FONT size ... 0.00 MB
Writing Chunk... TMLN size ... 0.02 MB
Writing Chunk... OBJT size ... 0.00 MB
Writing Chunk... FEDS size ... 0.07 MB
Writing Chunk... ACRV size ... 0.00 MB
Writing Chunk... SEQN size ... 0.00 MB
Writing Chunk... TAGS size ... 0.00 MB
Writing Chunk... ROOM size ... 0.00 MB
Writing Chunk... DAFL size ... 0.08 MB
Writing Chunk... EMBI size ... 0.00 MB
Writing Chunk... PSEM size ... 0.00 MB
Writing Chunk... PSYS size ... 0.00 MB
Writing Chunk... TPAGE size ... 0.00 MB
Texture Group - Default
Texture Group - __YY__0fallbacktexture.png_YYG_AUTO_GEN_TEX_GROUP_NAME_
Writing Chunk... TGIN size ... 0.05 MB
Writing Chunk... CODE size ... 0.00 MB
Writing Chunk... VARI size ... 1.39 MB
Writing Chunk... FUNC size ... 0.12 MB
Writing Chunk... FEAT size ... 0.07 MB
Writing Chunk... STRG size ... 0.00 MB
Writing Chunk... TXTR size ... 0.51 MB
0 Compressing texture... writing texture __YY__0fallbacktexture.png_YYG_AUTO_GEN_TEX_GROUP_NAME__0.yytex... 
1 Compressing texture... writing texture Default_0.yytex... 
2 Compressing texture... writing texture Default_1.yytex... 
3 Compressing texture... writing texture Default_2.yytex... 
4 Compressing texture... writing texture Default_3.yytex... 
5 Compressing texture... writing texture Default_4.yytex... 
C:\GAME\GAME-2.3\GAME.yyp\extensions\EpicOnlineServices\iOSSource\..\post_textures.bat
C:\GAME\GAME-2.3\GAME.yyp\extensions\Steamworks\iOSSource\..\post_textures.bat
Writing Chunk... AUDO size ... 0.28 MB
Writing Chunk... SCPT size ... -0.00 MB
Writing Chunk... DBGI size ... 0.02 MB
Writing Chunk... INST size ... 0.76 MB
Writing Chunk... LOCL size ... 0.00 MB
Writing Chunk... DFNC size ... 0.03 MB
Writing Chunk... STRG size ... 0.07 MB
Stats : GMA : Elapsed=1869.9453
Stats : GMA : sp=233,au=24,bk=0,pt=0,sc=2445,sh=1,fo=2,tl=0,ob=237,ro=64,da=15,ex=2,ma=815,fm=0xDA60B7BF7FFF7FB5
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\MainOptions.json
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\macros.json
Options: C:\Users\<user>\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\GAME_1BF030A3\preferences.json
C:\GAME\GAME-2.3\GAME.yyp\extensions\EpicOnlineServices\post_build_step.bat 
[EPICONLINESERVICES] INIT: Script initialization succeeded (v1.3.0 :: 2).
[EPICONLINESERVICES] INFO: Accessed extension option 'versionStable' with value '2023.1.0.0'.
[EPICONLINESERVICES] INFO: Accessed extension option 'versionBeta' with value '2023.100.0.0'.
[EPICONLINESERVICES] INFO: Accessed extension option 'versionDev' with value '9.9.1.293'.
[EPICONLINESERVICES] INFO: Accessed extension option 'versionLTS' with value '2022.0.1.24'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkHashWin' with value 'AB5FA25FD06BDEE37D08CF5E2F40FDAA297C509DD4CA6DCC3F9874DC7B3D3128'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkHashMac' with value 'F49906EC86F4BDCE3B77BC5F93A7B3D8C7EDD221566D3B600D8B61B4E9CB0177'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkHashLinux' with value 'F20295DCA422050297E138ED823046E7D00135164F95FBD2DF7A0737BAE8E4DC'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkPath' with value 'C:\EOS\SDK'.
[EPICONLINESERVICES] INFO: Accessed extension option 'sdkVersion' with value '1.15.4'.
[EPICONLINESERVICES] INFO: Accessed extension option 'debug' with value 'Auto'.
[EPICONLINESERVICES] INFO: Extracted part Major of version '2023.4.0.113' with value '2023'.
[EPICONLINESERVICES] INFO: Extracted part Minor of version '2023.4.0.113' with value '4'.
[EPICONLINESERVICES] INFO: Compared version '2023.4.0.113' with version '2023.1.0.0'.
[EPICONLINESERVICES] INFO: Asserted that version '2023.4.0.113' is greater than or equal to version '2023.1.0.0'.
[EPICONLINESERVICES] INFO: Version lock check passed successfully, with STABLE version '2023.4.0.113'.
[EPICONLINESERVICES] INFO: Resolved relative path into 'C:\EOS\SDK'.
[EPICONLINESERVICES] INFO: Generated SHA256 hash of 'C:\EOS\SDK\Bin\EOSSDK-Win64-Shipping.dll'.
[EPICONLINESERVICES] INFO: Asserted SHA256 hash of 'C:\EOS\SDK\Bin\EOSSDK-Win64-Shipping.dll' matches expected hash.
"Copying Windows (64 bit) dependencies"
[EPICONLINESERVICES] INFO: Resolved relative path into 'C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\EOSSDK-Win64-Shipping.dll'.


    Directory: C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
d-----          5/9/2023  11:19 AM                GAME_79B5AA25_VM                                                


[EPICONLINESERVICES] INFO: Copied 'C:\EOS\SDK\Bin\EOSSDK-Win64-Shipping.dll' to 'C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\EOSSDK-Win64-Shipping.dll'.


C:\GAME\GAME-2.3\GAME.yyp\extensions\EpicOnlineServices\post_build_step.bat DONE (0)
Igor complete.
[Run] Run game
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2023.4.0.113/windows/x64/Runner.exe  -game "C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM\GAME.win"
Setting scheduler resolution to 1
[EPIC ONLINE SERVICES]: Starting initialization...
[EPIC ONLINE SERVICES]: Current working dir: C:\Users\<user>\AppData\Local\GameMakerStudio2\GMS2TEMP\GAME_79B5AA25_VM
[EPIC ONLINE SERVICES]: EOS_Platform_Create :: Platform creation error (check extension configuration)
Attempting to set gamepadcount to 12
DirectX11: Using hardware device
Collision Event time(microsecs)=8
Variable_Global_Init()
PrepareGame()
Audio_Init()
Game_Prepare()
Script_Prepare() 
TimeLine_Prepare() 
Object_Prepare() 
Room_Prepare() 
Finished PrepareGame() 
Run_Start
Done g_EffectsManager.Init()
Done RenderStateManager
CreateColPairs took 0.000000s 8 usecs for 238 object types obj_col_numb=0 physobjcount=21 resizes 0 final size 23
Done ObjectLists
Done Extension_Initialize
About to startroom
Total memory used = 76571153 (0x04906211) bytes 73.02MB
Free memory = 3371216 (0x003370d0) bytes 3.22MB
Peak memory used = 74409795 (0x046f6743) bytes 70.96MB
**********************************.
Entering main loop.
**********************************.
Resizing swap chain...
Pause event has been registered for this frame
Pause event has been unregistered

post_build_step.bat fires & extension launches even when extension is excluded from config

Running from IDE, in debug mode, on Windows, on 2024.2

Here is the build log

[EPICONLINESERVICES] INIT: Script initialization succeeded (v1.4.1 :: 1).
"Copying Windows (64 bit) dependencies"


    Directory: C:\Users\tomal\AppData\Local\GameMakerStudio2\GMS2TEMP


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
d-----        14/05/2024     12:17                Chronique_des_Silencieux_409CCDB3_VM                                 




C:\GMS\extensions\EpicOnlineServices\post_build_step.bat DONE (0)
Igor complete.
[Run] Run game
[Debugger]target=127.0.0.1,yydebug="C:\Users\tomal\AppData\Local\GameMakerStudio2\GMS2TEMP\Chronique_des_Silencieux_409CCDB3_VM\Chronique des Silencieux.yydebug"
C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2024.2.0.163/windows/x64/Runner.exe  -game "C:\Users\tomal\AppData\Local\GameMakerStudio2\GMS2TEMP\Chronique_des_Silencieux_409CCDB3_VM\Chronique des Silencieux.win"
Setting scheduler resolution to 1
[EPIC ONLINE SERVICES]: Starting initialization...
[EPIC ONLINE SERVICES]: Current working dir: C:\Users\tomal\AppData\Local\GameMakerStudio2\GMS2TEMP\Chronique_des_Silencieux_409CCDB3_VM
[EPIC ONLINE SERVICES]: EOS_Platform_Create :: Platform creation error (check extension configuration)

Extension config :
image

[QUESTION / LOGIN] Players ignore Epic Games connections

Hello,

After having successfully integrated the EOS extension in our game, and published it on the Epic Games Store, it appears that a great majority of players don't authenticate in Epic, as it is an optionnal feature (you juste have to close the Epic popup login). We did add an option to recall it in case of a misclick, but still, players don't seem to use it, as we tracked so far so few achievements unlocking (and we know that players use our game enough to unlock the first achievement, we found youtube reviews in which we can see it)

I can understand that it may be feel strange for players to authenticate again, as they launch the game from the Epic Game Store in which they are already authenticated, so my question is : did we miss something in the integration ? Is there a way to catch the player profile directly from the store so they don't have to authenticate at first launch ? (FYI, for those who authenticate, next game session is ok, persistent auth is working perfectly, they don't have to re-authenticate)

"Setup Guide" section in documentation states "The Epic Launcher App needs to be installed , running and with an account logged in", but I didn't feel a real effect about it has to be "running"... or does it just mean "working correctly if you launch it" but not specially running while you launch the game ?

I also read in a closed issue that "The popup you encountered, requesting login credentials for the Epic account, is a normal and expected behavior even if you are already logged into the Epic Games Launcher or the web client.", so it seems like there is no other way, but since it's not clearly stated in the documentation...

IDE Version: 2023.8.2.108
Current Runtime: 2023.8.2.152
EOS extension: 1.4.1
EOS SDK: 1.15.4

[LOGIN] EOS login gets stuck in a loop

Hello,

I am a Gamemaker developer, and I am writing to address an issue I encountered while attempting to integrate achievements for my game application on the Epic Games platform.

I downloaded the EpicOnlineServices extension from the Yoyogames marketplace (https://marketplace.yoyogames.com/assets/11394/epiconlineservices-ext)
to facilitate the integration of Epic achievements. However, I encountered some difficulties when filling out the Extension Options required fields after I entered the SDK path.

Product ID.
Sandbox ID.
Deployment ID.
Client Credentials ID.
Client Credentials Secret
Encryption Key
Product Name etc.

Specifically, I am unsure about the encryption key field. Could you please provide guidance on where I can obtain the necessary information to complete this field? Additionally, I would appreciate clarification on whether I can leave it blank if no specific information is required because my game does not utilize encryption.

Furthermore, I am uncertain whether the Client Credentials ID and Client Credentials Secrets should be filled with the details associated with the "BPT Client" or if I should enter the Client ID and Secret found in my Product Settings on the Epic Games Developer Portal.

I have not come across any evidence that my game is successfully connected to Epic Games achievements. Upon running the Epic Online Services demo for achievements, I observed that nothing is displayed on the screen apart from the Gamemaker background in the Room_EpicGames_Achievements room. Based on these observations, I have reason to believe that there might have been errors or omissions in the fields I mentioned in my previous communication.

Therefore, I kindly request any assistance in identifying and rectifying any mistakes that may have occurred during the entry of the aforementioned fields. I am eager to ensure that the necessary information is correctly provided to establish the connection between my game and Epic Games achievements.

Thank you for your prompt attention to this matter. I appreciate your ongoing support and guidance.

[BUG] [DEBUG BINARIES] Failed to initialized extension, tried files: EpicOnlineServices.dll|EpicOnlineServices_x64.dll.

Hey all, I'm getting an issue when trying to implement EOS via this plugin. I've tried the release on the store as well as the one in this repository.

Here's the truncated build log

0 Compressing texture... writing texture __YY__0fallbacktexture.png_YYG_AUTO_GEN_TEX_GROUP_NAME__0.yytex... 
1 Compressing texture... writing texture Default_0.yytex... 
2 Compressing texture... writing texture Default_1.yytex... 
3 Compressing texture... writing texture Default_2.yytex... 
4 Compressing texture... writing texture Default_3.yytex... 
5 Compressing texture... writing texture Default_4.yytex... 
RunUserCmdStep: C:\game.yyp
ending: .bat
Extensions
C:\game.yyp\extensions\EpicOnlineServices\iOSSource\..\post_textures.bat
Writing Chunk... AUDO size ... 0.28 MB
Writing Chunk... SCPT size ... -0.00 MB
Writing Chunk... DBGI size ... 0.02 MB
Writing Chunk... INST size ... 0.75 MB
Writing Chunk... LOCL size ... 0.00 MB
Writing Chunk... DFNC size ... 0.02 MB
Writing Chunk... STRG size ... 0.07 MB
Stats : GMA : Elapsed=1895.0049
Stats : GMA : sp=231,au=24,bk=0,pt=0,sc=2445,sh=0,fo=2,tl=0,ob=209,ro=56,da=25,ex=2,ma=789,fm=0xDA60B7BF7FFF7FB5
Options: C:\Users\thats\AppData\Roaming\GameMakerStudio2-LTS\Cache\GMS2CACHE\game_1BF030A3\MainOptions.json
Options: C:\Users\thats\AppData\Roaming\GameMakerStudio2-LTS\Cache\GMS2CACHE\game_1BF030A3\macros.json
Options: C:\Users\thats\AppData\Roaming\GameMakerStudio2-LTS\Cache\GMS2CACHE\game_1BF030A3\preferences.json
C:\game.yyp\extensions\EpicOnlineServices\post_build_step.bat 
[EPICONLINESERVICES] INIT: Script initialization succeeded (v0.0.0 :: 1).
"Copying Windows (64 bit) dependencies"


    Directory: C:\Users\thats\AppData\Local\GameMakerStudio2-LTS\GMS2TEMP


Mode                 LastWriteTime         Length Name                                                                 
----                 -------------         ------ ----                                                                 
d-----          5/8/2023   4:47 PM                game_50191F4C_VM                                                


[EPICONLINESERVICES] WARN: Debug mode is set to 'Enabled', make sure to set it to 'Auto' before publishing.


C:\game.yyp\extensions\EpicOnlineServices\post_build_step.bat DONE (0)
Igor complete.
[Run] Run game
C:\ProgramData/GameMakerStudio2-LTS/Cache/runtimes\runtime-2022.0.1.30/windows/x64/Runner.exe  -game "C:\Users\thats\AppData\Local\GameMakerStudio2-LTS\GMS2TEMP\game_50191F4C_VM\game.win"
Setting scheduler resolution to 1
Failed to initialized extension, tried files: EpicOnlineServices.dll|EpicOnlineServices_x64.dll.
Attempting to set gamepadcount to 12
DirectX11: Using hardware device
Collision Event time(microsecs)=8

I'm on Game Maker LTS r1
IDE v2022.0.1.31
Runtime v2022.0.1.30
EGS SDK 1.15.4

Failing to copy dylib on Mac when building from command line

The build succeeds when launching from the IDE but not from the command line.
The command line also works for Windows.
libEOSSDK-Mac-Shipping.dylib is in the correct place.

[EPICONLINESERVICES] INIT: Script initialization succeeded (v1.4.1 :: 1).
"Copying macOS (64 bit) dependencies"
New-Item : Cannot bind argument to parameter 'Path' because it is an empty string.
At line:1 char:43
+ ... Force -Path (Split-Path -Parent '\\Supporting Files\libEOSSDK-Mac-Shi ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [New-Item], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.NewI 
   temCommand
 
Copy-Item : The network path was not found
At line:1 char:115
+ ... ng.dylib'); Copy-Item -Path 'C:\CDS-Assets\export_config\gm_building\ ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Copy-Item], IOException
    + FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.CopyItemCommand
 
[EPICONLINESERVICES] ERROR: Failed to copy 'C:\CDS-Assets\export_config\gm_building\epic_game_store\sdk\Bin\libEOSSDK-Mac-Shipping.dylib' to '\\Supporting Files\libEOSSDK-Mac-Shipping.dylib'.

Unlocking Specific Achievement

Hi, I am unable to find the command to set and unlock an achievement.

For example, the Steamworks extension has a function called "steam_set_achievement("Achievement ID") that I can code in gamemaker to unlock specific achievement.

However, I went through all the Functions of the EpicOnlineService extension. The only function that mentioned about unlock achievement is "EpicGames_Achievements_UnlockAchievement(userID,AchievementId)"

I replaced the AchievementId with the "Achievement ID" configured in my Epic developer portal, as shown below and it doesn't work.
"EpicGames_Achievements_UnlockAchievement(userID,“Intermediate Survivor”);"

Is this an issue? If not how do I code in gamemaker to unlock the above using the EpicOnlineService extension? An example line will be good, thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.