inseven / opolua

A compiled-OPL interpreter for iOS written in Lua
https://opolua.org
MIT License
12 stars 0 forks source link

[PsiBall] Internal Error: mbm.lua:496: bad argument #3 to 'string_unpack' (initial position out of string) #443

Open kapfab opened 1 month ago

kapfab commented 1 month ago

Description

Error at launch

Metadata

Key Value
Title PsiBall
Source URL https://archive.org/download/3-libjune-05/3LIBJUNE05.iso/library%2Fepocgames%2Fpsiball%2FPsiBall.sis

Details

mbm.lua:496: bad argument #3 to 'string_unpack' (initial position out of string)
PSIBALL\SHOWSPLASH:00006C81: 57 [CallFunction] 0x28 (gLoadBit) numParams=3
PSIBALL\PSIBALL:0000098D: 53 [RunProcedure] 0x0365 (name="SHOWSPLASH" nargs=0)
TOOLBAR\TBARLINK: [Lua] modules/toolbar.lua:84
PSIBALL\MAIN:00000066: 53 [RunProcedure] 0x0012 (name="TBARLINK" nargs=1)
stack traceback:
    [C]: in function 'string.unpack'
    mbm.lua:496: in upvalue 'parseSEpocBitmapHeader'
    mbm.lua:515: in function 'mbm.parseBitmap'
    mbm.lua:488: in function 'mbm.parseMbmHeader'
    opl.lua:516: in function <opl.lua:500>
    (...tail calls...)
    fns.lua:589: in function 'fns.gLoadBit'
    ops.lua:1032: in function 'ops.CallFunction'
    runtime.lua:884: in function <runtime.lua:869>
    [C]: in function 'xpcall'
    runtime.lua:1003: in method 'pcallProc'
    runtime.lua:1049: in method 'callProc'
    modules/toolbar.lua:84: in field 'fn'
    runtime.lua:301: in method 'pushNewFrame'
    ops.lua:1002: in function 'ops.RunProcedure'
    runtime.lua:884: in function <runtime.lua:869>
    [C]: in function 'xpcall'
    runtime.lua:1003: in method 'pcallProc'
    runtime.lua:1290: in function 'runtime.runOpo'