Posts for Desty


Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
That really was a fantastic and very entertaining run. Even the writeup was fascinating and showed great insight -- it's really nice to see people doing that.
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
TASVideos Grue wrote:
om, nom, nom... blech, bitter!
Bitter and past the best before date :/
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
Derakon wrote:
It's a nontrivial chunk of change, yes, but it's not completely absurd. Basically what I'm saying is that a trivial brute-force implementation would still be quite usable.
150mb certainly isn't much on modern machines. However, a reasonably smart implementation would only keep the last, say, 100-200 states in RAM and dump older ones to disk since rewinding that far would happen much less often than rewinding a few frames. However, to store a complete history of states since power on for a one hour run would still take up over 50gb of storage which is clearly too much and suggests some optimisations are necessary...
Derakon wrote:
Given the linear way in which rewinds are used (i.e. always loading the state at time T+1 before loading the state at time T), you could chop a large chunk off of that cost by just storing the difference in memory from one state to the next. Most of the memory shouldn't change in any given frame, after all. But that would make the difficulty in implementation significantly higher.
...Like this. We can't store state deltas going backwards, but we can record them going forward and make, for example, every 50th frame a "key" state and write it completely. Then, to roll back to frame k, we load frame j = (k - (k mod 50)) and apply the saved differences from frame j+1 up to k. The last hundred or so states could still be cached in memory if this process was slow (it would probably only be noticeably slow when using a brute force script which rewinds). I guess the question is whether it's possible to do a fast diff of each state against the last, especially on larger states like on the N64. Maybe some hooks could be added to the emulation code that add to a delta record for the current frame during memory/register writes?
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
Bisqwit wrote:
However, the first five books of the Bible ― whose validity as an accurate historical document (at least after Abraham, and so also after Noah) seems to be strongly supported by the archeologic and geologic evidence shown in that film and the book ― comprise almost the entire religion of Judaism, and by extension, Christianity as well (*), so if such conclusion was drawn, it is a relatively minor assumption compared to the main topic.
So, if I take an encyclopedia and insert a few chapters and references to the Great Ironing Board God Helepetemeth, is it worth believing in this deity and any commandments inserted by me? The encyclopedia's validity as a historical document is strongly supported by archeologic and geologic evidence. Or is it only worth believing the bits that are directly supported by evidence, and not, say, 100% of the statements made in the book?
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
I've had some encodes cause major problems on VLC and mplayer, although most are okay. When neither of them work properly (e.g. the MGS WIP encodes), Realplayer (bizarrely enough) seems to work well.
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
Ok, the bit at 1:10:40 onwards in the lava room was really nice. The guard's reactions reminded me of an episode of Family Guy where Peter baits James Woods into a trap by laying a trail of sweets on the floor... "Huh? Ooh, a piece of candy! Ooh, a piece of candy! Ooh, a piece of candy!" The almost-suicide with the Nikita in Raven's room was great too. :) Would love to see a bit more skating (R1 tapping) and other movement tricks, especially when you're waiting for something (e.g. boss invulnerability periods, guard movement, PAL key temperature change etc).
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
theenglishman wrote:
Well folks, this might be the end of the line. PCSX starts loading in the middle of Liquid's unskippable final speech...and keeps loading... and never stops. I'll never say never, but it's unlikely that I can continue this run.
I'm sure there'll be a way around this. Either way, I've really really enjoyed watching this WIP unfold - thanks!
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
Overblood seems pretty fun, if a bit cutsceney.
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
Warp wrote:
What would a "good enough" solution be good for, when the whole idea to use a bot is to get a frame-perfect solution? For a "good enough" solution you may just as well do it manually as currently and save yourself a huge amount of trouble.
"Good enough" would be "at least 1 frame faster than the best existing TAS", for games that have already been TASed. Asking for the 'perfect' run straight away is expecting too much. Even then, genetic algorithms would fail if each child was supposed to be a complete solution to the game. It'd be black hole time, just like a simple brute-force search. Instead, you could use genetic algorithms as an assist to a normal, human-guided TAS. You'd set short goals like getting as close as possible to a certain waypoint. e.g. for SMB, in the first level from a given savestate, do 10000 rounds (with tournament selection) with a population of 200 input sequences, where the fitness function is "how close were you to the end of a level/key/pipe/etc", with the restriction that each input sequence can't be longer than your best effort (or the best effort from the best existing TAS). The population can be seeded with your best manual input (this helps avoid an extremely long initial period where every solution is awful). That way you're adding some human intuition and guidance to a fairly dumb but fast process, and providing a method by which good and bad solutions can be properly compared and ranked. When an acceptable solution is found, you pick a new waypoint starting from where the best solution ended up and repeat the process. I've been thinking about doing this for a while, but I don't know Lua and my TASing abilities are err... poor. I have written a couple of simplistic genetic programming systems in Java though, so it's not that hard... would love to see someone try it here.
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
Jiruru wrote:
I believe the difference in the G-Soldiers' health comes from the way the game determines enemy level. Every enemy (except some bosses) will be randomly 20% above or 20% below the party's average (that's not a range, only those two points), so if your level never changes there, the G-Soldiers will always have 87 or 105 HP, depending on if it's the higher or lower roll. Maybe it's manipulatable to have them all be at 87 HP somehow but I have no idea how manipulation works for this so I dunno.
I've been enjoying this thread/run so far, nice to see a more complicated game get TASed, especially on the PSX. WRT the +/-20% of average level thing, that would certainly be worth investigating - if a sacrifice of a few frames could get a fight with two soldiers that are killable in one hit each (and similarly later in the game), that'd be a massive timesaver.
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
I enjoyed the "they disappeared, except he didn't, except actually he did" bit too... also, the mixup of actors is entertaining, as well as the empty chair testifying during the trial :D
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
superjupi wrote:
Firefox also has single key navigation (in fact, it frequently annoys me when I hit the shortcuts accidentally...), though I don't think any torrent add-on available is worth picking over, say, micro/utorrent.
I don't think there's a build for the Mac; most of the programs I've tried kind of suck except for Azureus (which incidentally fails to download .torrent files from tasvideos some of the time... almost all of the time until I upgraded to the latest release a few days ago). Good to know about the 1-key shortcuts in Firefox though!
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
[super-edit] Ack, just tested it again and Firefox doesn't seem affected at all now (nor does Safari); so it is indeed just Opera-specific. My bad! Don't remove it just because Opera is struggling with the JS or something; it's a nice little feature IMO.
Atma wrote:
Personal opinion: the only thing that opera ever had over firefox (better tab related stuff) it lost in newer versions anyway, as they removed certain functionality from it.
Certainly Opera's advantage over Firefox has been hugely eroded with recent releases of Firefox; I'm impressed how little memory v3 uses and how quickly it responds, especially its JS engine. But the main reasons I still use Opera are: * Single key shortcuts for back (z)/forward (x)/move left in tabs (1)/move right in tabs (2) * User-managed search engines in the address bar (e.g. I added "http://www.dict.cn/%s" for 'd', and can look up the Chinese word for "mushroom" in the dictionary by entering "d mushroom" in the address bar) * Built-in bittorrent downloading (maybe Firefox does this as well now, not sure) * Built-in content blocker which works nice for annoying Flash-ad-using sites. That said, on the old box (half a gig of RAM and a Pentium III, for god's sake) I was using at work, I was developing in Eclipse which is one of the worst memory hogs ever to have existed; Opera used up to twice as much RAM as Firefox did and caused the machine to enter swap-death sometimes, so I took to using Firefox on it (until I bought a new Windows Vista box with 2 gigs and other niceties).
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
superjupi wrote:
Grab the Adblock add-on, if you haven't already, and simply tell it to block that specific element. Make sure it's configured to remove the element, not just hide it.
Heya, Opera has a built-in content blocker, if this is what you mean... it just works on a url pattern match. 'spose I could manually block the path to the guilty .js... or try some user-javascript to work around it. Thanks :)
Post subject: CPU-eating Mario on front page
Experienced Forum User
Joined: 12/3/2008
Posts: 15
Location: Dublin
Hi guys, I've been downloading and watching TAS videos for a couple of years here and very much enjoying it (and tried out a couple of short Super Mario Allstars runs, but I'm too lazy to get more than a few minutes entirely suboptimally and without the clever, scientific measurements you guys do). I had left a tab in Opera open on the front page for the last year or so which I'd refresh to check for updates... in the last few days I noticed that Opera's CPU usage was up at 50-90% most of the time, which is bad. After a lot of trial and error, closing some of my many tabs, I opened the tasvideos new videos page in Firefox and saw its CPU usage shoot up as soon as the animated mini-Mario appeared. Is there any way to turn this off, since it means I have to close the tab and remember (!!!) to open a new one and check every now and then, since the convenience isn't worth my laptop melting.