Is there a way to filter or search for games whose leaderboards are based on In-Game Time (IGT)?
20 days ago
Brazil

Is there a way to do it on the site? Or maybe some list somewhere would do the trick.

I'm looking for games where what matters for validation is the IGT, like Daytona USA or Sega Rally 95 for example.

Canada

Unfortunately no. You might be able to do something with the API, but that may be difficult and it could take a while to put together a comprehensive list that way

Sabedena likes this
Brazil

@ShikenNuggets Bummer. Thanks for your help anyway.

Somerset, England

It's actually easy with API v2 as the timing methods and default timer are returned with every game object. So we just need to loop over every page on GetGameList.

I could give you a list of all the games that have IGT turned on in settings. But for example, Daytona USA doesn't have IGT turned on and just uses SRC's normal timing settings, so it wouldn't be included.

I assume there are hundreds of these games, and it would be hard to look through. To make it easier, is there a criteria I could filter it by? Like games from a certain time period or with certain platforms.

Or you could use the API yourself to get these games, but I'm not sure how much technical knowledge you have.

Edited by the author 20 days ago
Sabedena likes this
Brazil

Oh thanks for the help @YUMmy_Bacon5

Maybe I'll try using the API and see what it returns. I'm tech-savvy and know a bit about coding, so maybe I can extract the results I need from the API, even if not all of them. I really appreciate your offer to make the list for me, but I don’t want to bother you with such a tedious task.

The reason I’d like to know which games meet this criteria is because IGT is easy to get verified and set up on the runner’s end—no need for LiveSplit, cameras, overlays, etc.

Thanks again. Really, I appreciate the help.

YUMmy_Bacon5 likes this
Brazil

Oh wait! I checked the GitHub repo to see if I could make it work with my current knowledge, and besides noticing that it's written in Python, I also saw that you're a contributor there, @YUMmy_Bacon5 , right? Could you maybe give me an example of Python code that I could run to, let's say, gather the games that meet the IGT criteria and are also racing games? That would help a lot — I’d just need to tweak your example to fit my needs. I hope I’m not asking too much. Even just a small code sample would be super helpful!

YUMmy_Bacon5 likes this
Somerset, England

Ok sure

from speedruncompy import GetGameList, TimerName

games_req = GetGameList(limit=500)
first_page = games_req.perform()
for page_num in range(first_page.pagination.pages + 1):
	all_games = games_req.perform(page=page_num) if page_num > 1 else first_page
	
	for game in all_games.gameList:
		if TimerName.igt in game.validTimers:
			igt_default = ' (default)' if game.defaultTimer == TimerName.igt else ''
			print(f"{game.name} https://www.speedrun.com/{game.url} has IGT{igt_default}")
	print(f"Page {page_num} of {first_page.pagination.pages}")
Sabedena likes this