Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
ALAKTORN wrote:
Finding the RNG means finding the address in memory.
To be correct it should be "Finding the outcome of the RNG means finding the address in memory". It could be that people mess up terms or don't know it's actual meanings.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
TASeditor wrote:
ALAKTORN wrote:
Finding the RNG means finding the address in memory.
To be correct it should be "Finding the outcome of the RNG means finding the address in memory".
But that is wrong. The outcome of the RNG is its value in memory, not its address in memory. “Finding” something doesn’t mean “figuring out”, “understanding”, or any such synonym anyway. You can’t “find” the RNG’s formula. You reverse-engineer it, you figure it out, you understand it. Not find.
AntyMew
It/Its
Encoder, Player (35)
Joined: 10/22/2014
Posts: 425
ALAKTORN wrote:
TASeditor wrote:
ALAKTORN wrote:
Finding the RNG means finding the address in memory.
To be correct it should be "Finding the outcome of the RNG means finding the address in memory".
But that is wrong. The outcome of the RNG is its value in memory, not its address in memory. “Finding” something doesn’t mean “figuring out”, “understanding”, or any such synonym anyway. You can’t “find” the RNG’s formula. You reverse-engineer it, you figure it out, you understand it. Not find.
As an American, "found out" can be used as a synonym of "figure out." I'm not sure if it's the same way in Britain or just a colloquialism, though (Apologies for being off topic) I'd love to see a tutorial on finding RNG addresses as well, it's been something I've found difficult for some reason
Just a Mew! 〜 It/She ΘΔ 〜
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11478
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Another note: you don't need to figure out the whole formula, if you just see the general point of it: some RNGs are not manipulatable, global timer dependent, some are so complicated you can only rely on testing, and there's no point in replicating the formula in lua and foretelling the values, but sometimes you really can make benefit of replicating it to see the predicted values.
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
Anty-Lemon wrote:
As an American, "found out" can be used as a synonym of "figure out."
“Finding out” and “finding” are different things, he never said “finding out”. It also wouldn’t work to use “finding out” in this context, I think, but I gotta run right now because I’m late so I can’t think about it properly.
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
"Find" translates to "feststellen" (figuring out). You can actually find the RNG, its location in RAM/ROM.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
TASeditor wrote:
"Find" translates to "feststellen" (figuring out).
Using Google Translate in an attempt to prove grammatical correctness is pretty ridiculous.
TASeditor wrote:
You can actually find the RNG, its location in RAM/ROM.
I’m not even sure what you mean here.
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
ALAKTORN wrote:
I’m not even sure what you mean here.
The programmers need to put the RNG somewhere into the ROM, of course. It's located at whatever lines of code. When the game runs, the RNG is in RAM. If you don't trust Google Translate, you can look up other translation sites too, there's still no difference at all.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Samsara
She/They
Senior Judge, Site Admin, Expert player (2239)
Joined: 11/13/2006
Posts: 2822
Location: Northern California
EDIT: In retrospect that was too harsh sounding to be a joke.
TASvideos Admin and acting Senior Judge 💙 Currently unable to dedicate a lot of time to the site, taking care of family. Now infrequently posting on Bluesky
warmCabin wrote:
You shouldn't need a degree in computer science to get into this hobby.
ALAKTORN
He/Him
Former player
Joined: 10/19/2009
Posts: 2527
Location: Italy
TASeditor wrote:
If you don't trust Google Translate, you can look up other translation sites too, there's still no difference at all.
Look, I don’t need a translation… I know using the word “find” that way is wrong in English, so you should stop doing it, or you’ll cause confusion in the future like solarplex confused me before. “Find” and “find out” are two different verbs. http://en.wiktionary.org/wiki/find http://en.wiktionary.org/wiki/find_out Edit: @Samsara: well ok then.
Active player (476)
Joined: 2/1/2014
Posts: 928
Tutorial 1: Writing LUA Scripts Tutorial 2: RNG Values/Addresses - Reverse Engineering - Basic ASM mnemonics - http://tasvideos.org/ReverseEngineering.html RNG Note from Feos: Another note: you don't need to figure out the whole formula, if you just see the general point of it: some RNGs are not manipulatable, global timer dependent, some are so complicated you can only rely on testing, and there's no point in replicating the formula in lua and foretelling the values, but sometimes you really can make benefit of replicating it to see the predicted values. Other Tutorials: Separate theory - stuff about subpixels - optimization - luck-manipulation Steps to Producing a Tutorial: 1. Start off without using the emulator 1.1 - Demonstrate using pictures and simple animations 2. Apply to Emulators 2.1 - Multiple emulator demonstrations for better overall knowledge 3. Show usage of helpful tools
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
My statement with "finding RNG" still stands and it's semantically correct. When you reverse-engineer a RNG, you'll also find its location in RAM, therefore the algorithm. You actually got confused because you didn't realised Solarplex was talking about the algorithm (RNG). For me his statement is obvious from the context, even his could be better for people who think RNG means random value.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
Solarplex, I think we should start at the basics. We should follow the learning process of TASing with a tutorial series.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Active player (476)
Joined: 2/1/2014
Posts: 928
Wanna start from the very beginning? Like revamp adelikat's tutorials?
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
Yes. Also mentioning some background information, like what's the point of TASing, where it came from, what are the objectives. People even have difficulties how to set up the emulator, so we should cover that too.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Active player (476)
Joined: 2/1/2014
Posts: 928
Sounds great :) I'll start a write-up soon and we can keep adding to it. I would like to go through setting up as many emulators as we can and also show people how to encode on every emulator
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
Samsara wrote:
If text on-screen is all you want, Aegisub is pretty damn good for that.
I finally had time to do the lsnes tutorial and wanted to add subtitles to the video file. But somehow the subtitles are all disorted and impossible to read, I use a newly installed version of aegisub.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Not enough info. Have you set the correct resolution in AegiSub?
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
It did this automatically, after opening the video.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Joined: 10/14/2013
Posts: 335
Location: Australia
Emulator specific techniques, differences and features, maybe. To help people who are proficient with one emulator move their skills onto another given that some are very similar and others are drastically different.
I'm not as active as I once was, but I can be reached here if I should be needed.
Samsara
She/They
Senior Judge, Site Admin, Expert player (2239)
Joined: 11/13/2006
Posts: 2822
Location: Northern California
TASeditor wrote:
I finally had time to do the lsnes tutorial and wanted to add subtitles to the video file. But somehow the subtitles are all disorted and impossible to read, I use a newly installed version of aegisub.
Aegisub is a bit fiddly at times when it comes to text and video resolution. If you post your subtitle file (or a similar one) and the video resolution, I can try to make it work. Unless, of course, you figured it out already.
TASvideos Admin and acting Senior Judge 💙 Currently unable to dedicate a lot of time to the site, taking care of family. Now infrequently posting on Bluesky
warmCabin wrote:
You shouldn't need a degree in computer science to get into this hobby.
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
Haven't figured out already. The resolution is 1281x946, I don't have a subtitle file yet. Creating a dummy video with that resolution makes it work.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Samsara
She/They
Senior Judge, Site Admin, Expert player (2239)
Joined: 11/13/2006
Posts: 2822
Location: Northern California
Odd. Theoretically if it works for a dummy video at that resolution, it should work for every video. Have you messed with text styles (Subtitle > Styles Manager)? I'm guessing yes, but suggesting it is worth a shot just in case. I remember having similar problems and I'm pretty sure that's what worked for me.
TASvideos Admin and acting Senior Judge 💙 Currently unable to dedicate a lot of time to the site, taking care of family. Now infrequently posting on Bluesky
warmCabin wrote:
You shouldn't need a degree in computer science to get into this hobby.
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
I couldn't messed up anything, since I instatlled the program yersterday. The problem seemed to be the video codec, I used CamStudio for screen capture.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch