VOGONS

Common searches


First post, by dbarton

User metadata
Rank Member
Rank
Member

I have the path to mapper.txt in my custom .conf file, but when I try to save it says:

can't open "c:\program files\dos-box\mapper.txt" for saving the mappings.

I created a blank mapper.txt as one didn't exist..
Any tips?

Reply 2 of 16, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Or he could change the configuration file and point the mapper file to a folder where he HAS writing rights.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 4 of 16, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Corrent, but frontends usually make their own copies of the config file, so that should not be a problem.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 7 of 16, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
dbarton wrote:

This particualr .conf is in C:\spg
The mapper file is in the DOXbox folder.

I don't think DOSBox is smart enough to load the config file from one folder, and the mapper.txt file from another. You will have to tell it exactly where that mapper.txt file is.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 8 of 16, by dbarton

User metadata
Rank Member
Rank
Member

I'm not on that machine, but as I recall I put mapper.txt in c:\program files\dos-box\ which is the location DOS box autmatically installed to..
I created a blank mapper.txt there as one didn't exist.

Since I run my .conf file from c:\spg does my mapper file have to exist in c:\spg instead?

My conf file has the full path to the mapper file listed.

Reply 9 of 16, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Your mapper file needs to be where the conf file says it is. It is that simple.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 10 of 16, by dbarton

User metadata
Rank Member
Rank
Member

I think I have this all right, but still get that error msg.

I'm using a conf with this in it:
[sdl]
etc
etc
mapperfile="c:\Program Files\DOSbox-0.70\mapper.txt"
etc
etc

The mapper.txt file is there and is empty.
I'm confused. Doesn't this all look right?

Reply 13 of 16, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
dbarton wrote:

mapperfile="c:\Program Files\DOSbox-0.70\mapper.txt"

Looks okay. And you don't start DOSBox from some frontend? Do you see anything, any error messages, in the DOSBox console window? Try with 0.72 and see if it works there. Try moving the mapper file to some other location.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 15 of 16, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Isn't it strange that you write this in your config file:

"c:\Program Files\DOSbox-0.70\mapper.txt"

and DOSBox complains about this:

"c:\program files\dos-box\mapper.txt"

??

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32