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

Screenshot location #4

Open
Nopey opened this issue Dec 20, 2017 · 2 comments
Open

Screenshot location #4

Nopey opened this issue Dec 20, 2017 · 2 comments

Comments

@Nopey
Copy link

Nopey commented Dec 20, 2017

You have the screenshot filepath set to /media/ramdisk
I think that /tmp is a better location, as its a standard ramdisk.
Alternatively, the creation of /media/ramdisk should be included in the installation guide.
Cheers!
config.lua:

-- filepath where current game's last screenshot will be saved
-- ideally on a ramdisk (for speed and less stress on the hard drive)
SCREENSHOT_FILEPATH = "/media/ramdisk/mario-ai-screenshots/current-screen.png"
@aleju
Copy link
Owner

aleju commented Dec 21, 2017

Do you mean something like /tmp/ramdisk or just /tmp? I think /tmp itself is usually not a ramdisk. Might make sense to use /tmp/ramdisk - I don't know what the convention there is.

Btw, the readme contains under "installation procedure" a small chapter about the ramdisk stuff.

@Nopey
Copy link
Author

Nopey commented Dec 22, 2017

/tmp is mounted as tmpfs on Ubuntu.
To see if it is mounted that way, you can run mount | grep tmpfs,
which will list all of the tmpfs mountpoints on your system.
Thanks, I see the section now.

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

No branches or pull requests

2 participants