Language…
18 users online: Batata Douce, Bourbaki, Ccarlos, Danik2343, EliteBellic, Europia79, Heitor Porfirio, Josyenew, lordkronos100, Lyfuh, Papangu, PhoenixTN, PopCorn181, RafaGames, sholmes, signature_steve, SonicandMarioGames1985, Steven Atauchi C. - Guests: 537 - Bots: 116
Users: 70,885 (2,299 active)
Latest user: kaymp3

Posts by Foultier

Foultier's Profile → Posts

Originally posted by furious

For this I just wrote a lua script for BizHawk, read the chatlog from a text file. I made the script do savestates for each commands because some powerups may crash the game, that way I can go back if this happens


Interesting, watched a bit of the stream. I didn't understand a word though, but it was really fun to watch :)

Funny enough, TheBiobs first idea was to use lua scripting for that project aswell.
But we thought about making it a little bit more advanced (user friendly), so now it's a combination of C# and .asm.
Originally posted by Skewer
You know, this sounds like it could be very useful for trolling people who play this, either way... the integration with twitches "CHAT" of all things, very interesting indeed.


It all depends on how nice the chat of the streamer is in the end of the day :)


Originally posted by Skewer
How tricky was it to get this to work?


Since I am firm in C# and Biob is good in .asm and C# it was just a matter of time to get things working.

Basically the Bot connects via IRC to the Streamers Twitch-Chat and reacts to commands posted there.
Then the Bot writes Data into the RAM of different Emulators (tricky thing is: most emulators use different RAM all the time, and it's not the RAM SMW uses).
TheBiob wrote .asm which calls these addresses and reacts depending on what was written before.

That's basically how it works - though I made it really simple here.

There are some more things to code to confirm a connection between the Bot and the hack, to get the votes, etc.



Originally posted by Skewer
I do wonder if you can do this outside of streams. Would kinda love to. If that's been stated already, excuse me, but I can't really see it.


What exactly do you mean? Do you want to play the hack and do the inputs yourself? (!on/!off inputs, random-level-gimmicks)


Greetings, Flo