Posts for Abahbob


1 2 3
15 16
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
I was actually just thinking about doing some cool "TAS Demonstration" things for Prime the other day, since a full TAS won't happen. Only thing that gets me is that (from what I understand) there aren't many/any TAS only tricks, just tricks that are only done in segmented or low% or too crazy for runs.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
Patashu wrote:
I think this TAS would benefit a lot from subtitles telling you what the glitching you're doing right now is accomplishing and when to next expect something cool to happen. Is there any interest in making some?
I suppose I could add some annotations or something in a bit.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
You can use the external program Cheat Engine to watch values. In Cheat Engine, they wrote a lua script to edit the statistics to show the values they want.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
gngbng, lets say you release at frame 100. The speed on that graph would show one thing, but the actual speed you would have after a frame or two would be frame 102 iirc. If I decided to get off my lazy ass I could write a script to make a graph for that, but effort... Also, speed decreases by 2 every frame.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
Considering I "learned" lua just for that script, a bot that would, idk, actually calculate the angles based on camera or direction faced would be nice.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
The Legend of Zelda: The Wind Waker 'Any% No Manual Superswims' Yay arbitrary categories! The reason the TAS is so interesting of this game is BECAUSE of the superswims. They alter the route so drastically. What the route would be without manual superswims would be: Same up to DRI. Possible superswim to Forbidden woods, get leaf. Greatfish, endless night Windfall, bombs. Savewarp to DRI. From there it would basically be the same as the TAS route currently. This is all implying you just want to get rid of manual superswims, which are the hard ones to optimize. But oh wait! Camera lock superswims are probably even harder! You run into the same problem, moving the control stick every frame to move slightly. And that trick with manual superswims would probably save 3-5 minutes through the entire run over just forward/backward superswims. Ultimately it's the runner's choice. If the TAS is optimal, I'll vote yes. But please realize how much longer the beginning of the game is if you don't use superswims at all. If people have to skip through sections, is it really completely entertaining?
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
Here's a playlist of my first testrun type thing (the route ended in a crash and a dead end): http://www.youtube.com/watch?v=XUmYeOgY1Fw&list=PL9243E04962A24DB0&index=1. If you're going to do individual dungeons, I would recommend Forbidden Woods and Tower of the Gods. Both have been done, but the other dungeons have crazy routes.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
Yeah, just watching back through my WIP I've noticed a couple of unoptimized spots. Good luck, and I know it's really easy to lose motivation.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
So how's that TAS coming along?
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
Couldn't someone just check the IP logs?
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
OH MY GOD ITS BEEN 22 HOURS HOLY ALDSJFHALDKFJSDBLF SHE MUST BE DEAD OR SOMETHING Edit: Also, what ever happened to the suggestion of signing which user you are on each post?
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
What game(s)?
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
And my last gift to you, the TAS input file: http://www.mediafire.com/download/disrjla552did5k/TWWTAS.dtm
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
The TAS input won't work, as I just did a quick way to get lua working by making it go through the TAS input. You'll have to always have Visual Studio/c++ open and be running it in debug mode, as well as have TAS Input open. http://puu.sh/3hpsS
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
Well all the other restarts were mandatory. The older routes would have crashed later on.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
My WIPs were outdated. The first superswim should be re-done with that script.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
Yes, for kisses!
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
http://www.mediafire.com/folder/a98ay2xviea17/Joystick_Lua should have all the edited files needed. You're lucky I didn't actually delete it :P Lemme add some comments to that superswim script so you can actually tell what to edit.
--[[
states:
1: start
100: fastest
101: main superswim states
102: down 1 frame
]]
fastestFrame = 10000000000
fastestSpeed = 0
function checkAir()
checkFinished()
print(tonumber(memory.readfloat(0xabcfcc))) --speed address, changes every map
	if memory.readword(0x3bdc62) == 0 then --air address, shouldn't ever change
		return false 
	end
	if tonumber(memory.readfloat(0xabcfcc)) > -50 then --speed address, changes every map
		return false 
	end
	return true
end

function keepSwimming()
	while checkAir() do
		joypad.joystick(128,128) -- neutral stick
		emu.frameadvance()
	end
end


function getToSpeed(x)
while tonumber(memory.readfloat(0xabcfcc)) > -x do --speed address, changes every map
		if math.mod(emu.framecount(), 2) ~= 0 then --if odd frame, stick down right
			joypad.joystick(0,186) --right
			emu.frameadvance()
		else --if even frame, stick down left
			joypad.joystick(255,186) --left
			emu.frameadvance()
		end
end
end

function getToFrame(x)
while emu.framecount() <x> -1 then --speed address, changes every map
	if emu.framecount() <fastestFrame> 1000) and running do --start after loading the first state	
		if emu.framecount() > fastestFrame then running = false end
		if math.mod(emu.framecount(), 2) ~= 0 then --if odd frame, stick down right
			joypad.joystick(0,186) --right
			emu.frameadvance()
			savestate.save(101)
			joypad.joystick(228,0) --first turn around, not straight to where you wannna go, based on previous input
		else --if even frame, stick down left
			joypad.joystick(255,186) --left
			emu.frameadvance()
			savestate.save(101)
			joypad.joystick(10,0) --first turn around, not straight to where you wannna go, based on previous input
		end
		emu.frameadvance()
		joypad.joystick(128,255) --opposite of direction you want to go
		emu.frameadvance()
		savestate.save(102) 
		keepSwimming() --first frame leaving
		savestate.load(102) 
		joypad.joystick(128,255) --opposite of direction you want to go
		emu.frameadvance()
		emu.frameadvance()
		-- savestate.save(103)
		keepSwimming() --second frame leaving
		savestate.load(101) --restart loop
	end
