Joined: 3/28/2009
Posts: 28
I recently decided to pick up TASing on a whim, and Boktai 2 was one of the first games I considered as it's a personal favorite. The main problem with TASing Boktai is that it's very puzzle and stealth heavy, so there isn't any reason to fight monsters except for during Traps and farming items. Compounded on that, I've not yet found any sequence breaking opportunities or means of making rooms/dungeons faster other than perfecting paths. It makes me think most people probably wouldn't find it a very entertaining run, unless perhaps you like the game as I do. Maybe not though, it's an awful lot like MGS in some respects, and the TAS of that that's being worked on is reasonably entertaining. There's also a whole lot of talking sequences that seem to be unavoidable (though some of them I've found are), which can also be a deterrent to watching. There isn't a lot that I've found in the way of speed saving so far; staircases and ramps are coded in such a way that you can walk onto them several pixels above their lowest point, you can speed up fights by standing parallel to a monster and facing a certain way to hit behind them, which in some cases means you don't have to move to far in one direction to optimize damage done, and . One thing I've had in mind since I started that could eventually lead to a problem is that the solar patch version I'm using has the solar bar set to L, which could possibly get in the way later in the game when I acquire dash. The alternative patch uses select, I believe, and that would mean only being able to turn the solar gauge up when changing weapons/magic. I've hit a roadblock with the WIP on Durathror and need to go back in the run and find a monster that I can manipulate into dropping a stronger weapon and possibly level up once or twice, so I'm in the process of cutting the run up room by room and optimizing each one as I re-record from the old file. I should have a newer WIP sometime soon, I've so far saved about 2000 frames on my old one. It's too bad there wasn't already a topic for this game, or even the first one. The most I could find about either was 5 minutes of a TAS on youtube and an unoptimized example run of Boktai1 somewhere on these forums. :/
Editor, Emulator Coder, Expert player (2106)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I'm not familliar with this game. The only thing comes into my mind is that you may plan for items in advance so that you can get most of them from enemies along the way rather than farm from the same type of the enemies that you just sneaked past, which you must have already been aware of since it's evident.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Joined: 3/28/2009
Posts: 28
klmz wrote:
I'm not familliar with this game. The only thing comes into my mind is that you may plan for items in advance so that you can get most of them from enemies along the way rather than farm from the same type of the enemies that you just sneaked past, which you must have already been aware of since it's evident.
Farming items can be minimized because the only ones I can see ever really needing would be weapons, specifically rare drops. If I can manipulate a rare drop hammer or spear it would probably save the time forging (which I might end up having to do at some point anyway). I planned on farming an enemy along the way, the problem is finding one that isn't in a room with a bunch of others. I might experiment with a couple traps and see if I can get drops off of the monsters in them without losing too much time. So far I haven't been able to tell if drops are determined by X-Y co-ordinates, frame number or what. I think i've used fruit like 3 times so far, maybe, and I'm pretty sure they were the ones you start with, so i think rare weapon drops will be all I'll need to worry about. I'm hoping I can find the calculations in the memory that decides how much str attributes and damage on your weapon needs to be done to do more than 1 damage as that would help my planning. In the meantime I'll probably just go to each boss and up my damage one point at a time to see. :/ Also, having the solar gauge up makes fruit (and probably other replenishing items) rot, and if you eat rotten items you get a 5 health gain, but it also makes the screen pixelate. I did it once in the run, but I might just optimize the damage I took earlier and my solar gauge use because it was actually kind of annoying to watch the game and not be able to see anything.
Editor, Emulator Coder, Expert player (2106)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Hmm, my previous post looks a little messed up... however you seem to understand what I tried to express. Well, I'm just curious about which patch you are using at the moment. I've only seen a Boktai 1 patch using L for the solar gauge.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Joined: 3/28/2009
Posts: 28
klmz wrote:
Hmm, my previous post looks a little messed up... however you seem to understand what I tried to express. Well, I'm just curious about which patch you are using at the moment. I've only seen a Boktai 1 patch using L for the solar gauge.
No Frills has an L button patch for the E version, and I'm pretty sure there's a select one somewhere (though I could be mistaken). I'm using a pre-patched version of the U rom, though.
Joined: 3/28/2009
Posts: 28
It would seem the most damage I'll be able to do after manipulating a Mace off a Golem and using the 9 stat points I have at lvl 11 is 13 to the first 2 forms of Durathor, 16 if I use darkness. However, I remembered that you can use wolf on her final form which inflicts 23 damage per bite. That should speed up the end of the battle significantly, but I see this damage/str cap being a problem down the road as it isn't possible to get better weapons without forging or spawning a crimson monster, which I have no idea how to go about doing lol. Either solution might prove to provide to little entertainment to make the run viable... such a shame. I hope I find something to prove otherwise. If someone wanted to watch the less-optimized WIP, let me know what you think about the entertainment factor. I've figured it's probably low, I just wanna know for sure. Here's a link, be sure to use US version. http://www.mediafire.com/?nz4jdbzyt05 http://dehacked.2y.net/microstorage.php/info/82452022/Boktai%202%20-%20Solar%20Boy%20Django%20TAS.vbm
Editor, Emulator Coder, Expert player (2106)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
The first ~9 minutes full of conversations look very boring, while it looks better and better as more actions are introduced. I personally like puzzle games, so the heavily puzzle-solving looks comfortable to me. Lags seem to be a big problem. Is there any way that you can reduce lags? It seems that when the icon on the lower-left blinks, more lags occure. If you will make a run for publication, be sure that you start recording it from Power-on instead of a snapshot.
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Joined: 3/28/2009
Posts: 28
Yeah, the talking seems to be a recurring problem. I had forgotten how much dialogue there was until I started the TAS. Maybe eventually I'll find a way to skip some of it. As to lag, I'm not really sure what's up with it. I think it's an emulation problem and I've not yet been able to fix it. Sometimes it's there and other times it isnt. I originally thought it was my computer, but I guess that's not the case. I don't know why it starts from the snapshot. I had recorded from power on originally. How far into the movie did you get? I'm having desynch problems with it.
Editor, Emulator Coder, Expert player (2106)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
I didn't have any desync problems, weird. One more thing comes into mind: Isn't this game using a battery-powered Real-Time Clock? Your wip didn't go with RTC emulation enabled, though. EDIT: There's one infamous possible cause why you have desynch problems: VBA v19.x has a bug that sometimes it mysteriously erases the Lag Reduction flag from your new movie files. Be sure to replay any GBA movie that you just started to record and see if Options->Emulator->Lag Reduction (GBA) is checked. If not, you may check it and start over, or hex-edit the byte at 17h in your lagged movie file to 30h (RTC disabled) or 34h (RTC enabled). This bug has been fixed in v21-interim. See also: VBM format
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Joined: 3/28/2009
Posts: 28
klmz wrote:
I didn't have any desync problems, weird. One more thing comes into mind: Isn't this game using a battery-powered Real-Time Clock? Your wip didn't go with RTC emulation enabled, though. EDIT: There's one infamous possible cause why you have desynch problems: VBA v19.x has a bug that sometimes it mysteriously erases the Lag Reduction flag from your new movie files. Be sure to replay any GBA movie that you just started to record and see if Options->Emulator->Lag Reduction (GBA) is checked. If not, you may check it and start over, or hex-edit the byte at 17h in your lagged movie file to 30h (RTC disabled) or 34h (RTC enabled). This bug has been fixed in v21-interim. See also: VBM format
I think it was one of the setting I had messed with, I just ran one of my backups instead and it was fine. I saw so many things I did wrong, lol. I should've rewatched my progress more often. What does the RTC do, exactly? I messed around with it on and off once but I didn't see any difference. In any case, the only thing I can see using the clock for is changing monster spawns and money duplication, and changing the time for former requires a lot of planning.
Editor, Emulator Coder, Expert player (2106)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
RTC emulation will automatically synchronize the in-game clock with your PC's computer, and you don't need to manually set up the time. If you start the movie (from power-on) at night, you will see it's also at night in the game world. If I recall correctly, some monsters only spawn at certain time periods. So using RTC may give you more controls as well as the advantage to skip setting the in-game clock. However I haven't recorded any movies enabling RTC myself. So I am not certain if movies re-recorded with RTC enabled play correctly. This demands tests. Oh, there's a published movie with RTC: Pokémon Sapphire
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Joined: 3/28/2009
Posts: 28
I'll mess around with time and see which monster spawns are affected, it could help with getting better rare drops depending on which spawns change (I only know a couple off the top of my head). I need to find a rom without the Rising Sun intro thing as well. I think I saw a prepatched/cracked U version without the intro somewhere... If not I'll just patch an E version.
Joined: 3/28/2009
Posts: 28
Restarted my WIP and saved a handful of frames (some weird combination of a+b+left+right on rapid saved me like 14 frames just in the intro alone. no idea why). I think I'm about 3000 frames faster currently, might be less. There was some bad routing in my first WIP i've improved, and I think I can cut a couple rooms out completely. For planning stats, I think i only have to pump AGL, depending on when it caps out. 2 STRG = 1 Damage, I don't see putting point into it being very useful. I put points into STRG 2 times during the old WIP, but I may go back and change that. Every 4 AGIL = an 8 frame speed increase, so I'll likely only need to spend stat points per 2nd and 3rd levelups. I am not sure about upgrading SPRT, it would be dependent on points left from upgrading AGIL or STRG. I shouldn't need mana enough to bother spending points there since I'll have max sunlight for most of the run and plenty of fruit (i think). The thing about weapons is that getting a more powerful weapon increases damage more than stat points do. I think you can only buy stronger weapons as you forge, but I could be wrong. So it depends on how long rare drop weapons will last (and if I can get them) whether or not I ever have to forge. Which brings me to to the problem that's halted all progress with the run so far... I can't figure out how to manipulate drops. My initial testing made it looks like it was coordinate-based in relation to where you are from the monster, but there also seemed to be a certain window from when your last hit lands (something like 15 frames) where you either have to stop moving completely, or find the specific area where the drop will spawn. I wasn't able to manipulate rare drops at all. I'm going to try and pinpoint exactly how the RNG works but I'm still a new at watching/finding memory addresses. If I can't find anything useful I'll give up on that and see how I do just buying items. Hopefully I'll get lucky with finding the RNG, though. EDIT:: Speed caps at 42 agility per 8 stats. Unless Strength does something significant later on I might not use stats past there
Pokota
He/Him
Joined: 2/5/2014
Posts: 779
Mucking around with a baseline route for Boktai 1, and I ran into the issue that Delusion Forest can't reliably be navigated at night. Also, can't run max sunlight all the time, the game still gives overheats after spending so much time at max; maybe spend dungeons at 1 and only use max for purifications and finals. Here's what's available so far. Uses Prof. 9's Solar Sensor Patch; this resulted in the following hashes: SHA1:0D3A978EA8FB02A356B98DE51E7AB07BD1AAECC0 MD5:50411EC2A648DA081DABEE3162FC7DEF Notes: Went through Catacombs to pick up the Beatmania frame to make Monsters-on-weight-switch puzzles more direct (thus far there's only 2, both in Bloodrust Mansion, but BM trivializes the first one and the second one you need stunning to do anyway) Picked up the Lance frame in Crumbling Mine; there's probably a faster route to Firetop Mountain (and probably better weapons to use, with how the Solar Piles work during Purification) but I like this type of "Gun". Because Garmr plugs up the hole that the sunlight comes down through, it's considerably faster to do Muspell first; even without Permafrost forcing you to take both paths on a round trip, it takes longer to do Garmr without the Flame Lens than it does to do Muspell without the Frost Lens (to my knowledge, there aren't any useful Frost Lens-only paths in Firetop Mountain)
Adventures in Lua When did I get a vest?
Joined: 6/27/2008
Posts: 49
Pokota wrote:
Uses Prof. 9's Solar Sensor Patch; this resulted in the following hashes: SHA1:0D3A978EA8FB02A356B98DE51E7AB07BD1AAECC0 MD5:50411EC2A648DA081DABEE3162FC7DEF
As solar sensor has been offically supported by mgba (https://github.com/mgba-emu/mgba/blob/master/CHANGES), I think it's better to use Bizhawk with mgba core instead of a 3rd party patch. Any way, as a boktai fun, I'm looking forward to your run!
Pokota
He/Him
Joined: 2/5/2014
Posts: 779
That... actually changes quite a bit of thing. New Hashes: Boktai - The Sun Is in Your Hand (USA) SHA1:7164326283DF46A3941EC7B6CECA889CBC40E660 MD5:FF75C62AB690410CC8FCA24204D783E9 I'll have to fiddle with the calibration; the game is programmed to overheat after so much SOL is collected in one sitting. Since more sunlight is better than less it'll need to be studied. In RAM. (dreading this) Also, I'm making a baseline route rather than a dedicated TAS; any TAS of the same category should either beat my time or else have a very good reason for why it doesn't. I've got a day off on Friday; I'll probably set up a full baseline then. Need to science with the RTC so that it's night up until entering Delusion Forest - having sunlight at night makes Bloodrust Mansion and Fog Castle a fair bit faster as you're not dealing with near as many enemies. I want to say it also screws with the Count's AI since he's supposed to be smart enough to not dash straight into light coming in from the skylights (why he even has those in his mansion...) E: It doesn't screw with his AI, he did it to me again just now with the game seeing daylight hours. So having max sunlight for the first Count fight is a Good Thing™ since the stronger the sunlight, the more suicidal he gets past the halfway mark.
Adventures in Lua When did I get a vest?
endrift
Any
Emulator Coder
Joined: 12/14/2014
Posts: 161
While debugging the solar sensor code, I managed to find the offset of the value itself, which may help cut out some of the early studying time. It's 0x3004508 in the US version, dunno if it's different in different regions though.
Pokota
He/Him
Joined: 2/5/2014
Posts: 779
So I tried setting the in-game clock for 5:15 AM on this coming June 20th (to try and see if the Full Moon notification would be worth the Full Moon perk of getting free healing bugs in the moonlight) but Biz seems fixated on making it 8 PM on this coming June 19th (I set the date in the RTC settings to be 6/20/2016, so it's at the very least missing leap day). Can someone confirm whether this happens to them as well? Here's what was going to be the route test.
Adventures in Lua When did I get a vest?
Joined: 4/10/2017
Posts: 8
This seems to have died so I started doing my own science tests. I found out that for me on the east coast of the US TASing at night the best way for me to use the solar sense in Bizhawk is to use a european copy and pretend I'm in perth (12 hours ahead right now) for Boktai 2 I plan on making mild route changes to the current WR run as a baseline for now and go from there It may end up being faster to use the Prof.9 patch since that is accepted by the boktai community as valid and only takes 1/3rd of a second to get to max sunlight regardless of time because I can already see potential desync issues when encoding