upvote
The entire city of San Francisco as a video game

(sf.thijs.gg)

I lived in SF for nearly 20 years, though I mostly spend my time in New York now.

And genuinely this made me emotional. Was weird as hell walking around my back yard. Going to the spot in Dolo that I used to haunt in my 20s. My favorite tennis courts and hill bombs, walked the entire disc golf course, etc.

reply
This made me super nostalgic as well. I've lived in NYC for 20 years, but spent a ton of time in SF early in my career (starting in 2008). I love NYC, but I've been sort of feeling like a change lately and this made me feel like subletting a place for a few months and getting back to the slower pace of SF.
reply
good to know your feelings, but how different it is from using google maps?
reply
Happy to hear someone else say this. Similar story. I could never live in SF again but roaming around it was nostalgic in a way going back now just isn't
reply
This is awesome and if it's legal I'd love to do similar things on geospatial projects I work on. However I don't think Apple will be OK with this use of their data. I know that Google closely limits its 3D tiles data through a specific API and Apple does not make a 3d API available, therefore this has to be against ToS.

From the ToS linked from OP site:

> 1.3 Restrictions. You will not and will not permit or authorize a third party to: (...) (xiv) decompile, decrypt, reverse engineer, attempt to derive the source code of or disassemble the Service or any portion thereof (except as and only to the extent this restriction is prohibited by applicable law or by licensing terms governing the use of any FOSS components that may be included with the Service)

I would love for people to prove me wrong that Apple will embrace this use of their geospatial data!

reply
This is awesome. Would definitely download a local higher-res version if that were an option, maybe using Google Street View data? Also, if this was a live MMO, that would be fun. Not that there's really a game aspect here other than the coins when driving a vehicle, but anything to give some life to the sim SF city would be nice.

Seemingly lower-hanging fruit options I'd like to see:

- show street names, maybe some landmarks or businesses, togglable

- enter address to teleport to

- enter address to get directions to, GPS style, to travel there manually

- get coordinates / current location as a URL to share

- zoom in on minimap, or expand minimap, so that teleporting can be more precise

- changeable avatar

- more dynamic weather / lighting options

reply
Needs a soundtrack. How about:https://m.youtube.com/watch?v=v91cvVqBwWg
reply
I have dreamed about a pipeline that can take elevation data, building data, maps, and streetview imagery to process a city into all the components you would need to build a proper map for one of the GTA engines, including all the other objects like trees, fire hydrants, signs, light posts, traffic lights, etc.

The building textures could be recreated from the low-res streetview imagery using a pipeline to scale / relight them using image-to-image models. Building shapes could be rebuilt using generative models for 3d mesh components. Road & sidewalk quality (how clean, how faded lines are, etc) could be inferred from imagery as well to be applied to the map.

Super cool project, hoping it continues to evolve!

reply
I feel like the closest we've gotten to that so far has been the flight sims.
reply
This would maybe be a pretty good opportunity to use some of that "upscaling" AI tech: given this weird results of spatial scanning, produce something plausible and much higher definition. There are some dangers of doing so, of course. People will believe details that show up in it because it's taken from real life, and AI loves adding fake details, but for a little game it seems like detail beats ground truth.
reply
The photogrammetry appears to be from Apple Maps.
reply
'Vette was a racing game from the 90's (I think?) that covered San Francisco. "Released on 3 floppy disks", ha ha. Obviously without the rich dataset we have now. (Clicking on the following link ignores the trailing exclamation point in MacOS Safari for me.) https://en.wikipedia.org/wiki/Vette!