emu.frameadvance()
if running == false then emu.message("HOLY SHIT IT FINISHED!") end --most important line in the code, do not remove.
end
should make more sense. A couple things, unlock your camera and move it slightly up. If it doesn't work the camera is too high or low. This script only works for moving you forward, so all the joysticks that are left, right, or turn arounds will have to be edited appropriately. This can get you diagonally 3 islands, or about 4 islands N, S, E, W. And here's the route if you're interested: https://docs.google.com/document/d/1wttBXGQpVcnWp8xiAun4B0VL34vF0Au8KpLmkc1qK5s
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
I occasionally stream TAS stuff http://twitch.tv/abahbob. I TAS random GC stuff and test/glitch hunt in TWW every so often, not worth a follow.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
Really the lua script is garbage and doesn't test enough frames and combinations to be perfect. It uses a special build of dolphin that I don't have anymore with some customized lua crap to be able to have joystick input. Also it has to be customized to each superswim and is insanely hard to understand. If you want it, here it is:
--[[
states:
1: start
100: fastest
101: main superswim states
102: down 1 frame
]]
fastestFrame = 10000000000
fastestSpeed = 0
function checkAir()
checkFinished()
print(tonumber(memory.readfloat(0xabcfcc)))
	if memory.readword(0x3bdc62) == 0 then
		return false 
	end
	if tonumber(memory.readfloat(0xabcfcc)) > -50 then
		return false 
	end
	return true
end

function keepSwimming()
	while checkAir() do
		joypad.joystick(128,128)
		emu.frameadvance()
	end
end


function getToSpeed(x)
while tonumber(memory.readfloat(0xabcfcc)) > -x do
		if math.mod(emu.framecount(), 2) ~= 0 then --if odd frame, stick down right
			joypad.joystick(0,186)
			emu.frameadvance()
		else --if even frame, stick down left
			joypad.joystick(255,186)
			emu.frameadvance()
		end
end
end

function getToFrame(x)
while emu.framecount() <x> -1 then
	if emu.framecount() < fastestFrame then 
		savestate.save(100) 
		fastestFrame = emu.framecount()
		end
	end
end

running = true
while running do
	if emu.framecount() == 900 then --load state late so it won't fuck up audio or crash
		savestate.load(1)
		startFrame = emu.framecount() --get start frame for comparisons
	end
	if emu.framecount() > 1000 then getToFrame(39960) end
	while (emu.framecount() > 1000) and running do --start after loading the first state	
		if emu.framecount() > fastestFrame then running = false end
		if math.mod(emu.framecount(), 2) ~= 0 then --if odd frame, stick down right
			joypad.joystick(0,186)
			emu.frameadvance()
			savestate.save(101)
			joypad.joystick(228,0) --first turn around
		else --if even frame, stick down left
			joypad.joystick(255,186)
			emu.frameadvance()
			savestate.save(101)
			joypad.joystick(10,0) --first turn around
		end
		emu.frameadvance()
		joypad.joystick(128,255)
		emu.frameadvance()
		savestate.save(102) 
		keepSwimming() --first frame leaving
		savestate.load(102) 
		joypad.joystick(128,255)
		emu.frameadvance()
		emu.frameadvance()
		-- savestate.save(103)
		keepSwimming() --second frame leaving
		savestate.load(101) --restart loop
	end
emu.frameadvance()
if running == false then emu.message("HOLY SHIT IT FINISHED!") end
end
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
From what I gathered from watching Firecrotch: Doesn't work on U. You don't get the painting for King Boo. You don't get the credits until you complete some other area. Basically it doesn't actually complete the game, so it's not going to be used i skew%. Idk about any% without skews. Mugg: Basically you wait until King Boo is as far down as possible, start sucking it up and touch the crown. It works because you suck up the crown or something.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
If you are to change builds, get the latest from dolphin-emu.org, dolphin-emulator.com isn't an official site afaik.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
No, superswimming just isn't realistic for me to optimize, even with lua. Also, I think my lua build caused some random inputs to be deleted, even though I think that issue was patched a while ago... I've also just lost motivation from working on it for so long and having to restart so many times. Really it should be restarted again to replace the first superswims with those crazy ones, could save a couple of seconds. I guess I should release the .dtm sometime.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Experienced Forum User, Published Author, Player (33)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
I haven't actually done a run of HL2, but I've seen a couple and I've done portal runs. For a good example of what a demo should look like, I would watch "Portal Done Pro-er". Btw, you might not want to shake the camera so much. There is a new engine and an old engine for HL2, I believe the new one is better for ABH and AFH. You should watch some speedruns to get a good idea of how crazy it can be, I. Not sure if you were getting them optimal, even if it was messing around. Cool testrun though.
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
1 2 3
15 16