Jump to content


Photo

Dosbox Problems


  • Please log in to reply
31 replies to this topic

#1 doragasu

doragasu

    Member

  • Members
  • PipPip
  • 20 posts

Posted 24 January 2011 - 01:42 PM

Is there a tutorial for DosBox detailing how to do key mappings?

I'm having trouble trying to run Prince of Persia. First I had trouble mounting the C: drive, because keyboard mappings are weird, and to print "~" symbol (needed to mount a drive) you have to guess the key combination that prints it (in this case, [FN]+[SHIFT]+[H].

Then again I had problem to change to C drive, because again, the ":" character isn't mapped where it should. To print it, you must press [FN]+[SHIFT]+[,].

Well, so far so good, I mounted the game folder, changed to C drive, ran the game, the intro looks OK, I press a key and I have the prince in level 1 waiting to start his journey through the dungeons. I press the digital and analog pads and nothing happens. I press the gamepad buttons and nothing happens. I press EVERY KEY IN THE KEYBOARD and nothing happens. The game is running because I see the fire in the wall torches moving, but it looks like cursor keys are not mapped to any key in the console, so I cannot move the prince :( .

Googling I found people telling to change mappings in the config file, but I cannot find any config files in "/<sd_root>/pandora/appdata/dosbox/*".

So... How can I make the prince walk? 60 minutes are running out... ;)

#2 Prometheus

Prometheus

    Mega GP Mania

  • X-treme Team
  • 3891 posts
  • Gender:Female

Posted 24 January 2011 - 01:44 PM

I'm pretty sure that the arrow-keys are mapped to the d-pad. Is it not working for you?

EDIT: Scratch that - I somehow missed that you'd said that you tried it. :blink:

#3 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 24 January 2011 - 02:23 PM

Is there a tutorial for DosBox detailing how to do key mappings?

I'm having trouble trying to run Prince of Persia. First I had trouble mounting the C: drive, because keyboard mappings are weird, and to print "~" symbol (needed to mount a drive) you have to guess the key combination that prints it (in this case, [FN]+[SHIFT]+[H].

Then again I had problem to change to C drive, because again, the ":" character isn't mapped where it should. To print it, you must press [FN]+[SHIFT]+[,].

Well, so far so good, I mounted the game folder, changed to C drive, ran the game, the intro looks OK, I press a key and I have the prince in level 1 waiting to start his journey through the dungeons. I press the digital and analog pads and nothing happens. I press the gamepad buttons and nothing happens. I press EVERY KEY IN THE KEYBOARD and nothing happens. The game is running because I see the fire in the wall torches moving, but it looks like cursor keys are not mapped to any key in the console, so I cannot move the prince :( .

Googling I found people telling to change mappings in the config file, but I cannot find any config files in "/<sd_root>/pandora/appdata/dosbox/*".

So... How can I make the prince walk? 60 minutes are running out... ;)


config files I think were in /<sd_root>/pandora/appdata/dosbox/.dosbox
you change them manually you want to look in mapper.txt

ctrl+F1 will bring up the ingame key mapper, try that

#4 meandu229

meandu229

    Zubeman

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 586 posts
  • Location:England(north east)
  • Interests:Everything and anything fun

Posted 24 January 2011 - 03:00 PM

I have the same problem, but I had it running previously on a pandora before I sent it away , im not aware of any changes I had done to my sd card,.

I have read somewhere that its because of the joystick setting and it needs to be on none but that doesnt seem to work for me.

edit: a link for you
http://forums.ps2dev.org/viewtopic.php?p=53079&sid=40ef8016c1d36b0028c82b5a2c37ca47

try these solutions out, i will be trying them later (after work) let me know if you have any success

Edited by meandu229, 24 January 2011 - 03:08 PM.


#5 MonkeyChops

MonkeyChops

    NO! I don't play basketball

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 949 posts
  • Gender:Male
  • Location:OHIO
  • Interests:retro games, music, drums, beer brewing

Posted 24 January 2011 - 06:40 PM

creating a config file that mounts to the correct games directory and then separate ones for each game requiring a cd image is what I do and it's simple,
See if this helps:
http://www.gp32x.com/board/index.php?/topic/54883-dosbox-question/page__view__findpost__p__884848

#6 meandu229

meandu229

    Zubeman

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 586 posts
  • Location:England(north east)
  • Interests:Everything and anything fun

Posted 24 January 2011 - 08:51 PM

Seems to be joystick problem, in dosbox fe go to preference then options and tick "start mapper".
then start as you would normally in the key mapper change the joystick 1's axis' to the up down left right and the joystick buttons ,
Should work now.

#7 Esn

Esn

    (:\

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2758 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:Art, Classical Music, Biology, Fantasy/Sci-Fi (books, art, movies, games), Crosscountry skiing, adventuring to foreign parts, and of course, handheld gaming machines. ;)

Posted 25 January 2011 - 07:44 AM

I'm also having some problems configuring keys:
http://www.gp32x.com/board/index.php?/topic/57424-dosbox/page__view__findpost__p__935554

What are the A/B/X/Y buttons actually mapped to by default?

Edited by Esn, 25 January 2011 - 07:47 AM.


#8 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 25 January 2011 - 01:50 PM

I'm also having some problems configuring keys:
http://www.gp32x.com...post__p__935554

What are the A/B/X/Y buttons actually mapped to by default?


