oh cool, a game I bought in 1997 and 2013 just recently updated to make you agree to a Disney EULA when you download it, one that tells you not to reverse engineer it!
Conversation
Notices
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 20:33:42 JST Foone🏳️⚧️
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 20:34:12 JST Foone🏳️⚧️
guess I'm finding my old CDs instead of clicking this button
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 20:38:06 JST Foone🏳️⚧️
I bought and installed this game before I turned 18. So even if there was a shrink-wrap EULA with the game discs, I couldn't agree to the contract.
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 20:42:07 JST Foone🏳️⚧️
Anyway the game is Star Wars: Dark Forces II: Jedi Knight.
First thing I discovered: They used flex/yacc to generate the parser for their COG scripting language!
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 20:42:41 JST Foone🏳️⚧️
@scott fortunately I'm not gonna, I'm just using the files off the disc, the disc I archived to an ISO on my server back in the 90s
-
Scott 🏴😷 (scott@tams.tech)'s status on Sunday, 12-Jan-2025 20:42:42 JST Scott 🏴😷
@foone yes but I think if you install it again you have to agree again 🤔
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 20:50:01 JST Foone🏳️⚧️
I wonder how hard/possible it is to reverse a flex/yacc back to an original language definition?
I don't specifically need that, the language is well understood, but I still wonder
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 20:52:03 JST Foone🏳️⚧️
compiled Sep 10 1997, 09:39:21
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 20:57:50 JST Foone🏳️⚧️
they're using a yacc from 1990?!
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 21:14:58 JST Foone🏳️⚧️
huh, they try to identify what CPU the user is using. I wonder why.
It uses DirectX so I don't think it should have it's own 3D engine with optimized per-processor blits or anything -
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 21:22:25 JST Foone🏳️⚧️
I don't think they ever actually check the results of the CPU identification code. This is probably semi-dead code
-
James T Monkey (teamonkey@mastodon.social)'s status on Sunday, 12-Jan-2025 21:31:51 JST James T Monkey
@foone MMX was still a thing at that time IIRC, useful even with a graphics card. It was also the era when there were various Intel clone chips with different capabilities, and still a number of DX2 and DX4s about rather than Pentiums.
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 21:31:51 JST Foone🏳️⚧️
@teamonkey it does detect MMX, but it doesn't seem to ever do anything with it
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 21:55:06 JST Foone🏳️⚧️
oh hey someone else has already done a decompilation + port of this!
-
Foone🏳️⚧️ (foone@digipres.club)'s status on Sunday, 12-Jan-2025 22:05:32 JST Foone🏳️⚧️
including compile it for the web, which is slick
In conversation permalink
-