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

User data read-only? #14

Closed
mariomadproductions opened this issue Aug 17, 2023 · 10 comments
Closed

User data read-only? #14

mariomadproductions opened this issue Aug 17, 2023 · 10 comments

Comments

@mariomadproductions
Copy link

It seems to mount it under /var/lib/flatpak/app/io.github.Arisotura.CoinKiller/current/active/files/bin/coinkiller_data, which is read-only. So updating the sprite data fails, as does saving settings like the RomFS folder. This is on Linux Mint 20.3, with that flatpak installed via the Software Manager.

@JakobDev
Copy link
Collaborator

The user data is saved under ~/.var/app/io.github.Arisotura.CoinKiller/data/Blarg City/CoinKiller/coinkiller_data and the user config is saved under ~/.var/app/io.github.Arisotura.CoinKiller/config/Blarg City`. Both are writeable. The directory you mentioned contains program data but not user data. I' m able to save the settings. Could you take a look at the directories I mentioned?

@mariomadproductions
Copy link
Author

Strange. What distro are you using?

This is how it is on my PC:

$ cd /var/lib/flatpak/app/io.github.Arisotura.CoinKiller/current/active/files/bin/coinkiller_data
$ ls
backgrounds         entrancetypes.txt  spritecategories.xml  tileoverlays
blank_course.bin    icons              spritedata.xml        tileoverrides
blank_level.sarc    languages          sprites               tilesetnames.txt
blank_tileset.sarc  levelnames.txt     tilebehaviors.xml     worldnames.txt
entrances           musicids.txt       tilecollisions
$ touch test
touch: cannot touch 'test': Permission denied
$ sudo touch test
[sudo] password for user:         
$ sudo rm test
$ cd ~/.var/app/io.github.Arisotura.CoinKiller/data/
$ ls
$ touch test
$ rm test

@JakobDev
Copy link
Collaborator

JakobDev commented Aug 21, 2023

Why did you want to write to /var/lib/flatpak/app/io.github.Arisotura.CoinKiller/current/active/files/bin/coinkiller_data? You should not need to do this.

What distro are you using?

Manjaro. But this should not matter.

@mariomadproductions
Copy link
Author

Why did you want to write to /var/lib/flatpak/app/io.github.Arisotura.CoinKiller/current/active/files/bin/coinkiller_data? You should not need to do this.

Ah, so this is just where the default files are stored? I'm not sure why CoinKiller is not writing to ~/.var/app/io.github.Arisotura.CoinKiller/data/ then.

@JakobDev
Copy link
Collaborator

Could you link to a documentation that describe what you are trying to do?

@mariomadproductions
Copy link
Author

Could you link to a documentation that describe what you are trying to do?

I don't think there is any, but I'm trying to update the sprite data, and save the RomFS folder. Just normal CoinKiller functions.

@JakobDev
Copy link
Collaborator

All data you edit from the RomFS folder should be saved in the RomFS directory and nowhere else

@mariomadproductions
Copy link
Author

All data you edit from the RomFS folder should be saved in the RomFS directory and nowhere else

Normally, CoinKiller will save the last-opened folder, and be able to update spritedata from the online database. That functionality doesn't appear to be working.

@JakobDev
Copy link
Collaborator

Normally, CoinKiller will save the last-opened folder

It works for me. Did you have Settings>Load last ROMFS checked?

be able to update spritedata from the online database

I have created a Issue upstream for this

@mariomadproductions
Copy link
Author

Normally, CoinKiller will save the last-opened folder

It works for me. Did you have Settings>Load last ROMFS checked?

Whoops, I didn't. Working now that I've checked that box.

be able to update spritedata from the online database

I have created a Issue upstream for this

Ah I see, its not something on my end then. Thanks.

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