Can a non-Windows peep test my love file?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Can a non-Windows peep test my love file?

Post by togFox »

So I don't have Linux or Mac - (edit: and know nothing about them and don't want to VM/emulate them) but I am keen to make my LOVE file available to this audience. I'm hoping a kind soul can d/l the love file and follow the flow I've captured in screenshots. It's all about read/write operations and I want to ensure they work on non-Windows.

Love file is on itch.io page.

1) Download and run the love file from the itch.io page

2) Check the version is ** v0.07 ** then click "Create League". See screenshot.

Image

3) Invent a name for the new league, type it in and then click "Continue". The cursor is not right - known issue. See screenshot.

Image

4) Ensure you can see a bunch of names on the screen. This signals success. :) See screenshot.

Image

5) Quit the game and restart

6) Click the "Load league button. See screenshot.

Image

7) Click the folder with the name of your league. Click "Load". See screenshot.

Image

8) Check that the names appear on the screen again.

Success. :)

https://togfox.itch.io/backyard-gridiron-manager
Last edited by togFox on Sat Mar 23, 2024 11:02 am, edited 4 times in total.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
User avatar
keharriso
Party member
Posts: 109
Joined: Fri Nov 16, 2012 9:34 pm

Re: Can a non-Windows peep test my love file?

Post by keharriso »

For Linux, you can very easily set up a VM to do your testing. Look into installing and hosting Linux on Virtual Box.
LÖVE-Nuklear - a lightweight immediate mode GUI for LÖVE games
Griff
Prole
Posts: 8
Joined: Sat Feb 03, 2024 9:46 pm

Re: Can a non-Windows peep test my love file?

Post by Griff »

Can confirm doesn't work on android apparently you need some file called first name or something

Thought I should clarify the android keyboard is most likely not prompted and programmed.
User avatar
dusoft
Party member
Posts: 655
Joined: Fri Nov 08, 2013 12:07 am
Location: Europe usually
Contact:

Re: Can a non-Windows peep test my love file?

Post by dusoft »

Linux tester here (Ubuntu flavor), Error after clicking Continue to draft:

Code: Select all

Error

lib/commonfunctions.lua:556: bad argument #1 to 'lines' (firstnames.csv: No such file or directory)


Traceback

[love "callbacks.lua"]:228: in function 'handler'
[C]: in function 'lines'
lib/commonfunctions.lua:556: in function 'loadLinesFromTextfile'
functions.lua:122: in function 'createDraftPool'
createnewleague.lua:85: in function 'mousereleased'
main.lua:128: in function <main.lua:119>
[love "callbacks.lua"]:154: in function <[love "callbacks.lua"]:144>
[C]: in function 'xpcall'
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Can a non-Windows peep test my love file?

Post by togFox »

Hmm. Makes sense now - I think I need to zip the love file with that csv. Thanks!
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
User avatar
marclurr
Party member
Posts: 158
Joined: Fri Apr 22, 2022 9:25 am

Re: Can a non-Windows peep test my love file?

Post by marclurr »

Following your steps works fine for me using Ubuntu 20.04.6. When I load up another file that's there called "draftpo" I get the below error (maybe you're expecting that just thought I'd give you the stacktrace anyway):

Code: Select all

Error

functions.lua:115: attempt to get length of global 'TEAMS' (a nil value)


Traceback

[love "callbacks.lua"]:228: in function 'handler'
functions.lua:115: in function 'populateDraftOrder'
functions.lua:266: in function 'loadLeague'
loadleague.lua:29: in function 'mousereleased'
main.lua:144: in function <main.lua:119>
[love "callbacks.lua"]:154: in function <[love "callbacks.lua"]:144>
[C]: in function 'xpcall'
Edit: Just noticed you re-uploaded minutes before I downloaded so I guess this is essentially a retest of dusoft's error. Looks like you fixed it :)
User avatar
marclurr
Party member
Posts: 158
Joined: Fri Apr 22, 2022 9:25 am

Re: Can a non-Windows peep test my love file?

Post by marclurr »

Dug out my old Macbook Pro running OSX 10.15.7 and it works fine there too, though the splash screen doesn't seem to display properly. It's contained to the top left of the screen with some artifacting at to the right and bottom of the image (though I suspect this is just what's drawn offscreen when it's displaying correctly)
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Can a non-Windows peep test my love file?

Post by togFox »

Thanks all - I added a zip file to itch.io minutes after acknowledging your errors. I'll assume now this works on Ubuntu and Mac.

The splash screen is a different problem I was not aware of so thanks for reporting that too!

edit: the teams error is also new - thanks for reporting that.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
User avatar
dusoft
Party member
Posts: 655
Joined: Fri Nov 08, 2013 12:07 am
Location: Europe usually
Contact:

Re: Can a non-Windows peep test my love file?

Post by dusoft »

Now it's working. Save and load works.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest