Posts for DarkKobold


Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
While it probably wouldn't make for an entertaining TAS, Donkey Kong's 'killscreen' is impossible to TAS.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Let's say you wanted to copy whatever input the player just made, on the current frame, and force it to be the same input on the next frame. Would it be:
Joypad.get()
Snes9x.frameadvance()
Joypad.set()
snes9x.frameadvance()
Or
Snes9x.frameadvance
Joypad.get
Joypad.set
Snes9x.frameadvance
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
It's got shining in the title, and lua is in VBA, so I'm pretty much forced to do this run. ;) Some experimentation shows that the randomness is purely frame-based. If you delay your swipe, it changes the value of the hit. Additionally, I wrote a lua script that delays the swipe to open a chest. I couldn't change the order of items received by running around first and then starting the script. This makes for less awesome luck manipulation, but makes the TAS easier. This game is more interesting than the prequel. However, the prequel may be worth doing, because it has bosses from Shining Force 1,2, and 3. The weapons you can get in the first level pretty well suck. A really powerful weapon should require a high critical rate or increased attack speed. These simply can't drop in the first level. No optional quests will be done. Swipping away at the boss, with an extremely high ATK/decent DEX will be faster than any special attack, charged, etc. Also, each level for sword adds 10% to the attack of the sword. Not quite as good as backstab, but backstab requires too much setup to beat the bosses, whereas fast swipping with decent manipulation should be. Also, I don't know that putting any levels into speed beyond the first is worth it. I made a WIP, but I used the wrong ROM. It must be some (E) rom, and not a (U) rom, as it has a language selection for European countries. I may finish the run as a test-run.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
amaurea wrote:
DarkKobold: If you look at the pseudocode I posted above, you will probably see the cause of your problem. The lua main loop is called after the screen has been updated, but before the next frame has been emulated. So at this point, your script has access to the previous frame's state, but anything you draw will appear the next frame, and thus effectively lag one frame. To avoid this problem, you can use the other lua hooks. Afteremulation, for example.
I'm not really sure how to do that, with a function that uses frameadvance. Also, how do joypad.get and joypad.set interact with frameadvance?
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
FYI, writing 16 to 0x60B9 signals the Ortega fight being completed. I'm wondering if similar bytes could be found for the granite statues and the pre-Zoma bosses.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
alden wrote:
Yeah, please don't be like symbolic pixel go rain. No need to change it just to match irc... you'll still be the loudmouth with a nick starting Fl on both :D
Make sure, if you change your nick, change it more than once, and then start a thread announcing you are leaving. Also, tell mmbossman to shove it, repeatedly.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
If you hold start while pressing A on the character naming screen, you can rename all characters in the game...
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
nfq wrote:
a little bad design in the game that it allows you to outrun the screen. it would be nice to see what's going on. must have been harder to TAS too because you can't see what you're doing. funny how you can beat this in two minutes, i remember it took me hours to beat 16 years ago. i'd like to see someone make a TAS with grant instead of the raptor, that would be a little longer.
Hah, I was never able to finish this game as a child. Every little thing causes you damage, the levels are not linear, and therefore it is easy to get lost... Very unforgiving controls. I loved to hate this game. Easy yes vote.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Actually, I've encountered this problem before. This code fails for this exact problem.
BackTrack = savestate.create();


while true do
    savestate.save(BackTrack);
    x = memory.readword(0x7e0b1d)
    y = memory.readword(0x7e0ff9)
    memory.writeword(0x7e1a62,x-0x80)
    memory.writeword(0x7e1a4c,0-y+0x6f87)
    gui.text(10,10,"" .. x)
    gui.text(10,20,"" .. y)
    snes9x.frameadvance()
    keys = joypad.get(1);    
   savestate.load(BackTrack);
   joypad.set(1,keys);
   gui.text(10,50,"Don't Touch Joypad!");
   snes9x.frameadvance();      --replace with snes9x.emulateframeinvisible() if it becomes available
