Posts for Masterjun


Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
So I thought I'd make a reply in this thread as I got back to this game again. I always wanted to make a 4 player TAS, but the normal Dolphin tools are not enough because I wouldn't want to actually TAS 4 players at once all the time if I make a mistake on a single one. So I implemented my own selective read-only (at least that's how I call it), that allows me to set, for example, player 1 to read+write, while 2, 3, and 4 are in read-only. Additionally I made a Movie Editor (actually only a Movie Viewer for now because Dolphin has magical movie handling) for easy toggling of the read-only mode. I have the Dolphin code on my github page, but keep in mind that it's 1 year old and I probably can't just pull the most recent version without some conflicts. And also the code is bad because I can't deal with Dolphin code. I made a small demonstration of the workflow here (red is read+write, it toggles when I click). Long story short I made a testrun: Link to video (I won't be continuing this one though, instead I will make a completely new one with at least a bit of RNG manipulation) Speaking of RNG, I also figured out the RNG address at $805DCD30. The function itself is, as usual, a linear congruential generator, so the next RNG value is calculated by doing (RNG*0x000343FD)+0x00269EC3. I figured out some other values but I don't know if they are the same for every new start of a match. For now my plan is to figure out how Events are calculated, to maybe, in the best case, get the All Boxes contain the same Item Event with it containing the All patch. Just for fun. Nope that doesn't work. Only select items can be in the box at that event, and the All patch is not one of them.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Post subject: Re: Category name capitalization
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Ready Steady Yeti wrote:
I know this seems like it's not a big deal
This is the most important part of your post. Changing small things like that nobody really cares about is just not something this site usually does. Trust me, I've tried, and nothing resulted from it (except then half a year later it was changed anyways, but not to the one the poll resulted in for). So all I can tell you is, don't bother trying. Also,
Ready Steady Yeti wrote:
"tutorial%"
Don't even attempt to bring nonsense branch names to this site.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
BizHawk/CommandLine wrote:
The desired ROM filename should be last.
In other words, just don't use the -o and put the ROM filename by itself after the BizHawk call.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
No, you need to be able to replicate recording a new movie which then desyncs when played back.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
If you know a consistent way to replicate the input desync, then it would be good to know.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Memory wrote:
If you want TASes to be at GDQs, prove they can be successful cause so far the evidence doesn't suggest they really can.
I don't know I thought my Pong Snake SMW run was kind of successful, after all, some of our runs have news coverage on some sites, and some runs are on top of the most seen VoDs on the channel, but maybe that's just me.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Post subject: Re: Meh bad
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
marder1991 wrote:
i thought the point of tas was to make cool looking play through
Yes, but your movie was not cool looking in the slightest. As I said, it looked like a casual playthrough. If you're not aiming for speed, then you have to aim for entertainment. This run does not have entertainment. For an excellent example of entertainment in SMW look at this run: Link to video
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Warp wrote:
This seems paradoxical. The universe could end before the photon reaches its target, yet from its own perspective it reaches the target in 0 seconds.
For the photon (or all massless particles), from the start of the universe to the end of the universe, everything happened in 0 seconds. In a way, mass allows us to experience time. Saying the universe would end when there is still a photon moving around doing stuff depends on your theory on what counts as the world having ended.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
You can either use the File -> Recent ROM -> Autoload feature, or if you want a seperate shortcut for each ROM, just add the ROM path to the target of the shortcut (like in a command line, look here for more options).
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
FractalFusion wrote:
Note that the strategies above are optimal but it may be possible that they aren't unique, though my guess is that they are unique.
A quick question: Does optimal strategy in this context mean that there are no other strategies against it with an expected win rate of over 50%? Or am I misinterpreting this?
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
CPU: AMD FX-9590 4.7GHz 8-core CPU Instructions: MMX(+), SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, SSE4A, x86-64, AMD-V, AES, AVX, XOP, FMA3, FMA4 Motherboard: Asus SABERTOOTH 990FX R2.0 GPU: nVidia GTX 750Ti SC 2GB GFX Drivers: Nvidia v385.69 OS: Windows 7 Ultimate 64-bit SP1 RAM: 16GB Kingston 1866MHz DDR3
CPU: Ricoh 5A22 @ 3.58 MHz (65C816) CPU Instructions: LDA, STA, JMP, BEQ + more Motherboard: BizHawk emulates your Motherboard. GPU: Yes the VRAM is kind of complicated because you have word values but the addressing is single bytes. FGX Drivers: No this didn't have F-Zero GX, it had F-Zero normal version, and one of the drivers was Captain Falcon. OS: SMW-OS™ RAM: Enough for Pong and Snake.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Open it in TAStudio and click on File -> Export to Bk2.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Here you go. You'll need an hex editor instead of a text editor though, because it is stored in pure binary data, not in plain text like some other movie formats.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
While this is off-topic, I don't know any purpose this thread would have anyways, so here we go.
Warp wrote:
Some of the worst cases I have seen were like a 10-minute video to explain something that could have literally been explained with a relatively short paragraph of text. [...] This appears to have become more and more common recently.
About 1 year ago, YouTube began to differentiate between shortform (under 10 minutes) and longform (over 10 minutes) videos. The longform videos can include mid-roll ad breaks, which gives more money. This is why people create videos with lengths of barely over 10 minutes.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Here, I hate the header.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Yes.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
AcolPavel, make sure to read the judgment under the submission text. It explains why this movie was cancelled.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
For anyone wondering, this movie runs on the PAL version of Super Mario Bros.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Thanks, fixed that.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Entering the value of sin(50°) from that pdf into wolfram alpha replacing the I with the imaginary unit i gives a result with an alternate form of cos(2*pi/9) which is cos(40°) which is sin(50°), so I is in fact the imaginary unit i.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
andymac wrote:
(and in my hastiness figuring out lsnes, I've created the movie starting from dirty SRAM accidentally)
This is a bug with the TASVideos parser. It's due to the moviesram.srm file existing in the lsmv file (which is an archive). If it is 0 bytes (which it is in your case) then you can simply delete it and there will be no error. This seriously should be fixed on the site though.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Tremane wrote:
are my 2 answers not exact enough? :o
The second one, if entered into the equation, gives a solution of 0.00000073970910544... which is not 0.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
Strange error, maybe you're doing a lot and are running out of memory? Lua doesn't have a automatic garbage collector so did you try running collectgarbage() every now and then? Looks like input.getmouse() is a problem in 1.13.0. Do you use that?
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
String arithmetic!
Language: lua

local chars = {"0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"} function add(a,b,base) base = base or 10 local ret = "" while a:sub(1,1)==chars[1] and #a>1 do a=a:sub(2) end while b:sub(1,1)==chars[1] and #b>1 do b=b:sub(2) end while #a<#b do a=chars[1]..a end while #b<a>= base then cur = cur - base c = true end ret = chars[cur+1]..ret end if c then ret = chars[2]..ret end return ret end function mult(a,b,base) base = base or 10 local ret = "" while #a<#b do a=chars[1]..a end while #b<#a do b=chars[1]..b end for i = 1,#a do ret = ret..chars[1] for i=1,tonumber(a:sub(i,i),base) do ret = add(ret,b,base) end end return ret end
Arguments a and b are strings in base base. The base is optional and 10 if not given. The result is a string in base base. Example: mult("B65698F7","41C64E6D",16) gives "2ED93BAD0B84632B". The last 32 significant bits are just the last 8 characters, so result = mult("B65698F7","41C64E6D",16) print(result:sub(-8)) gives 0B84632B. (Additional symbols have to be added to chars for higher bases than 16).
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Masterjun
He/Him
Experienced Forum User, Published Author, Site Developer, Skilled player (1971)
Joined: 10/12/2010
Posts: 1179
Location: Germany
:(
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)