lovebrew / lovepotion

LÖVE for Nintendo Homebrew
https://lovebrew.org
Other
538 stars 40 forks source link

[BUG] RomFS mode not working #125

Closed Nehemek closed 3 years ago

Nehemek commented 3 years ago

When running LovePotion in a fused mode created by the lovebrew tool or the 3dsxtool it will still try to locate the game directory and as it fails to do so will stop executing with an error.

System: 3ds v11.14.0-46U CFW: Luma v10.2.1 Method of execution: Homebrew App LÖVE Potion version: 2.0.0

TurtleP commented 3 years ago

ref error:

boot.lua: 704: Cannot load game at path 'sdmc:/3ds/game'.
Make sure a folder exists at the specified path.

Traceback

[C]: in function 'error'
[C]: in function 'xpcall'
[C]: in function 'xpcall'

will look into this more, as it's high priority

TurtleP commented 3 years ago

Seems that looking at LÖVE's logic for this, I'm following it, but since we use RomFS and not a straight-up zip file fused into the executable I have to.. change it up a little. I'll do some testing here soon when I can to fix this.

TurtleP commented 3 years ago

Fixed in commit 689aa40