Page 1 of 1

Can a non-Windows peep test my love file?

Posted: Sun Mar 03, 2024 10:18 am
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

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

Posted: Sun Mar 03, 2024 2:18 pm
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.

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

Posted: Sat Mar 23, 2024 9:43 am
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.

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

Posted: Sat Mar 23, 2024 10:48 am
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'

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

Posted: Sat Mar 23, 2024 10:53 am
by togFox
Hmm. Makes sense now - I think I need to zip the love file with that csv. Thanks!

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

Posted: Sat Mar 23, 2024 11:17 am
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 :)

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

Posted: Sat Mar 23, 2024 11:25 am
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)

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

Posted: Sat Mar 23, 2024 12:06 pm
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.

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

Posted: Sat Mar 23, 2024 9:44 pm
by dusoft
Now it's working. Save and load works.