TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Salt Lake 2002 – not enough memory/crashes to desktop after starting error

140 pointsby DMellalmost 2 years ago

10 comments

mrpippyalmost 2 years ago
This reminded me of work I did for Proton&#x2F;Wine a few years back: finding a buffer overflow in the Rockstar Games Launcher installer NSIS script, having to implement an ancient deprecated Windows named pipe mode that RGL uses, reverse-engineering the VRAM display&#x2F;detection in GTA IV…<p>If anyone wants to do this kind of reverse-engineering for a living, we’re hiring at CodeWeavers: <a href="https:&#x2F;&#x2F;www.codeweavers.com&#x2F;about&#x2F;jobs" rel="nofollow">https:&#x2F;&#x2F;www.codeweavers.com&#x2F;about&#x2F;jobs</a>
评论 #36041353 未加载
svieiraalmost 2 years ago
Anyone else see the title and the site domain think, &quot;Oh, was Salt Lake an obscure Intel architecture that was <i>too</i> stable and caused errors in programs because there weren&#x27;t enough CPU errors during startup?&quot;<p>The actual debugging war story (decompiling an old InstallShield installer and detailed examinations of a routine that presumed that 64MB was more VRAM that anyone would _ever_ need) was quite good too.
aftbitalmost 2 years ago
I love this super interesting debugging war story, on such a pointless target. There&#x27;s something delicious about putting so much effort and coming to such a satisfying conclusion when working on such an obscure game.
thaynealmost 2 years ago
I&#x27;m intrigued why MS decided to have GlobalMemoryStatus return a negative number if there is more than 4GB, rather than returning the maximum value.
评论 #36041378 未加载
评论 #36038797 未加载
评论 #36038859 未加载
评论 #36038736 未加载
johncalvinyoungalmost 2 years ago
If I was more skilled with a debugger, I&#x27;d try to dig into why one of my favorite childhood games (an arcade WWII dogfighter game) runs just fine on Windows for ARM64, EXCEPT resetting inventory between each level, which makes final bosses much less fun, as part of the game is stacking powerups.
评论 #36044352 未加载
klyrsalmost 2 years ago
This wasn&#x27;t a problem back in 2002. Back then, you could just leak however much memory you&#x27;d need to bring the total down to a positive number.<p><a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20020207000806&#x2F;https:&#x2F;&#x2F;www.php.net&#x2F;manual&#x2F;en&#x2F;function.leak.php" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20020207000806&#x2F;https:&#x2F;&#x2F;www.php.n...</a>
bombcaralmost 2 years ago
This is why “warning. Game needs 64 mb and you have -2gb continue y&#x2F;n?” Is better than just dying out.
评论 #36039558 未加载
评论 #36039561 未加载
mahinalmost 2 years ago
Was just going to post this but you beat me to it! This was a fun read, and introduced me to vogons where I think I&#x27;ll be spending some time.
评论 #36038511 未加载
评论 #36038343 未加载
qingcharlesalmost 2 years ago
This is everything that is great about the Internet.
el_don_almightyalmost 2 years ago
Elegant, with a wafting hint of the sublime