Question regarding recording/playback of inps

General discussion on MAME, MARP, or whatever else that doesn't belong in any of the other forums

Moderators: mahlemiut, seymour, QRS

Post Reply
User avatar
thegalagaking
Button Masher
Button Masher
Posts: 25
Joined: Sat Dec 19, 2015 6:44 pm
Location: Boca Raton, Florida
Contact:

Question regarding recording/playback of inps

Post by thegalagaking » Mon Jun 18, 2018 12:36 am

I just downloaded the latest version of wolfmame and like other versions I've downloaded in the past, their missing the record and playback buttons at the top of the screen.

Can someone please tell me how I can go about fixing this so that I don't have to run the version in a DOS window in order to record and playback inps?

Thanks!

Screenshot of wolfmame-0198 without the buttons
Wolfmame-0198.jpg
Wolfmame-0198 missing record and playback buttons
Wolfmame-0198.jpg (262.46 KiB) Viewed 842 times
Stephen Krogman
The "Real" Galaga King

Galaga - Arcade - 15,999,990
Galaga - Arcade [TGTS] - 3,276,030 [Free-Play FL 2015]
Galaga - Arcade [Fast Fire] - 11,999,990 [unofficial]
Galaga - MAME - 6,800,910
Galaga - MAME - [TGTS] - 6,320,040
Galaga - MAME [Fast Fire] - 20,518,900

User avatar
mahlemiut
Editor
Posts: 4121
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Re: Question regarding recording/playback of inps

Post by mahlemiut » Mon Jun 18, 2018 6:50 pm

They were removed due to it getting difficult to keep it working with the mewui code, without having to completely re-write it, which at the time was constantly changing.

Now that that has settled down, maybe it's time to try to it again?
- Barry Rodewald
MARP Assistant Web Maintainer
Image

User avatar
thegalagaking
Button Masher
Button Masher
Posts: 25
Joined: Sat Dec 19, 2015 6:44 pm
Location: Boca Raton, Florida
Contact:

Re: Question regarding recording/playback of inps

Post by thegalagaking » Wed Aug 08, 2018 2:38 am

I can't believe I'm just now replying to this response. Sorry. So basically if I want to record/playback an inp I will have to do it through DOS, correct?
Stephen Krogman
The "Real" Galaga King

Galaga - Arcade - 15,999,990
Galaga - Arcade [TGTS] - 3,276,030 [Free-Play FL 2015]
Galaga - Arcade [Fast Fire] - 11,999,990 [unofficial]
Galaga - MAME - 6,800,910
Galaga - MAME - [TGTS] - 6,320,040
Galaga - MAME [Fast Fire] - 20,518,900

User avatar
mahlemiut
Editor
Posts: 4121
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Re: Question regarding recording/playback of inps

Post by mahlemiut » Wed Aug 08, 2018 4:55 am

Through a command prompt. MS-DOS hasn't really been much of a thing certainly since XP.

Batch files (record.bat and playback.bat) are provided to help. Syntax is:

Code: Select all

record <gamename> <INP filename> [optional settings]
The batch file will had the .inp extension for you, MAME doesn't do that.

There is also a Tcl/Tk script for a basic GUI, if you have a Tcl interpreter installed, but this is more expected for Linux or OS X where a Tcl interpreter is typically installed as standard.
- Barry Rodewald
MARP Assistant Web Maintainer
Image

User avatar
thegalagaking
Button Masher
Button Masher
Posts: 25
Joined: Sat Dec 19, 2015 6:44 pm
Location: Boca Raton, Florida
Contact:

Re: Question regarding recording/playback of inps

Post by thegalagaking » Thu Oct 04, 2018 3:49 pm

Barry,

Forgive me for my lack of knowledge (DOS vs CMD #-o). I'm wondering if these two buttons are standard in a gui like mameui64? I could always use that instead (i.e. File/Play and Record Input... etc.). I tried emuloader but it's a bit overwhelming for me at the moment. I like the feel of mameui64 and the way it's set up. I guess that's what happens when you've used a version like wolfmame106 for the past 10 years. You get accustomed. Time to think "outside" the box. :)
Stephen Krogman
The "Real" Galaga King

Galaga - Arcade - 15,999,990
Galaga - Arcade [TGTS] - 3,276,030 [Free-Play FL 2015]
Galaga - Arcade [Fast Fire] - 11,999,990 [unofficial]
Galaga - MAME - 6,800,910
Galaga - MAME - [TGTS] - 6,320,040
Galaga - MAME [Fast Fire] - 20,518,900

User avatar
mahlemiut
Editor
Posts: 4121
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Re: Question regarding recording/playback of inps

Post by mahlemiut » Thu Oct 04, 2018 6:38 pm

The problem with MAMEUI is that it is very much Windows-only, and would require an extra code base to build and maintain.
There is a very basic Tcl/Tk frontend included, which works across platforms (it needs a bit of fixing, I haven't updated it since doing full MAME builds), but this does require a Tcl/Tk interpreter to be installed on Windows (whereas Tcl/Tk is standard on most Linux distros, and OS X).

UI code in MAME seems to have settled down for now, I could possibly look at re-adding some sort of record/playback option in there.

I have toyed with the idea of just writing a simple UI that can be selectable instead of the normal frontend UI, but that seems to be a lot of work.
- Barry Rodewald
MARP Assistant Web Maintainer
Image

User avatar
mahlemiut
Editor
Posts: 4121
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Re: Question regarding recording/playback of inps

Post by mahlemiut » Thu Oct 04, 2018 8:07 pm

Updated ui.tcl to actually work now. You can simply update the contents of ui.tcl with this:
https://raw.githubusercontent.com/mahle ... 33e/ui.tcl

Do note that devices will show up in the list also (because they show up in -listfull output, for reasons), you can just ignore those, they won't be runnable individually anyway.
- Barry Rodewald
MARP Assistant Web Maintainer
Image

Post Reply