I did a voxel (ray casting) lunar lander that used actual NASA moon data (https://mooncraft2000.com).

reply
Man, I just posted this same comment. 'Vette was the first thing I thought of. Ever since playing it way back then, I wanted a better SF open world game.
reply
Ah nice demo! I flew around SF for way too long just enjoying the sights. On my M3 Air using Chrome it eventually just turns into blobs and my character get stuck, takes about twenty minutes. I popped open the DevTools and the game loads in at like 400mb but after five or so minutes I'm at 2GB of memory consumption. I'd guess that you need to have your agent do a couple of passes for memory leaks. Very fun otherwise!
reply
Very amazing. And this is the worst it will ever be. We'll soon be exploring 4k versions of this and we can open every trash can in Tunis. Fascinating. Had a lot of fun (tedious tho) going out to Alcatraz and figuring out how to get in.
reply
> Had a lot of fun (tedious tho) going out to Alcatraz

Curious, did you use a vehicle/glider, or did you take the heel-toe express all the way there?

reply
You can activate flying mode by double-jumping and crank the speed up with +.
reply
We got GTA SF before GTA 6.
reply
That was actually Watchdogs 2. Great game, basically GTA but you are a hacker in the Bay Area. The SF portion of the map was accurate down to every building.

https://en.wikipedia.org/wiki/Watch_Dogs_2

https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTbDzFt...

reply
If that second link is an in-game map, it is far from accurate to the real world. Unless it’s from a timeline in which Golden Gate Park is connected to the Presidio, and half of SF has fallen into the ocean.
reply
deleted
reply
deleted
reply
Looks like an atmospheric explorer kinda thing. Low-poly SF where you can just wander around and take in the city, pretty chill. I dunno, I really enjoyed it
reply
Kinda funny game, though if you want a bit more fidelity, but less control, Microsoft Flight Simulator has a pretty good version of SF.

Though as for games that use SF (but not 1:1) Watch Dogs 2 is a pretty good proxy, though my favorite video game interpretation of San Francisco is from GTA San Andreas (San Fierro)

reply
Very impressed with the Watch Dogs series of games for this purpose.

We recently used Watch Dogs Legion to prep for a trip to London to get more familiar with the city. Set the game on peaceful mode and just walked around and did virtual sight-seeing instead of playing missions. It's a surprisingly good recreation of the city, and we really appreciated getting some familiarity with the place before we visited.

reply
I did a similar thing for the UK when prepping to drive around. I hooked my steering wheel up to Forza Horizon 4, and just drove slow cars on the wrong side of the road through Edinburgh, following as many of the road laws as I knew.

It wasn't perfect, but it did help a little. The streets are way narrower, and the traffic is much worse, but muscle memory to stay on the left side of the road was nice.

reply
I do adore San Andreas but I think San Fierro is one of the weakest areas. My metric for how accurate they are is a sense of "oh I've been here before" and I really only get that in a couple of spots, as compared to Las Venturas (Las Vegas) and Los Santos (Los Angeles) where I could actually go to the cities in real life and feel like I knew where I was going because I'd played San Andreas enough. Compared to those two, San Fierro feels like a Backrooms-style dreamlike compression of the real thing, where a lot of stuff has been moved around. But parts of Haight-Ashbury, Pac Heights, Nob/Russian Hill, Polk Gulch, Ocean Beach and so on are still fairly distinguishable and correctly arranged.
reply
Depends how you define fidelity. The mesh resolution in MSFS isn't any higher resolution. Looks about the same.
reply
I'm still holding out hope for a modern Fallout in the bay area.
reply
Ha, Microsoft Flight Simulator is the most uncanniest valley thing I think I've ever played with; I'm from Tallahassee and it's weird to fly around a very high-fidelity, realistic, inaccurate version of a city I've lived in my entire life.
reply
Not bad, though based on the screenshot Lake Merritt in Oakland looks not to scale.

https://watchdogs.fandom.com/wiki/Category:Bay_Area

reply
Could Nvidia's DLSS 5 convert this to hi-fi?
reply
Loading information just goes forever.

Console shows CORS violations and WebGL errors.

Firefox on Windows. Recent ThinkPad provided by my employer.

reply
Update: Restarted firefox and it's working. Computers...
reply
I believe we're getting the hackernews hug of death.
reply
funny timing, i was exploring the same, some friends and me play alot of geogussr (a game where you put into streetview somewhere on the world, and have to find out where) lately.

I want to make it more video game like, cause the jumps of google maps make me motion sick.

I used google streetview as image source (cause you need to read signs, cars, see geometry) and colmap to reconstruct 3d chunks.

But it never really worked that well, jumps in time (cause the google car does not always continuously scan) and the image density is just too low, but was a fun side project.

reply
This was loads of fun haha. I would have liked to have optionally clicked a button and started at my current physical location because the tile load time dominated how long it took to get there.
reply
I was able to get it to stand directly on the roof of the structure I'm sitting at. (Which is kind of a glitch, it walked right over the structure as if it's a hill.)

When I noticed it getting choppy I realized I had filled most of my VRAM with an LLM, so I unloaded that and it got better.

Pretty cool project.

reply
I feel like I did that walk, in person (the tourist areas for sure). I've been to SF three times now, most of the time I'm walking everywhere. Even found a place that sells Brazilian coxinha
reply
Better than Horizon Forbidden West. jk.
reply
This is pirated content
reply
We got GTA SF before GTA VI.
reply
When I was in SF the first time some spots seemed weirdly familiar to me. Only later that day I remembered that I probably know them from GTA San Andreas (but maybe also the Full House intro)
reply
It is fun when you play a game based on a place, then visit the place. There have been a few places that I've been to that were levels of the Tony Hawk series. I enjoyed how the game designers were able to take what was otherwise pretty mundane, and tweak it into a fun map, while not just making it all up and losing the source location.
reply
This is awesome! I tried to make it to the Golden Gate, but my MBP got too hot to hold before I got there.
reply
deleted
reply
my first experience with San Francisco in a video game was through the City Escape stage in Sonic Adventure 2. and I didn't even know then that it was San Francisco (I had never been there when I played the game). only realized this when I visited the city many years later.
reply
I was just thinking, this game needs a snowboard I can use to jump, do tricks, and smack around people's cars.
reply
Haha, I know that stage by heart, and I've never been to San Francisco. I had no idea that's what it was modeled after!
reply
Also love that level, but mostly because the song is such a banger
reply
This is amazing
reply
man what happened to loading bars?

I'm sitting here watching the block bounce in a circle and I have no idea if the game is actually loading or not. Tried turning off PopUpOff. Tried turning off adblock.

as it turns out it just isn't loading (firefox on win 11, if that matters)

reply
The LLM they used to create this does not care for loading bars XD
reply
Ahh wow this is awesome! Is there a way to deep link to a lat/long?
reply
I was thinking of the game Outrun in the Red Ferrari driving around SF.
reply
How do I turn the camera? Stuck with a single perspective.
reply
Mouse capture works in chrome but not safari for me
reply
Crazy how they have GTA San Francisco before GTA 6
reply
GTA Baghdad by the Bay
reply
We need an LA version of this.
reply
And NY.
reply
I can offer you the whole planet, and you are a chicken:

https://gist.github.com/retroplasma/12e0e6e236aabd17c314cb53...

reply
This is insanely awesome man; I turned the entire SF gov into an AI Gov. but this has really humbled me; great work dude.
reply
Back in the 90's, there was a game called "Midtown Madness" by Microsft. They simulated SF and London very well. This game now takes it to another level.
reply
Nice, but the camera system is hard to grasp.

I cannot turn the camera for the life of me. The camera is always facing north!

Edit: I feel dumb now, I needed to click the trackpad to rotate, somehow I expected a two finger drag to move the camera :facepalm:

reply
Mouse-click (left) and turn the mouse.
reply
I wish I had enough brain compute cycles to keep up with 20 year olds earning millions at OpenAI.
reply
deleted
reply
Will try on my Mac. On my iPhone, I got the spinner wheel for a while and my phone started getting hot, so I killed it.
reply
Chrome on MacOS: largely unusable (over fiber); POV stuck and will not move except in a tiny area.

I don't mind the lazy asset loading; I just can't go anywhere outside a couple blocks from the start position. M3 MBA.

reply
<Cisco Heat cries in the corner>
reply
really cool!
reply
what a beautiful city could be...
reply
What's the actual game? Try not to step in doo-doo?
reply
where did you get the 3d map assets? also if one was serious about turning this into a game how would you go about it
reply
It says 'Apple Inc' in the bottom left, and there's a link to the Apple Maps T&Cs.
reply
[dead]
reply
The least amount of traffic I have seen in the city. /s
reply
Nobody defecating in public or play parties that are worse than going to the dentist 3/10
reply
I don't think it's really simulating San Francisco unless it has a public defecation feature.
reply
Woah dude careful, I think you're stuck in 2022!
reply
The poop situation is still not great.
reply
I wish this wasn’t true, but I live in the Mission and yeah, still not great
reply
Oh cmon man. Every city has its “lets just accept human feces on the sidewalk “ phase.
reply