@mwk@donotsta.re titelbild
@mwk@donotsta.re avatar

mwk

@mwk@donotsta.re

a girl afraid of herself

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

mwk , an Random Englisch
@mwk@donotsta.re avatar

current status: thinking of how many of my problems within the last few years could have been avoided by calling people out on their bullshit instead of being conflict-averse and letting it fester into Really Bad states

and how that applies to both people who in the end turned out to be reasonable and possible to coexist with after taking some criticism, and to people who really should have been told to go fuck themselves much sooner

time for some adjustments, I guess

mwk OP ,
@mwk@donotsta.re avatar

and I guess a more specific lesson is that if you help an insecure asshole who has a grudge against you get a job at your company in the hopes that not being jobless will make them somehow better, then lol lmao,

no.

mwk , an Random Englisch
@mwk@donotsta.re avatar

so I just realized I did a sizable project and never posted about it publically

last year I spent a few months on and off reverse engineering Pinball Fantasies (a 1992 video game; originally for Amiga, though I was reversing the more polished DOS port) with the intent of doing a game engine recreation, and then rewrote the logic as a Rust program

you can grab the result here: https://github.com/wanda-phi/pfr/ ; if you're interested in the internals of a 1992 DOS game written by demoscene people, I wrote down some (rather incomplete) notes here: https://github.com/wanda-phi/pfr/blob/main/TECH.md

I'd also like to thank @domi for porting this thing to browser environment with WASM, and hosting the result: https://pfr.sakamoto.pl/

enjoy!

mwk OP ,
@mwk@donotsta.re avatar

@domi: by the way, you have some bugs in your MOD player code, I know exactly how the intro should sound on an Amiga, and it's off in a few places
me: oh, quite possible; I just did a direct transcription of the game's sound blaster driver code to Rust and there were some parts that looked sketchy
@domi: listens to the DOS version holy shit Wanda you replicated the bugs perfectly

mwk OP ,
@mwk@donotsta.re avatar

this game has a lot of insane demo-grade optimizations done in the name of making this thing work on a 286, but my favorite is the fact that the ball pixmap is stored only as an unrolled x86 machine code function that pokes every pixel in sequence, and my recreation includes a disassembler that recovers the pixmap: https://github.com/wanda-phi/pfr/blob/main/src/assets/table/gfx.rs#L144

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine