Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

MAME: Asteroids controls remaining default??


Recommended Posts

Posted

goto your mame folder, and make a copy of the cfg file (cut and paste it to your desktop). Then, delete everything in the mame\cfg file EXCEPT default.cfg.

Try Asteroids again.

If that doesn't help, then post the contents of your Mame\Ini\mame.ini, and your Mame\cfg\default.cfg.

Posted
goto your mame folder, and make a copy of the cfg file (cut and paste it to your desktop). Then, delete everything in the mame\cfg file EXCEPT default.cfg.

Try Asteroids again.

If that doesn't help, then post the contents of your Mame\Ini\mame.ini, and your Mame\cfg\default.cfg.

Tempest,

default.cfg:

----------------------------------------------------------------

<?xml version="1.0"?>

<!-- This file is autogenerated; comments and unknown tags will be stripped -->

<mameconfig version="10">

<system name="default">

<input>

<port type="P1_JOYSTICK_UP">

<newseq type="standard">

KEYCODE_UP

</newseq>

</port>

<port type="P1_JOYSTICKRIGHT_UP">

<newseq type="standard">

KEYCODE_W

</newseq>

</port>

<port type="P1_JOYSTICKRIGHT_DOWN">

<newseq type="standard">

KEYCODE_S

</newseq>

</port>

<port type="P1_JOYSTICKRIGHT_LEFT">

<newseq type="standard">

KEYCODE_A

</newseq>

</port>

<port type="P1_JOYSTICKRIGHT_RIGHT">

<newseq type="standard">

KEYCODE_D

</newseq>

</port>

<port type="P1_JOYSTICKLEFT_UP">

<newseq type="standard">

KEYCODE_UP

</newseq>

</port>

<port type="P1_JOYSTICKLEFT_DOWN">

<newseq type="standard">

KEYCODE_DOWN

</newseq>

</port>

<port type="P1_JOYSTICKLEFT_LEFT">

<newseq type="standard">

KEYCODE_LEFT

</newseq>

</port>

<port type="P1_JOYSTICKLEFT_RIGHT">

<newseq type="standard">

KEYCODE_RIGHT

</newseq>

</port>

<port type="P1_BUTTON1">

<newseq type="standard">

KEYCODE_Q

</newseq>

</port>

<port type="P1_BUTTON2">

<newseq type="standard">

KEYCODE_E

</newseq>

</port>

<port type="P1_BUTTON3">

<newseq type="standard">

KEYCODE_R

</newseq>

</port>

<port type="P1_BUTTON4">

<newseq type="standard">

KEYCODE_T

</newseq>

</port>

<port type="P1_BUTTON5">

<newseq type="standard">

KEYCODE_Y

</newseq>

</port>

<port type="P1_BUTTON6">

<newseq type="standard">

KEYCODE_U

</newseq>

</port>

<port type="P1_BUTTON7">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_BUTTON8">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_BUTTON9">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_BUTTON10">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_BUTTON11">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_BUTTON12">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_BUTTON13">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_BUTTON14">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_BUTTON15">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_BUTTON16">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_START">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_SELECT">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_A">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_B">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_C">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_D">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_E">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_F">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_G">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_H">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_I">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_J">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_K">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_L">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_M">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_N">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_O">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_P">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_Q">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_KAN">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_PON">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_CHI">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_REACH">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_RON">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_BET">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_LAST_CHANCE">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_SCORE">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_DOUBLE_UP">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_FLIP_FLOP">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_BIG">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_MAHJONG_SMALL">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P2_JOYSTICK_UP">

<newseq type="standard">

KEYCODE_W

</newseq>

</port>

<port type="P2_JOYSTICK_DOWN">

<newseq type="standard">

KEYCODE_S

</newseq>

</port>

<port type="P2_JOYSTICK_LEFT">

<newseq type="standard">

KEYCODE_A

</newseq>

</port>

<port type="P2_JOYSTICK_RIGHT">

<newseq type="standard">

KEYCODE_D

</newseq>

</port>

<port type="P2_JOYSTICKRIGHT_UP">

<newseq type="standard">

KEYCODE_W

</newseq>

</port>

<port type="P2_JOYSTICKRIGHT_DOWN">

<newseq type="standard">

KEYCODE_S

</newseq>

</port>

<port type="P2_JOYSTICKRIGHT_LEFT">

<newseq type="standard">

KEYCODE_A

</newseq>

</port>

<port type="P2_JOYSTICKRIGHT_RIGHT">

<newseq type="standard">

KEYCODE_D

</newseq>

</port>

<port type="P2_JOYSTICKLEFT_UP">

<newseq type="standard">

KEYCODE_UP

</newseq>

</port>

<port type="P2_JOYSTICKLEFT_DOWN">

<newseq type="standard">

KEYCODE_DOWN

</newseq>

</port>

<port type="P2_JOYSTICKLEFT_LEFT">

<newseq type="standard">

KEYCODE_LEFT

</newseq>

</port>

<port type="P2_JOYSTICKLEFT_RIGHT">

<newseq type="standard">

KEYCODE_RIGHT

</newseq>

</port>

<port type="P2_BUTTON1">

<newseq type="standard">

KEYCODE_Z

</newseq>

</port>

<port type="P2_BUTTON2">

<newseq type="standard">

KEYCODE_X

</newseq>

</port>

<port type="P2_BUTTON3">

<newseq type="standard">

KEYCODE_C

</newseq>

</port>

<port type="P2_BUTTON4">

<newseq type="standard">

KEYCODE_V

</newseq>

</port>

<port type="P2_BUTTON5">

<newseq type="standard">

KEYCODE_B

</newseq>

</port>

<port type="P2_BUTTON6">

<newseq type="standard">

KEYCODE_N

</newseq>

</port>

<port type="P2_START">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P2_SELECT">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="START1">

<newseq type="standard">

KEYCODE_1

</newseq>

</port>

<port type="START2">

<newseq type="standard">

KEYCODE_2

</newseq>

</port>

<port type="START3">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="START4">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="COIN1">

<newseq type="standard">

KEYCODE_3

</newseq>

</port>

<port type="COIN2">

<newseq type="standard">

KEYCODE_4

</newseq>

</port>

<port type="COIN3">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="COIN4">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="BILL1">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="SERVICE1">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="SERVICE2">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="SERVICE3">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="SERVICE4">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="SERVICE">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="TILT">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="VOLUME_DOWN">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="VOLUME_UP">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_PEDAL">

<newseq type="decrement">

KEYCODE_UP

</newseq>

<newseq type="increment">

KEYCODE_DOWN

</newseq>

</port>

<port type="P2_PEDAL">

<newseq type="decrement">

NONE

</newseq>

</port>

<port type="P1_PEDAL2">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

</port>

<port type="P2_PEDAL2">

<newseq type="decrement">

NONE

</newseq>

</port>

<port type="P1_PEDAL3">

<newseq type="decrement">

NONE

</newseq>

</port>

<port type="P2_PEDAL3">

<newseq type="decrement">

NONE

</newseq>

</port>

<port type="P1_PADDLE">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

KEYCODE_RIGHT

</newseq>

<newseq type="increment">

KEYCODE_LEFT

</newseq>

</port>

<port type="P2_PADDLE">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_PADDLE_V">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_PADDLE_V">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_POSITIONAL">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_POSITIONAL">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_POSITIONAL_V">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_POSITIONAL_V">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_DIAL">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_DIAL">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_DIAL_V">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_DIAL_V">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_TRACKBALL_X">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_TRACKBALL_X">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_TRACKBALL_Y">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_TRACKBALL_Y">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_AD_STICK_X">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_AD_STICK_X">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_AD_STICK_Y">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_AD_STICK_Y">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_AD_STICK_Z">

<newseq type="standard">

NONE

</newseq>

</port>

<port type="P1_LIGHTGUN_X">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_LIGHTGUN_X">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_LIGHTGUN_Y">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_LIGHTGUN_Y">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_MOUSE_X">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_MOUSE_X">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P1_MOUSE_Y">

<newseq type="standard">

NONE

</newseq>

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

<port type="P2_MOUSE_Y">

<newseq type="decrement">

NONE

</newseq>

<newseq type="increment">

NONE

</newseq>

</port>

</input>

</system>

</mameconfig>

----------------------------------------------------------------

mame.ini:

<UNADORNED0>

#

# CORE CONFIGURATION OPTIONS

#

readconfig 1

#

# CORE SEARCH PATH OPTIONS

#

rompath roms

samplepath samples

artpath artwork

ctrlrpath ctrlr

inipath ini

fontpath .

cheatpath cheat

#

# CORE OUTPUT DIRECTORY OPTIONS

#

cfg_directory cfg

nvram_directory nvram

memcard_directory memcard

input_directory inp

state_directory sta

snapshot_directory snap

diff_directory diff

comment_directory comments

hiscore_directory hi

#

# CORE STATE/PLAYBACK OPTIONS

#

state

autosave 0

playback

record

mngwrite

aviwrite

wavwrite

snapname %g/%i

snapsize auto

snapview internal

#

# CORE PERFORMANCE OPTIONS

#

autoframeskip 0

frameskip 0

seconds_to_run 0

throttle 1

sleep 1

speed 1.0

refreshspeed 0

#

# CORE ROTATION OPTIONS

#

rotate 1

ror 0

rol 0

autoror 0

autorol 0

flipx 0

flipy 0

#

# CORE ARTWORK OPTIONS

#

artwork_crop 0

use_backdrops 0

use_overlays 0

use_bezels 0

#

# CORE SCREEN OPTIONS

#

brightness 1.0

contrast 1.0

gamma 1.0

pause_brightness 0.65

#

# CORE VECTOR OPTIONS

#

antialias 1

beam 1.0

flicker 0

#

# CORE SOUND OPTIONS

#

sound 1

samplerate 48000

samples 1

volume 0

#

# CORE INPUT OPTIONS

#

coin_lockout 0

ctrlr

mouse 0

joystick 1

lightgun 0

multikeyboard 0

multimouse 0

steadykey 0

offscreen_reload 0

joystick_map auto

joystick_deadzone 0.3

joystick_saturation 0.85

#

# CORE INPUT AUTOMATIC ENABLE OPTIONS

#

paddle_device keyboard

adstick_device keyboard

pedal_device keyboard

dial_device keyboard

trackball_device keyboard

lightgun_device keyboard

positional_device keyboard

mouse_device keyboard

#

# CORE DEBUGGING OPTIONS

#

log 0

verbose 0

update_in_pause 0

debug 0

debugscript

#

# CORE MISC OPTIONS

#

bios

cheat 0

skip_gameinfo 0

#

# WINDOWS DEBUGGING OPTIONS

#

oslog 0

watchdog 0

#

# WINDOWS PERFORMANCE OPTIONS

#

priority 0

multithreading 0

#

# WINDOWS VIDEO OPTIONS

#

video d3d

numscreens 1

window 0

maximize 0

keepaspect 1

prescale 1

effect none

waitvsync 0

syncrefresh 0

#

# DIRECTDRAW-SPECIFIC OPTIONS

#

hwstretch 1

#

# DIRECT3D-SPECIFIC OPTIONS

#

d3dversion 9

filter 1

#

# PER-WINDOW VIDEO OPTIONS

#

aspect auto

resolution auto

screen0 auto

aspect0 auto

resolution0 auto

view0 auto

screen1 auto

aspect1 auto

resolution1 auto

view1 auto

screen2 auto

aspect2 auto

resolution2 auto

view2 auto

screen3 auto

aspect3 auto

resolution3 auto

view3 auto

#

# FULL SCREEN OPTIONS

#

triplebuffer 0

switchres 0

full_screen_brightness 1.0

full_screen_contrast 1.0

full_screen_gamma 1.0

#

# WINDOWS SOUND OPTIONS

#

audio_latency 2

#

# INPUT DEVICE OPTIONS

#

dual_lightgun 0

Posted

Clair,

Do you see the section I have highlighted in blue? Compare it to the section right below that, that I made light gray. The section in gray has keycodes for up,down,left, and right, where the blue section only has a keycode for up. In theory not only would Asteroids not work, but you should not be able to move down, left, or right in any game. Try Pac-man to see if that's true. You could try entering the mame config (press "tab" on the keyboard while running a game in Mame) and seeing if you can enter keycodes for P1 joystick (left,right,down).

If that doesn't work, move the Mame.ini file out of the mame\ini folder, and run Mame, it will automatically generate a new mame.ini. If you have to do this, you will have to re-enter ALL of your keymappings again, but it doesn't take too long..... (It looks like your mappings are standard, so you might not have to re-enter anything)

<?xml version="1.0"?>

<!-- This file is autogenerated; comments and unknown tags will be stripped -->

<mameconfig version="10">

<system name="default">

<input>

<port type="P1_JOYSTICK_UP">

<newseq type="standard">

KEYCODE_UP

</newseq>

</port>

<port type="P1_JOYSTICKRIGHT_UP">

<newseq type="standard">

KEYCODE_W

</newseq>

</port>

<port type="P1_JOYSTICKRIGHT_DOWN">

<newseq type="standard">

KEYCODE_S

</newseq>

</port>

<port type="P1_JOYSTICKRIGHT_LEFT">

<newseq type="standard">

KEYCODE_A

</newseq>

</port>

<port type="P1_JOYSTICKRIGHT_RIGHT">

<newseq type="standard">

KEYCODE_D

</newseq>

</port>

Posted
Clair,

Do you see the section I have highlighted in blue? Compare it to the section right below that, that I made light gray. The section in gray has keycodes for up,down,left, and right, where the blue section only has a keycode for up. In theory not only would Asteroids not work, but you should not be able to move down, left, or right in any game. Try Pac-man to see if that's true. You could try entering the mame config (press "tab" on the keyboard while running a game in Mame) and seeing if you can enter keycodes for P1 joystick (left,right,down).

If that doesn't work, move the Mame.ini file out of the mame\ini folder, and run Mame, it will automatically generate a new mame.ini. If you have to do this, you will have to re-enter ALL of your keymappings again, but it doesn't take too long..... (It looks like your mappings are standard, so you might not have to re-enter anything)

Hi Tempest,

I checked my key mappings in General and they are fine - all mapped correctly and I can move up down left right etc on all games except analog and vector. I understand why with analog but not vector grrrrr! :angry:

So don't understand why the default cfg is saying otherwise.

Guest
This topic is now closed to further replies.
×
×
  • Create New...