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

Save state location ? #192

Closed
Voljega opened this issue Jan 3, 2018 · 11 comments
Closed

Save state location ? #192

Voljega opened this issue Jan 3, 2018 · 11 comments

Comments

@Voljega
Copy link

Voljega commented Jan 3, 2018

Hello I tried to use save state with an ADF game.
Due to my special setup (amiberry is copied and launched from ram) I couldn't find the save state file.
It's also not possible to reload it wherever it is.

Expected behavior

Saving state should generate a save state file somewhere and it should be possible to reload it

Actual behavior

No save state file, and it's impossible to reload saved state even in same 'session'

Steps to reproduce the behavior

Not sure if it is my setup problem, so just try it.

@ghost
Copy link

ghost commented Jan 3, 2018

I just tried this as I just built the latest SDL1 DEV version 2 hours ago. It seems to work fine.

Savestates are saved in -
amiberry/savestates

and the screenshot in -
amiberry/screenshots

@Voljega
Copy link
Author

Voljega commented Jan 3, 2018

Ok I don't have any savestates sub directory so maybe it's the issue I will try creating one

@midwan
Copy link
Collaborator

midwan commented Jan 3, 2018

@Voljega Yes, you'll need those directories under the executable in order to generate the files.
Perhaps we can add those as configurable under the "Paths" panel, because now they're hardcoded to be expected under the binary's starting location...

@HoraceAndTheSpider
Copy link
Contributor

@midwan yes, when I am working on state improvements i am planning on adding the path values :)

@Voljega
Copy link
Author

Voljega commented Jan 3, 2018

cool, anyway if needed we may patch it on our side, recalbox including standard common paths for saves and screenshots for all emulators

on a side note, not far from the subject (paths), I noticed a minor bug when the bios path in adfdir.conf doesn't include the last / (/recalbox/share/bios instead of /recalbox/share/bios/ for instance), the 'ROM' menu is not populated with the bios files even when they were well written in adfdir.conf

The emulator still works fine though and manages to find the bios, it's only a GUI minor issue

@midwan
Copy link
Collaborator

midwan commented Jan 3, 2018

@Voljega Thanks for that, I'll look into it...
Can we close this issue in the meantime?

@midwan
Copy link
Collaborator

midwan commented Jan 3, 2018

@Voljega err, wait.. "bios path" ? I don't think we have such an entry there...

@Voljega
Copy link
Author

Voljega commented Jan 3, 2018

Hmmm in GUI it's in Paths and it's named 'System Roms'
But it's named rom_path in adfdir.conf :

path=/tmp/amiga/amiberry/adf/
config_path=/tmp/amiga/amiberry/conf/
rom_path=/recalbox/share/bios/
ROMs=6
ROMName=CD32 extended ROM rev 40.60 (512k)
ROMPath=/recalbox/share/bios/CD32ext.rom
ROMType=4
ROMName=KS ROM v1.3 (A500,A1000,A2000) rev 34.5 (256k) [315093-02]
ROMPath=/recalbox/share/bios/kick13.rom
ROMType=1
ROMName=KS ROM v2.04 (A500+) rev 37.175 (512k) [390979-01]
ROMPath=/recalbox/share/bios/kick20.rom
ROMType=1
ROMName=KS ROM v3.1 (A1200) rev 40.68 (512k) [391773-01/391774-01]
ROMPath=/recalbox/share/bios/kick31.rom
ROMType=1
ROMName=CD32 KS ROM v3.1 rev 40.60 (512k)
ROMPath=/recalbox/share/bios/kick31CD32.rom
ROMType=2
ROMName= AROS KS ROM (built-in) (1024k)
ROMPath=:AROS
ROMType=1

So the same file with rom_path=/recalbox/share/bios instead and you encounter the issue I described

and yes you can close the Save State issue :) (I confirm it works when the subdirectory savestates is created)

@midwan
Copy link
Collaborator

midwan commented Jan 3, 2018

@Voljega Thanks for confirming.
Regarding the paths issue, the default is binarydir/kickstarts/ - I assume you changed the value and saved the config? Is that when the problem occurred?
Or did you follow another route?

@Voljega
Copy link
Author

Voljega commented Jan 3, 2018

No I generate programmatically my adfdir.conf (as pasted) in binarydir/conf alongside my *.uae file and then launch the emulator with just ./amiberry and everything loads quite nicely

@midwan midwan closed this as completed Jan 3, 2018
@midwan
Copy link
Collaborator

midwan commented Jan 3, 2018

@Voljega commit 1bf216e should have fixed that ;)

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

3 participants