Opened 15 months ago

Last modified 15 months ago

#112 new enhancement

GameMaker Studio fails to load with non-existing api KERNEL32.DLL -> GetConsoleWindow

Reported by: lewisr Owned by:
Priority: major Milestone: general enhancement
Component: odin Version: 0.8.9
Severity: high Keywords:
Cc:

Description

Attempted to run Undertale, which is a retro-style game utilizing the GameMaker Studio engine.

The exe required the following dlls (copied from XP SP3):

 4-14-08   5:41          60,416      0  cabinet.dll
 4-14-08   5:41         640,000      0  dbghelp.dll
 4-14-08   5:42       1,724,416      0  GdiPlus.dll

after which, the game started, but failed with the above non-existing API message panel (under pe and pec).

I enabled WIN32 logging, but can't find the log. I will post the screen output in-line.

Getting these games to run on OS/2 under Odin32 (vs building a port of the Linux engine) would be a boost for the platform, given our newly-rediscovered popularity among the gaming community.

Change History (2)

comment:1 Changed 15 months ago by lewisr

Console output during loading:

***************************************
*     YoYo Games Runner v1.0(999)[r32908]    *
***************************************
RunnerLoadGame: C:\VAR\TEMP\IXP000.TMP\data.win
#########################################################################
####!!!!$$$$$$ pwd - C:\VAR\TEMP\IXP000.TMP\
#########################################################################
RunnerLoadGame() - C:\VAR\TEMP\IXP000.TMP\data.win
Checking if INIFile C:\VAR\TEMP\IXP000.TMP/options.ini Exists
C:\VAR\TEMP\IXP000.TMP/options.ini file contents: [Windows]
CreateTexturesOnDemand=0
AlternateSyncMethod=0
VertexBufferMethod=1
SleepMargin=1

Reading File C:\VAR\TEMP\IXP000.TMP\data.win
Loaded File C:\VAR\TEMP\IXP000.TMP\data.win(57056102)
IFF wad found
Get Resolution
Get Header Information
InitGMLFunctions
HighScore..SavePrePend = %localappdata%\UNDERTALE\
Error! not allowing save with filename 'C:\var\temp\ixp000.tmp\hiscore.dat'
Error! not allowing save with filename '¯ëÇ'
Game..Math..Graphic..Action..File..Resource..Interaction..3D..Particle..Misc..DS
..Sound..Physics..Gamepad..GAMEPAD: 4 axis values (last) at 0x677a1a0
GAMEPAD: 4 axis values (last) at 0x677a580
GAMEPAD: 4 axis values (last) at 0x677a960
GAMEPAD: 4 axis values (last) at 0x677ad40
Buffers..Networking..Shaders..InitPushFunctions...YoYo..Error! not allowing save
 with filename 'C:\var\temp\ixp000.tmp\playerachievementcache.dat'
Fini
Code_Load()
VARI_Load()
got 160 global variables
got 3649 instance variables
got 1 local variables
ID_STRG
Create Window
AdjustWindowRectEx
RegisterClassEx
CreateWindowEx

(The last three lines are output after clicking Abort in the error panel.)

Note other issues reported above, including the inability to create files. C: is a JFS volume.

comment:2 Changed 15 months ago by lewisr

Links for reference:

YoYo Games (developer of GameMaker Studio)

Game Maker Programming at WikiBooks

Undertale official site

Note: See TracTickets for help on using tickets.