Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to run Love2d (.love) files #702

Open
drokrypto opened this issue Apr 30, 2023 · 7 comments
Open

Failed to run Love2d (.love) files #702

drokrypto opened this issue Apr 30, 2023 · 7 comments

Comments

@drokrypto
Copy link

drokrypto commented Apr 30, 2023

Whenever I try to run a .love file I receive an error:

arkos_love2d_error

Error

[love "boot.lua"]:321: No code to run
Your game might be packaged incorrectly.
Make sure main.lua its at the top level of the zip.

Traceback

[love "callbacks.lua"]:228: in function 'handler'
[C]: in function 'error'
[C]: in function 'xpcall'
[C]: in function 'xpcall'

Press Ctrl+C or tap to copy this error

I have made sure to package the game correctly. The main.love file is at the root of the .zip/.love file.

arkos_love2d_file_structure

I have used my own files as well the the test file below:
#294 (comment)

ArkOS version: 2.0 (04272023)
Device: RG353M
Host OS: macOS Ventura (13.3.1)

@christianhaitian
Copy link
Owner

Is it a game that’s compatible with version 11.4 of Love2d? https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information#love2d

@drokrypto
Copy link
Author

Yes, and the test referenced in the bug report does not work either, which is also compatible with version 11.4.

@christianhaitian
Copy link
Owner

Can you post your love package here so I can review?

@drokrypto
Copy link
Author

Can you post your love package here so I can review?

Sure, the following is the same test from the comment that I linked in the bug report:

arktest.zip

@drokrypto
Copy link
Author

Any updates?

@christianhaitian
Copy link
Owner

Not yet. sorry I haven't looked at this yet.

@FlyingDojo
Copy link

FlyingDojo commented Mar 17, 2024

@drokrypto Is your .love file laid out as below?

(love2d folder)
-arktest.zip(renamed to "arktest.love")
--main.lua
--conf.lua
--xa-final.xm
--example-folder
---example-folder-script.lua

I've tried your file and it works completely fine for me as laid out above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants