Modded MAME: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
*>Upy
(→‎Input mod: Version 0.133, 4-way change, SDL change, temporary links)
m (→‎Older version: "Including me" is kinda useless if we don't know who said it.)
 
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:


=Input mod=
=Input mod=
Current version: 0.133 + upy's diffs + WolfMAME's inpview
==Shmupmame lagless edition==
* [http://www.sendspace.com/file/grika0 MAME Source diff], [http://www.sendspace.com/file/qv28ri SDLMAME source diff] (requires previous diff)
'''Current version: 0.137'''
* Windows [http://www.sendspace.com/file/n4fwmv GCC] [http://www.sendspace.com/file/jsr194 VC++ 2005] (the latter might be faster)
* Windows (32 and 64 bit) [http://mufunyo.net/tetris/mametgm/0137/shmupmametgm.rar GCC] (VC++ version unavailable at this time)
* [http://www.sendspace.com/file/hcluu3 Linux]
* [http://nihon.se/shmupmame/shmupmametgm-osx64 Mac OS X x86]
* [http://www.sendspace.com/file/c67ylu Mac OS X x86]
* [http://mufunyo.net/tetris/mametgm/0137/shmupmametgm_src.rar Source] (pre-applied patches to 0.137)
This is a modified version of MAME with modifications in Psikyo SH-2 emulation (tgm2, tgm2p) that eliminate one extra frame of lag compared to vanilla MAME. It also includes the TGM enhancements listed below, but no inpview. Because this version is based on MAME 0.137, it also fixes graphical bugs in tgm2p, most notable of which being the blue boot-up screen.


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.
[http://shmups.system11.org/viewtopic.php?f=1&t=30659 Shmupmame thread on Shmups forum]


In addition, it handles pressing opposite directions in a different way:
==Older version==
* If you press left, then right without releasing left, it will read left then right
'''Current version: 0.133'''
** Original MAME locks (i.e. ignores) both left and right if you pressed right without releasing left
* Windows [http://nihon.se/upy/mametgm.exe GCC] [http://nihon.se/upy/vmametgm.exe VC++ 2005] (the latter might be faster)
* This also works for right->left, up->down and down->up
* [http://nihon.se/upy/mametgm.linux Linux] (Ubuntu 9.04 x86)
* Still, if you press left and right at the same time, it will lock both
* [http://nihon.se/upy/mametgm.osx86 Mac OS X x86]
* However, if you press up and down at the same time, it will prefer up
* [http://nihon.se/upy/upymame0133.diff MAME Source diff]
* [http://nihon.se/upy/upysdlmame0133.diff SDLMAME source diff] (requires previous diff, for non-Windows versions)


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).
This is a modified version of MAME with some modifications aimed to enhance the TGM experience and WolfMAME's inpview modifications.


Note: this mod produces/reads .inp files incompatible with the original MAME.
'''Installing'''
* After you download a version that fits your OS, use it like normal MAME
* If you have MAME installed, you can put it there
 
'''Differences from original MAME'''
* Only runs tgmj, tgm2 and tgm2p
* These games are configured to 4-way stick, which makes MAME favor the last pressed direction<br />For instance, [left; left+down; down] will send down to the game on the second input sequence
* Polls input much more frequently and before executing the emulated CPU time slices (this is a brute force modification)<br />TODO: poll input when the emulated machine polls input (this is the ideal modification)
* Pressing opposite directions favors the most recently pressed one, and only locks if both become pressed simultaneously<br />Exception: if up+down become pressed simultaneously, it favors up
 
'''Notes'''
* The only difference between mametgm.exe and vmametgm.exe is that the former is compiled using GCC and the latter using Visual C++ 2005<br />Most people report that the Visual C++ version is faster
* The Linux and Mac OS X versions are based on SDLMAME
* It maked tgmj less playable due to the introduced processing overhead, but tgm2 and tgm2p are fine
* It produces/reads .inp files incompatible with the original MAME
* Input Viewer from WolfMAME: try -inpview 1

Latest revision as of 02:39, 4 April 2010

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

Input mod

Shmupmame lagless edition

Current version: 0.137

  • Windows (32 and 64 bit) GCC (VC++ version unavailable at this time)
  • Mac OS X x86
  • Source (pre-applied patches to 0.137)

This is a modified version of MAME with modifications in Psikyo SH-2 emulation (tgm2, tgm2p) that eliminate one extra frame of lag compared to vanilla MAME. It also includes the TGM enhancements listed below, but no inpview. Because this version is based on MAME 0.137, it also fixes graphical bugs in tgm2p, most notable of which being the blue boot-up screen.

Shmupmame thread on Shmups forum

Older version

Current version: 0.133

This is a modified version of MAME with some modifications aimed to enhance the TGM experience and WolfMAME's inpview modifications.

Installing

  • After you download a version that fits your OS, use it like normal MAME
  • If you have MAME installed, you can put it there

Differences from original MAME

  • Only runs tgmj, tgm2 and tgm2p
  • These games are configured to 4-way stick, which makes MAME favor the last pressed direction
    For instance, [left; left+down; down] will send down to the game on the second input sequence
  • Polls input much more frequently and before executing the emulated CPU time slices (this is a brute force modification)
    TODO: poll input when the emulated machine polls input (this is the ideal modification)
  • Pressing opposite directions favors the most recently pressed one, and only locks if both become pressed simultaneously
    Exception: if up+down become pressed simultaneously, it favors up

Notes

  • The only difference between mametgm.exe and vmametgm.exe is that the former is compiled using GCC and the latter using Visual C++ 2005
    Most people report that the Visual C++ version is faster
  • The Linux and Mac OS X versions are based on SDLMAME
  • It maked tgmj less playable due to the introduced processing overhead, but tgm2 and tgm2p are fine
  • It produces/reads .inp files incompatible with the original MAME
  • Input Viewer from WolfMAME: try -inpview 1