Can we get an auto split for Any%
8 years ago
Ontario, Canada

I suck at coding but want to run this game.

United States

You can run it without an auto splitter. Just start the timer at -3.68 when you restart and stop it a little after killing shrek. Then go back and look at the video to get a more accurate time. If the time you give is off, I'll look at the video and time it from the first non-black frame to when shrek dies.

Anyway, I looked into how to make an auto splitter and it might not be too hard. I found shrek's health using Cheat Engine, which is giving me some very interesting data, like that the shotgun can do max damage from not very close range. I'll try making an auto splitter, but if I run into any difficulties I'll give up very quickly, so don't count on it.

United States

I tried a few times and couldn't get it to work so I'm giving up now. Maybe I'll try again later, I don't know.

Germany

I made an autosplitter which splits when you have only 1(or 0 you can change that in the settings) shots in the magazine left, works frame perfect for current strats, anyone interested in testing ?

sopha likes this
United States

Sure, I'll test it. Good idea to use remaining ammo instead of Shrek's health for the split, since that sounds a lot easier.

Germany

https://github.com/gatchrat/AutoSplitters/blob/master/420.asl I just saw your comment, seems like starting the timer at -3.68 isnt that great, so i will look if i can improve the splitter to also handle the starting of the timer.

United States

I tested it and it's working fine for me. But I did some testing with 60fps recording and print screens, and it looks like the ammo doesn't update immediately on shooting in the game, so it's slightly late. I can't tell yet if it's always consistently late the same amount though. If it's consistent then it won't matter that much. Either way it's a very small difference.

Just in case you want to try finding the pointer to Shrek's health, it's a float of 8000 and the sniper rifle does 400 damage.

Germany

I already found a couple of different values, including shreks health and 2 booleans, but finding a pointer which doesnt break after a game restart, that i only managed with the ammo

Germany

the autosplitter instantly splits for me. weird

Germany

Ok, so after some testing i conclude that the splitter isnt consistent and most of the time its off by 1-3 frames so you can still use it to find out if you just got a PB, but still needs a manual retime after that. I just updated the splitter to also automaticly start, since starting at -3.68 was wayyy off sometimes for me. you will have to adjust your start time accordingly to your load time to use that accurately. It starts when ammo == 10 so you will have to shoot atleast once before you reset the timer and restart the level to not start instantly. If you want i could add it to the officiall list of splitters so you can choose it in livesplit without any download, but since it doesnt time 100% correct i have decided against it so far.

United States

If it splits inconsistently early then it's going to make it more annoying for me to time it, so I would prefer if people wouldn't use it then. Actually, is there a way to make the script delay the split for 3 frames after ammo updates? That would make it not annoying so I would put it in the resources page, though I still wouldn't put it on the official list. It's 3 frames in 30fps recordings and I assume this game has a variable frame rate so maybe it's not possible though.

Thanks for making this and doing the testing either way.