EvaisaDev / noita-online

A multiplayer gamemode framework for Noita using SteamAPI
48 stars 0 forks source link

Doesn't work on Non-Steam Platforms #10

Closed AlbinoGeek closed 6 months ago

AlbinoGeek commented 7 months ago

When attempting to launch Noita through GOG Galaxy, your mod does not load.

What was Done

image

What Happened

Full Log from noita_dev.exe
```plaintext playback file: do_a_playback: 0 Windows version: 6.2 - build: 9200 Number of processors: 32 PF_FLOATING_POINT_PRECISION_ERRATA 0 PF_FLOATING_POINT_EMULATED 0 PF_COMPARE_EXCHANGE_DOUBLE 1 PF_MMX_INSTRUCTIONS_AVAILABLE 1 PF_PPC_MOVEMEM_64BIT_OK 0 PF_ALPHA_BYTE_INSTRUCTIONS 0 PF_XMMI_INSTRUCTIONS_AVAILABLE 1 PF_3DNOW_INSTRUCTIONS_AVAILABLE 0 PF_RDTSC_INSTRUCTION_AVAILABLE 1 PF_PAE_ENABLED 1 PF_XMMI64_INSTRUCTIONS_AVAILABLE 1 PF_SSE_DAZ_MODE_AVAILABLE 0 PF_NX_ENABLED 1 PF_SSE3_INSTRUCTIONS_AVAILABLE 1 PF_COMPARE_EXCHANGE128 1 PF_COMPARE64_EXCHANGE128 0 PF_CHANNELS_ENABLED 0 PF_XSAVE_ENABLED 1 PF_ARM_VFP_32_REGISTERS_AVAILABLE 0 PF_ARM_NEON_INSTRUCTIONS_AVAILABLE 0 PF_SECOND_LEVEL_ADDRESS_TRANSLATION 1 PF_VIRT_FIRMWARE_ENABLED 0 PF_RDWRFSGSBASE_AVAILABLE 1 PF_FASTFAIL_AVAILABLE 1 PF_ARM_DIVIDE_INSTRUCTION_AVAILABLE 0 PF_ARM_64BIT_LOADSTORE_ATOMIC 0 PF_ARM_EXTERNAL_CACHE_AVAILABLE 0 PF_ARM_FMAC_INSTRUCTIONS_AVAILABLE 0 PF_RDRAND_INSTRUCTION_AVAILABLE 1 Poro random seed: 1898438866 Setting random seed: 1898438866 ThreadSafeMessageQueue initialized PersistentFlagManager: GetFiles() 0.1535ms Translations loaded Extra translations loaded Component hash: 2651e1d8cee7dd0fd30048f562240b77 Loading MagicNumbers (??SAV/magic_numbers.xml) Loading MagicNumbers (data/magic_numbers.xml) Loading SessionNumbers (??SAV/session_numbers.xml) AudioEngine - Init Loading shaders.. RenderTextureRecorder - allocating 0 textures RenderTextureRecorder - done allocating textures Streaming_SaveSlotInfosInit Selecting save slot: 0 Selecting save slot: 1 Selecting save slot: 2 Selecting save slot: 3 Selecting save slot: 4 Selecting save slot: 5 Selecting save slot: 6 Selecting save slot: 0 Checking for autosaves MagicNumbers (??SAV/magic_numbers.xml) reload Loading MagicNumbers (??SAV/magic_numbers.xml) Loading MagicNumbers (data/magic_numbers.xml) Daily run seed: 114485590 Daily practice seed: 1619229959 Got version response from backend: 8683efd142096e8830a0647dc35dda252dd16f23 Failed to load XML file - ??STA/_last_daily_run_played.xml Selecting save slot: 0 Load_Threaded Clearing bones Mods init Initializing file was changed in the watch folderfile was changed in the watch folder subsystem Mod enabled: evaisa.arena 0 Mod enabled: evaisa.mp 0 Calling init.lua 0 LUA: Prevented loading of data/scripts/init.lua Calling init.lua evaisa.arena 0 Calling init.lua evaisa.mp 0 luaopen_noitapatcher 19C101C0 Couldn't find set active inventory function Couldn't find game mode items. Couldn't find duplicate pixel scene check. np::serialise_entity_func: 00B4AC30 np::deserialise_entity_func: 00B4B280 item_pick_upper_find: 00C91527 0114828D 00000000 006DF9D0, 006E0CE0 found TakeDamage_Impl: 00BAF760 Lua error - error loading module 'luasteam' from file './mods/evaisa.mp/bin/luasteam.dll': The specified module could not be found. Stack traceback: [C]: in ? [C]: in function 'require' [string "mods/evaisa.mp/init.lua"]:214: in main chunk Lua (DoFile) error at 'mods/evaisa.mp/init.lua': error loading module 'luasteam' from file './mods/evaisa.mp/bin/luasteam.dll': The specified module could not be found. Stack traceback: [C]: in ? [C]: in function 'require' [string "mods/evaisa.mp/init.lua"]:214: in main chunk OnModPreInit OnModInit OnModPostInit Mods init done Applying magic numbers appends Applying materials file appends Loading MagicNumbers (??SAV/magic_numbers.xml) Loading MagicNumbers (data/magic_numbers.xml) Loading MagicNumbers (mods/evaisa.arena/files/magic.xml) new worldseed gen: 770218130 Translations loaded Extra translations loaded World seed: 770218130 InitStreaming() PersistentFlagManager: GetFiles() 0.0298ms Loading textures for materials... done ProceduralTerrain::Init( mods/evaisa.arena/files/scripts/world/map_arena.lua ) ProceduralTerrain - worldseed: 770218130 Lua error - GlobalsGetValue( key:string, default_value:string = "" ) GlobalsGetValue( holyMountainCount ) - WorldState doesn't exist at the moment Stack traceback: [string "mods/evaisa.arena/files/scripts/misc/random_a..."]:8: in function 'f' [string "__loaded={} dofile=function(filename) local f..."]:1: in function 'dofile' [string "mods/evaisa.arena/files/scripts/misc/generate..."]:3: in function 'f' [string "__loaded={} dofile=function(filename) local f..."]:1: in function 'dofile' [string "mods/evaisa.arena/files/scripts/world/biomes/..."]:4: in main chunk Lua error - (skipping logging of recurring lua errors) Generating world...world done World generation took: 12.814 ms ProceduralTerrain::Init took: 76.0748 ms GridThreads size: 64 mConverts.rate.x: 10, 10 global_gravity: 100 Loading 1 : 1.87499 Generating world state EntityManager::InsertComponent - had to resize, performance killer? Loading 2 : 1.8813 Loading 3 : 1.95595 Loading 4 : 1.95689 Warning! BaseFile child entities aren't loaded for base: data/entities/animals/firemage.xml Warning! BaseFile child entities aren't loaded for base: data/entities/animals/giantshooter.xml Warning! BaseFile child entities aren't loaded for base: data/entities/animals/slimeshooter.xml Warning! BaseFile child entities aren't loaded for base: data/entities/animals/slimeshooter.xml Warning! BaseFile child entities aren't loaded for base: data/entities/animals/turret_right.xml Warning! BaseFile child entities aren't loaded for base: data/entities/animals/acidshooter.xml Warning! BaseFile child entities aren't loaded for base: data/entities/buildings/firetrap_left.xml Warning! BaseFile child entities aren't loaded for base: data/entities/buildings/spittrap_left.xml Warning! BaseFile child entities aren't loaded for base: data/entities/buildings/thundertrap_left.xml Warning! BaseFile child entities aren't loaded for base: data/entities/buildings/arrowtrap_left.xml Loading 5: 3.58976 Loading 6: 3.59101 Loading took: 12.3894 (preload took: 1.63383) Loading shaders.. DEBUG_LOADED_FROM_AUTOSAVE: 0 DEBUG_LOADED_FROM_OLD_VERSION: 0 NOTE: Running the game with data.wak Gridworld::CreateNewWorld - P1: -1024, -1024 2511.49ms, edge gfx: 0.2445 ms, P2: 0.2543 ms. At -1024, -1024 Gridworld::CreateNewWorld - P1: -512, -1024 2515.82ms, edge gfx: 0.5345 ms, P2: 0.3697 ms. At -512, -1024 Gridworld::CreateNewWorld - P1: -1024, -512 2521.13ms, edge gfx: 0.2348 ms, P2: 0.2998 ms. At -1024, -512 Gridworld::CreateNewWorld - P1: -512, -512 2527.84ms, edge gfx: 0.2642 ms, P2: 0.4073 ms. At -512, -512 Gridworld::CreateNewWorld - P1: 0, -512 2532.43ms, edge gfx: 0.2331 ms, P2: 0.3628 ms. At 0, -512 Gridworld::CreateNewWorld - P1: -512, 0 2536.24ms, edge gfx: 0.2438 ms, P2: 0.2882 ms. At -512, 0 Gridworld::CreateNewWorld - P1: 0, 0 2539.93ms, edge gfx: 0.2328 ms, P2: 0.4158 ms. At 0, 0 SpawnPlayer, because no joystick is connected Loading player (new): data/entities/player.xml InventoryGui - ImGuiContext created Lua loading file: data/scripts/magic/amulet.lua - done (0.1102 ms) player loaded at: 0, 0 Finding player pos: 10 HandleEvent - Player Entity Destroyed Gridworld::CreateNewWorld - P1: 512, -512 39.2168ms, edge gfx: 0.2548 ms, P2: 0.3612 ms. At 512, -512 Gridworld::CreateNewWorld - P1: 1024, -512 42.9032ms, edge gfx: 0.2328 ms, P2: 0.3376 ms. At 1024, -512 Gridworld::CreateNewWorld - P1: 512, 0 88.8799ms, edge gfx: 0.2324 ms, P2: 0.4545 ms. At 512, 0 Gridworld::CreateNewWorld - P1: 1024, 0 92.5372ms, edge gfx: 0.2363 ms, P2: 0.3883 ms. At 1024, 0 Gridworld::CreateNewWorld - P1: -512, 512 121.589ms, edge gfx: 0.5472 ms, P2: 0.3067 ms. At -512, 512 Gridworld::CreateNewWorld - P1: 0, 512 125.359ms, edge gfx: 0.2327 ms, P2: 0.3937 ms. At 0, 512 Gridworld::CreateNewWorld - P1: 512, 512 130.515ms, edge gfx: 0.5248 ms, P2: 0.3837 ms. At 512, 512 Gridworld::CreateNewWorld - P1: 1024, 512 134.188ms, edge gfx: 0.2337 ms, P2: 0.3984 ms. At 1024, 512 Translations loaded Extra translations loaded LUA: Prevented loading of data/scripts/init.lua ```

What was Expected

It should work

Troubleshooting Attempted

Ismoh commented 7 months ago

You unfortunately need to use Noita Steam version to get this mod working. It's using Steams NetworkingAPI, which the GOG version doesn't support.

EvaisaDev commented 6 months ago

This won't change as the mod heavily makes use of Steam API for all networking related things.