Page 1 of 1

Question regarding recording/playback of inps

Posted: Mon Jun 18, 2018 12:36 am
by thegalagaking
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 missing record and playback buttons
Wolfmame-0198 missing record and playback buttons
Wolfmame-0198.jpg (262.46 KiB) Viewed 13361 times

Re: Question regarding recording/playback of inps

Posted: Mon Jun 18, 2018 6:50 pm
by mahlemiut
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?

Re: Question regarding recording/playback of inps

Posted: Wed Aug 08, 2018 2:38 am
by thegalagaking
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?

Re: Question regarding recording/playback of inps

Posted: Wed Aug 08, 2018 4:55 am
by mahlemiut
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.

Re: Question regarding recording/playback of inps

Posted: Thu Oct 04, 2018 3:49 pm
by thegalagaking
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. :)

Re: Question regarding recording/playback of inps

Posted: Thu Oct 04, 2018 6:38 pm
by mahlemiut
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.

Re: Question regarding recording/playback of inps

Posted: Thu Oct 04, 2018 8:07 pm
by mahlemiut
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.