RetroDECK icon indicating copy to clipboard operation
RetroDECK copied to clipboard

MAME - Add Pugsy Cheatfile + plugin

Open Lazorne opened this issue 1 year ago • 1 comments

In the mame.ini

cheatpath /app/share/mame/cheat

http://cheat.retrogames.com/mame_downloads.htm

But it looks like from the forum that it is being worked on. After it is released we can provide with RetroDECK.

A plugin could be needed as well.

Lazorne avatar Feb 16 '24 10:02 Lazorne

Instructions on what we need to do to enable it later from Pugsy's readme:

Step 1 (what to do with the cheat.7z file )

First of all do NOT unpack the cheat.7z file - it will work just fine as a 7z, it contains over 175,000 xml/json files so fully unpacking it is not advised.

First of all unzip or copy the cheat.7z file into the same directory that contains MAME EXE File. (All platforms apart from Mac OS 9/X ).

For MacMAME the cheat.7z file should be in:- ${HOME}/Documents/MacMAME User Data/Misc Support Files

For MAME OS X (not SDLMAME OSX!) the cheat.7z file should be in:- ${HOME}/Library/Application Support/MAME OS X

Step 2 (Enable the MAME Cheat Engine)

As standard the MAME Cheat Engine is turned OFF, there are several ways of turning it ON depending on which platform you are running MAME on.

MAME: This is the standard MAME compile, go to your MAME directory open up the MAME.INI file with a text editor (the one you are using to read this will probably do!). 1. Find '# CORE MISC OPTIONS' and change 'cheat 0' to 'cheat 1'. 2. Find '# CORE SEARCH PATH OPTIONS' and ensure cheatpath has 'cheat' as one of the paths eg. cheatpath cheat or cheatpath cheat;cheat_wayder;cheat_my_own_cheats

	  If you have no INI file then just start MAME from the
    command-line with the -createconfig option  eg. 'MAME -createconfig'.
      If you manually use MAME every time from the command-line you can also
    just add '-cheat' to the command line.

    Alternatively, you can set up MAME within MAME itself. Just start the
	mame.exe to launch mame with it's inbuilt GUI.
	Then select General Settings=>Miscellaneous Options=>Cheats and set to 'ON'
	then go back and select 'Save Settings'
	It's a similar method to set the folders select General Settings=>Configure Folders=>Cheat Files,
	Add or Remove folders as you need - then go back and select 'Save Settings'.

	Whilst you are in the General Settings menus, you may wish to enable the cheat related
	plugins in a similar way.

	General Settings=>Plugins
	I'd suggest you enable the "Cheat plugin", "Cheat finder helper library" and
	the "Autofire plugin" for starters.

UNIX/LINUX : Go to your MAME directory open up the MAME.CFG file with a text editor (the one you are using to read this will probably do!). Find 'cheat off' and change it to 'cheat on'. If you have no CFG file then just start MAME from the command-line with the -createconfig option eg. 'MAME -createconfig'. If you manually use MAME every time from the command-line you can also just add '-cheat' to the command-line.

MAC: From the front-end, go to the Misc tab, and check the box that says "Allow Cheats" or "Enable Cheats".

Step 3 (Cheat!)

In-game press TAB and follow your nose......

There are two cheat engines:-

  1. The built-in one which you will find after the'Video Options' line on the TAB menu.
  2. The plugins cheat engine which you will find if you enter 'Select Plugins' and select , the plugins cheat engine looks identical to the built-in one. But there are some benefits:- a. You can use the "Set Hotkeys" option so you can activate cheats merely by pressing keys without having to go through the cheat menu. b. It allows you to load your own cheats from the "cheat.simple" file. c. You need it to use to be able to test & load any cheats you find with the "Cheat Finder" plugin.

Left and Right cursor toggles cheats ON and OFF, ENTER turns on one shot cheats and SPACE displays the cheat comments if there are any (the comments will auto display as you move up/down to a cheat with any comments for a short time).

Lazorne avatar Feb 16 '24 10:02 Lazorne

This was done in 0.8.0

Lazorne avatar Jul 30 '24 06:07 Lazorne