Post subject: MHS ( Memory hacking software )
Joined: 2/16/2014
Posts: 59
Is there a way to do a TAS with MHS in super mario 64 ? I mean, mhs changes the speed of mario. Is there a way to change the speed automaticly, see mario jumping over the whole level AND standing around, or be slow? I have another problem. If I do a TAS with MHS, and change the speed of mario constantly, he crashes against a wall every time. It's like: TAS - done. rerecord - fuc*ed up Need help here please
WST
She/Her
Active player (450)
Joined: 10/6/2011
Posts: 1690
Location: RU · ID · AM
Well, usually the idea of making a TAS is to compete on beating the game under natural conditions (no cheating, in other words). If you edit memory data manually, it’s very likely that you may set some variable to a value which is not intended to be possible and thus cause a lot of unexpected glitches. If the emulator has Lua API, you can change memory data from a Lua script.
S3&A [Amy amy%] improvement (with Evil_3D & kaan55) — currently in SPZ2 my TAS channel · If I ever come into your dream, I’ll be riding an eggship :)
Patashu
He/Him
Joined: 10/2/2005
Posts: 4018
A TAS movie file does not record every memory address on every frame, it only records what inputs you send it. So when you play it back the MHS memory edits aren't played back and thus it desyncs. Your most likely option for success is to use LUA scripting to write to memory addresses at certain times.
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Joined: 2/16/2014
Posts: 59
@WST: I wanted to do it just for fun. No uploading or smth else. But thanks @Patashu: MHS I can freeze the values ( speed of mario ). Is there a tutorial for lua scripting in mupen 64 rerecording? It would be awesome
Joined: 2/5/2014
Posts: 28
Yeah some Mupen64 lua examples sure would be nice. Just as a test I wanted to paint a rectangle to the screen and no matter if I call my rect via a register function or in a good old "while true do" loop it flickers like crazy. I don't know if this is the fault of my scripting, or a video plugin problem, or a problem with the emulator itself. I can't find any example scripts that draw anything to the gameplay area and the documentation is partially in Japanese!
Joined: 2/16/2014
Posts: 59
But are there any tutorials? Maybe you did smth wrong? idk
Joined: 2/5/2014
Posts: 28
The only tutorial I could find was the one on the google page and it doesn't actually draw anything to the screen, rather it just shows you how to hook up a code loop. Even then the comments are in Japanese, meaning you only get code and not an explanation of what it's doing. The only example script I could find was a lag counter script on these forums. Now while it DOES draw to the screen, it does it by making the gameplay area larger and drawing in the empty space. That only works in windowed mode unfortunately.
Joined: 2/16/2014
Posts: 59
Well... that's what I thought :D Cool, but thats not really helpful for me. Anyway, thx!