VOGONS


mapper.txt missing

Topic actions

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 1 of 16, by hydr0x

User metadata
Rank Newbie
Rank
Newbie

You're probably using Vista. If so you don't have writing rights for the program files folder. Just move DOSBox to another folder like c:\tools\ and it should work.

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 3 of 16, by hydr0x

User metadata
Rank Newbie
Rank
Newbie

sure, but having DOSBox in a restricted path produces other problems as well, like when you want to use a frontend to edit the conf or anything like that

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 5 of 16, by dbarton

User metadata
Rank Member
Rank
Member

No, im using XP.

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

Reply 6 of 16, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The mapper file is in the DOXbox folder.

Obviously not in the default installation folder.

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 11 of 16, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Why 0.70?

Reply 12 of 16, by dbarton

User metadata
Rank Member
Rank
Member

I'm using Don Wells patch for MIDI output (TESTMT32), and that is only in .70 as far as I know.

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 14 of 16, by dbarton

User metadata
Rank Member
Rank
Member

the error messgae is:

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

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

Reply 16 of 16, by dbarton

User metadata
Rank Member
Rank
Member

One was wriiten from my memory when I wasnt in frotn of the machne...

The error message points to the real place..