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

[Bug]: 3.0.1: Basic "Hello World" Regression #227

Open
1 task done
idanmiara opened this issue May 7, 2024 · 5 comments
Open
1 task done

[Bug]: 3.0.1: Basic "Hello World" Regression #227

idanmiara opened this issue May 7, 2024 · 5 comments
Labels

Comments

@idanmiara
Copy link

idanmiara commented May 7, 2024

Software Version

3.0.1

What Happened?

Trying to run Love Potion 3.0.1 with any game (i.e. provided Hello World sample) fails: The software was closed because an error occurred
It does work with Love Potion 2.4.1

What was Expected?

The sample program should work like in v3.0.1 like it works in 2.4.1

Code to Reproduce

extract the 3.0.1 switch release (nro+elf files) to /switch/lovepotion/ and put the following sample in /switch/lovepotion/game/main.lua:

function love.draw()
    love.graphics.print("Hello World!", 200, 100)
end

run Love Potion from the Home Brew menu (game overload method)

zipping it into an individual hello.love and running it yields the same results (works in 2.4.1, fails in 3.0.1)

Console

Nintendo Switch

Firmware Version(s)

18.0.1

Custom Firmware Version

AMS 1.7.0

Execution Method

Homebrew Menu

Code of Conduct

  • I have read the Code of Conduct and agree to these terms
@idanmiara idanmiara added the bug label May 7, 2024
@TurtleP
Copy link
Collaborator

TurtleP commented May 7, 2024

Could you run the debug version from this last GitHub Action for 3.0? It might help, as I use the debug versions of libraries for these. On top of that, I believe atmosphere should have dumped a log file onto your sd card. If you could provide that as well it would help with debugging.

https://github.com/lovebrew/lovepotion/actions/runs/8425942857

@TurtleP TurtleP changed the title [Bug]: 3.0.1: The software was closed because an error occurred (regression from 2.4.1) [Bug]: 3.0.1: Basic "Hello World" Regression May 7, 2024
@idanmiara
Copy link
Author

@TurtleP Thanks for the super fast response!
Nintendo Switch (Debug)-dc59e91.zip - works!
Nintendo Switch-dc59e91.zip - doesn't work - here's the Atmosphere crash report:
https://drive.google.com/file/d/1XDNzxha8a4tLgpho80s0exHCegyrkVxZ/view?usp=sharing

@TurtleP
Copy link
Collaborator

TurtleP commented May 7, 2024

Okay, looking at the debug output I got, seems something is wrong when the Event module is converting Joystick events.. which is weird. I thought I had made a fix for some stuff recently, but maybe not committed it into main.

Either way I'll try my best to look into it, been busy working on 3.1.0. Though.. I think this is a similar issue I ran into during work on 3.1.0, so should be easy to fix.

@TurtleP
Copy link
Collaborator

TurtleP commented May 7, 2024

Okay, 3DS had the fix which is good. I must have forgotten to apply that to the other consoles as well, so there. GitHub Actions is failing which shouldn't be happening.. so give me a moment to figure that out.. once it's built you can try the new deployed binaries.

@TurtleP
Copy link
Collaborator

TurtleP commented May 7, 2024

Okay, fixed up GitHub Actions, needed to do a small tweak to boot.lua due to trying to set up custom certs which is no longer necessary. It should work fine now, once it finishes. Let me know how it goes.

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

No branches or pull requests

2 participants