Difference between revisions of "Modded MAME"

From TetrisWiki
Jump to navigation Jump to search
*>Upy
(→‎Input mod: Added info about SDL MAME)
*>Upy
(→‎Input mod: Version 0.133, 4-way change, SDL change, temporary links)
Line 2: Line 2:


=Input mod=
=Input mod=
Current version: 0.132 + diff + WolfMAME's inpview + tgmj/tgm2/tgm2p only
Current version: 0.133 + upy's diffs + WolfMAME's inpview
* [http://nihon.se/upy/mymame0132.diff Source diff]
* [http://www.sendspace.com/file/grika0 MAME Source diff], [http://www.sendspace.com/file/qv28ri SDLMAME source diff] (requires previous diff)
* Windows [http://nihon.se/upy/mametgm.exe GCC] [http://nihon.se/upy/vmametgm.exe VC++ 2005] (the latter might be faster)
* Windows [http://www.sendspace.com/file/n4fwmv GCC] [http://www.sendspace.com/file/jsr194 VC++ 2005] (the latter might be faster)
* [http://nihon.se/upy/mametgm.linux Linux]
* [http://www.sendspace.com/file/hcluu3 Linux]
* [http://nihon.se/upy/mametgm.osx86 Mac OS X x86]
* [http://www.sendspace.com/file/c67ylu Mac OS X x86]


This mod makes MAME poll for host input more often. It makes TGM even less playable (too heavy for my poor laptop), but it is not that heavy with TGM2 and TAP.
This mod makes MAME poll for host input more often. It makes TGM even less playable (too heavy for my poor laptop), but it is not that heavy with TGM2 and TAP.
Line 16: Line 16:
* Still, if you press left and right at the same time, it will lock both
* Still, if you press left and right at the same time, it will lock both
* However, if you press up and down at the same time, it will prefer up
* However, if you press up and down at the same time, it will prefer up
TGM and TGM2/TAP are also set to 4-way, because on the keyboard or on a 8-way stick, pressing left, left-down, down does not lock a piece on left-down but only on down (some may say this is a cheat, but I say it's an enhacement: you can't possibly press left-down on a 4-way stick, so when you press left, down it's really left, down, not left, left-down, down).


Note: this mod produces/reads .inp files incompatible with the original MAME.
Note: this mod produces/reads .inp files incompatible with the original MAME.
Note: SDL MAME polls input from the host machine once per frame, which makes this modification useless on the Linux and Mac OS X builds.

Revision as of 23:28, 24 July 2009

MAME is an open source project, which give the chance to test code changes.

Input mod

Current version: 0.133 + upy's diffs + WolfMAME's inpview

This mod makes MAME poll for host input more often. It makes TGM even less playable (too heavy for my poor laptop), but it is not that heavy with TGM2 and TAP.

In addition, it handles pressing opposite directions in a different way:

  • If you press left, then right without releasing left, it will read left then right
    • Original MAME locks (i.e. ignores) both left and right if you pressed right without releasing left
  • This also works for right->left, up->down and down->up
  • Still, if you press left and right at the same time, it will lock both
  • However, if you press up and down at the same time, it will prefer up

TGM and TGM2/TAP are also set to 4-way, because on the keyboard or on a 8-way stick, pressing left, left-down, down does not lock a piece on left-down but only on down (some may say this is a cheat, but I say it's an enhacement: you can't possibly press left-down on a 4-way stick, so when you press left, down it's really left, down, not left, left-down, down).

Note: this mod produces/reads .inp files incompatible with the original MAME.