end
The savestate.load() executes even after the frameadvance() command. So thus, you never see the frame emulated with the 'cam-hack' memory addresses written. You need a second frameadvance() command before the savestate.load() to ever see the cam-hack frame. I thought frameadvance() served as a 'wait for next frame' button. However, it appears that it executse all code until it hits the next frame advance.
adelikat wrote:
I think most of your confusion and questions would be cured by picking any of our rerecording emulators and spending 5 minutes messing with a lua script.
Quoted for truth.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Obvious yes vote, but a few questions - You pick up the 120 gold chest, and then die after some metal slime fights. That leaves you with 60 gold from that chest, iirc. I'm wondering if there is some interim enemy with a useless attack, like the dragon lord's stop spell, that if you killed, could get you your level 7 and enough gold to buy the keys, if you didn't pick up the 120 gold until after the metal slime fight... It seemed like, with 52 gold after the keys, the 120 gold was only used for 8 gold in the end...
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
I enjoyed this thoroughly. Good improvement to an already interesting movie. Even if better RNG manipulation is out there, this should be accepted based on the improvement.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Some suggested Screenshots
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Obob wrote:
I never meant for this to be grounds for preventing publication; the run should definitely be published. However, it should not be published with "plays on hardest difficulty" as one of the criteria. A super run which beats the game in a similar amount of time should be able to obsolete this.
I agree with this, 100%, but I'd like to get others opinions on the matter. Also, Obob, you must have missed that I changed the text of the submission. It is now 'highest difficulty setting' as opposed to 'hardest difficulty'
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
mmbossman wrote:
Another problem that I believe has cropped up is lack of accessibility for a method to quickly and easily share WIPs. For years, DeHackEd's microstorage was the default for showing off tricks and progress, however as new emulators have cropped up, so have new file formats, some of which aren't supported, and some are supported with limited functionality (i.e. lack of .m64 embedded savestates). One possible way to increase sharing of files and WIPs is to make an official script for use on the site, where a user has X amount of hard drive space to upload files, and they are stored in an accessible manner for others to view. I don't know how much allotted hard drive space comes with the current site hosting contract that we have, but even if it's 20 GB, that allows for nearly 7 MB of space per user to utilize to share their collection of files. Or, limit uploading to those users who have posted within the past year, and the allotted amount would grow greatly.
I had a similar idea. I don't know about limiting one person's upload quotient. Instead, why not just limit file types? Savestates, movies, and Lua scripts? Also, a download counter, plus a facebook-style 'like' system, would help encourage current TASers. I notice when I submit a movie, people who never replied in the thread often say "I enjoyed the WIPs, and so here is a yes vote!" I'd be more encouraged if I had known they were watching, and enjoyed the WIPs.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Hey, webnations - can I ask a favor? You have two posted Shining Force Runs, one of which is incomplete. Can you take down the incomplete one? Also, thanks for posting the new one!
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
I guess there are 2 questions - If I redo this, should I do super difficulty? Or, does publishing this set the difficulty used on tasvideos.org permanently to Ouch?
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Does anyone else have an opinion on the difficulty issue?
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Obob - Good point, submission changed to reflect that. It would hurt some in the first part of the game. The second half, I mainly go un-attacked. It would also help in any battle which requires the death of one of my characters. Ouch was the most requested difficulty in the forums.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Ishmayl - go to the workbench, the gmv is there. You've been able to watch WIPs, so I'm sure you can watch the submission.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
So, I'm done-ish. I'm just debating whether to include the optional extra battle, or to make that a separate movie from the publication. Any opinions? Submission coming soon! Also, I'll be posting the full code in this thread, once the movie is published.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
ventuz wrote:
I'm having a bit of problems with LUA feature. One is, what happen to LUA? I liked old way when I could click "run script", browse for script, then click ok, and click "stop script" when done from FILE dropdown. This new one, have to click "new lua window" then some giant window box blocking fceu game screen, click browse, choose script, click ok, then click "run", click minimize, more clicking here. Oh boy it look like I'm complaining here, I'm not, LUA works just fine, I'm just asking for those feature return. Put "run script", "reset script", and "stop script" below the "Close All Script Windows". Second is, are those on-screen lua aligned correctly? It look like stuff on screen shifted down by 8 pixel or so (or are those script outdated?)
This is actually an improvement/working towards an improvement. The devs are trying to get Lua to work more like it works in Gens, i.e. a status box output, as well as the ability to open multiple scripts (to be made).
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
CtrlAltDestroy wrote:
Heck, if adelikat and Tompa weren't so crazy, we'd probably have done the same with Bubble Bobble. Old movie, relatively boring, painfully unoptimized... yeah. We'd have found an excuse. Publishing the new Bubble Bobble run felt awesome because of these reasons. I think everyone else who worked on that run can agree that the motivation to finish that huge project just wouldn't have been the same if we could have instead just taken down the old run and said that it "doesn't count anymore"
I was going to vote yes until I read your post. Lets undo Top Gear/FZero... but Ocarina of Time could simply be fixed by ungruing the last submission.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Yes vote because now adelikat can stop bothering me to do a level.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
I agree with Warp (whoa, never thought I'd say that.) I think, instead of being directly attached to a published TAS, it should be independent. I.E. best Lua Coder of the Year, or best Lua Script of the Year. The best Lua script might have a caveat of requiring posting to TAStools. That would encourage open source sharing of Lua Scripts!
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Experienced Forum User, Published Author, Skilled player (1637)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
Is there a reason you revived this troll submission with a useless post?
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.