Main > Software Forum

MAME scripty things!

<< < (3/6) > >>

10yard:
Good news. Aaron has accepted our changes to the defenderlr plug-in and his repository is updated.  Version is now 3.

https://github.com/AaronBPaden/defenderlr

PL1:

--- Quote from: 10yard on November 27, 2021, 06:55:25 am ---Good news. Aaron has accepted our changes to the defenderlr plug-in and his repository is updated.  Version is now 3.

https://github.com/AaronBPaden/defenderlr

--- End quote ---
Finally got a chance to update and test.  Everything works great!   :applaud:

I tried to adapt it for Stargate by copying the plugin files to a "stargatelr" folder and changing "defender" to "stargate" in the .json and .lua files -- and it half-way worked!   :lol    :w00t
- Left and right on the joystick trigger thrust, but they do not reverse direction.

I figure that this is either due to a change in the default button/keystroke for reverse (Z for Defender vs. Shift for Stargate) or a change in the memory location "FACING_ADDRESS = 0xA0BB". (line 28 of the .lua)

What do you think, Jon?


Scott

10yard:

--- Quote from: PL1 on November 29, 2021, 04:38:18 am ---Finally got a chance to update and test.  Everything works great!   :applaud:

--- End quote ---

Yay!  thanks for confirming Scott.


--- Quote from: PL1 on November 29, 2021, 04:38:18 am ---I tried to adapt it for Stargate by copying the plugin files to a "stargatelr" folder and changing "defender" to "stargate" in the .json and .lua files -- and it half-way worked!   :lol    :w00t
- Left and right on the joystick trigger thrust, but they do not reverse direction.

I figure that this is either due to a change in the default button/keystroke for reverse (Z for Defender vs. Shift for Stargate) or a change in the memory location "FACING_ADDRESS = 0xA0BB". (line 28 of the .lua)

What do you think, Jon?

--- End quote ---

It's the facing address.  If you set that to "FACING_ADDRESS = 0x9C92" then it should work for you.  If that's all good then I could merge the stargate into defenderlr so we are only maintaining one plugin.

PL1:

--- Quote from: 10yard on November 29, 2021, 06:00:51 am ---It's the facing address.  If you set that to "FACING_ADDRESS = 0x9C92" then it should work for you.  If that's all good then I could merge the stargate into defenderlr so we are only maintaining one plugin.

--- End quote ---
With that address change, everything appears to work fine in my copied/edited version of the plugin.   :cheers:


Scott

10yard:

--- Quote from: PL1 on November 29, 2021, 06:37:28 am ---With that address change, everything appears to work fine in my copied/edited version of the plugin.   :cheers:

--- End quote ---

Great  stuff  :cheers:

I have merged the stargate change into defenderlr and tested ok.   Plugin version is now 4.0.  I have sent a request to Aaron to update his original git repo.

I made a fork so you can easily grab the files for the v4 release in a zip at: https://github.com/10yard/defenderlr/releases

Jon

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version