Post subject: [HELP WANTED] Need help figuring out input recordings.
RobinKeatonTAS
They/Them
Joined: 3/20/2017
Posts: 9
Location: Karlshamn, Sweden
Hello everyone. I hope this is the right place to post this. Anyways, I'm doing a segment of Mario & Luigi: Superstar Saga in which I need to do a scenario several times over for bean collecting. I can't figure out BizHawk at all (too confusing and the FAQs and resources aren't answering my questions) and I have no idea how to record inputs the way I need them to. When I go to record it I record from where I am in the game, in the cage with the mine-cart mini-game. But when I've done the segment and saved the movie, then replay it, it goes back to that exact same savestate, instead of just running the inputs. I can't get TAStudio to do it either, because it always starts at frame 0 where all the save data for the game is gone. Is there a way to record my inputs and then replay them again through the emulator without reverting back to where I was when I recorded the inputs, so I don't have to do the same tedious process over and over? Any help is greatly appreciated...
~-~
RobinKeatonTAS
They/Them
Joined: 3/20/2017
Posts: 9
Location: Karlshamn, Sweden
I'm running BizHawk 1.12.0.1, forgot to mention.
~-~
Player (152)
Joined: 5/25/2015
Posts: 49
RobinKeatonTAS
They/Them
Joined: 3/20/2017
Posts: 9
Location: Karlshamn, Sweden
I'm sorry but that really doesn't answer my question... I still have no idea why it reverts back to a previous save instead of just playing the inputs. The FAQ is also sorta ambiguous since it isn't talking specifically about BizHawk.
~-~
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3826)
Joined: 11/30/2014
Posts: 2834
Location: US
I'm not sure there is a formal way to do this in the emulator, replaying the movie is not meant to repeat your actions, it's meant to start back at the save state so you can change them, but there is a way to copy your inputs repeatedly. After you save your movie, you'll have a .bk2 file. Open this file with something like 7-zip. Inside you will see a file called Input Log.txt This file contains all of your button presses in the movie, one line per frame. It sounds like what you want to do is just repeat these inputs multiple times. So just open Input Log.txt in notepad and copy paste all the inputs as many times as you would like. As long as these exact same inputs repeat what you want in the exact same way (no RNG in game etc) then this procedure should work.
Masterjun
He/Him
Site Developer, Skilled player (1988)
Joined: 10/12/2010
Posts: 1185
Location: Germany
What you want is not an input recording, but a macro. You can find a description here in the Emulator Features under Combos or macros. So you can either use the Macro Tool, the complicated manual way Alyosha suggested above, or a different complicated way using Lua scripting.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
RobinKeatonTAS
They/Them
Joined: 3/20/2017
Posts: 9
Location: Karlshamn, Sweden
Alyosha wrote:
I'm not sure there is a formal way to do this in the emulator, replaying the movie is not meant to repeat your actions, it's meant to start back at the save state so you can change them, but there is a way to copy your inputs repeatedly. After you save your movie, you'll have a .bk2 file. Open this file with something like 7-zip. ...
Masterjun wrote:
What you want is not an input recording, but a macro. You can find a description here in the Emulator Features under Combos or macros. So you can either use the Macro Tool, the complicated manual way Alyosha suggested above, or a different complicated way using Lua scripting.
Thanks to the both of you, I'll check these out then.
~-~
RobinKeatonTAS
They/Them
Joined: 3/20/2017
Posts: 9
Location: Karlshamn, Sweden
After testing these methods out I found out that I have no idea how the macro tool works, and couldn't find any info on it. And I don't know what tool to use to "paste in" the inputs. Help please?..
~-~
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3826)
Joined: 11/30/2014
Posts: 2834
Location: US
RobinKeatonTAS wrote:
After testing these methods out I found out that I have no idea how the macro tool works, and couldn't find any info on it. And I don't know what tool to use to "paste in" the inputs. Help please?..
I don't know how the macro tool works either! 8D Did you find Input Log.txt? Extract it and post it somewhere and post a link here and I should be able to help out. There is also IRC if you want to use it, someone there migt be able to help walk you through the steps real time: #tasvideos at irc.freenode.net
RobinKeatonTAS
They/Them
Joined: 3/20/2017
Posts: 9
Location: Karlshamn, Sweden
Alyosha wrote:
RobinKeatonTAS wrote:
After testing these methods out I found out that I have no idea how the macro tool works, and couldn't find any info on it. And I don't know what tool to use to "paste in" the inputs. Help please?..
I don't know how the macro tool works either! 8D Did you find Input Log.txt? Extract it and post it somewhere and post a link here and I should be able to help out.
Yes I got the .txt and posted the inputs here http://pastebin.com/TuNeqCtm It's an input list for the jump rope minigame to earn Hee Beans in Mario & Luigi Superstar Saga (in case that was important to note) Thanks again for putting up with me uwu
~-~
RobinKeatonTAS
They/Them
Joined: 3/20/2017
Posts: 9
Location: Karlshamn, Sweden
Alyosha wrote:
RobinKeatonTAS wrote:
After testing these methods out I found out that I have no idea how the macro tool works, and couldn't find any info on it. And I don't know what tool to use to "paste in" the inputs. Help please?..
I don't know how the macro tool works either! 8D Did you find Input Log.txt? Extract it and post it somewhere and post a link here and I should be able to help out.
Yes I got the .txt and posted the inputs here http://pastebin.com/TuNeqCtm It's an input list for the jump rope minigame to earn Hee Beans in Mario & Luigi Superstar Saga (in case that was important to note) Thanks again for putting up with me uwu
~-~
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3826)
Joined: 11/30/2014
Posts: 2834
Location: US
RobinKeatonTAS wrote:
Alyosha wrote:
RobinKeatonTAS wrote:
After testing these methods out I found out that I have no idea how the macro tool works, and couldn't find any info on it. And I don't know what tool to use to "paste in" the inputs. Help please?..
I don't know how the macro tool works either! 8D Did you find Input Log.txt? Extract it and post it somewhere and post a link here and I should be able to help out.
Yes I got the .txt and posted the inputs here http://pastebin.com/TuNeqCtm It's an input list for the jump rope minigame to earn Hee Beans in Mario & Luigi Superstar Saga (in case that was important to note) Thanks again for putting up with me uwu
http://pastebin.com/pUMaiCRi Here is the input log with all the buttons repeated. Each row like this: | 0, 0, 0, 100,...........| is 1 frame of input. You had ~3500 frames of input in your original file, now you have ~7000 in the new paste, just copying and pasting them all. Now copy that file and put it back in your .bk2 and ttry playing it, it should run twice as long and play through that mini game twice if it syncs up right.
RobinKeatonTAS
They/Them
Joined: 3/20/2017
Posts: 9
Location: Karlshamn, Sweden
Alyosha wrote:
RobinKeatonTAS wrote:
Alyosha wrote:
RobinKeatonTAS wrote:
After testing these methods out I found out that I have no idea how the macro tool works, and couldn't find any info on it. And I don't know what tool to use to "paste in" the inputs. Help please?..
I don't know how the macro tool works either! 8D Did you find Input Log.txt? Extract it and post it somewhere and post a link here and I should be able to help out.
Yes I got the .txt and posted the inputs here http://pastebin.com/TuNeqCtm It's an input list for the jump rope minigame to earn Hee Beans in Mario & Luigi Superstar Saga (in case that was important to note) Thanks again for putting up with me uwu
http://pastebin.com/pUMaiCRi Here is the input log with all the buttons repeated. Each row like this: | 0, 0, 0, 100,...........| is 1 frame of input. You had ~3500 frames of input in your original file, now you have ~7000 in the new paste, just copying and pasting them all. Now copy that file and put it back in your .bk2 and ttry playing it, it should run twice as long and play through that mini game twice if it syncs up right.
Oh my god, you're a genius! Trying that out tomorrow when I get back. Thanks in again!
~-~
RobinKeatonTAS
They/Them
Joined: 3/20/2017
Posts: 9
Location: Karlshamn, Sweden
RobinKeatonTAS wrote:
Alyosha wrote:
RobinKeatonTAS wrote:
Alyosha wrote:
RobinKeatonTAS wrote:
After testing these methods...
I don't know how the macro tool works either! 8D Did you...
Yes I got...
http://pastebin.com/pUMaiCRi Here is the input log with all the buttons repeated. Each row like this: | 0, 0, 0, 100,...........| is....
It worked perfectly! Thanks so much for being so helpful and patient with me ^_^
~-~