DOSBox - saving? Write permissions...?
-
@Concat
Hi, for me the first point "I created a new folder in ROMS" sounds wrong.
That seems to be the problem, you have to place the game in the correct folder.I have dozens of dos-games running and all games are installed in a subfolder of
/home/pi/RetroPie/roms/pc.... So i have lots of subfolders there which respresent my games like "Doom", "Civilization" and so on.
In the Emulationstation Menu i've made a boxshot for every game, so it looks quite nice.
When i start a game i klick on the games name, and get into his subfolder, where i start the game with the original executable of the game.
This keeps the old "Dos Feeling" and it looks quite organized.For special games (who need special configs of dosbox, or which need ISO Files mounted to run)
i made up special .sh scripts for starting the games in that given subfolder.
I placed all ISO files for the games in a special ISO folder in /roms/pc...You can do these sh.scripts for every game if you want, to keep it looking clean.
You can tell Emulation Station to ignore other files than *.sh, so all other files are not visible.
But i don't want that, because some games got more than one executable file, lets say an editor or something, which i may want to start as well.It runs very well, no issues.
Greetings
HPK-de
-
@Concat ok so have you given a 0777 permissions to the folder and all its content where you are "housing your games? Everytime you add stuff you need to give permissions to all those files and folders as well. If the folders dont have permissions you cant create save files in them.
-
@HPK-de i have several dos games myself. Not a single one is in the pc folder. They are seperated by game/game series then i have a .sh for each game to have in a main list and i have the es_systems.cfg info for all these categories with them looking for .sh only no .exe. I make themes for all my different games or series. You dont have to limit yourself to the confines of the pc folder.
-
@edmaul69 said in DOSBox - saving? Write permissions...?:
@Concat ok so have you given a 0777 permissions to the folder and all its content where you are "housing your games? Everytime you add stuff you need to give permissions to all those files and folders as well. If the folders dont have permissions you cant create save files in them.
Nope! I haven't. lol. How do I change this? chmod, right?
My games launch just fine... so I'm not confused about how to setup the bash scripts or the cfg file. I just can't map the Doom controls because the settings don't save :)
-
@Concat chmod +x for is what you need to do for .sh and chmod -R 777 for the folder and files i believe. if you use an ftp program, in winscp you just right click on the folder that you are putting your stuff in and choose properties and change permissionsto 0777 and checkmark the box for "set group, owner and permissions recursively". not sure if other ftp programs are the same or not. however for doom games you are far better off using ports with pr-boom. its fullscreen and controls are already configured like retroarch.
-
Thanks. I appreciate it.
I reset the folder permissions using winscp and changed the owner and group from root to pi... but Doom still won't save the settings when I run setup.exe. The actual game does save game progress though... so I guess it's not a permissions issue after all.
I guess I will just move my WAD file for and roll with prboom. Im just used to using dosbox for Doom :)
-
@edmaul69 chmod 777 is rwx for user, group and all. Chmod +x is the same as adding x for all. It's not a good idea imho to just chmod things to 777. In most cases you want 644 for files and 755 for folders, but with pi ownership. Google Unix file permissions for more info
-
@BuZz the problem i have with dosbox is you get a "disk is write protected" error if you dont have better permissions on the right files, but how can you tell which files are the save files that need more permissions or not? I agree with you that you dont want to do it with everything but in the case of dosbox i dont know any way around it. And games wont even run for me if i dont give more permissions to the .exe files.
-
@Concat if you press ctrl and f1 while in a game dosbox has a keyboard mapping that you can set keyboard keys to your controller. That is how i have my controls set up in dosbox. I set my start button as esc because that brings up your menu to choose anything including quit. You need a mouse plugged in to navigate in it.
-
@edmaul69 said in DOSBox - saving? Write permissions...?:
@BuZz the problem i have with dosbox is you get a "disk is write protected" error if you dont have better permissions on the right files, but how can you tell which files are the save files that need more permissions or not? I agree with you that you dont want to do it with everything but in the case of dosbox i dont know any way around it. And games wont even run for me if i dont give more permissions to the .exe files.
I would need to see some example of a path to advise (showing the current permissions).
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.