Jump to content

Search the Community

Showing results for tags 'mame'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Believe the Hype!
    • HyperNews
  • HyperSupport
    • HyperSpin
    • HyperSpin Android
    • HyperSpin 3rd Party Applications
    • HyperWorld
  • HyperStudio
    • Graphic & Theme Creation
    • Cabinets and Projects
  • HyperBase
    • HyperBase Live
    • HyperSync
    • HyperBase Databases
  • HyperPin
    • Content and Support
    • HyperPin Cabinet Forum
  • 1st Hyperspin Club's Club Brainstorm
  • 1st Hyperspin Club's History
  • Hyper Metal MoshPIT's Welcome brothers and sisters
  • Unofficial Tutorials's You Tube Releases

Categories

  • HyperSpin
    • HyperSpin (Windows)
    • HyperSpin (Android)
    • 3rd Party Apps
  • HyperMedia
    • Arcade Systems
    • Computer Systems
    • Console Systems
    • Handheld Systems
    • Pinball Systems
    • Miscellaneous Systems
    • Other Media
    • HTPC Themes
    • Universal Themes
    • Hall of Champions
  • Supporter Section
  • HyperPin
  • HyperPin Systems

Categories

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Biography


Location


Interests


Occupation

Found 166 results

  1. I feel like this is a really dumb question that's down to personal taste but I'm having a difficult time finding a clear answer - or at least a clear enough answer I can understand. So I have the entire .177 MAME Database XML file configured and I have downloaded all the artwork and I also have the entire .177 split arcade ROM set loaded, but now I want to trim the game list down a little bit so as not to have all the variants and clones of all the games. I'd like to keep the ROMs in their current complete state so I don't accidentally run into a missing ROM file problem and randomly deleting ROM zips seems like I would do just that. I think the user database download feature is down or I'd mess around with one of those. So instead of manually editing each and every line of the xml to get rid of the clones, variants, gambling, trivia, mahjong, etc, games, what's the best way to do this? Is there a download of the top 100 or top 500 most popular games with the variants and other games already commented out? I know that the word 'favorite' or 'popular' means a lot of different things to a lot of people so the question on its face may seem a bit silly. Is Don's Tools the answer? I haven't played with it *quite* yet.
  2. Hello, I am new at this website and I would like to participate on it, so thats why I would like to know if anyone knows a software or where i can check according to my emulator which roms are compatible (or works) with them and which other are not to delete them, also to update the database (XML) with the ones which works. Regards and forgive my english, I am spanish speaker.
  3. Hi folks. Don't know if any of you use Dr Venture's ControllerRemap to deal with usb devices and mame, but I've knocked toegther a GUI for it that should hopefully help with its use. You can find details here: https://controllerremapgui.codeplex.com/
  4. Good Day Everyone! Mr Avar has posted a new and excellent video tutorial on how to setup up MAME in HyperSpin tutorial. When you have a moment give him a big thanks for taking the time in making this tutorial. The video can be found at: http://www.hyperspin-fe.com/tutorials/article/81-setting-up-mame-for-hyperspin-arcade-games/ or go to Tutorials -> Emulator Guides -> Arcade Systems -> MAME Iggy
  5. My main thing to have Hyperspin and 2 of my android based consoles in my home for handling emulation. The problem is: Reicast (dreamcast) is DEAD There are NO Android Dolphin Devs anymore, causing all the new releases to have broken controls and dolphin bar support is spotty at best. Openbor is compiled but doesnt work well for controllers or hyperspin Mugen has zero support except for Paintown which hasnt been updated to work on modern devices in years. And Dosbox allows only OLD dosmugen to work, not without some heavy tweaks. MAME on android needs a huge Open GL ES 3.1 or Vulcan boost so that better games can be supported and played. But mainly the most recent versions need compile fixes to be 100% working on android. Not this currently handicapped version. Look what uoYabuse did for Saturn emulation. The original Yabuse went from unplayable to near perfect emulation thanks to OpenGL ES 3.0 changes. If any of you have been checking the emulation forums for android apps, many have tons of people who are interested in android emulation, but there are no android devs to support these android users.. Honestly, we need more android devs out there to help out with the emulation scene as a whole. So i think im going to try to start a bounty for donations to android devs to assist with these things I would love to help out with some smaller things if I can, i programmed at bit in C++ back in 2000. Or any ideas to help out with this before hyperspin is left unfinished for a bunch of items that can be supported as well.
  6. Hey there, I'm wondering what version the MAME data base is on now. I've got a set of roms for mame .176 but Rocket Launcher is showing 4K-ish of 9700-ish roms. All ideas are welcome Thanks.
  7. I found two potential problems some users MAY encounter during Simply Austin's YouTube tutorial so I'd like to post my fixes. DISCLAIMER: NO NEGATIVE REFLECTION SHOULD BE IMPLIED TOWARDS SIMPLY AUSTIN NOR TO HIS TIRELESS EFFORTS. HIS WORK IS TOP NOTCH AND CAN'T BE EXPECTED 100% OF THE TIME TO WORK 100% ON EVERY SYSTEM. I COULD NOT HELP YOU GUYS IF IT WEREN'T FOR HIM, SO BIG THANKS AUSTIN!! Workflow: Following his tutorials to the letter, I got HyperSpin 1.4, RocketLauncher, and HyperSync setup flawlessly. I went lifetime/platinum support membership of both HyperSpin and EmuMovies due to his HyperSync video! I followed both MAME tutorials, but hit a slight snag at not using a 64bit OS on the install computer. Taking his advice, I went for the latest 32bit build of MAMEUIFX which, as my favorite, sadly is the final version at 175.1. Currently I see no reason to change or add a 176 build of an alt MAME derivative. All tutorial steps went smoothly until the final two when loading a game resulted in a black/blank screen inside of the bezel, but with full control and audio. This was right after I copied Austin's EXTRAS/OLD SCREEN subfolders of artwork,hlsl, and ini into my mame directory. Also, sometimes all my games no longer worked! After a long process of elimination, I've come up with a fix for both: BLACK or BLANK SCREEN FIX: Please be careful when copying in the following files into your mame 'hlsl' directory and make sure you keep backup copies of your originals: bloom.fx post.fx prescale.fx Simply Austin's bloom.fx and/or post.fx (either together or even separately) broke my video output to a black screen. He was on an older version of MAME (1.53) and I am on 1.75.1 (MAMEUIFX final) but I know nothing about the behind the scenes workings of fx files. I copied back my originals and my picture returned. His prescale.fx file is safe, but note it does update your bezel visual to blocks, rather than the MAME logo which you may merely take note of if you prefer one over the other. The above three files are moved into a 'BAD' subfolder for now (sorry Austin) so I remember and that they don't override anything until more information is known. GAMES NO LONGER WORKING - TROUBLESHOOTING: When you copy Austin's new mame.ini file over to your ini folder, it will overwrite your ROM path settings from WITHIN your MAME emulator back to the default of just ROMS in your MAME directory. IF your rom path(s) are elsewhere, re-map them now or no games will load. If you only have your roms in the default path (which I suspect is many users), his change will not cause you any notice. Also note that though his mame.ini replacement does not change rom path settings within HyperHQ or RocketLauncher, they need to be in harmony with your rom path settings in your main MAME build they look to.
  8. I'm not sure where i messed up, but now when i'm in Mame and bring up the Genre's, there are only "Climbing" and "All Games". I'm currently running Mame .175. Where is the Genre file located? Should i download a new one, if so where? Any help with this would be greatly appreciated!
  9. Is there a database file for Mame .175 available? if so, where can it be found? Thanks for your help!
  10. Version 0.175

    214 downloads

    please go download the 0.175.1 release
  11. Version 0.175

    554 downloads

    patch with MKChamp + more will be updated later
  12. Version 1.0

    213 downloads

    I created this AHK script to enable me to batch rename media to work with Rocketlauncher's PAUSE. As it requires the files to be put into a very specific folder structure to do it on a mass scale was tedious. Basically, you can now point to a folder full of files such as pdf manuals and it will copy and rename them into the correctly structured folders and rename the files to whatever you want. This is really helpful if you want to use the MAME extras. It will not alter any original files. It will copy or move the temp files created. You can give this a try without it altering your setup. I hope it is useful to you. Hopefully anyone familiar with Hyperspin and Rocketlauncher will understand how things need to be renamed and restructured and this will do it all for you with a few clicks.
  13. When i start a mame game in RocketLaucher or Hyperspin the game is opened and then close after. PLEASE HELPME! (i change win10 to win7, install all DirectX i try everything.) MY SETUP: (HS1.4+RL v1.01.5+MAMEUIFX .153 x64 ) HS Log: 12:03:46 PM | HyperSpin Started 12:03:46 PM | Going FullScreen 12:03:46 PM | Checking for updates 12:03:46 PM | Update Check Complete 12:03:46 PM | Startup program: HyperSpin Startup Script.exe 12:03:46 PM | Startup params not set 12:03:46 PM | Working directory: E:\Hyperspin\Utilities\ 12:03:46 PM | Window State: NORMAL 12:03:46 PM | Launching HyperSpin Startup Script.exe 12:03:46 PM | Command Line is HyperSpin Startup Script.exe 12:03:47 PM | Error intializing joysticks 12:03:47 PM | Menu Mode is multi 12:03:47 PM | Loading Main Menu.xml 12:03:47 PM | Main Menu.xml successfully loaded 12:03:48 PM | Main Menu wheel loaded successfully 12:03:52 PM | Loading Super Nintendo Entertainment System.xml 12:03:53 PM | roms_only is true, checking files 12:03:53 PM | Main Menu.xml successfully loaded 12:03:53 PM | Super Nintendo Entertainment System wheel loaded successfully 12:04:05 PM | Loading Main Menu.xml 12:04:05 PM | Main Menu.xml successfully loaded 12:04:05 PM | Main Menu wheel loaded successfully 12:04:11 PM | Loading SNK Classics.xml 12:04:11 PM | roms_only is true, checking files 12:04:11 PM | Error: roms_only is true and there are no rom files for SNK Classics 12:04:11 PM | Loading Main Menu.xml 12:04:11 PM | Main Menu.xml successfully loaded 12:04:12 PM | Main Menu wheel loaded successfully 12:04:12 PM | Loading SNK Classics.xml 12:04:12 PM | roms_only is true, checking files 12:04:12 PM | Error: roms_only is true and there are no rom files for SNK Classics 12:04:12 PM | Loading Main Menu.xml 12:04:12 PM | Main Menu.xml successfully loaded 12:04:13 PM | Main Menu wheel loaded successfully 12:04:15 PM | Loading Taito Classics.xml 12:04:15 PM | roms_only is true, checking files 12:04:15 PM | Error: roms_only is true and there are no rom files for Taito Classics 12:04:15 PM | Loading Main Menu.xml 12:04:15 PM | Main Menu.xml successfully loaded 12:04:15 PM | Main Menu wheel loaded successfully 12:04:18 PM | Loading Taito Classics.xml 12:04:18 PM | roms_only is true, checking files 12:04:18 PM | Error: roms_only is true and there are no rom files for Taito Classics 12:04:18 PM | Loading Main Menu.xml 12:04:18 PM | Main Menu.xml successfully loaded 12:04:18 PM | Main Menu wheel loaded successfully 12:04:19 PM | Loading Williams Classics.xml 12:04:19 PM | roms_only is true, checking files 12:04:19 PM | Error: roms_only is true and there are no rom files for Williams Classics 12:04:19 PM | Loading Main Menu.xml 12:04:19 PM | Main Menu.xml successfully loaded 12:04:20 PM | Main Menu wheel loaded successfully 12:04:22 PM | Loading Nintendo Classics.xml 12:04:22 PM | roms_only is true, checking files 12:04:22 PM | Error: roms_only is true and there are no rom files for Nintendo Classics 12:04:22 PM | Loading Main Menu.xml 12:04:22 PM | Main Menu.xml successfully loaded 12:04:23 PM | Main Menu wheel loaded successfully 12:04:24 PM | Loading Namco Classics.xml 12:04:24 PM | roms_only is true, checking files 12:04:24 PM | Error: roms_only is true and there are no rom files for Namco Classics 12:04:24 PM | Loading Main Menu.xml 12:04:24 PM | Main Menu.xml successfully loaded 12:04:25 PM | Main Menu wheel loaded successfully 12:04:27 PM | Loading MAME.xml 12:04:27 PM | Main Menu.xml successfully loaded 12:04:28 PM | MAME wheel loaded successfully 12:04:44 PM | MAME wheel loaded successfully 12:04:55 PM | MAME wheel loaded successfully 12:05:47 PM | Launching Game 12:05:47 PM | Using HyperLaunch 12:05:47 PM | Getting Launcher path 12:05:47 PM | Launcher located at E:\RocketLauncher\RocketLauncher.exe 12:05:47 PM | Running Launcher 12:05:47 PM | Launcher Command Line is: E:\RocketLauncher\RocketLauncher.exe "MAME" "mslug" 12:24:43 PM | Loading Main Menu.xml 12:24:43 PM | Main Menu.xml successfully loaded 12:24:43 PM | Main Menu wheel loaded successfully 12:24:44 PM | Exit program unavailable 12:24:44 PM | Quiting Hyperspin 12:24:44 PM | Bye! RocketLaucher Log: 12:05:49:168 | RL | INFO | +N/A | Main - RocketLauncher v1.0.1.5a (www.rlauncher.com) 12:05:49:283 | RL | INFO | +109 | Main - System Specs: RocketLauncher Dir: E:\RocketLauncher RocketLauncher is: 32-bit OS: Microsoft Windows 7 Ultimate SKU: Ultimate Total Memory: 8183.12 MB Free Memory: 6012.71 MB Used Memory: 2170.402 MB SystemType: 64-bit Physical Processors: 1 Logical Processors: 4 GPU 1 Name: AMD Radeon HD 6570 GPU 1 RAM: 1024.00 MB GPU 1 Driver Version: 15.200.1062.1004 Sound 1 Device: Dispositivo de áudio USB Sound 1 Status: Enabled Sound 2 Device: AMD High Definition Audio Device Sound 2 Status: Enabled Sound 3 Device: Realtek High Definition Audio Sound 3 Status: Enabled OS Language: Portuguese_Brazilian System Locale: pt-BR Formats Locale: pt-BR Windows UI Language: pt-BR Text Encoding: Windows-1252 OS Admin Status: No Latest .Net Version: v4.0.30319 Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1040 work) [32bit] [60hz] [Landscape] (Primary) Current AHK Desktop Width: 1920 Current AHK Desktop Height: 1080 AutoHotkey Path: AHK Version: 1.1.09.04 Unicode: No 12:05:49:283 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\RocketLauncher.exe exists 12:05:49:283 | RL | INFO | +0 | Main - Loading Front End Plugin: "HyperSpin" 12:05:49:283 | RL | INFO | +0 | Main - HyperSpin.exe coordinates are x0 y0 w1920 h1080 12:05:49:283 | RL | INFO | +0 | Main - RocketLauncher received "MAME" and "mslug" 12:05:49:308 | RL | INFO | +31 | Main - Did not find a "E:\RocketLauncher\Settings\MAME\Game Options.ini" file, skipping any game-specific options. 12:05:49:308 | RL | INFO | +0 | Main - mslug is using the default emulator: MAME 12:05:49:308 | RL | INFO | +0 | Main - Checking for a [MAME] section in E:\RocketLauncher\Settings\MAME\Emulators.ini 12:05:49:308 | RL | INFO | +0 | Main - Checking for a [MAME] section in E:\RocketLauncher\Settings\Global Emulators.ini 12:05:49:308 | RL | INFO | +0 | Main - Found [MAME] in E:\RocketLauncher\Settings\Global Emulators.ini 12:05:49:308 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\Modules\MAME\MAME.ahk exists 12:05:49:313 | RL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module. 12:05:49:313 | RL | INFO | +0 | Main - mslug will use module: E:\RocketLauncher\Modules\MAME\MAME.ahk 12:05:49:333 | RL | INFO | +16 | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks. 12:05:49:333 | RL | INFO | +0 | CheckFile - Checking if E:\Hyperspin\Emulators\MAMEUIFX\MAMEUIFX .153 FIX x64 NoNag+HiScore+NeoGeoXtra+DirectInput.exe exists 12:05:49:333 | RL | INFO | +0 | Main - INI Keys read 12:05:49:333 | RL | INFO | +0 | CheckFile - Checking if E:\RocketLauncher\Module Extensions\7z.exe exists 12:05:49:338 | RL | INFO | +16 | CheckFile - Checking if E:\RocketLauncher\Module Extensions\7z.dll exists 12:05:49:338 | RL | INFO | +0 | Main - "mslug" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side 12:05:49:338 | RL | INFO | +0 | CheckPaths - Started 12:05:49:338 | RL | INFO | +0 | CheckPaths - Found rom: E:\Hyperspin\Roms\MAME-Neo Geo-Arcade Classics-CPS-Sega STV\mslug.zip 12:05:49:338 | RL | INFO | +0 | CheckPaths - Ended, 12:05:49:338 | RL | INFO | +0 | BuildScript - User Variables: ;---------------------------------------------------------------------------- ; INJECTED VARIABLES ;---------------------------------------------------------------------------- #NoTrayIcon #InstallKeybdHook DetectHiddenWindows, ON SetTitleMatchMode, 2 SendMode, Event 0 = 2 pluginPath = E:\RocketLauncher\Plugins pluginName = HyperSpin pluginExt = .plugin contextOnExit = rlMode = rlTitle = RocketLauncher rlVersion = 1.0.1.5a rlAuthor = djvj rlURL = www.rlauncher.com langFile = E:\RocketLauncher\Data\Language\Localization.ini primMonitor = 1 frontendPID = 2820 frontendPath = E:\Hyperspin frontendExe = HyperSpin.exe frontendExt = exe frontendName = HyperSpin frontendDrive = E: exitEmulatorKey = ~Esc restoreFE = false exitScriptKey = ~q & ~s toggleCursorKey = ~e & ~t emuFullPath = E:\Hyperspin\Emulators\MAMEUIFX\MAMEUIFX .153 FIX x64 NoNag+HiScore+NeoGeoXtra+DirectInput.exe emuPath = E:\Hyperspin\Emulators\MAMEUIFX emuName = MAME emuExt = exe baseRomPath = \MAME romPath = E:\Hyperspin\Roms\MAME-Neo Geo-Arcade Classics-CPS-Sega STV romPathFromIni = E:\Hyperspin\Roms\MAME-Neo Geo-Arcade Classics-CPS-Sega STV romExtension = .zip romExtensionOrig = .zip romExtensions = 7z|rar|zip|chd|cue|32x|a26|a52|a78|bin|caq|col|cpr|gg|gb|gba|gbc|int|lnx|rom|sms|st2|md|j64|n64|nes|ngc|ngp|pce|sfc|sv|vb|vec|ws|wsc executable = MAMEUIFX .153 FIX x64 NoNag+HiScore+NeoGeoXtra+DirectInput.exe systemDbName = MAME systemName = MAME dbPath = dbName = mslug dbExt = romName = mslug romMapPath = romMappingEnabled = false romMappingLaunchMenuEnabled = false romMappingFirstMatchingExt = false romMappingShowAllRomsInArchive = true romMappingNumberOfGamesByScreen = 7 romMappingHideParent = false romMappingMenuWidth = 400 romMappingMenuMargin = 65 romMappingTextFont = Bebas Neue romMappingTextOptions = cFFFFFFFF r4 s60 Bold romMappingDisabledTextColor = ff888888 romMappingTextSizeDifference = 7 romMappingTextMargin = 15 romMappingTitleTextFont = Bebas Neue romMappingTitleTextOptions = cFFFFFFFF r4 s90 Bold romMappingTitle2TextFont = Bebas Neue romMappingTitle2TextOptions = cFFFFFFFF r4 s22 Bold romMappingGameInfoTextFont = Bebas Neue romMappingGameInfoTextOptions = cFFFFFFFF r4 s22 Regular romMappingGameNameTextFont = Bebas Neue romMappingGameNameTextOptions = cFFFFFFFF r4 s40 Regular romMappingBackgroundBrush = aa000000 romMappingColumnBrush = 33000000 romMappingButtonBrush1 = 6f000000 romMappingButtonBrush2 = 33000000 romMappingBackgroundAlign = Stretch and Lose Aspect romMappingMenuFlagWidth = 55 romMappingMenuFlagSeparation = 7 romMappingDefaultMenuList = FullList romMappingSingleFilteredRomAutomaticLaunch = false altArchiveNameOnly = altRomNameOnly = altArchiveAndRomName = altArchiveAndManyRomNames = altRomNamesOnly = romMapScenario = skipchecks = false romMatchExt = false blockInputTime = 0 blockInputFile = E:\RocketLauncher\Module Extensions\BlockInput.exe errorLevelReporting = false lockLaunch = false lockLaunchGame = screenRotationAngle = 0 screenRotationAngleGame = setResolution = logFile = E:\RocketLauncher\RocketLauncher.log logLabel := [" INFO"," WARNING"," ERROR"," DEBUG1"," DEBUG2"] logLevel = 3 logShowDebugConsole = false logIncludeModule = true logIncludeFileProperties = true logShowCommandWindow = false logCommandWindow = false rlDebugConsoleStdout = sysLang = Portuguese_Brazilian sysType = 64-bit broadcastWindowTitle = navUpKey = Up navDownKey = Down navLeftKey = Left navRightKey = Right navSelectKey = Enter navP2UpKey = Numpad8 navP2DownKey = Numpad2 navP2LeftKey = Numpad4 navP2RightKey = Numpad6 navP2SelectKey = NumpadEnter originalWidth = 1920 originalHeight = 1080 vdEnabled = false vdFullPath = vdUseSCSI = true vdDriveLetter = vdAddDrive = true servoStikEnabled = false servoStikExitMode = false ledblinkyEnabled = false ledblinkySystemName = ledblinkyFullPath = ledblinkyProfilePath = E:\RocketLauncher\Profiles\LEDBlinky ledblinkyRLProfile = E:\RocketLauncher\Profiles\LEDBlinky\RocketLauncher winIPACFullPath = ultraMapEnabled = false ultraMapFullPath = emuIdleShutdown = 0 launchPasswordHash = UpUpDownDownLeftRightLeftRight hideCursor = false hideEmu = false hideFE = false fadeIn = false fadeInDuration = 500 fadeInTransitionAnimation = DefaultAnimateFadeIn fadeInDelay = 0 fadeInExitDelay = 0 fadeOutExitDelay = 0 fadeOut = false fadeOutExtraScreen = false fadeOutDuration = 500 fadeOutTransitionAnimation = DefaultAnimateFadeOut fadeOutDelay = 0 fadeLyrInterpolation = 7 fadeMuteEmulator = false fadeUseBackgrounds = false fadeClickThrough = false fadeWidthBaseRes = 1920 fadeHeightBaseRes = 1080 fadeLyr1Color = FF000000 fadeLyr1AlignImage = Stretch and Lose Aspect fadeLyr2Pos = Stretch and Lose Aspect fadeLyr2X = 0 fadeLyr2Y = 0 fadeLyr2W = fadeLyr2H = fadeLyr2Adjust = 1 fadeLyr2PicPad = 0 fadeLyr2Prefix = Extra Layer 1 - Console fadeLyr3Pos = Center fadeLyr3X = 450 fadeLyr3Y = 450 fadeLyr3W = fadeLyr3H = fadeLyr3Adjust = 1 fadeLyr3PicPad = 0 fadeLyr3Speed = 750 fadeLyr3Animation = DefaultFadeAnimation fadeLyr37zAnimation = DefaultFadeAnimation fadeLyr3Type = imageandbar fadeLyr3ImgFollow7zProgress = true fadeLyr3Repeat = 1 fadeLyr3BackImageTransparency = 30 fadeLyr3StaticPos = No Alignment fadeLyr3StaticX = 0 fadeLyr3StaticY = 870|1575 fadeLyr3StaticW = fadeLyr3StaticH = fadeLyr3StaticAdjust = 1 fadeLyr3StaticPicPad = 0 fadeLyr3StaticPrefix = Info Bar fadeLyr4Adjust = 1 fadeLyr4X = 1792|952 fadeLyr4Y = 891|1596 fadeLyr4W = 128 fadeLyr4H = fadeLyr4Pos = No Alignment fadeLyr4FPS = 50 fadeLyr4PicPad = 0 fadeTranspGifColor = FFFFFF fadeBarWindow = Image fadeBarWindowX = fadeBarWindowY = fadeBarWindowW = 900 fadeBarWindowH = fadeBarWindowR = 30 fadeBarWindowM = 30 fadeBarWindowHatchStyle = 8 fadeBar = 7zOnly fadeBarNon7zProgressTime = 0 fadeBarBack = true fadeBarBackColor = FF555555 fadeBarH = 30 fadeBarR = 10 fadeBarColor = DD00BFFF fadeBarHatchStyle = 8 fadeBarPercentageText = true fadeBarInfoText = true fadeBarXOffset = 0 fadeBarYOffset = 150 fadeRomInfoDescription = filtered text fadeRomInfoSystemName = image fadeRomInfoYear = text with label fadeRomInfoDeveloper = text with label fadeRomInfoPublisher = text with label fadeRomInfoGenre = disabled fadeRomInfoRating = image fadeRomInfoOrder = Description|SystemName|Year|Developer|Genre|Rating|Publisher fadeRomInfoTextPlacement = User Defined fadeRomInfoTextMargin = 7 fadeRomInfoText1Options = w1600|787 h90 x165 y870|1575 cFFE1E1E1 r4 s90 Left Regular fadeRomInfoText2Options = w400 x8 y15 cFF555555 r4 s60 Bold fadeRomInfoText3Options = w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular fadeRomInfoText4Options = w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular fadeRomInfoText5Options = cFF555555 r4 s42 Bold fadeRomInfoText6Options = h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular fadeRomInfoText7Options = h135 x500 y960|1665 cFFCFCFCA r4 s66 Regular fadeStats_Number_of_Times_Played = text with label fadeStats_Last_Time_Played = text with label fadeStats_Average_Time_Played = text with label fadeStats_Total_Time_Played = text with label fadeStats_System_Total_Played_Time = text with label fadeStats_Total_Global_Played_Time = text with label fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time fadeStatsInfoTextPlacement = topRight fadeStatsInfoTextMargin = 7 fadeStatsInfoText1Options = cFFB4B4B4 r4 s22 Bold fadeStatsInfoText2Options = cFFB4B4B4 r4 s22 Bold fadeStatsInfoText3Options = cFFB4B4B4 r4 s22 Bold fadeStatsInfoText4Options = cFFB4B4B4 r4 s22 Bold fadeStatsInfoText5Options = cFFB4B4B4 r4 s22 Bold fadeStatsInfoText6Options = cFFB4B4B4 r4 s22 Bold fadeText1X = 0 fadeText1Y = 0 fadeText1Options = cFFB4B4B4 r4 s30 Right Bold fadeText1 = Loading Game fadeText2X = 0 fadeText2Y = 0 fadeText2Options = cFFB4B4B4 r4 s30 Right Bold fadeText2 = Extraction Complete, Ready fadeText3 = Loading Game fadeText4 = Loading Complete fadeFont = Bebas Neue fadeSystemAndRomLayersOnly = false fadeExtractionTime = disabled fadeExtractionTimeTextX = 0 fadeExtractionTimeTextY = 0 fadeExtractionTimeTextOptions = cFF555555 r4 s20 Bold fadeInterruptKey = detectFadeErrorEnabled = true fadeImgPath = E:\RocketLauncher\Media\Fade RLDataPath = E:\RocketLauncher\Data RLMediaPath = E:\RocketLauncher\Media RLErrSoundPath = E:\RocketLauncher\Media\Sounds\Error modulesPath = E:\RocketLauncher\Modules moduleFullName = E:\RocketLauncher\Modules\MAME\MAME.ahk moduleName = MAME modulePath = E:\RocketLauncher\Modules\MAME moduleExtension = ahk moduleExtensionsPath = E:\RocketLauncher\Module Extensions libPath = E:\RocketLauncher\Lib sevenZEnabled = false sevenZPath = E:\RocketLauncher\Module Extensions\7z.exe sevenZDllPath = E:\RocketLauncher\Module Extensions\7z.dll sevenZExtractPath = E:\RocketLauncher\temp sevenZExtractPathOrig = sevenZAttachSystemName = false sevenZDelTemp = true sevenZSounds = true sevenZFormats = .zip|.rar|.7z|.lzh|.gzip|.tar sevenZFormatsNoP = zip|rar|7z|lzh|gzip|tar sevenZFormatsRegEx = \.zip|\.rar|\.7z|\.lzh|\.gzip|\.tar 7zExtractPath = E:\RocketLauncher\temp mgEnabled = true mgKey = ~NumpadSub mgBackgroundColor = FF000000 mgSidePadding = 0.2 mgWidthBaseRes = 1920 mgHeightBaseRes = 1080 mgYOffset = 500|800 mgFont = Arial mgText1Options = x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic mgText1Text = Please select a game mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic mgText2Offset = 100 mgUseSound = true mgSoundfreq = 300 mgExitEffect = none mgSelectedEffect = rotate mgUseGameArt = false mgCandidate = mgValidTypes = \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side mgOnLaunch = false pauseEnabled = false pauseKey = ~NumpadAdd pauseBackToMenuBarKey = X pauseZoomInKey = C pauseZoomOutKey = V pauseScreenshotKey = ~PrintScreen pauseHiToTextPath = E:\RocketLauncher\Module Extensions\HiToText.exe pauseSaveStateKeyCodes = {shift down}{F7 down}{F7 up}{shift up} pauseLoadStateKeyCodes = {F7 down}{F7 up} keyboardEncoder = keyboardEncoderEnabled = false keymapperEnabled = false keymapperAHKMethod = false keymapper = xpadder xpadderFullPath = E:\Utilities\Xpadder\xpadder.exe joyToKeyFullPath = E:\Utilities\JoyToKey\JoyToKey.exe profilePath = E:\RocketLauncher\Profiles keymapperProfilePath = E:\RocketLauncher\Profiles\xpadder keymapperFrontEndProfileName = RocketLauncherUI keymapperFrontEndProfile = false keymapperRocketLauncherProfileEnabled = false joyIDsEnabled = false joyIDsPreferredControllersGlobal = joyIDsPreferredControllersSystem = use_global joyIDsPreferredControllersOnExit = CustomJoyNamesEnabled = false CustomJoyNames = rotateMethod = false FEProfile = E:\RocketLauncher\Profiles\xpadder\RocketLauncherUI defaultProfile = E:\RocketLauncher\Profiles\xpadder\_Default systemProfile = E:\RocketLauncher\Profiles\xpadder\MAME xPadderSystemProfile = E:\RocketLauncher\Profiles\xpadder\MAME\_Default emuProfile = E:\RocketLauncher\Profiles\xpadder\MAME\MAME romProfile = E:\RocketLauncher\Profiles\xpadder\MAME\mslug RocketLauncherProfile = E:\RocketLauncher\Profiles\xpadder\RocketLauncher blankProfile = E:\RocketLauncher\Profiles\xpadder\_Default\blank ahkFEProfile = E:\RocketLauncher\Profiles\AHK\RocketLauncherUI ahkDefaultProfile = E:\RocketLauncher\Profiles\AHK\_Default ahkSystemProfile = E:\RocketLauncher\Profiles\AHK\MAME ahkEmuProfile = E:\RocketLauncher\Profiles\AHK\MAME\MAME ahkRomProfile = E:\RocketLauncher\Profiles\AHK\MAME\mslug ahkRocketLauncherProfile = E:\RocketLauncher\Profiles\AHK\RocketLauncher bezelEnabled = false bezelICEnabled = false statisticsEnabled = true pressDuration = -1 emuVolume = 1 dxwndIni = E:\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini dxwndFullPath = E:\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe qResFullPath = E:\RocketLauncher\Module Extensions\QRes.exe mon1O = pacDrivedllFile = E:\RocketLauncher\Module Extensions\PacDrive32.dll userFadeAnimIniFile = E:\RocketLauncher\Lib\User Fade Animations.ini 12:05:49:338 | RL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts 12:05:49:338 | RL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts 12:05:49:338 | RL | INFO | +0 | BuildScript - Loaded MultiGame Init.ahk scripts 12:05:49:338 | RL | WARNING | +0 | BuildScript - "E:\RocketLauncher\Lib\User Functions Init.ahk" not found 12:05:49:338 | RL | INFO | +0 | BuildScript - Validating module 12:05:49:348 | RL | INFO | +0 | BuildScript - Validation complete 12:05:49:348 | RL | INFO | +0 | BuildScript - Module: MEmu = MAME MEmuV = v0.166 MURL = http://www.mame.net/ MAuthor = djvj,faahrev,brolly,Tomkun MVersion = 2.3.1 MCRC = 9B041EF3 iCRC = 72BB0F21 mId = 635746812784197028 MSystem = "AAE","Aamber Pegasus","Acorn Electron","Amstrad CPC","Amstrad GX4000","APF Imagination Machine","Apple II","Apple IIGS","Applied Technology MicroBee","Atari 8-Bit","Atari 2600","Atari 5200","Atari 7800","Atari Classics","Atari Jaguar","Atari Lynx","Bally Astrocade","Bandai Super Vision 8000","Bandai WonderSwan","Bandai WonderSwan Color","Bit Corporation Gamate","Camputers Lynx","Capcom","Capcom Classics","Capcom Play System","Capcom Play System II","Capcom Play System III","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Commodore 64","Commodore MAX Machine","Creatronic Mega Duck","Data East Classics","EACA EG2000 Colour Genie","Emerson Arcadia 2001","Entex Adventure Vision","Epoch Game Pocket Computer","Epoch Super Cassette Vision","Exidy Sorcerer","Fairchild Channel F","Fujitsu FM-7","Funtech Super Acan","GamePark 32","GCE Vectrex","Hartung Game Master","HBMAME","Interton VC 4000","Irem Classics","JungleTac Sport Vii","Jupiter Ace","Konami Classics","LaserDisc","Magnavox Odyssey 2","MAME","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","MGT Sam Coupe","Midway Classics","Milton Bradley MicroVision","Namco Classics","Namco System 22","NEC PC-8801","NEC PC Engine","NEC PC Engine-CD","NEC SuperGrafx","NEC TurboGrafx-16","NEC TurboGrafx-CD","Nintendo 64","Nintendo 64DD","Nintendo Arcade Systems","Nintendo Classics","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Advance","Nintendo Game Boy Color","Nintendo Pokemon Mini","Nintendo Satellaview","Nintendo Super Famicom","Nintendo Super Game Boy","Nintendo Virtual Boy","Othello Multivision","PacMAME","Philips CD-i","Philips VG 5000","Philips Videopac Plus G7400","RCA Studio II","Sega 32X","Sega CD","Sega Classics","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Model 1","Sega Pico","Sega Saturn","Sega SC-3000","Sega SG-1000","Sega ST-V","Sega VMU","Sharp X1","Sinclair ZX81","SNK Classics","SNK Neo Geo","SNK Neo Geo AES","SNK Neo Geo AES","SNK Neo Geo CD","SNK Neo Geo MVS","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Sony PlayStation","Sony PocketStation","Sord M5","Soundic Victory MPT-02","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Texas Instruments TI 99-4A","Tiger Game.com","Tomy Tutor","VTech CreatiVision","Watara Supervision","Williams Classics" ;---------------------------------------------------------------------------- ; Notes: ; This module now includes everything from the legacy MAME and MESS modules, but combined to match the merge of the 2 emulators that occured on version 0.162. ; ; Exit fade will only work correctly if you don't have Esc, the default MAME exit key, as your exit key. If you use Esc, turn off the ExitScreen ; This module will set your rom paths on the fly via CLI, but you must make sure the RLUI module setting for this module "MAME_BIOS_Path" is correctly set. It defaults to your roms subfolder where MAME.exe is found. ; This module assumes you have bios zip in your MAME "roms" directory, which might be different than your actual roms directory, for each system you need this module for. All tested systems listed below ; If MAME has a problem reading the bios zips, try archving them with "no compression" ; This site can help a ton with details for the various systems supported: http://www.progettoemma.net/mess/index.html ; You may get a black screen or MAME may close w/o notice if you do not have a bios rom for your system when one is needed. ; If you use bezel, it is recommended to set the module bezel mode to normal, and go to your MAME.ini file, on your emulator folder, and choose these options: artwork_crop 1, use_backdrops 1, use_overlays 1, use_bezels 0 ; ; Command Line Options - http://easyemu.mameworld.info/mameguide/mameguide-options.html ; High Scores DO NOT SAVE when cheats are enabled! ; HLSL Documentation: http://mamedev.org/source/docs/hlsl.txt.html ; If you use MAME for AAE, create a vector.ini in mame's ini subfolder and paste these HLSL settings in there: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=309968&page=&view=&sb=5&o=&vc=1 ; ; Be aware that several systems will require a BIOS zip with their roms inside. They all come bundled in the MAME set so make sure you add your MAME roms folder to the ; roms path for that system. If you have doubts about their filenames check the mTypeVar module variable content. ; ; Following systems will also require some specific files to operate properly: ; APF Imagination Machine - apfimag (tape games), apfm1000 (cart games) ; Camputers Lynx - lynx64k, lynx96k, lynx128k ; Coleco ADAM - adam, adam_ddp, adam_fdc, adam_kb, adam_prn, adam_spi ; NEC PC Engine-CD - "Super CD-ROM2 System V3.0 (J).pce" [262,656 bytes] (placed in the roms subfolder in the emuPath) ; NEC TurboGrafx-CD - "Super CD-ROM2 System V3.01 (U).pce" [262,144 bytes] (placed in the roms subfolder in the emuPath) ; Sega CD - segacd, megacd, megacd2j (megacd2j seems to be more compatible over megacdj) ; Sony PlayStation - psa, pse, psj, psu ; ; Tape Control: ; MAME tape/cassette emulation is terrible because normally it means you need to manually start and stop the tapes yourself so it's highly suggested that you use another emulator for such systems. ; Tape control commands are accessible through the UI, press tab and then select Tape Control and you can start/stop the loaded tape from there. ; The following hotkeys can also be used: ; F2 - Start Tape ; Left Shift + F2 - Stop Tape ; Insert - While held, runs the game with throttling disabled and with the maximum frameskip. Useful to speedup the long tape loading process. ; ; Be aware that tape games are normally used on PC systems therefore it's likely that full keyboard emulation is enabled which means that you'll need to disable it in order to use any of the above ; hotkeys. To disable it press the Scroll Lock key, press it again to enable it back. ; ; 7z Support: ; Make sure you have 7z disabled for all MAME Arcade systems. Their roms are supposed to be archived, if you have 7z enabled then your games will fail to load. It's ; fine to enable 7z to non-arcade systems. ; ; Custom Configuration Files: ; If you want to use custom configuration files (.cfg files) for some games you will need to store them inside your MAME cfg folder using the following structure: ; cfg\mame_system_name\database_rom_name\mame_system_name.cfg ; An example of a game that requires specific settings is ICBM Attack for the Bally Astrocade, in this case special cfg file should be: ; cfg\astrocde\I.C.B.M. Attack (USA) (Unl)\astrocde.cfg ; ; Ini Files: ; Module will set most settings through command line which will override any settings you might have on your MAME ini files. Everything else will be read from ; those. MAME supports a hierarchical ini file structure and will load settings from several ini files following a specific order: ;- mame.ini ;- <mymame>.ini (i.e. if MAME was renamed mame060.exe, MAME parses mame060.ini here) ;- debug.ini (if the debugger is enabled) ;- <parent>.ini (for clones only, may be called recursively) ;- <gamename>.ini ;- vertical.ini (for games with vertical monitor orientation) ;- horizont.ini (for games with horizontal monitor orientation) ;- vector.ini (for vector games only) ;- <driver>.ini (based on the source filename of the driver) ; ; The settings in the later ini's override those in the earlier ini's. ; ; It's highly recommended that you set skipchecks to 'Rom Only" for MAME otherwise RocketLauncher won't be able to launch several games due ; to the way MAME roms are packaged. This will be even more noticeable for those using merged sets. ; ; Bally Astrocade: ; ICBM requires a soft reset (even on the real hardware) to launch. You can read about it here: http://www.ballyalley.com/ballyalley/articles/Playing_ICBM_Attack_Using_MESS.pdf ; Other games might require this as well, you can enable this in the module's settings so the machine is reset automatically on launch, otherwise you need to press F3 to start the game. ; Also ICBM Attack uses different controls then the rest of the games. Make sure you follow the procedure explained above under "Custom Configuration Files" to create such file. ; ; GCE Vectrex: ; Requires a vectrex.lay and a png overlay for each game. These all need to be placed in the MAME\artwork\vectrex folder. ; You can download all these pngs and the lay file in my ftp folder. You need to use the HyperList XML to match the pngs. ; ; Jupiter Ace: ; Set mame to 48k ram ; ; Magnavox Odyssey 2: ; Euro games should use the videopac bios instead of the odyssey2 one or you'll get some timing issues. ; Use the systemName ini file in the folder with this module for this, example: ; [Moto-Crash (France)] ; Bios=videopac ; ; RCA Studio 2: ; Most of the games require you to press a button to start the game, like 1 or 2 (refer to the game's manual). ; The game screen will be black until you do. ; ; Texas Instruments TI 99/4A: ; This system requires full keyboard emulation to work properly ; Split cart dumps are not supported since MESS .145 so you'll have to convert them to RPK format or use an earlier version of MESS (and a different module) ; You can check how to convert split cart dumps to RPK here: ; http://www.ninerpedia.org/index.php/MESS_multicart_system ; For floppy games make sure you have a RPK dump of an extended basic rom on your roms folder. It should be named "extended_basic.rpk" ; This system requires you to use a MAME build with Direct Input enabled in order to auto start the games. Most games will require commands to be typed to start ; and it's normally too complex to be able to do it through the -ab switch so SendCommand is used instead which means a Direct Input enabled MAME version is required. ; ; Bezels: ; Module settings control whether RocketLauncher or MAME bezels are shown ; In the bezel normal mode only RocketLauncher Bezels will be show and the MAME use_bezels option will be forced disbaled ; In the bezel layout mode, RocketLauncher Bezels will be drawn only when you do not have a layout file on your MAME folders for the current game ; ; ServoStik: ; The module will automatically control any connected ServoStiks found on the system. ; It does this by reading the xml info from MAME. If that XML info has directional info at 4 or less, 4-way mode will be enabled. All others get 8-way mode. ; ; Per game controller types: ; MAME allows you to change the controller type for each game by using slot devices. Slot devices are highly customizable and vary greatly from system to ; system so to avoid adding a huge complexity to the module this must be done through the Parameters settings. ; Slot devices are stored in the MAME ini file you are using, so the best way to find the command line you need to use is to start your game set the slot devices ; through the MAME UI (Press tab while in MAME) exit and then open the MAME ini file and search for a section named SLOT DEVICES. ; This is an example for Atari 2600 for a game using wheel controllers on both joy ports: ; # ; # SLOT DEVICES ; # ; joyport1 wheel ; joyport2 wheel ; The suggested method is to set the desired controllers you want to use by default in the Module Global Settings, in this case under the Atari 2600 tab you would ; set Parameters=-joyport1 joy -joyport2 joy ; And then for specific games do the same under Module Specific Settings for that system, if a game requires the wheel controller you'd set ; Parameters=-joyport1 wheel -joyport2 wheel ; ; Another option is to set the default values in the MAME ini file and make sure you also set writeconfig to 0. ; Swapping slot devices wipes out SYSTEM custom configs on the unplugged controllers, so to avoid any customised controls getting erased everytime you change slot devices, ; ensure you set your controls in the main MAME config file (MAME.ini), not the system one (ex. Atari 2600.ini). ; ; Linking/NetPlay: ; The module will automatically set correct network ports for linked games. ; Up to 8 players on the same PC are supported. Multiple copies of MAME will be launched. ; Placement of the screens are automatic but can be controlled in RocketLauncherUI MAME module settings. Windowed mode is required when more than one copy of mame is launched and is set automatically. ; Each player will use a different cfg and nvram folder in your MAME folder. Player 1 will always use .\cfg and .\nvram. ; Players 2 through 8 will use .\cfg2, .\cfg3, etc and .\nvram2, .\nvram3, etc ; These folders and cfg/nvram files will be automatically created for you on launch so you do not need to create them manually. ; Global inputs is automatically turned on for you but it is your job to setup individual controls for each instance. MAME only supports raw-input in this mode however. ; Over a LAN/WAN connection only 2 players are supported due to the way the ports are designated, it's impossible to automate port allocation because there is no 1 server where all hosts connect to. ; Default starting port for the Master is 15111 and consecutively goes up from there upto 15119 for 8 players. You can change the default starting port in the module settings if it conflicts with used ports on your network. ; There are other network related settings in the module settings to assist with starting IPs and connectivity, so check them out as well. ; ; NVRAM Automation for linked games: ; When launching linked games on the same pc NVRAM settings are automatically set for you so each player will be unique. ; For instance, in Virtua Racing, Player 1 is red, player 2 is blue, player 3 is yellow, etc. ; To do this, some other options are also set automatically for you as well, like region, difficulty, countr, course, etc ; I set these to defaults, but prefer USA region. If you do not like these, you will have to disable NVRAM automation in the module settings in RocketLauncherUI. ; ; Additional Link info that may be of some importance: ; The original Model-1 has a max Bandwidth of 6 MBit/s (TOTX173/TORX173). ; One Board sends about 20 KByte/s. ; So bandwidth CLIENTSIDE is like... ; 2 Boards - 20 KByte/s inbound and 20 KByte/s outbound. ; 3 Boards - 40 KByte/s inbound and 20 KByte/s outbound. ; 4 Boards - 60 KByte/s inbound and 20 KByte/s outbound. ; etc. ; Some good info on Linking: http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=297577&page=0 ; also http://forum.arcadecontrols.com/index.php/topic,130136.msg1331485.html ;---------------------------------------------------------------------------- StartModule() BezelGUI() ; This object controls how the module reacts to different systems. MAME can play a lot of systems, but needs to know what system you want to run, so this module has to adapt. mTypeVar := " ( LTrim Aamber Pegasus|pegasus Acorn Electron|electron Amstrad CPC|cpc664 Amstrad GX4000|gx4000 APF Imagination Machine|apfimag Apple II|apple2ep Apple IIGS|apple2gs Applied Technology MicroBee|mbeeic Atari 8-Bit|a800 Atari 2600|a2600 Atari 5200|a5200 Atari 7800|a7800 Atari Jaguar|jaguar Atari Lynx|lynx Bally Astrocade|astrocde Bandai Super Vision 8000|sv8000 Bandai WonderSwan|wswan Bandai WonderSwan Color|wscolor Bit Corporation Gamate|gamate Camputers Lynx|lynx128k Casio PV-1000|pv1000 Casio PV-2000|pv2000 Coleco ADAM|adam ColecoVision|coleco Commodore 64|c64 Commodore MAX Machine|vic10 Creatronic Mega Duck|megaduck EACA EG2000 Colour Genie|cgenie Emerson Arcadia 2001|arcadia Entex Adventure Vision|advision Epoch Game Pocket Computer|gamepock Epoch Super Cassette Vision|scv Exidy Sorcerer|sorcerer Fairchild Channel F|channelf Fujitsu FM-7|fmnew7 Funtech Super Acan|supracan GamePark 32|gp32 GCE Vectrex|vectrex Hartung Game Master|gmaster Interton VC 4000|vc4000 JungleTac Sport Vii|vii Jupiter Ace|jupace Magnavox Odyssey 2|odyssey2 Matra & Hachette Alice|alice32 Mattel Aquarius|aquarius Mattel Intellivision|intv MGT Sam Coupe|samcoupe Milton Bradley MicroVision|microvsn NEC PC-8801|pc8801 NEC PC Engine|pce NEC PC Engine-CD|pce NEC SuperGrafx|sgx NEC TurboGrafx-16|tg16 NEC TurboGrafx-CD|tg16 Nintendo 64|n64 Nintendo 64DD|n64dd Nintendo Entertainment System|nes Nintendo Famicom|famicom Nintendo Famicom Disk System|fds Nintendo Game Boy|gameboy Nintendo Game Boy Advance|gba Nintendo Game Boy Color|gbcolor Nintendo Pokemon Mini|pokemini Nintendo Satellaview|snes Nintendo Super Famicom|snes Nintendo Super Game Boy|supergb Nintendo Virtual Boy|vboy Othello Multivision|omv1000 Philips CD-i|cdimono1 Philips Videopac Plus G7400|g7400 Philips VG 5000|vg5k RCA Studio II|studio2 Sega 32X|32x Sega CD|segacd Sega Game Gear|gamegear Sega Genesis|genesis Sega Master System|sms Sega Mega Drive|megadriv Sega Pico|pico Sega Saturn|saturn Sega SC-3000|sc3000 Sega SG-1000|sg1000 Sega VMU|svmu Sharp X1|x1turbo40 Sinclair ZX81|zx81 SNK Neo Geo AES|aes SNK Neo Geo CD|neocdz SNK Neo Geo Pocket|ngp SNK Neo Geo Pocket Color|ngpc Sony PlayStation|psx Sony PocketStation|pockstat Sord M5|m5 Soundic Victory MPT-02|mpt02 Super Nintendo Entertainment System|snes Tandy TRS-80 Color Computer|coco3 Texas Instruments TI 99-4A|ti99_4a Tiger Game.com|gamecom Tomy Tutor|tutor VTech CreatiVision|crvision Watara Supervision|svision )" mType := Object() Loop, Parse, mTypeVar, `n, `r { obj := {} Loop, Parse, A_LoopField, | If (A_Index = 1) obj.System := A_LoopField Else ; 2 obj.mameID := A_LoopField mType.Insert(obj["System"], obj) } Log("Module - Finished building the " . MEmu . " object",4) ; For easier use throughout the module mameSystem := mType[systemName].System mameID := mType[systemName].mameID If !mameSystem { Log("Module - """ . systemName . """ is not a known console or computer system. Defaulting to MAME's Arcade mode for the remainder of this " . MEmu . " module.",2) mameSystem := systemName mameID := "MAME" } settingsFile := modulePath . "\" . moduleName . ".ini" Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1) ; Set fullscreen mode legacyMode := IniReadCheck(settingsFile, "Settings|" . systemName . "|" . romName, "LegacyMode","false",,1) mameBiosPath := IniReadCheck(settingsFile, "Settings", "MAME_BIOS_Path", emuPath . "\roms",,1) mameBiosPath := GetFullName(mameBiosPath) Videomode := IniReadCheck(settingsFile, "Settings", "Videomode","d3d",,1) ; Choices are gdi,ddraw,d3d. If left blank, MAME uses d3d by default pauseMethod := IniReadCheck(settingsFile, "Settings", "PauseMethod",1,,1) ; set the pause method that works better on your machine (preferred methods 1 and 2) 1 = Win7 and Win8 OK - Problems with Win XP, 2 = preferred method for WinXP - Problems in Win7, 3 and 4 = same as 1 and 2, 5 = only use If you have a direct input version of mame, 6 = suspend mame process method, it could crash mame in some computers bilinearFilter := IniReadCheck(settingsFile, "Settings|" . mameSystem, "BilinearFilter","false",,1) hlsl := IniReadCheck(settingsFile, "Settings|" . mameSystem . "|" . romName, "HLSL","false",,1) glsl := IniReadCheck(settingsFile, "Settings|" . mameSystem . "|" . romName, "GLSL","false",,1) bezelMode := IniReadCheck(settingsFile, "Settings|" . systemName . "|" . romName, "BezelMode","layout",,1) ; "layout" or "normal" verticalRotationMode := IniReadCheck(settingsFile, "Settings|" . mameSystem . "|" . romName, "VerticalRotationMode","none",,1) cheatMode := IniReadCheck(settingsFile, "Settings", "CheatMode","false",,1) cheatModeKey := IniReadCheck(settingsFile, "Settings", "CheatModeKey",A_Space,,1) ; user defined key to be held down before launching a mame rom. UseSoftwareList := IniReadCheck(settingsFile, mameSystem . "|" . romName, "UseSoftwareList","false",,1) sysStaticParams := IniReadCheck(settingsFile, mameSystem, "StaticParameters", A_Space,,1) sysParams := IniReadCheck(settingsFile, mameSystem, "Parameters", A_Space,,1) romParams := IniReadCheck(settingsFile, romName, "Parameters", sysParams,,1) mameRomName := IniReadCheck(settingsFile, romName, "MameRomName", A_Space,,1) autosave := IniReadCheck(settingsFile, systemName . "|" . romName, "Autosave", "false",,1) volume := IniReadCheck(settingsFile, "Settings|" . systemName . "|" . romName, "Volume",,,1) Artwork_Crop := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Artwork_Crop", "true",,1) Use_Bezels := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Bezels", "false",,1) Use_Overlays := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Overlays", "true",,1) Use_Backdrops := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Backdrops", "true",,1) Use_Cpanels := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Cpanels", "false",,1) Use_Marquees := IniReadCheck(settingsFile, mameSystem . "|" . romName, "Use_Marquees", "false",,1) inipath := IniReadCheck(settingsFile, mameSystem, "IniPath", "",,1) hashpath := IniReadCheck(settingsFile, mameSystem, "HashPath", "",,1) ; Loop, 8 ; car%A_Index%Color := IniReadCheck(settingsFile, romName, "Car_" . A_Index . "_Color","",,1) enableLinkPlay := IniReadCheck(settingsFile, "Link/Network|" . romName, "Enable_Link_Play", "false",,1) networkSession := "" If (enableLinkPlay != "false") { Log("Module - Link/Network Multi-Player is an available option for " . romName,4) getWANIP := IniReadCheck(settingsFile, "Link/Network", "Get_WAN_IP","false",,1) myIP := If getWANIP = "true" ? GetPublicIP() : "127.0.0.1" ; use local ip by default if user does not want to get the WAN IP as MAME needs this for linked games networkPlayers := enableLinkPlay ; Max amount of networkable players localLink := 1 ; Tell Multiplayer menu to enable menu option for local linking enableNVRAMAutomation := IniReadCheck(settingsFile, "Link/Network|" . romName, "Enable_NVRAM_Automation","true",,1) maxPlayersPerMonitor := IniReadCheck(settingsFile, "Link/Network|" . romName, "Max_Players_Per_monitor","1|1|1|1|1|1|1|1",,1) splitScreen2PlayersMode := IniReadCheck(settingsFile, "Link/Network|" . romName, "SplitScreen_2_Players","Horizontal",,1) ;horizontal or vertical splitScreen3PlayersMode := IniReadCheck(settingsFile, "Link/Network|" . romName, "SplitScreen_3_Players","P1top",,1) ; For Player1 screen to be on left: P1left. For Player1 screen to be on top: P1top. For Player1 screen to be on bottom: P1bottom. For Player1 screen to be on right: P1right. localPort := IniReadCheck(settingsFile, "Link/Network", "Local_Port","15111",,1) defaultServerIP := IniReadCheck(settingsFile, "Link/Network", "Default_Server_IP", myIP,,1) defaultServerPort := IniReadCheck(settingsFile, "Link/Network", "Default_Server_Port","15111",,1) lastIP := IniReadCheck(settingsFile, "Link/Network", "Last_IP", defaultServerIP,,1) ; also known as the Remote IP in mame. Does not need to be on the ISD lastPort := IniReadCheck(settingsFile, "Link/Network", "Last_Port", defaultServerPort,,1) ; also known as the Remote Port in mame. Does not need to be on the ISD MultiplayerMenu(lastIP, lastPort, networkType, networkPlayers,,,,,,localLink,"ipAndPort") ;MultiPlayer Menu Result ; If !(networkType) ; MsgBox, % "Single Player Game" ; Else If (networkType="localLink") ; MsgBox, % "Local Link selected with the number of players equal to: " . networkPlayers ; Else If (networkType="server") ; MsgBox, % "WAN IP Address=" . networkIP . " | LAN IP Address=" . localIP[1,2] . " | Port=" . networkPort . " | networkPlayers=" . networkPlayers . " | networkRequiresSetup=" . networkRequiresSetup ; Else If (networkType="client") ; MsgBox, % "NetworkIP=" . networkIP . " | Port Number=" . networkPort . " | networkRequiresSetup=" . networkRequiresSetup If networkSession { Log("Module - Using a Network for " . romName,4) multiPlayerObj := Object() ; initialize object to store the multiplayer options If (networkType="localLink") { Log("Module - Setting remote host to 127.0.0.1 to support local link mode as it is running on this PC.") linkEnabledGame := 1 If networkPlayers > 1 { Log("Module - Local link mode was selected and " . networkPlayers . " sessions will be launched.") fullscreen := "false" ; must turn off fullscreen if running multiple MAMEs on the same machine Loop % networkPlayers { multiPlayerObj[A_Index,"Player"] := A_Index multiPlayerObj[A_Index,"CfgDir"] := " -cfg_directory cfg" . (If A_Index = 1 ? "" : A_Index) multiPlayerObj[A_Index,"NvramDir"] := " -nvram_directory nvram" . (If A_Index = 1 ? "" : A_Index) If (A_Index = 1) { ; Player 1 initialLocalPort := localPort ; must be stored for last player multiPlayerObj[A_Index,"LocalHost"] := " -comm_localhost 0.0.0.0" multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort localPort++ multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . localPort } Else { ; Players 2+ multiPlayerObj[A_Index,"LocalPort"] := " -comm_localport " . localPort localPort++ multiPlayerObj[A_Index,"RemoteHost"] := " -comm_remotehost 127.0.0.1" multiPlayerObj[A_Index,"RemotePort"] := " -comm_remoteport " . (If A_Index = networkPlayers ? initialLocalPort : localPort) ; must set remote port to first port on last player } ; msgbox % "Player: " . multiPlayerObj[A_Index]["Player"] . "`nLocalHost: " . multiPlayerObj[A_Index]["LocalHost"] . "`nLocalPort: " . multiPlayerObj[A_Index]["LocalPort"] . "`nRemoteHost: " . multiPlayerObj[A_Index]["RemoteHost"] . "`nRemotePort: " . multiPlayerObj[A_Index]["RemotePort"] . "`nCfgDir: " . multiPlayerObj[A_Index]["CfgDir"] . "`nNvramDir: " . multiPlayerObj[A_Index]["NvramDir"] } } Else Log("Module - Local link mode was selected but user only chose 1 player. Launch will be a normal session.") } Else If (networkType = "client") { Log("Module - Remote host is running on another PC, module will use remote link mode.") IniWrite, %networkIP%, %settingsFile%, Link/Network, Last_IP ; Save last used IP and Port for quicker launching next time IniWrite, %networkPort%, %settingsFile%, Link/Network, Last_Port linkType := "Slave" networkPlayers := 1 multiPlayerObj[1,"Player"] := 1 multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg" multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram" multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0" ; don't really need to set this but just in case multiPlayerObj[1,"LocalPort"] := " -comm_localport " . localPort multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort } Else { ; server Log("Module - This PC is acting as the host, telling mame to listen for incoming connections on port: " . localPort) IniWrite, %networkIP%, %settingsFile%, Link/Network, Last_IP ; Save last used IP and Port for quicker launching next time IniWrite, %networkPort%, %settingsFile%, Link/Network, Last_Port linkType := "Master" networkPlayers := 1 multiPlayerObj[1,"Player"] := 1 multiPlayerObj[1,"CfgDir"] := " -cfg_directory cfg" multiPlayerObj[1,"NvramDir"] := " -nvram_directory nvram" multiPlayerObj[1,"LocalHost"] := " -comm_localhost 0.0.0.0" ; don't really need to set this but just in case multiPlayerObj[1,"LocalPort"] := " -comm_localport " . networkPort multiPlayerObj[1,"RemoteHost"] := " -comm_remotehost " . networkIP multiPlayerObj[1,"RemotePort"] := " -comm_remoteport " . networkPort } Log("Module - Starting a network session using the IP """ . networkIP . """ and PORT """ . networkPort . """",4) } Else { Log("Module - User chose Single Player mode for this session",4) } } FadeInStart() ;Read settings from system name ini file sysSettingsFile := modulePath . "\" . mameSystem . ".ini" If FileExist(sysSettingsFile) { romParams := IniReadCheck(sysSettingsFile, romName, "Parameters", romParams,,1) hlsl := IniReadCheck(sysSettingsFile, romName, "HLSL",hlsl,,1) glsl := IniReadCheck(sysSettingsFile, romName, "GLSL",glsl,,1) Artwork_Crop := IniReadCheck(sysSettingsFile, romName, "Artwork_Crop", Artwork_Crop,,1) Use_Bezels := IniReadCheck(sysSettingsFile, romName, "Use_Bezels", Use_Bezels,,1) Use_Overlays := IniReadCheck(sysSettingsFile, romName, "Use_Overlays", Use_Overlays,,1) Use_Backdrops := IniReadCheck(sysSettingsFile, romName, "Use_Backdrops", Use_Backdrops,,1) Use_Cpanels := IniReadCheck(sysSettingsFile, romName, "Use_Cpanels", Use_Cpanels,,1) Use_Marquees := IniReadCheck(sysSettingsFile, romName, "Use_Marquees", Use_Marquees,,1) UseSoftwareList := IniReadCheck(sysSettingsFile, romName, "UseSoftwareList", UseSoftwareList,,1) } If inipath inipath := AbsoluteFromRelative(EmuPath, inipath) If hashpath hashpath := AbsoluteFromRelative(EmuPath, hashpath) artworkCrop := If (Artwork_Crop = "true") ? " -artwork_crop" : " -noartwork_crop" useBezels := If (Use_Bezels = "true") ? " -use_bezels" : " -nouse_bezels" useOverlays := If (Use_Overlays = "true") ? " -use_overlays" : " -nouse_overlays" useBackdrops := If (Use_Backdrops = "true") ? " -use_backdrops" : " -nouse_backdrops" useCpanels := If (Use_Cpanels = "true") ? " -use_cpanels" : " -nouse_cpanels" useMarquees := If (Use_Marquees = "true") ? " -use_marquees" : " -nouse_marquees" autosave := If autosave = "true" ? " -autosave" : "" volume := If volume != "" ? " -volume " . volume : "" inipath := If inipath != "" ? " -inipath """ . inipath . """" : "" hashpath := If hashpath != "" ? " -hashpath """ . hashpath . """" : "" If (verticalRotationMode = "none") verticalRotationMode := "" ; Process mame's ListXML for certain features If (bezelEnabled = "true" || servoStikEnabled = "auto" || verticalRotationMode) { ListXMLObject := Object() ListXMLObject := ListXMLInfo(If mameRomName ? mameRomName : romName) Angle := ListXMLObject["Angle"].Value If (bezelEnabled = "true") { If (networkPlayers > 1) { useBezels := " -nouse_bezels" ; force disabling MAME built-in bezels BezelStart(networkPlayers) } Else { If (bezelMode = "layout"){ BezelStart("layout",ListXMLObject["Parent"].Value,Angle,romName) } Else { ;bezel mode = normal useBezels := " -nouse_bezels" ; force disabling MAME built-in bezels BezelStart(,,Angle) } } } If (servoStikEnabled = "auto") { ServoStik(If ListXMLObject["Ways"].Value <= 4 ? 4 : 8) ; If "ways" in the xml is set to 4 or less, the servo will go into 4-way mode, else 8-way mode will be enabled } If (verticalRotationMode && Angle) { Log("Setting rotation mode to " . verticalRotationMode . " - Game's angle is " . Angle) If (verticalRotationMode = "original") verticalRotationMode := " -norotate" Else If (verticalRotationMode = "right") verticalRotationMode := " -ror" Else If (verticalRotationMode = "left") verticalRotationMode := " -rol" Else verticalRotationMode := "" } Else verticalRotationMode := "" } winstate := If (Fullscreen = "true") ? "Hide UseErrorLevel" : "UseErrorLevel" fullscreenParam := If (Fullscreen = "true") ? " -nowindow" : " -window" hideEmuObj := Object(dialogOpen . " ahk_class ConsoleWindowClass",0,"ahk_class MAMEDebugWindow",0,"ahk_class MAMEOutput",0,"ahk_class MAME",1) ;Hide_Emu will hide these windows. 0 = will never unhide, 1 = will unhide later 7z(romPath, romName, romExtension, sevenZExtractPath) ; Get MAME version from executable, this is needed since some CLI switches are not available in older MAME versions exeAtrib := FileGetVersionInfo_AW(EmuPath . "\" . executable, "FileVersion|ProductVersion", "|") Loop, Parse, exeAtrib, |%A_Tab%, %A_Space% A_Index & 1 ? ( _ := A_LoopField ) : ( %_% := A_LoopField ) If ProductVersion StringRight, MAMEVersion, ProductVersion, StrLen(ProductVersion) - 2 Log("Module - Detected MAME Product Version from '" . EmuPath . "\" . executable . "' is " . MAMEVersion) If (videomode = "opengl") { hlsl := " -nohlsl_enable" If (MAMEVersion > 159) glsl := If glsl = "true" ? " -gl_glsl" : (If glsl = "ini" ? "" : " -nogl_glsl") Else glsl := "" } Else { hlsl := If hlsl = "true" ? " -hlsl_enable" : (If hlsl = "ini" ? "" : " -nohlsl_enable") If (MAMEVersion > 159) glsl := If videomode = "ini" ? "" : " -nogl_glsl" Else glsl := "" If (videomode = "ini") videomode := "" } videomode := If (Videomode != "" ) ? " -video " . videomode : "" param1 := " -cart """ . romPath . "\" . romName . romExtension . """" ; default param1 used for launching most systems. If romExtension = .txt ; This can be applied to all systems param1 := "" If (mameID = "apfimag") ; APF Imagination Machine If (romExtension != ".tap") mameID := "apfm1000" ; cart games for APF Imagination Machine require a different bios to be loaded If (UseSoftwareList != "true") { ; Now that we know the system we are loading, determine if we use an ini assocated with that system for custom game configs a user might need. Then load the configs associated to that game. If mameID in ti99_4a,aes,apple2gs,electron,mbeeic,odyssey2,astrocde,samcoupe,vic10,cpc664 ; these systems will use an ini to store game specific settings { mameSysINI := CheckFileMAME(modulePath . "\" . mameSystem . ".ini") ; create the ini if it does not exist If (mameID = "ti99_4a") ; Texas Instruments TI 99-4A { ExpansionCartLocation := IniReadCheck(sysSettingsFile, "Settings", "ExpansionCartLocation", romPath . "\System",,1) ExpansionCartLocation := GetFullName(ExpansionCartLocation) CommandWaitOffset := IniReadCheck(sysSettingsFile, "Settings", "CommandWaitOffset", 0,,1) ExpansionCart := IniReadCheck(sysSettingsFile, romName, "Expansion_Cart","extended_basic.rpk",,1) ; user can specify a rom specific cart instead of the default basic one Command := IniReadCheck(sysSettingsFile, romName, "Command", "",,1) ; Now set the parameters to send to MAME If (romExtension = ".dsk") ; Expansion Disk { ; If using the mainCart , send expansionLocation to MAME. This will require DirectInput to be enabled on the MAME build! Else we are loading a Disk game param1 := " -nat -gromport single -cart1" param2 := " """ . ExpansionCartLocation . "\" . ExpansionCart . """" param3 := " -peb:slot2 32kmem -peb:slot3 speech -peb:slot6 tirs232 -peb:slot8 hfdc" param4 := " -flop1" param5 := " """ . romPath . "\" . romName . romExtension . """" If InStr(romName, "(Disk") { Sleep, 50 If (romTable.MaxIndex() = 2) { param4 := " -flop1 " . " """ . romTable[1,1] . """" param5 := " -flop2 " . " """ . romTable[2,1] . """" } } } Else If (romExtension = ".rpk") ; Cart Game (RPK Format) param1 := " -nat -gromport single -cart1", param2:=" """ . romPath . "\" . romName . romExtension . """", param3:=" -peb:slot3 speech" ;-cart will also work here param6 := " -ui_active" ;Enable partial keyboard mode at startup } Else If (mameID = "aes") ; SNK Neo Geo AES { biosRegion := IniReadCheck(mameSysINI, romName, "BIOS_Region","asia",,1) param1 := " -bios " . biosRegion ; can also be japan, but the asian one has english menus for most games param2 := " -cart " . romName }Else If (mameID = "apple2gs") ; Apple IIGS { externalOS := IniReadCheck(mameSysINI, romName, "External_OS","false",,1) 2gsSystemFile := "System6.2mg" ;For games without OS included, always force this name and error out if not found multipartTable := CreateRomTable(multipartTable) If (externalOS = "true") { CheckFile(romPath . "\" . 2gsSystemFile) param1 := " -flop3", param2:=" """ . romPath . "\" . 2gsSystemFile . """", param3:=" -flop4", param4:=" """ . romPath . "\" . romName . romExtension . """" } Else { param1 := " -flop3", param2:=" """ . romPath . "\" . romName . romExtension . """" If (multipartTable.MaxIndex() > 1) param3 := " -flop4", param4 := " """ . multipartTable[2,1] . """" } param5 := " -ui_active" ;Enable partial keyboard mode at startup }Else If (mameID = "electron") ; Acorn Electron { AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1) ; Read delay from config. AutoBootDelay := " -autoboot_delay " . AutoBootDelay If (romExtension = ".bin") mediaDeviceType := "cart" Else ; any other format mediaDeviceType := "cass" param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . "" }Else If (mameID = "sc3000") ; Sega SC-3000 { AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1) ; Read delay from config. AutoBootDelay := " -autoboot_delay " . AutoBootDelay If romExtension In .bin,.sg,.sc mediaDeviceType := "cart" Else ; any other format mediaDeviceType := "cass" param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . "" }Else If (mameID = "c64") ; Commodore 64 { AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1) ; Read delay from config. AutoBootDelay := " -autoboot_delay " . AutoBootDelay If romExtension In .d64,.g64,.g41,.d77,.d88,.1dd,.dfi,.imd,.ipf,.mfi,.mfm,.td0,.cqm,.cqi,.dsk mediaDeviceType := "flop1" Else If romExtension In .wav,.tap mediaDeviceType := "cass1" Else If romExtension In .80,.a0,.e0,.crt mediaDeviceType := "cart1" Else If romExtension In .p00,.prg,.t64 mediaDeviceType := "quik1" param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""chain""""""""""""\n""" . AutoBootDelay . "" }Else If mameID = mbeeic ; Applied Technology MicroBee { microbeeModel := IniReadCheck(mameSysINI, romName, "MicroBee_Model","mbeeic",,1) If microbeeModel not in mbee,mbeeic,mbeepc,mbeepc85,mbee56 ScriptError("This is not a known MicroBee model value: " . microbeeModel) Else If (microbeeModel != "mbeeic") mameID := microbeeModel If romExtension in .mwb,.com,.bee mediaDeviceType := "quik1" Else If romExtension in .wav,.tap mediaDeviceType := "cass" Else If romExtension in .rom mediaDeviceType := "cart" Else If romExtension in .dsk mediaDeviceType := "flop1" Else ; .bin format mediaDeviceType := "quik2" param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "odyssey2") ; Magnavox Odyssey 2 { param2 := " -ui_active" ;Enable partial keyboard mode at startup If romName not contains (USA mameID := "videopac" }Else If (mameID = "astrocde") ; Bally Astrocade { BlueRAMBasicRom := IniReadCheck(mameSysINI, "Settings", "BlueRAMBasicRom","Blue RAM Basic v1.1 (USA).bin",,1) ; Blue RAM Basic rom RequiresReset := IniReadCheck(mameSysINI, romname, "RequiresReset","false",,1) ; Check if game requires a reset BlueRAMBasicRomPath := romPath . "\" . BlueRAMBasicRom If (romExtension = ".script") { ;Will require blue ram basic If !FileExist(BlueRAMBasicRomPath) { ;Blue RAM Basic games might be in their own sub-folders since they have several files, so let's try to find the Blue RAM cart in the parent folder as well SplitPath,romPath,,romBasePath BlueRAMBasicRomPath := CheckFile(romBasePath . "\" . BlueRAMBasicRom, "Couldn't find " . BlueRAMBasicRom . " on any of these paths:" . romBasePath . "|" . romPath) } scriptFile := romPath . "\" . romName . romExtension param1 := " -cart """ . BlueRAMBasicRomPath . """" ;Replace rompath variable in script FileRead, scriptData, %scriptFile% StringReplace, scriptData, scriptData, {romPath}, %romPath%, all ;Create cmd file to send to MESS FileDelete, %romPath% . "\" . %romName% . ".cmd" FileAppend, %scriptData%, %romPath%\%romName%.cmd param2 := " -exp blue_ram_16k -debug -debugscript """ . romPath . "\" . romName . ".cmd""" closeDebugWindow := "true" } }Else If (mameID = "samcoupe") ; MGT Sam Coupe { AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1) ; Read delay from config. AutoBootDelay := " -autoboot_delay " . AutoBootDelay If romExtension in .mgt,.dsk,.d77,.d88,.1dd,.dfi,.imd,.ipf,.mfi,.mfm,.td0,.cqm,.cqi mediaDeviceType := "flop1" param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""\nBOOT\n""" . AutoBootDelay . "" }Else If (mameID = "vic10") ; Commodore MAX Machine { AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1) ; Read delay from config. AutoBootDelay := " -autoboot_delay " . AutoBootDelay If romExtension in .e0,.80 param1 := " -cart """ . romPath . "\" . romName . romExtension . """" Else If romExtension in .wav,.tap param1 := " -cass """ . romPath . "\" . romName . romExtension . """" Else If romExtension in .t64,.prg,.p00 { mediaDeviceType := "quik" param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """ -autoboot_command ""RUN""" . AutoBootDelay . "" } }Else If (mameID = "cpc664") ; Amstrad CPC { LaunchProgram := IniReadCheck(mameSysINI, romName, "LaunchProgram","disk",,1) ; Read command from config. LaunchProgram := " -autoboot_command " . """RUN \""" . LaunchProgram . "\n""" AutoBootDelay := IniReadCheck(mameSysINI, "Settings", "AutoBootDelay","2",,1) ; Read delay from config. AutoBootDelay := " -autoboot_delay " . AutoBootDelay If romExtension in .d77,.d88,.1dd,.dfi,.imd,.ipf,.mfi,.mfm,.td0,.cqm,.cqi,.dsk mediaDeviceType := "flop1" param1 := " -" . mediaDeviceType . " """ . romPath . "\" . romName . romExtension . """" . LaunchProgram . AutoBootDelay } ;Use a different bios if needed (This must be done after the above if conditions since the mameID will change) iniBios := IniReadCheck(mameSysINI, romName, "Bios",mameID,,1) ; for all games, we use the default bios. Some games might require different bios like Odyssey2's Jopac games use the videopac bios instead, which should be defined in the ini If (iniBios != "") mameID := iniBios ; need to change the bios name for some games } ; These systems don't use an ini, but do require parameters to be changed from the default method of launching MAME If (mameID = "neocdz" || mameID = "cdimono1" || mameID = "segacd" || mameID = "saturn" || mameID = "psx" || (mameID = "tg16" && mameSystem = "NEC TurboGrafx-CD") || (mameID = "pce" && mameSystem = "NEC PC Engine-CD")) ; SNK Neo Geo CD, Philips CD-i, Sega CD, Sega Saturn, Sony PlayStation, NEC PC Engine-CD or NEC TurboGrafx-CD { If romExtension not in .chd,.cue ScriptError("MAME only supports " . mameSystem . " games in chd and cue format. It does not support:`n" . romExtension) If (mameSystem = "NEC TurboGrafx-CD") { ; NEC TurboGrafx-CD needs an additional bios mounted as a cart to run ; tgcdBios := CheckFile(emuPath . "\roms\CD-ROM System V2.01 (U).pce") ; older bios that doesn't seem to work with many games tgcdBios := CheckFile(emuPath . "\roms\Super CD-ROM2 System V3.01 (U).pce") param2 := " -cart " . """" . tgcdBios . """" } Else If (mameSystem = "NEC PC Engine-CD") { ; NEC PC Engine-CD needs an additional bios mounted as a cart to run pcecdBios := CheckFile(emuPath . "\roms\Super CD-ROM2 System V3.0 (J).pce") param2 := " -cart " . """" . pcecdBios . """" } Else If (mameID = "psx") { ; Sony PlayStation mameID := "psu" ; changing mameID sent to MAME to use the USA bios ; SelectMemCard() ; future function to swap around memcards ; Usage: mc1 "J:\MAME\software\psu\card1.mc" } If (mameSystem = "Sega CD") { ; If InStr(romName,"(Jap") ; Mega CD Japanese v2 mameID := "megacd2j" Else If InStr(romName,"(Euro") ; Mega CD European (PAL) mameID := "megacd" } param1 := " -cdrm """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "gamecom") ; Tiger Game.com { If (romExtension != ".txt") param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "genesis") ; Sega Genesis { If (InStr(romName, "(Europe") || InStr(romName, "(PAL")) ; if rom is from europe, tell MAME to boot a Mega Drive instead mameID := "megadriv" }Else If (mameID = "megadriv") ; Sega Mega Drive { If (InStr(romName, "(USA") || InStr(romName, "(NTSC")) ; if rom is from America, tell MAME to boot a Genesis instead mameID := "genesis" }Else If (mameID = "vii") ; JungleTac Sport Vii { If (romName = "Built-In Games (China)") ; Has some built-in games, gotta launch just BIOS for it. param1 := "" }Else If (mameID = "alice32") ; Matra & Hachette Alice { If (romExtension != ".txt") param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "cgenie") ; EACA EG2000 Colour Genie { If (romExtension != ".txt") param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "pockstat") ; Sony PocketStation { If (romExtension != ".gme") param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "coco3") ; Tandy TRS-80 Color Computer { If (romExtension != ".txt") param1 := " -cart """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "zx81") ; Sinclair ZX81 { If (romExtension != ".txt") param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "lynx128k") ; Camputers Lynx { If (romExtension != ".txt") param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "vg5k") ; Philips VG 5000 { If (romExtension != ".txt") param1 := " -cass1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "sorcerer") ; Exidy Sorcerer { If (romExtension = ".snp") ; Snapshot file param1 := " -dump """ . romPath . "\" . romName . romExtension . """" Else If (romExtension = ".bin") param1 := " -quik """ . romPath . "\" . romName . romExtension . """" }Else If (messID = "jupace") ; jupiter ace { If (romExtension = ".ace") param1 := " -dump """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "a800" || mameID = "fds") ; Atari 8-Bit, Nintendo Famicom Disk System { If (romExtension != ".txt") param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "vectrex") ; GCE Vectrex { If (romName = "Mine Storm (World)") ; MAME dumps an error if you try to launch Mine Storm using a rom instead of just booting vectrex w/o a game in it (Mine Storm is built into vectrex) param1 := "" }Else If (mameID = "apfm1000") ; APF Imagination Machine/APF M1000 { If (romName = "Rocket Patrol (USA)") ; Rocket Patrol is built into the APF M1000 ROM. param1 := "" }Else If (mameID = "adam") ; Coleco ADAM param1 := (If romExtension = ".ddp" ? " -cass1" : (If romExtension = ".dsk" ? " -flop1" : " -cart1")) . " """ . romPath . "\" . romName . romExtension . """" ; Decide if tape, disk, or cart game Else If (mameID = "pegasus") ; Aamber Pegasus { If (romExtension != ".txt") param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "gp32") ; GamePark 32 { If (romExtension != ".txt") param1 := " -memc """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "svmu") ; Sega VMU { param1 := " -quik """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "x1turbo40") ; Sharp X1 { If romExtension in .bin,.rom param1 := " -cart """ . romPath . "\" . romName . romExtension . """" Else If romExtension in .wav,.tap param1 := " -cass """ . romPath . "\" . romName . romExtension . """" Else param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "pc8801") ; NEC PC-8801 { If (romExtension = ".d88") param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "fmnew7 ") ; Fujitsu FM-7 { If romExtension in .fdi,.td0,.imd,.cqm,.dsk,.d77,.d88,.1dd param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """" Else If romExtension in .wav,.t77 param1 := " -cass """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "apple2ep") ; Apple II { If romExtension in .dsk,.do,.po,.rti,.edd,.d77,.d88,.1dd,.dfi,.imd,.i pf,.mfi,.mfm,.td0,.cqm,.cqi param1 := " -flop1 """ . romPath . "\" . romName . romExtension . """" Else If romExtension in .wav param1 := " -cass """ . romPath . "\" . romName . romExtension . """" }Else If (mameID = "n64dd") ; Nintendo 64DD { If FileExist(romPath . romName . ".n64") param1 := " -cart """ . romPath . "\" . romName . ".n64"" -quik """ . romPath . "\" . romName . romExtension . """" Else param1 := " -quik """ . romPath . "\" . romName . romExtension . """" }Else If mameID in studio2,mpt02 ;RCA Studio 2 { If (romExtension != ".txt") param1 := " -cart1 """ . romPath . "\" . romName . romExtension . """" Else { If romName contains Doodle button2 := "A 1" ; Press 1 on P1 controller If romName contains Patterns button2 := "A 2" ; Press 2 on P1 controller If romName contains Bowling button2 := "A 3" ; Press 3 on P1 controller If romName contains Freeway button2 := "A 4" ; Press 4 on P1 controller If romName contains Addition button2 := "A 5" ; Press 5 on P1 controller } ; Generate a lua script to press the Clear button so games will start ScriptFileName := GeneratePressButtonScript("Clear",button2) bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1" } } Else { ; Use Software List hashname := mameID param1 := " """ . romName . """" ; param1 used for launching from software lists If (mameID = "aes") ; SNK Neo Geo AES { hashname := "neogeo" biosRegion := IniReadCheck(mameSysINI, romName, "BIOS_Region","asia",,1) param2 := " -bios " . biosRegion ; can also be japan, but the asian one has english menus for most games } CheckFile(emuPath . "\hash\" . hashname . ".xml","Could not find a software list for the system " . mameID) ;Check if software list for selected system exists } If (mameID = "vectrex") ; GCE Vectrex param2 := " -view " . (If (FileExist(emuPath . "\artwork\Vectrex\" . romName . ".png"))?("""" . romName . """"):"standard") ; need overlays extracted in the artwork\vectres folder. PNGs must match romName sysStaticParams := If sysStaticParams != "" ? A_Space . sysStaticParams : "" ; tacking on a space in case user forgot to add one romParams := If romParams != "" ? A_Space . romParams : "" ; tacking on a space in case user forgot to add one StringReplace,mameRomPaths,romPathFromIni,|,`"`;`",1 ; replace all instances of | to ; in the Rom_Path from RL's Emulators.ini so MAME knows where to find your roms mameRomPaths := " -rompath """ . (If mameRomName ? romPath : mameRomPaths) . (If mameBiosPath ? ";" . mameBiosPath : "") . """" ; If using an alt rom, only supply mame with the path to that rom so it doesn't try to use the original rom. If a bios path was supplied, add it into the rom paths sent to MAME If InStr(romParams,"-rompath") ScriptError("""-rompath"" is defined as a parameter for " . romName . ". The MAME module fills this automatically so please remove this from Params in the module's settings.") If InStr(sysStaticParams,"-rompath") ScriptError("""-rompath"" is defined as a parameter for " . mameSystem . ". The MAME module fills this automatically so please remove this from Params in the module's settings.") ; use a custom rom name, not the one from the db If mameRomName { FileMove, %romPath%\%romName%%romExtension%, %romPath%\%mameRomName%%romExtension% ; rename rom to match what mame needs originalRomName := romName ; store romName from database so we know what to rename it back to later romName := mameRomName If ErrorLevel ScriptError("There was a problem renaming " . romName . " to " . mameRomName . " in " . romPath . ". Please check you have write permission to this folder/file and you don't already have a file named """ . mameRomName . """ in your rom folder.",8) Else ; if rename was successful, set var so we know to move it back later fileRenamed := 1 } ; use a custom cfg file if it exists and append it to param1 If FileExist(emuPath . "\cfg\" . mameID . "\" . dbName) param1 := " -cfg_directory " . """" . emuPath . "\cfg\" . mameID . "\" . dbName . """" . param1 If (bilinearFilter = "true") bilinearEnabled := " -filter" Else bilinearEnabled := " -nofilter" If (cheatMode = "true") { If (!FileExist(emuPath . "\cheat.zip") && !FileExist(emuPath . "\cheat.7z")) ScriptError("You have cheats enabled for " . MEmu . " but could not locate a ""cheat.zip"" or ""cheat.7z"" in " . emuPath) Else Log("Module - Cheat file found in " . emuPath,4) If cheatModeKey ; if user wants to use a key to enable CheatMode cheatEnabled := If XHotkeyAllKeysPressed(cheatModeKey) ? " -cheat" : "" ; only enables cheatMode when key is held down on launch Else ; no cheat mode key defined cheatEnabled := " -cheat" } If (RequiresReset = "true") { ; Generate a lua script to send a system soft reset ScriptFileName := GenerateSoftResetScript() bootscript := " -script """ . ScriptFileName . """ -autoboot_delay 1" } HideEmuStart() If (legacyMode = "true") { Log("Module - Running MAME in legacy Mode") errLvl := Run("""" . executable . """ " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . fullscreenParam . cheatEnabled . volume . mameRomPaths . sysStaticParams . romParams, emuPath, winstate) } Else { Log("Module - Running MAME in non-legacy mode") ; If (networkPlayers = 1 || !linkEnabledGame) { If !networkSession { Log("Module - Single session",4) errLvl := Run("""" . executable . """ " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . mameRomPaths . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", emuPath, winstate) } Else { ; multiplayer game run Log("Module - Network/MultiPlayer session",4) BuildNVRAMObject() ; build nvram object ;screen positions screenPos := [] screenPos := SplitScreenPos(networkPlayers,splitScreen2PlayersMode,splitScreen3PlayersMode,maxPlayersPerMonitor) If (networkType="localLink") globalInputs := " -global_inputs" ; tell mame to accept inputs when its window is not focused Loop, %networkPlayers% { currentPlayer := A_Index ; Update NVRAM setting(s) If (enableNVRAMAutomation = "true") { If nvramSettings[romName]["Settings"]["Credit"]["Position"].MaxIndex() { ; If nvram settings exist for this game nvramFile := emuPath . "\nvram" . (If currentPlayer = 1 ? "" : currentPlayer) . "\" . romName . "\" . nvramSettings[romName]["Settings"]["NVRAM"]["File"][1] If FileExist(nvramFile) { Log("Module - Checking nvram file(s) for required changes",4) If (networkType = "localLink") { ; only local link is supported for now ; Parse through each setting of each player and lookup the position to write new setting to the nvram file for playerOptionLabel, selectedPlayerOption in nvramSettings[romName]["Player"][currentPlayer] ;looping on each player selected options for index, setting in nvramSettings[romName]["Settings"][playerOptionLabel]["Position"] ;Looping through hex values of the current option HexCompareWrite(nvramFile,nvramSettings[romName]["Settings"][playerOptionLabel]["Position"][index],nvramSettings[romName]["Settings"][playerOptionLabel]["Option"][selectedPlayerOption][index]) for index, playerCRC in nvramSettings[romName]["CRC"]["Player"][currentPlayer] ;looping on each player selected options HexCompareWrite(nvramFile,nvramSettings[romName]["Settings"]["CRC"]["Position"][index],nvramSettings[romName]["CRC"]["Player"][currentPlayer][index]) } Else If (networkType = "Server") { Log("Module - Converting this nvram to ""Master"" in: " . nvramFile,4) ; Log("Module - NVRAM automation for ""Server"" not supported at this time",4) ; only idea to get this to work is to duplicate nvram edit code from local link here but only set player 1 HexCompareWrite(nvramFile,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Master"][1]) } Else If (networkType = "Client") { Log("Module - Converting this nvram to ""Slave"" in: " . nvramFile,4) ; Log("Module - NVRAM automation for ""Client"" not supported at this time",4) ; only idea to get this to work is to duplicate nvram edit code from local link here but only set player 2 HexCompareWrite(nvramFile,nvramSettings[romName]["Settings"]["Link"]["Position"][1],nvramSettings[romName]["Settings"]["Link"]["Option"]["Slave"][1]) } } Else Log("Module - Did not find an NVRAM file to update for player " . currentPlayer . " (Ignore this if this is the first time you are launching this rom): " . nvramFile,4) } Else Log("Module - This rom does not contain an entry in the NVRAM object",4) } ;;Run Line for each of the multiplayer MAME instances using the nvramPath and cfgPath variables to the extra mames errLvl := Run("""" . executable . """ " . (If mameID = "MAME" ? romName : mameID . param1 . param2 . param3 . param4 . param5 . param6) . mameRomPaths . multiPlayerObj[currentPlayer]["CfgDir"] . multiPlayerObj[currentPlayer]["NvramDir"] . globalInputs . multiPlayerObj[currentPlayer]["LocalHost"] . multiPlayerObj[currentPlayer]["LocalPort"] . multiPlayerObj[currentPlayer]["RemoteHost"] . multiPlayerObj[currentPlayer]["RemotePort"] . sysStaticParams . romParams . fullscreenParam . hlsl . glsl . cheatEnabled . volume . inipath . hashpath . verticalRotationMode . videomode . artworkCrop . useBezels . useOverlays . useBackdrops . useCpanels . useMarquees . autosave . bootscript . bilinearEnabled . " -skip_gameinfo", emuPath, winstate, Screen%currentPlayer%PID) WinWait("ahk_pid " . Screen%currentPlayer%PID) } ignoreWindows := "MAMEOutput" ; ignore the mame debug window Loop, %networkPlayers% { WinGet, Screen%A_Index%ID, ID, % "ahk_pid " . Screen%A_Index%PID,, %ignoreWindows% WinSet, Style, -0xC00000, % "ahk_id " . Screen%A_Index%ID,, %ignoreWindows% ToggleMenu(Screen%A_Index%ID) WinSet, Style, -0xC40000, % "ahk_id " . Screen%A_Index%ID,, %ignoreWindows% MoveWindow("ahk_id " . Screen%A_Index%ID, screenPos[A_Index].X, screenPos[A_Index].Y, screenPos[A_Index].W, screenPos[A_Index].H,,ignoreWindows) Sleep, 50 } } } If errLvl { If (errLvl = 1) Error := "Failed Validity" Else If(errLvl = 2) Error := "Missing Files" Else If(errLvl = 3) Error := "Fatal Error" Else If(errLvl = 4) Error := "Device Error" Else If(errLvl = 5) Error := "Game Does Not Exist" Else If(errLvl = 6) Error := "Invalid Config" Else If errLvl in 7,8,9 Error := "Identification Error" Else Error := "MAME Error" Log("MAME Error - " . Error,3) } WinWait("ahk_class MAME") WinWaitActive("ahk_class MAME") If (mameID = "ti99_4a") ; Texas Instruments TI 99-4A { SendCommand("X", 1000) ;To bypass the first screen If (Command) SendCommand(Command,,,,,, CommandWaitOffset) ;Send command affect it with an offset if needed } ;Close the debugger window if exists If (closeDebugWindow = "true") { WinWait("ahk_class MAMEDebugWindow",,2) WinClose("ahk_class MAMEDebugWindow") } BezelDraw() HideEmuEnd() If (networkPlayers = 1 || !linkEnabledGame) { WinShow, ahk_class MAME ; Show the emulator } Else { Loop %networkPlayers% WinShow, % "ahk_id " . Screen%a_index%ID ; Show the emulator WinActivate, ahk_id %Screen1ID% ; activate first player window so that first player can use keyboard instead of last player } FadeInExit() Process("WaitClose", executable) 7zCleanUp() BezelExit() If fileRenamed { ; rename file back to alternate name for next launch FileMove, %romPath%\%romName%%romExtension%, %romPath%\%originalRomName%%romExtension% If ErrorLevel ; if rename was successful, set var so we know to move it back later ScriptError("There was a problem renaming " . romName . " back to " . originalRomName) } FadeOutExit() ExitModule() ; This will simply create a new blank ini if one does not exist CheckFileMAME(file){ If !FileExist(file) FileAppend,, %file% Return file } ListXMLInfo(rom){ ; returns MAME info about parent rom, orientation angle, resolution Global emuFullPath, emuPath ListXMLObject := Object() listXMLVarLog := "" RunWait, % comspec . " /c " . """" . emuFullPath . """" . " -listxml " . rom . " > tempBezel.txt", %emuPath%, Hide Fileread, ListxmlContents, %emuPath%\tempBezel.txt RegExMatch(ListxmlContents, "s)<game.*name=" . """" . rom . """" . ".*" . "cloneof=" . """" . "[^""""]*", parent) RegExMatch(parent,"cloneof=" . """" . ".*", parent) RegExMatch(parent,"""" . ".*", parent) StringTrimLeft, parent, parent, 1 RegExMatch(ListxmlContents, "s)<display.*rotate=" . """" . "[0-9]+" . """", angle) RegExMatch(angle,"[0-9]+", angle, "-6") RegExMatch(ListxmlContents, "s)<display.*width=" . """" . "[0-9]+" . """", width) RegExMatch(width,"[0-9]+", width, "-6") RegExMatch(ListxmlContents, "s)<display.*height=" . """" . "[0-9]+" . """", Height) RegExMatch(Height,"[0-9]+", Height, "-6") RegExMatch(ListxmlContents, "s)<control.*ways=" . """" . "[0-9]+" . """", Ways) RegExMatch(Ways,"[0-9]+", Ways, "-6") logVars := "Parent|Angle|Height|Width|Ways" Loop, Parse, logVars, | { currentobj := {} currentobj.Label := A_Loopfield currentobj.Value := %A_Loopfield% ListXMLObject.Insert(currentobj["Label"], currentobj) listXMLLog .= "`r`n`t`t`t`t`t" . currentobj["Label"] . " = " . currentobj["Value"] } Log("Module - MAME ListXML values: " . listXMLLog,5) If (ListXMLObject["Height"].Value > ListXMLObject["Width"].Value) { ListXMLObject["Angle"].Value := true Log("Module - This game's height is greater than its width, forcing vertical mode",5) } FileDelete, %emuPath%\tempBezel.txt Return ListXMLObject } GenerateSoftResetScript(){ ; Generates a lua script to send a soft reset to MAME Global emuPath ScriptFileName := emuPath . "\soft_reset.lua" FileDelete, %ScriptFileName% FileAppend, ( -- This script will reset the machine local function reset_machine() if resetcounter == nil then manager:machine():soft_reset(); resetcounter = 1; end end if resetcounter == nil then emu.wait(1); reset_machine(); end ), %ScriptFileName% Return, ScriptFileName } GeneratePressButtonScript(button1,button2=""){ ; Generates a lua script to send a soft reset to MAME Global emuPath ScriptFileName := emuPath . "\press_button.lua" FileDelete, %ScriptFileName% If (button2) { button2str = `n`t`temu.wait(1);`n`t`tioport["%button2%"]:write(1);`n`t`temu.wait(1);`n`t`tioport["%button2%"]:write(0); } FileAppend, ( local function press_button() if resetcounter == nil then ioport["%button1%"]:write(1); emu.wait(1); ioport["%button1%"]:write(0); resetcounter = 1;%button2str% end end if resetcounter == nil then emu.wait(1); press_button(); end ), %ScriptFileName% Return, ScriptFileName } BuildNVRAMObject() { Global nvramSettings Log("BuildNVRAMObject - Started",4) nvramSettings := {} nvramSettings["vr"] := {} nvramSettings["vr"]["Settings"] := {"BiosCounter":{"Position":["248"], "Option":{0:["00"], 1:["01"], 2:["02"], 3:["03"]}}, "Cabinet":{"Position":["52"], "Option":{"Special":["00"], "Standard":["01"], "Upright":["02"], "2PLink":["03"]}}, "Color":{"Position":["68"], "Option":{"Red":["00"], "Blue":["01"], "Yellow":["02"], "Green":["03"], "Black":["04"], "Pink":["05"], "SkyBlue":["06"], "Orange":["07"]}}, "Country":{"Position":["54"], "Option":{"Japan":["00"], "USA":["01"], "Export":["02"]}}, "Course":{"Position":["66"], "Option":{"Vote":["00"], "Beginner":["01"], "Middle":["02"], "Expert":["03"]}}, "CRC":{"Position":["16","18"]}, "Credit":{"Position":["32","40"], "Option":{"1":["00","00"], "Freeplay":["1A","01"]}}, "Difficulty":{"Position":["64"], "Option":{"Easy":["00"], "Normal":["01"], "Hard":["02"], "Hardest":["03"]}}, "Link":{"Position":["24"], "Option":{"None":["00"], "Master":["01"], "Slave":["02"], "Live":["03"]}}, "Monitor":{"Position":["22"], "Option":{"Standard":["00"], "Wide":["01"]}}, "NVRAM":{"File":["nvram"]}, "Race":{"Position":["70"], "Option":{"Normal":["00"], "Grandprix":["01"]}}, "StartCoin":{"Position":["42"], "Option":{1:["01"], 2:["02"], 3:["03"], 4:["04"], 5:["05"]}}} nvramSettings["vr"]["Player"] := {} nvramSettings["vr"]["Player"].Insert(1, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Red", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Master", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"}) nvramSettings["vr"]["Player"].Insert(2, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Blue", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"}) nvramSettings["vr"]["Player"].Insert(3, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Yellow", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"}) nvramSettings["vr"]["Player"].Insert(4, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Green", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"}) nvramSettings["vr"]["Player"].Insert(5, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Black", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"}) nvramSettings["vr"]["Player"].Insert(6, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Pink", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"}) nvramSettings["vr"]["Player"].Insert(7, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"SkyBlue", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"}) nvramSettings["vr"]["Player"].Insert(8, {"BiosCounter":"3", "Cabinet":"Standard", "Color":"Orange", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Monitor":"Wide", "Race":"Normal", "StartCoin":"1"}) nvramSettings["vr"]["CRC"] := {"Player":{1:["06","21"], 2:["3C","C7"], 3:["0E","5F"], 4:["FF","D8"], 5:["4B","7F"], 6:["BA","F8"], 7:["88","60"], 8:["79","E7"]}} nvramSettings["vformula"] := {} nvramSettings["vformula"]["Settings"] := {"BiosCounter":{"Position":["248"], "Option":{0:["00"], 1:["01"], 2:["02"], 3:["03"]}}, "Color":{"Position":["68"], "Option":{"Red":["00"], "Blue":["01"], "Yellow":["02"], "Green":["03"], "Black":["04"], "Pink":["05"], "SkyBlue":["06"], "Orange":["07"]}}, "Country":{"Position":["54"], "Option":{"Japan":["00"], "USA":["01"], "Export":["02"]}}, "Course":{"Position":["66"], "Option":{"Vote":["00"], "Beginner":["01"], "Middle":["02"], "Expert":["03"]}}, "CRC":{"Position":["16","18"]}, "Credit":{"Position":["32","40"], "Option":{"1":["00","00"], "Freeplay":["1A","01"]}}, "Difficulty":{"Position":["64"], "Option":{"Easy":["00"], "Normal":["01"], "Hard":["02"], "Hardest":["03"]}}, "Link":{"Position":["24"], "Option":{"None":["00"], "Master":["01"], "Slave":["02"], "Live":["03"]}}, "NVRAM":{"File":["nvram"]}, "Race":{"Position":["70"], "Option":{"Normal":["00"], "Grandprix":["01"]}}, "Sound":{"Position":["22"], "Option":{"On":["00"], "Off":["01"]}}, "StartCoin":{"Position":["42"], "Option":{1:["01"], 2:["02"], 3:["03"], 4:["04"], 5:["05"]}}} nvramSettings["vformula"]["Player"] := {} nvramSettings["vformula"]["Player"].Insert(1, {"BiosCounter":"1", "Color":"Red", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Master", "Race":"Normal", "Sound":"On", "StartCoin":"1"}) nvramSettings["vformula"]["Player"].Insert(2, {"BiosCounter":"1", "Color":"Blue", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"}) nvramSettings["vformula"]["Player"].Insert(3, {"BiosCounter":"1", "Color":"Yellow", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"}) nvramSettings["vformula"]["Player"].Insert(4, {"BiosCounter":"1", "Color":"Green", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"}) nvramSettings["vformula"]["Player"].Insert(5, {"BiosCounter":"1", "Color":"Black", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"}) nvramSettings["vformula"]["Player"].Insert(6, {"BiosCounter":"1", "Color":"Pink", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"}) nvramSettings["vformula"]["Player"].Insert(7, {"BiosCounter":"1", "Color":"SkyBlue", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"}) nvramSettings["vformula"]["Player"].Insert(8, {"BiosCounter":"1", "Color":"Orange", "Country":"USA", "Course":"Vote", "Credit":"Freeplay", "Difficulty":"Normal", "Link":"Slave", "Race":"Normal", "Sound":"On", "StartCoin":"1"}) nvramSettings["vformula"]["CRC"] := {"Player":{1:["F2","EB"], 2:["C8","0D"], 3:["FA","95"], 4:["0B","12"], 5:["BF","B5"], 6:["4E","32"], 7:["7C","AA"], 8:["8D","2D"]}} Log("BuildNVRAMObject - Ended",4) } BezelLabel: WinSet, Transparent, 0, ahk_class ConsoleWindowClass Return HaltEmu: If (pauseMethod = 1) { disableSuspendEmu := "true" disableRestoreEmu := "true" PostMessage,0x211, 1, , , ahk_class MAME } Else If (pauseMethod = 2) { disableSuspendEmu := "true" PostMessage,0x211, 1, , , ahk_class MAME } Else If (pauseMethod = 3) { disableSuspendEmu := "true" disableRestoreEmu := "true" PostMessage,% 0x0400+6, 1, , , ahk_class MAME } Else If (pauseMethod = 4) { disableSuspendEmu := "true" PostMessage,% 0x0400+6, 1, , , ahk_class MAME } Else If (pauseMethod = 5) { disableSuspendEmu := "true" Send, {P down} Sleep, 1000 Send, {P up} } Return RestoreEmu: If (pauseMethod = 1) { PostMessage,0x212, 1, , , ahk_class MAME WinActivate, ahk_class MAME } Else If (pauseMethod = 2) { PostMessage,0x212, 1, , , ahk_class MAME WinActivate, ahk_class MAME } Else If (pauseMethod = 3) { PostMessage,% 0x0400+6, 0, , , ahk_class MAME WinActivate, ahk_class MAME } Else If (pauseMethod = 4) { PostMessage,% 0x0400+6, 0, , , ahk_class MAME WinActivate, ahk_class MAME } Else If (pauseMethod = 5) { disableSuspendEmu := "true" Send, {P down} Sleep, 1000 Send, {P up} WinActivate, ahk_class MAME } Else If (pauseMethod = 6) WinActivate, ahk_class MAME Return CloseProcess: FadeOutStart() If (networkSession && networkPlayers > 1) { Loop % networkPlayers { WinClose("ahk_id " . Screen%A_Index%ID) WinWaitClose("ahk_id " . Screen%A_Index%ID) } } Else WinClose("ahk_class MAME") Return 12:05:49:363 | RL | INFO | +15 | BuildScript - Loaded MultiGame scripts 12:05:49:363 | RL | INFO | +0 | BuildScript - Loaded Multi-Player scripts 12:05:49:363 | RL | INFO | +0 | BuildScript - Loaded Statistics.ahk script 12:05:49:363 | RL | WARNING | +0 | BuildScript - "E:\RocketLauncher\Lib\User Functions.ahk" not found 12:05:49:363 | RL | INFO | +0 | BuildScript - Finished injecting functions into module 12:05:49:363 | RL | INFO | +0 | Main - Module is built 12:05:49:368 | RL | INFO | +16 | CheckFile - Checking if E:\RocketLauncher\AutoHotkey.dll exists 12:05:49:383 | RL | INFO | +15 | Main - Running module 12:05:49:558 | MD | INFO | +N/A | Module initialized 12:05:49:558 | MD | INFO | +0 | StartModule - Started 12:05:49:558 | MD | INFO | +0 | StartModule - MEmu: MAME MEmuV: v0.166 MURL: http://www.mame.net/ MAuthor: djvj,faahrev,brolly,Tomkun MVersion: 2.3.1 MCRC: 9B041EF3 iCRC: 72BB0F21 MID: MSystem: "AAE","Aamber Pegasus","Acorn Electron","Amstrad CPC","Amstrad GX4000","APF Imagination Machine","Apple II","Apple IIGS","Applied Technology MicroBee","Atari 8-Bit","Atari 2600","Atari 5200","Atari 7800","Atari Classics","Atari Jaguar","Atari Lynx","Bally Astrocade","Bandai Super Vision 8000","Bandai WonderSwan","Bandai WonderSwan Color","Bit Corporation Gamate","Camputers Lynx","Capcom","Capcom Classics","Capcom Play System","Capcom Play System II","Capcom Play System III","Casio PV-1000","Casio PV-2000","Cave","Coleco ADAM","ColecoVision","Commodore 64","Commodore MAX Machine","Creatronic Mega Duck","Data East Classics","EACA EG2000 Colour Genie","Emerson Arcadia 2001","Entex Adventure Vision","Epoch Game Pocket Computer","Epoch Super Cassette Vision","Exidy Sorcerer","Fairchild Channel F","Fujitsu FM-7","Funtech Super Acan","GamePark 32","GCE Vectrex","Hartung Game Master","HBMAME","Interton VC 4000","Irem Classics","JungleTac Sport Vii","Jupiter Ace","Konami Classics","LaserDisc","Magnavox Odyssey 2","MAME","Matra & Hachette Alice","Mattel Aquarius","Mattel Intellivision","MGT Sam Coupe","Midway Classics","Milton Bradley MicroVision","Namco Classics","Namco System 22","NEC PC-8801","NEC PC Engine","NEC PC Engine-CD","NEC SuperGrafx","NEC TurboGrafx-16","NEC TurboGrafx-CD","Nintendo 64","Nintendo 64DD","Nintendo Arcade Systems","Nintendo Classics","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Advance","Nintendo Game Boy Color","Nintendo Pokemon Mini","Nintendo Satellaview","Nintendo Super Famicom","Nintendo Super Game Boy","Nintendo Virtual Boy","Othello Multivision","PacMAME","Philips CD-i","Philips VG 5000","Philips Videopac Plus G7400","RCA Studio II","Sega 32X","Sega CD","Sega Classics","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Model 1","Sega Pico","Sega Saturn","Sega SC-3000","Sega SG-1000","Sega ST-V","Sega VMU","Sharp X1","Sinclair ZX81","SNK Classics","SNK Neo Geo","SNK Neo Geo AES","SNK Neo Geo AES","SNK Neo Geo CD","SNK Neo Geo MVS","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Sony PlayStation","Sony PocketStation","Sord M5","Soundic Victory MPT-02","Super Nintendo Entertainment System","Taito Classics","Tandy TRS-80 Color Computer","Texas Instruments TI 99-4A","Tiger Game.com","Tomy Tutor","VTech CreatiVision","Watara Supervision","Williams Classics" 12:05:49:558 | MD | INFO | +0 | StartModule - You have a supported System Name for this module: "MAME" 12:05:49:563 | MD | INFO | +0 | PluginInit - Started 12:05:49:563 | MD | INFO | +0 | CheckFile - Checking if E:\Hyperspin\Databases\MAME\MAME.xml exists 12:05:49:588 | MD | INFO | +31 | PluginInit - Ended 12:05:49:588 | MD | INFO | +0 | StartModule - Ended 12:05:49:588 | MD | WARNING | +0 | Module - "MAME" is not a known console or computer system. Defaulting to MAME's Arcade mode for the remainder of this MAME module. 12:05:49:588 | MD | INFO | +0 | Module Setting - [Settings] - Fullscreen: true 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - LegacyMode: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - LegacyMode: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - LegacyMode: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - MAME_BIOS_Path: E:\Hyperspin\Emulators\MAMEUIFX\roms 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - Videomode: d3d 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - PauseMethod: 1 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - BilinearFilter: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - BilinearFilter: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - HLSL: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - HLSL: true 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - HLSL: true 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - GLSL: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - GLSL: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - GLSL: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - BezelMode: layout 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - BezelMode: layout 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - BezelMode: layout 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - VerticalRotationMode: none 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - VerticalRotationMode: none 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - VerticalRotationMode: none 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - CheatMode: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - CheatModeKey: 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - UseSoftwareList: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - UseSoftwareList: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - StaticParameters: 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - Parameters: 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - Parameters: 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - MameRomName: 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - Autosave: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - Autosave: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [Settings] - Volume: 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - Volume: 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - Volume: 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - Artwork_Crop: true 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - Artwork_Crop: true 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - Use_Bezels: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - Use_Bezels: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - Use_Overlays: true 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - Use_Overlays: true 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - Use_Backdrops: true 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - Use_Backdrops: true 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - Use_Cpanels: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [mslug] - Use_Cpanels: false 12:05:49:593 | MD | INFO | +0 | Module Setting - [MAME] - Use_Marquees: false 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - Use_Marquees: false 12:05:49:598 | MD | INFO | +0 | Module Setting - [MAME] - IniPath: 12:05:49:598 | MD | INFO | +0 | Module Setting - [MAME] - HashPath: 12:05:49:598 | MD | INFO | +0 | Module Setting - [Link/Network] - Enable_Link_Play: false 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - Enable_Link_Play: false 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - Parameters: 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - HLSL: true 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - GLSL: false 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - Artwork_Crop: true 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - Use_Bezels: false 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - Use_Overlays: true 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - Use_Backdrops: true 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - Use_Cpanels: false 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - Use_Marquees: false 12:05:49:598 | MD | INFO | +0 | Module Setting - [mslug] - UseSoftwareList: false 12:05:49:598 | MD | INFO | +0 | Module - Detected MAME Product Version from 'E:\Hyperspin\Emulators\MAMEUIFX\MAMEUIFX .153 FIX x64 NoNag+HiScore+NeoGeoXtra+DirectInput.exe' is 153 12:05:49:598 | MD | INFO | +0 | Module - Running MAME in non-legacy mode 12:05:49:598 | MD | INFO | +0 | Run - Running: E:\Hyperspin\Emulators\MAMEUIFX\"MAMEUIFX .153 FIX x64 NoNag+HiScore+NeoGeoXtra+DirectInput.exe" mslug -rompath "E:\Hyperspin\Roms\MAME-Neo Geo-Arcade Classics-CPS-Sega STV;E:\Hyperspin\Emulators\MAMEUIFX\roms" -nowindow -hlsl_enable -video d3d -artwork_crop -nouse_bezels -use_overlays -use_backdrops -nouse_cpanels -nouse_marquees -nofilter -skip_gameinfo 12:05:49:658 | MD | INFO | +63 | WinWait - Waiting for "ahk_class MAME" 12:05:49:928 | MD | INFO | +280 | WinWaitActive - Waiting for "ahk_class MAME" 12:05:50:178 | MD | INFO | +250 | Process - WaitClose MAMEUIFX .153 FIX x64 NoNag+HiScore+NeoGeoXtra+DirectInput.exe 12:24:39:633 | MD | INFO | +1129447 | ExitModule - Started 12:24:39:633 | MD | INFO | +0 | Starting Updating Statistics: 12:24:39:958 | MD | INFO | +328 | Game section statistics updated. 12:24:39:963 | MD | INFO | +0 | ExitModule - Ended 12:24:39:963 | MD | INFO | +0 | End of Module Logs 12:24:40:063 | RL | INFO | +1130680 | Main - Module ended, exiting RocketLauncher normally 12:24:40:063 | RL | INFO | +0 | ExitScript - Started 12:24:40:318 | RL | INFO | +250 | SystemCursor - Restoring mouse cursor 12:24:40:328 | RL | INFO | +15 | ExitScript - Ended
  14. pirata0

    Mame chd files

    Is there any one on here
  15. Hi all, So i decided to install a fresh version of Hyperspin/RocketLauncher on a new computer after about a year since the last time i did. I had kept a log and some instructions, which have helped me remember, but there are a few things not working properly: 1) For some reason, hyperspin starts with MAME by default, and i cant go back to the main system/emulator wheel to choose another system (partly because of the next point) 2) The keys to control the hyperspin menus seem wrong (by default). I imagined it being 'enter' to select and ESC to close the program, but for the life of me, i cant find the escape button. I'm having to Ctrl + Alt + DEL to close the application. Could someone please help me solve the above? Much appreciated. Cheers
  16. Hi guys I hate asking for help and wont normally do it until I am banging my head on the keyboard, I am ALMOST at that point lol I have followed a video tut to get up and running (by Simply Austin), I am starting with MAME only using Hyperspin and Rocket Launcher (for now, other Emu's are available) I have got all the paths in the right places, Rocket Launcher finds all my ROMS I have had to disable 7Zip support for Mame or I get an extension error I told Rocket Launcher that the default Front end is Hyperspin, set up the correct paths etc I can launch the games in Mame (of course) and from Rocket Launcher (ALT L) On the video in Rocket Launcher his said launch with Hyperspin, but mine still stays with Rocket Launcher - not sure if that's a pointer to my problem? I can run Hysperspin, it shows games (not sure if it reading my ROM SET, but I cannot press start to ermmm, START I have checked all the paths and checked Rocket Launcher finds my ROMS, but it's like Hyperspin is not linking to Rocket Launcher properly I am using Mame UI x64 with 0171 full Rom Set Any thoughts on what I have missed please? Thanks in advance
  17. Just a quick question to see if anyone has a good and easy resource to get cover artwork or nice artwork with game logo for MAME games? Additionally, does anybody have a resource for finding marquee's for games? I apologize if this is not the right area to post the question. Thanks!
  18. This i my first build im chuffed to bits with it still messing with the controls
  19. Version 0.171

    203 downloads

    Patched Raw-input with No-Nag and hiscore support
  20. Im looking in to building a Virtual pinball machine and wanted to get the most out of the hardware and was thinking about making a 2 in 1 cabinet. Has anyone done this? I've done some sketches of what i was thinking.... just wondering if anyones has got any thoughts.
  21. Hi, I bought for some months ago a Naomi Virtua Striker 4 2006 Cabinet for 220€. Wanted to rebuild it to an Mame Cab. The first job in my todo list was to change the CRT I found a used rarely Philips 29 PT 9521 73,7 cm (29 Zoll) 4:3 100 Hertz PIXEL PLUS with 720p/1080i for 50€ But i was disappointed about the Video Quality. For Games it was ok . It wasnt pixelate but for configuration of mame in windows mode at 1080i or 720p it wasnt sharp enough. So i decided to change the CRT with an LCD. I bought a used 26" LCD with guarantee and 720p<for 110€. SAMSUNG 26" FLAT TV LCD ,HDMI, 16:9 , Chinch, Scart, VGA, HF, OSD, HD Ready ... It was easy to fit the LCD between the Front and the Legs of the Naomi Cabinet. Here some current Images . I emptied the Cabinet from Triforce and Powersupply, Sega i/o and all the Looms. Bought a little ShuttlePC XPC for Hyperspin etc for 60€. Shuttle XPC GLAMOR SN95G5B Athlon64X2 3800+ 2GB Changed the Controlpanel . New RGB Led Buttons IPac-FS32 + Pacled64 Now the Bezel with Protectglass and mount new Speakers + amp is still todo. And new Artworks. Here a 3D Model of the Naomi Candy Cabinet of the SitDown and StandUp version. https://sketchfab.com/models/5176f1f4aa5e47e68aa879aa4f4d7550 Thats all for the Moment. Greetings uNkeLo
  22. Hi , Wie das Topic schon zeigt Suche ich ein Lenkrad für Arcade /Mame Automaten ? Herausziehbar, Unter, Tisch montiert. Man kennet ja zb diese Tastaturschubladen die senkrecht unter dem tisch montiert werden. Ich suche einen Mechanismus und ein tauglisches Computer Konsolen Lenkrad fuer die senkrechte unter dem Controlpanel Befestigungsmöglichkeit eines Lenkrades.am besten auch herrausziehbar. Bin für Ideen offen. Der Automat ist ein Naomi Universald Cab /Japanisches Candy Unter dem COntrolpanel ist glaube entweder ABS Plastik oder Metal also Anrbingung wäre möglich nur welche Lösung :> Bisher hab ich nur auf den tisch anbringbare Lenkräder gesehen oder klemmbare die an die Tischkante angeschraubt werden. Vieleicht hat jemand eine Handwerkliche Lösung. Ich tendiere zu etwas was nach unten einmal ziehbar ist dann einrastet und dann ein tick nach vorn ausziehbar ist mit Einrastung. Grüße uNkeLo
  23. I've been searching to see if people share their MAME HS txt favorites list but can't anything. I want to create a favorites list but was hoping I could grab a decent list that someone already has going as a start. Is there some place that I am missing where people share the HS favorites text file? Anyone want to share their list? Thanks!
  24. Version 1.0

    404 downloads

    Bundle of HLSL settings files for MAMEUIFX 0.167 .ini files go in your ini folder the single .png file goes in your artwork folder
  25. Hi guys, After lurking my way around here for quite some time now I wanted to show you guys my own build cabinet. It's 100% custom and not like any other cabinet out there. My brother and I love cabinets and retrogames since we were kids so it was just a matter of time before we deceided to build our own cabinet. We have been collecting games and consoles for a long time and always kept our collection up to date at http://retrogamebrothers.com. Therefor we deceided to build a custom cab dedicated to our alias the "retrogamebrothers". Lets start of with the finished product. Also see our cabinet in action If you don't get anything we say, its because its in Dutch. Internals and software Processor: Intel XEON quadcore 3Ghz Memmory: 8GB HDD: 1TB, 7200RPM (Games) SSD: 512MB Samsung portable (OS) 2 Large fans (intake and outtake for airflow at the back) Stereo speakers WiFi USB stick for updates, network games and remote access. Sticks: Sanwa sticks with 8 diagonal restrictor plates Buttons: Default arcade buttons Controller: iPAC2 Monitor: Dell Ultrasharp U2412M OS: Windows 7 Frontend: Hyperspin Emulators: MAME only Materials used 2 large boards of MDF 2 Cans of Black spraypaint Lots of black sticker foil 2 Vynil stickers for the sides Vynil sticker for the marquee 2 pieces of Plexiglass for the marquee and the button panel Lots of screws, woodglue and wooden strips for construction RGB LED lightstrip for the footer LED lightstrip for the marquee Cardboard for the monitor backplate Coinslot, keylocks, wire, wire, wire and more wire Glass window to cover the monitor and monitor backplate Construction We started out by drawing our ideal cabinet on a piece of paper. What do we want? CRT of LCD? standup cabinet or tabletop? 2 player or 4 player? Finally we deceided and skeched some mockups of what we would like. Not much later we started thinking about sizes and shapes and got to the following final draft. After that we started cutting out the panels. Time to apply some paint to the inside of the sidepanels Then, order some goodies and start working on the foot stand (with collapsable wheels) Creating the frontpanel with the coinslot Start putting it toghetter to get an idea of the result Start working on the electronics and PC Creating the art and finnishing the cabinet Putting it toghetter for the last time Almost done! In conclusion It was a lot of work! We had never done anything remotely to working with wood or building a cab but we are really happy with the result! It took us about 3 months to build the whole cab. Since we only worked on it in the evenings and weekends it took us a bit longer then expected. Also figuring out the best way to run HyperSpin, MAME, mapping the buttons, creating configs, downloading movies etc. turned out to be waaaaaaay more work then I thought. By using a subscription to both HyperSpin and EmuMovies I spared mysqlf quite some time. We made the artwork ourself. Since I created an 8 bit retro game a while back I thought it would be cool to run the game on the cabinet en use the artwork for the cabinet as well. It displays my brother and me in 8 bit style and also uses our logo for the marquee and sideart. You can check the game out if you want. Its free, open source and available for MAC, Windows and Linux. http://tweakers.net/acties/tweakbattle I created it with a good friend of mine and the game is build in C++ with SDL. All graphics are created in the Gimp. The cabinet powers on with one single button on the back. It lights the marquee, footer RGB led, LEDS for the coinslot (not in the pictures), the monitor and the PC. The PC resumes Windows from an image stored on the SSD so the cabinets boots into Hyperspin in about 15 seconds. You never see anything from Windows since I modified the resume screen and from there it goes straight into Hyperspin wich was still loaded in memory. We only used MAME games since we love throwing in quarters and play the games we used to play when on holiday. We wanted the authentic feel so no SNES or other retro consoles are installed. We deceided to go with LCD though. It tunred out great! The cabinet is a bit lighter and thinner then using a CRT. Using the MAME HLSL shaders we emulated a great retro look on the LCD. My little nephew even told me to get a new graphics card since it all looked so "blurry" and "pixelated". Just how I wanted it! We recently started building our second cabinet so I hope you guys like the build. Please leave me some feedback on what you love or where yout think we could have done better. We love to learn from it! If you need some info on how we did things, feel free to ask. Thanks for checking this out! Cheers, Retrogame brothers.
×
×
  • Create New...