Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Moonring

A Retro, Ultima-inspired RPG with modern design sensibilities! · By Fluttermind, bbbscarter

Linux version ?

A topic by berru_dev created 67 days ago Views: 567 Replies: 11
Viewing posts 1 to 9

Hey, that’s totally my kind of game. Thanks for the hard work and making it free. Unfortunately I don’t have windows. Do you plan on releasing a linux version at some point ? Even the .love file is good enough for us penguins :)

Thanks !

You know, you can just download this build here... (or the one from Steam) .
and then install "love" engine .. with your package manager, or from the site: https://love2d.org/

then just run the game by typing "love Moonring.exe" 

I did not know it worked on .exe files ! I thought it worked only on .love files. Thanks :D

(1 edit)

Did try today, it does run but crashes past the main menu with the following error :

Error

state_game_zoom.lua:1075: Could not open file data/save/firstDungeon-01.png (not found)


Traceback

[love "callbacks.lua"]:228: in function 'handler'
[C]: at 0x79627b920470
state_game_zoom.lua:1075: in function 'createDungeonWithWorldName'
state_game_zoom.lua:287: in function 'createAllMissingDungeonsAndReturnDungeonName'
state_game.lua:2237: in function 'update'
main.lua:905: in function 'update'
[love "callbacks.lua"]:162: in function <[love "callbacks.lua"]:144>
[C]: in function 'xpcall'

Just so you know. Not asking for a fix or some extra work from someone giving away their game for free. Obviously I’d be happy if some sort of workaround exists though.

I just tried running it on Linux and ran into the same error.

As the above conversation hinted, even though Moonring.exe is an exe, I'm able to treat it as a zip file and unzip it to a directory. Searching that I find no mention of firstDungeon-01.png

Looking at the files and line numbers mentioned in the above error, it looks like the code at the point of the error is trying to _create_ a file called data/save/firstDungeon-01.png. In LÖVE writes typically don't go into the directory containing the source code but a separate "save directory". On my system (and according to https://love2d.org/wiki/love.filesystem), the save directory is at ~/.local/share/love. Putting all this together, I tried creating a directory from the terminal:

mkdir ~/.local/share/love/data/save

And it seems to work! At least I'm able to get to the start of the game. I hope that helps you @berru_dev and anybody else on Linux. Feel free to ask if you run into any more issues. I love how open the devs have been with this game, and I'd be happy to give back in any small way I can.

Now, time to try it out!

Hey Kartik, thanks for the tip. Unfortunately my computer already has a ~/.local/share/love/ folder, which contains contains a Moonring/ and a MoonringPCBuild721/ directories, but the error persists. :(

(1 edit)

Oh shucks there was a typo in the command I typed in (I could swear I caught it and fixed it before hitting 'Post'..) I mean

mkdir ~/.local/share/love/Moonring/data/save

You might need to replace Moonring there with MoonringPCBuild721..

(1 edit)

Damn, you’re right it worked !

Thanks mate !

Developer(+6)

There's a lovely Linux-specific version here now.

Woohoo!

Woohoo thanks !

Thank you! Native Linux version is all I ever wanted.