I would expect home/endpg up/pg down, try removing the mappings for those. Keen will work as ive finished 4-6 on the pandora.

#9 EvilDragon

EvilDragon

    There can't be enough evil in this world!

  • Admin
  • PipPipPipPipPipPip
  • 7819 posts
  • Location:Ingolstadt, Germany... somewhere near Munich

Posted 25 January 2011 - 05:02 PM

Maybe a DOSBox with a proper default key configuration and an automount C-Directory would be some good thing to package.
I'll try if I can create such config :)

#10 Pickle

Pickle

    Mega GP Mania

  • X-treme Team
  • 4074 posts
  • Gender:Male
  • Location:Detroit, Michigan

Posted 25 January 2011 - 05:10 PM

Maybe a DOSBox with a proper default key configuration and an automount C-Directory would be some good thing to package.
I'll try if I can create such config :)


automounting a C drive is already included

#11 dsleaf67

dsleaf67

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 144 posts
  • Gender:Male
  • Location:Canada

Posted 25 January 2011 - 06:01 PM


Maybe a DOSBox with a proper default key configuration and an automount C-Directory would be some good thing to package.
I'll try if I can create such config :)


automounting a C drive is already included


Maybe but in appdata the only config that had the automount was for ver. .73 The v0.74 didn't. When I started dosbox I can't seem to enter in a ':' to change drive (ie. c:). I fixed it by open config and doing there. Also, I don't get anything when I try to do ctrl-F1 (with either ctrl below alt or right shoulder).

#12 Pleng

Pleng

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2944 posts

Posted 25 January 2011 - 07:40 PM

Maybe a DOSBox with a proper default key configuration and an automount C-Directory would be some good thing to package.
I'll try if I can create such config :)


I'd suggest alt, control, space and enter for the face buttons, And the two shoulder buttons as shift.

#13 Esn

Esn

    (:\

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2758 posts
  • Gender:Male
  • Location:Toronto, Canada
  • Interests:Art, Classical Music, Biology, Fantasy/Sci-Fi (books, art, movies, games), Crosscountry skiing, adventuring to foreign parts, and of course, handheld gaming machines. ;)

Posted 26 January 2011 - 01:39 AM


Maybe a DOSBox with a proper default key configuration and an automount C-Directory would be some good thing to package.
I'll try if I can create such config :)


I'd suggest alt, control, space and enter for the face buttons, And the two shoulder buttons as shift.

I think Shift should be a face button, and Enter the shoulder buttons. Enter usually brought up the menu, while shift was used on a number of games as an action key (for example, Jazz Jackrabbit, if I'm remembering correctly).

Besides, Enter is already in an easy-to-reach spot, just below the action buttons. Shift is not.

I would expect home/endpg up/pg down, try removing the mappings for those.

Thank you, deleting those in the keymapper worked. Now I can finally use this emulator! :)

@dsleaf67, I've found that opening up DOS games is easy as pie if you're using dboxfe. See the guide I wrote here: http://pandorawiki.org/DOSBox
It's really simple and easy to remember.

Also, I don't get anything when I try to do ctrl-F1 (with either ctrl below alt or right shoulder).

Are you pressing the "Fn" key while pressing "1"?

P.S. Pickle, I was wondering if you have any idea about what could be causing the bug with Jazz Jackrabbit CD: http://www.gp32x.com...post__p__935563
Two people have had it so far...

Edited by Esn, 26 January 2011 - 02:20 AM.


#14 doragasu

doragasu

    Member

  • Members
  • PipPip
  • 20 posts

Posted 26 January 2011 - 02:22 PM

Thanks for help, I'll test it as soon as possible (I'm pretty busy right now :( ).

EDIT: Tested and working!

You have to pop the screen remapper: [CTRL]+[FN]+[1], but before doing that, you must put dosbox in FULLSCREEN mode (pressing [ALT]+[ENTER]), or the keymapper will not show (I don't know why).

There you have to map the controls to the keys inside the rectangle "Axis 1/2", in the middle of the screen. Y-, Y+, X- and X+ are obvious, 1 is the walk key and 2 is the attack key.

Hope this helps for everyone having trouble to save the princess!!

Edited by doragasu, 26 January 2011 - 07:28 PM.


#15 dsleaf67

dsleaf67

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 144 posts
  • Gender:Male
  • Location:Canada

Posted 27 January 2011 - 06:47 AM

Sorry but no this doesn't help at all.

It seems my problem is more to to with keyboard somehow. Not using dosboxfe, just dosbox as I'm comfortable there. At the dos prompt I can't enter in a : (fn+.) I can do a semi-colon, or tab though. I've edited the proper .conf though to put in C: so I don't have to change drive letter manually. Therefore, I can play some games though, I played a fair amount of squarez and hexx just fine.

I can't do Ctrl+fn+1 to get mapper either no matter what. I've been able to alt+fn+4 when in xfce to close apps so I think I know how to do those combinations. All this does NOT happen if I simply hook up a USB keyboard though. I then have no issue.

This problem persists no matter which dosbox pnd I use (74 version on appstore or 74svn on archive). Also, I tried on a 4 Gig Sandisk Ultra class 4 as well same issue.


I have RC v4.6
8 GB Sandisk class 6
I'm from Canada and use all those proper north american settings (time zones etc,)

Any ideas? Anybody else using RC 4.6? Could it be this?