Main > Software Forum
MAME scripty things!
PL1:
--- Quote from: 10yard on December 04, 2021, 04:28:16 am ---Thanks for being so thorough!
--- End quote ---
Thanks for all your help with Github. :cheers:
Seems like there are always typos that slip through -- just noticed that there's no step 3. :embarassed: :lol
- Line 55 should be step 3, not step 4.
- Line 59 should be step 4, not step 5.
- Line 63 should be step 5, not step 6.
Everything else looks rock solid. ;D
Scott
PL1:
Typos fixed in the defenderlr plugin readme. Thanks, Jon and Aaron. :cheers:
Please consider updating the description of the plugin, Stiletto.
Current description:
--- Quote from: Stiletto on October 24, 2021, 04:28:25 pm ---Defender directional movement plugin:
https://github.com/BPaden/defenderlr
https://reddit.com/r/MAME/comments/njc019/defender_directional_movement_plugin/
https://drive.google.com/file/d/1kRYwEwyKy_wDicLL9JTlnwOuOlicM5tB/view?usp=sharing
--- End quote ---
Suggested updates:
- Mention support for Stargate.
- The useful info from the Reddit thread is now included in the readme file on Github so the Reddit link is not needed.
- The Google Drive link is to an outdated version.
--- Quote ---Defender and Stargate directional movement plugin:
https://github.com/BPaden/defenderlr
--- End quote ---
Scott
PL1:
MAME recently updated the LUA script system.
Tried to get Aaron's updated defenderlr script working in v0.254 using the steps in the readme, but no luck.
I also tried it using a fresh install of v0.257.
Any idea what I'm doing wrong or how to get the script working?
Scott
EDIT: Here's the output from running "mame defender -verbose > verbose.txt" from command line.
--- Code: ---Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Attempting load of raster.ini
Parsing raster.ini
Attempting load of source\williams.ini
Attempting load of defender.ini
Parsing defender.ini
Loading translation file language\English\strings.mo
Reading translation file: 1 strings, original table at word offset 7, translated table at word offset 9
Loaded 0 translated string from file
Starting plugin data...
Starting plugin defenderlr...
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Attempting load of raster.ini
Parsing raster.ini
Attempting load of source\williams.ini
Attempting load of defender.ini
Parsing defender.ini
Video: Monitor 65537 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9
Physical width 1360, height 768
Direct3D: Initialize
Direct3D: Configuring adapter #0 = NVIDIA GeForce GT 630
Direct3D: YUV format = RGB
Direct3D: Max texture size = 16384x16384
Direct3D: Device created at 1360x768
Direct3D: Initialize HLSL
Direct3D: First store options
Direct3D: HLSL initialized
DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels
Input: Adding keyboard #1: HID Keyboard Device (device id: \\?\HID#VID_21F8&PID_208A&MI_00&Col02#8&2b022778&0&0001#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding keyboard #2: HID Keyboard Device (device id: \\?\HID#VID_21F8&PID_208A&MI_02#8&1eee75fb&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #1: HID-compliant mouse (device id: \\?\HID#VID_21F8&PID_208A&MI_01&Col01#8&72ae9b6&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #1: HID-compliant mouse (device id: \\?\HID#VID_21F8&PID_208A&MI_01&Col01#8&72ae9b6&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
unzip: opened archive file roms\defender.zip
unzip: found roms\defender.zip ECD at 980
unzip: roms\defender.zip has no ZIP64 ECD locator
unzip: read roms\defender.zip central directory
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
unzip: found roms\defender.zip in cache
unzip: opened archive file roms\defender.zip
unzip: closing archive file roms\defender.zip and sending to cache
Optional device ':pia_3' not found
Optional memory bank ':mainbank' not found
Optional memory region ':nvram' not found
Optional memory region ':screen' not found
Starting Defender (Red label) ':'
(missing dependencies; rescheduling)
Starting Motorola MC6809E ':maincpu'
Starting Motorola MC6808 ':soundcpu'
Starting NVRAM ':nvram'
Starting Timer ':scan_timer'
Starting Timer ':240_timer'
Starting Watchdog Timer ':watchdog'
Starting Video Screen ':screen'
Starting palette ':palette'
Starting Speaker ':speaker'
(missing dependencies; rescheduling)
Starting MC1408 DAC ':dac'
Starting Input Merger (any high) ':mainirq'
Starting Input Merger (any high) ':soundirq'
Starting 6821 PIA ':pia_0'
Starting 6821 PIA ':pia_1'
Starting 6821 PIA ':pia_2'
Starting Address Map Bank ':bankc000'
Starting Defender (Red label) ':'
(missing dependencies; rescheduling)
Starting Speaker ':speaker'
Starting Defender (Red label) ':'
Attempting to parse: default.cfg
Attempting to parse: defender.cfg
Average speed: 100.00% (11 seconds)
Sound: buffer overflows=2 underflows=0
--- End code ---
EDIT2: The script works when you launch MAME using "mame defender -plugin defenderlr", but it doesn't work when launched from MAME's built-in FE or if you change games. :dizzy:
EDIT3: Confirmed that 10yard's version 4 of the script is working in MAME v0.262 when launched from command line or MAME's built-in FE, and also when you change between Defender and Stargate. Not sure why Aaron's version wasn't working with MAME v0.254 or 0.257. :dunno
Begbie80:
I also had no more luck with an install of mame 263 other than the workaround suggested (running from the command line). Hope there is a work around or update as this makes one of the most brutally difficult arcade games a little more accessible
10yard:
--- Quote from: Begbie80 on March 25, 2024, 11:10:09 pm ---I also had no more luck with an install of mame 263 other than the workaround suggested (running from the command line). Hope there is a work around or update as this makes one of the most brutally difficult arcade games a little more accessible
--- End quote ---
I've tested my fork version of the defenderlr plugin (from 2021) and all seems to be working with MAME 0.263 including when switching between roms.
There are deprecation warnings (for start/end callbacks) but this should not effect use and retains compatibility back to MAME 0.227
Download link:
https://github.com/10yard/defenderlr/releases/download/v4/defenderlr_v4.zip
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version