Skip to content

Crashing while running Luadev r0 (lua interpreter) #19085

@BrownNPC

Description

@BrownNPC

Game or games this happens in

Luadev r0 (lua interpreter)

What area of the game / PPSSPP

EDIT: Strangely, this seems to be font related, see below.

PPSSPP no longer supports this old homebrew lua interpreter
It used to work on version 1.9.3
and it does work on jpcsp.

How to reproduce:

git clone https://github.com/jcnmsg/luadev-r0-psp.git
mkdir ./luadev-r0-psp/projects/hello-world-test
cp ./luadev-r0-psp/EBOOT.PBP ./luadev-r0-psp/projects/hello-world-test/

create a file script.lua in ./luadev-r0-psp/projects/hello-world-test/

blue = color.new(0,0,255) 
white = color.new(255, 255, 255)
black = color.new(0, 0, 0)
 
screen.print(10, 10, "Hello world!" , 0.6, blue, blue)
screen.print(10, 26, "This is my first program and it runs on the PSP!" , 0.4, white, black)
 
screen.flip()
 
while true do
    screen.waitvblankstart()
end

start EBOOT.PBP in ./luadev-r0-psp/projects/hello-world-test/EBOOT.PBP

What should happen

PPSSPP shouldn't crash and handle the unimplemented features.

Logs

13:44:177 user_main    E[FILESYS]: FileSystems/DirectoryFileSystem.cpp:58 DirectoryFileSystem::OpenFile('/syslib.prx'): FAILED, 2 - access = 1 ''
13:44:177 user_main    E[LOADER]: HLE/sceKernelModule.cpp:2030 80010002=sceKernelLoadModule(umd0:/syslib.prx, 00000000, 00000000): file does not exist
13:44:178 user_main    E[FILESYS]: FileSystems/DirectoryFileSystem.cpp:58 DirectoryFileSystem::OpenFile('/recovery.lua'): FAILED, 2 - access = 1 ''
13:44:188 user_main    E[FILESYS]: FileSystems/DirectoryFileSystem.cpp:58 DirectoryFileSystem::OpenFile('/recovery.lue'): FAILED, 2 - access = 1 ''
13:44:208 user_main    E[FILESYS]: FileSystems/DirectoryFileSystem.cpp:58 DirectoryFileSystem::OpenFile('/script.lue'): 
FAILED, 2 - access = 1 ''

Platform

Linux / BSD

Mobile device model or graphics card (GPU)

GT 720

PPSSPP version affected

PPSSPP v1.17.1 [flatpak]

Last working version

1.9.3

Graphics backend (3D API)

OpenGL / GLES

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HomebrewIssues only noticed in homebrew appsPGF / sceFontIssue involves PGF fonts.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions