MAME and Joysticks
  • Targhan
    Posts: 2833 from 2003/2/7
    From: USA
    I figured the joystick part of the mame thread deserved a thread of it's own. :-) Seriously, I have just got a PC control pad to work on my pegasos and with mame.

    I think when realstar posted his instructions (in the other thread, and I will quote in just a moment for reference), there was a different verson of the NewLowLevel.library than what is now on the amithlong site (oh yeah, I need to try it there too!). The newer version right now is limited to the amithlon site VMC, but the version I have gotten to work is from the Aminet. It seems the new version will not let the user input a value for the addressing.

    Now for the quote: Quote:


     Re: Mame



    Ok, here are some quick instructions:

    1. Download Guido's lowlevel.library replacement

    2. unpack and install the lib, prefs program and
    "c" commands to appropriate locations.

    3. add "gameportenable" to your user startup sequence

    4. reboot, now in a shell type:

    gameportfind $EFFF0000 $EFFFF220

    follow the instructions and it should give
    you an address if it finds your gamepad.

    5. start the prefs program and enter the address
    into unit 1 and unit 2

    6. test the gamepad in the prefs program, you may
    have to change the x or y axis etc. you can
    test all the buttons and joypad motion here too.

    7. when you start a game that uses lowlevel.library
    you need to circle the pad a few times to
    calibrate the range of motion before playing

    8. use the JOYPAD flag on Mame to enable gamepad
    support (not sure if maguila can do this currently?)

    That should be enough to get your gamepad going,
    works fine here with a "Laing#1" gameport pad with
    4 buttons, don't push the auto fire buttons when
    doing the "gameportfind" either.

    For your last question:
    The review is just referring to the fact that many
    programs will not start without lowlevel.library
    being present on the machine, but Maguila and MOS
    Mame will... :)



    My gamepad would not work until I changed "Calibrate" to "Fixed". It did, however, let me make all the changes before setting it to fixed.

    To Guido: You R00L!
    To realstar: Thanks for posting the instructions!


    (oh yeah, I have to fix MAMEcons... oops.)
    :idea:Targhan

    MorphOS portal? www.MorphZone.org
  • »15.06.03 - 06:58
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    roschmyr
    Posts: 211 from 2003/2/20
    From: Oberhausen/Ger...
    hi targhan
    for directinput you have to press ralt rshift enter at the once
    in the prefs-window
  • »15.06.03 - 07:20
    Profile
  • Targhan
    Posts: 2833 from 2003/2/7
    From: USA
    roschmyr,

    Thank you for the extra info! Maybe it's time for a "How to Guide"? ;-)
    :idea:Targhan

    MorphOS portal? www.MorphZone.org
  • »15.06.03 - 17:21
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    Hi Targhan
    I'm back to my studio and Peg. How do you take screenshots of Mame screens? I havent tried your icons yet, but will do .. thanks
    magnetic
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »15.06.03 - 21:24
    Profile Visit Website
  • Targhan
    Posts: 2833 from 2003/2/7
    From: USA
    You can get screengrabs by using SGrab. Usually for MAME screengrabs, I run the game in a window with no sound. Then, it is a little easier to time the grab. (Use the window option from SGrab).

    Interestingly, SGrabPPC (included with sgrab) saves to the PNG format. Thus, a simple resize and rename will turn it into an icon.
    :idea:Targhan

    MorphOS portal? www.MorphZone.org
  • »16.06.03 - 01:53
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    Thanks Targhan
    The new MAME .69 for MOS is Awesome! I love it! Big improvement and
    seems for stable and the gui is great! Thanks for the sgrab tip
    magnetic
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »16.06.03 - 02:42
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    The easiest way to make a snapshot is to use the built-in function. Go to the tab-menu-> input (general) and see which key is assigned to the snapshot function. Then just press it while you play, and snaps will be saved in snaps/ directory.
  • »16.06.03 - 05:36
    Profile Visit Website
  • Targhan
    Posts: 2833 from 2003/2/7
    From: USA
    @tokai
    Very nice icons in the screengrab! How do they work in comparison to the ones I've already pumped out?

    I used a MAME: assign, because it also makes life easier in the shell when typing. I would much rather type "Mame:" than "cd $mamepath".

    @everyone else:
    for the mamecons: do you want the "joypad" option in the scripts by default, of left out by default?

    Anyway, tokai, don't stop work on your icons, they are really neat!
    :idea:Targhan

    MorphOS portal? www.MorphZone.org
  • »16.06.03 - 16:03
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    tokai
    Posts: 1289 from 2003/2/25
    From: binaryriot
    @targhan:

    I've just uploaded it to my homepage... so u can check yourself. Na... only simple scripts... :)

    Get them from from:
    http://www.christianrosentreter.com/releases/index.php?lang=en or look at the screenshot here:
    http://www.christianrosentreter.com/specials/mame_bubbles2.png


    So.. now I have "spammed" all news portals only because 30 icons. I must be crazy! :)
  • »22.06.03 - 13:24
    Profile Visit Website
  • Targhan
    Posts: 2833 from 2003/2/7
    From: USA
    Ha! spam ;-) Hey, I like your icons. I think I may change the ones I have created to use a simular method to yours (then apply the same kind of script to the ones you have done). Who says people will not want both? :-)
    :idea:Targhan

    MorphOS portal? www.MorphZone.org
  • »23.06.03 - 04:00
    Profile Visit Website
  • Just looking around
    Mekhet_
    Posts: 7 from 2003/5/20
    Hi, does it work with an usb gamepad?
  • »23.06.03 - 04:56
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DSLCC
    Posts: 246 from 2003/5/14
    From: Fort Worth, TX...
    I installed mame today - works great. Any of you guru's know if there
    is support for the catweasel mk3 in mame? :-)
    Pegasos 1 G3 MorphOS 1.4.5* Mac G4 Sawtooth 1Ghz Tiger 10.4.1* Both Rock! :-D
  • »23.06.03 - 21:26
    Profile
  • Caterpillar
    Caterpillar
    Vincent_X
    Posts: 23 from 2003/6/19
    How do you pronounce MAME... is maym, mah-mi, mammy, maymi ?

    What does MAME run? How robust is this amiga MAME emulator compared to windows MAME emulators?
  • »23.06.03 - 21:52
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    @DSLCC
    I have my Peg and Catweasel MK3 working with MAME .69 MOS and joystick! You need Guido M's new lowlevel.driver for MOS. You also need latest Open pci software. There is another forum on this with full instructions...
    magnetic
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »24.06.03 - 03:29
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    @Vincent X
    Oh oh vincent x... if you plan on running Mame you better plan on owning the Arcade games or Roms of them that you are going to emulate. Its "illegal" to do so without that. Kind of like running Mac On Linux!
    magnetic
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »24.06.03 - 03:31
    Profile Visit Website
  • Caterpillar
    Caterpillar
    cAHVA
    Posts: 28 from 2003/2/24
    Like Mekhet asked but got no answer.. How to get USB-gamepad working???
  • »04.08.03 - 04:26
    Profile Visit Website