It's a really fun language for the most part, not to mention useful for general purposes.
If you don't already have them, you'll want the manual and the emulua doc handy. I also recommend Programming in Lua. Chapters 1-5, 7 and 11 are pretty much all you need to get started.
LMAO. Yeah, it does pretty much what you'd expect. Works on those things that grow out of the walls, too.
Well, 0x6000 -> 0x6028 have no apparent effect, while 0x6029 -> 0x6064 are the top row, so that all makes sense. I assume that second bank of addresses is related to paging in upcoming terrain, since the entire first level would have to be stored in about 0x1300 bytes, while 0x6028 to 0x60EF is only 0xC7. I haven't watched the regions, though. FCEUX is beginning to misbehave.
Ah. All I remember is that it was in some version of FCEU. Odd that it wouldn't be ported, but oh well. If you try the script, let me know how it goes.
Well, I overwrote the entire 0x6000 0x61E9 region with zeroes, and couldn't hit the terrain anywhere in the level, including the brain at the end. Setting it to 1 would logically make every 4th tile deadly, and sure enough, I can keep the ship in a tiny invisible column of safety before being crushed against the side of the screen. Your findings seem to be correct.
for i = 0, 100 do FCEU.frameadvance() end --avoid messing up the boot sequence
while true do
for i = 0, 0x1e9 do
memory.writebyte(0x6000+i, 1)
memory.writebyte(0x2080+i, i) --lol.
end
FCEU.frameadvance()
end
The PPU is the Picture Processing Unit. It's just a separate chip to offload graphics processing.
We can do multi-track recording with Lua, but it's a bit crude. Basically, the script loads p1's inputs into memory, and then feeds them back into the emulator as you record player 2's inputs. You'll want to back up your movie before trying this.
It's lazy of me not to test it better, but I'm pretty sure it works. You'll need to modify the script to point to a copy of your WIP. Also note that it starts paused.
Script
...Waitaminute, didn't the windows build of FCEUX already have this feature?
Can't say I've succeeded at discovering tile or collision data in RAM before, though it would be indispensable for some bots I've been meaning to write. I've already got my own set of memory search functions, so I may conjure up a custom function to detect the memory structure(s) we're interested in. That should be interesting, if not altogether useful.
Other than that, I'm not sure what sorts of problems you're facing in your recording. I could write a random input bot to traverse the level without being killed- which would be boring, and useless for TASing- or possibly something more apropos of some specific challenge, if you have any ideas.
Much appreciated. I tried building from SVN, but had the same results as the last time I did it: ioapi.c/h are missing. Even though it's just the unzip code that has (obvious) problems, workarounds yield an executable that has no sound and bad sync. I don't know what's up with that, but fortunately I don't have to debug it. Thanks again. :)
As for the run, I give it a weak yes, because it was fun to watch and there were no glaring mistakes. I wonder if there are tricks possible in "friendly fire" mode such as there are in Double Dragon II. Launching one player over a pit instead of swinging, for instance.
I've tried the search on three different days, and it's not doing anything for me, either. JS and cookies are enabled for this domain. I'm using Conkeror, which is basically Firefox. (But more l33t.)
I am quite stumped.
For starters, a select group wouldn't have felt the need to start this thread. That, by itself, should speak volumes. More importantly, it's less appealing for a troll if their audience consists of a small group of known individuals instead of the entire forum. The troll gets no response, instead of "OMG TROLL!!" and threads like this one. Disincentivization of misbehavior is always easier than the Sisyphean task of constantly cleaning it up.
Most importantly, a constant stream of garbage will adversely affect an internet community in exactly the same way as it does in a real community. If there are houses with broken windows and garbage in the streets, crime will follow. No matter how hard people work behind the scenes, if the outward appearance of the community is of decay then things will begin to spiral downward. When it happens, it carries an inertia that's hard to overcome.
Edit: Though, I did think of what I consider a better solution than what's been considered so far: if a submission gets an overwhelmingly negative response just after being posted, it gets automatically deleted and the submitter gets a notification that their submission didn't follow the rules or somesuch. Trash is dealt with speedily, the judges aren't made into janitors, and well-meaning but ignorant runners don't get verbally abused. Everybody wins.
I had an idea for debugging desyncs that I was going to use in my port of FBA. Haven't tried it, but I keep coming back to it, so maybe someone'll try it and see if it works. :D
if someone were to mod the emulator so that it dumps the entire memory state, every frame, while going through the desyncing part, and then compare the active memory in the movie against the dump, they could probably pinpoint the desync to a specific frame where the memory states mismatch. From there, the debugger could probably add more clues about why it happened and how to fix it.
Right, I forgot about that bit. RBS has a few extra enemies and a plot that wasn't mutilated by localization. So I'd actually use that version and translate as I go. Once again, yay Lua.
I had the idea awhile back to do a TAS of The Peace Keepers. Not just any TAS, though- a Let's TAS.
The idea is that rather doing a straight speedrun of the game, using the best character, and releasing a movie when I was done, I'd instead poll the audience (I.E., you people) between levels to pick who I should use for a given level. Precision of play would be relatively high- certainly better than what you'd expect from realtime play- but any and all concessions for entertainment over speed would be made. Secrets would be explored and such.
In other words, it'd be a combination of a Let's Play, and a TAS.
However, since this is TASvideos and we have magical powers Lua scripting at our disposal, I'd also hypothetically radically pervert mod the game in ways that improve the viewing experience in much the same way as some LP'ers like to reinvent the plot of the game they're playing to varying extents. Probably with a subtitle commentary, renaming people DONGS and such.
For now, I'm just looking to get an idea for if this is something I should do later; Snes9x SDL needs a lot of fixing, so I couldn't do it any time soon.
What say you?
Voting is easier to abuse, and the problem remains that not all our visitors speak English.
Since it's pretty obvious by now that we're being trolled, I can only recommend using a relatively passive solution (akin to disemvoweling moderated registration) that deprives the troll of attention.
I agree in the case of F-Zero; people are at least willing to touch it, and it's a great game. Veritable classic. Top Gear, on the other hand, is unlikely to see the workbench, much less get past the grue.
I tried making a half-assed demo, just because it's Top Gear, and have screaming-awake nightmares of it on par with 7th Saga. Couldn't finish. I bought all the upgrades and had assloads of money, and the game just doesn't goddamn-well end.
So I think we should dumpster that single-track TAS.
Edit: I also thing mz is spot on: YouTube is better if you want to watch one track of either of these games, but I still think leaving F-Zero to be obsoleted is better, because there's a chance of that actually happening.
There are ways: the argument may be clever, or their disposition may be to find contradictions (or even logical cogency) in the bible. The former, I suppose, would be a sign of erudition, and the latter a sign of an actively critical thinker.
A programmer who enjoys programming will read books on CS theory, because it helps them hone their skill. If we agree that programming is an intellectual practice, then we might generalize that ardent intellectuals enjoy reading theory.
...Though, the test does have a kind of crackerjack-box quality to it, so I'm not really defending that. I'm only arguing because your point bugged me. :p
I got confused because I thought this was Ikari Warriors or some other game that isn't painful to watch.
It's odd that there are three yes votes, but there's no mistake in the judgment as far as I'm concerned. It's like watching a snail traverse my back yard. Voting No.
Haven't done one of those in a couple years. Back then I was INTJ, but things have changed since then... INTJ! Color me surprised.
My "I" is higher than last time, but I don't wanna talk about it.
Paradoxically, I also took Bisqwit's RPG character poll again, and got "minor antagonist" instead of NPC, which is actually correct. I prefer to be the dragon than the one actually running things.