So I'm hacking on Mahjongg VGA by Ron Balewski.
Like you do.
Conversation
Notices
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Wednesday, 23-Apr-2025 19:55:15 JST Foone🏳️⚧️
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Wednesday, 23-Apr-2025 19:55:13 JST Foone🏳️⚧️
The cool thing about this game is that there's a ton of user-made tilesets for it that have been preserved on old BBS-shovelware CDs.
And it's all this lovely amateur pixelart so naturally I gotta collect it. -
Embed this notice
Chicken :cqlgusu: (lookitmychicken@blorbo.social)'s status on Wednesday, 23-Apr-2025 19:55:13 JST Chicken :cqlgusu:
@foone oh my goodness. I remember starting to make a custom tileset for that game. I made a dozen or so tiles based on tarot cards before I gave up on the project. (They're long since lost to time.)
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Wednesday, 23-Apr-2025 19:55:14 JST Foone🏳️⚧️
This isn't to be confused with Mah Jongg by Nels Anderson.
I'm also hacking that one, but not in THIS thread.
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:53 JST Foone🏳️⚧️
The creator of this one is truly an evil person
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:54 JST Foone🏳️⚧️
that's Carol Alt, Cheryl Tiegs, and Christie Brinkley.
thanks to @ann3nova@corteximplant.comm
☠ Captain Arcee ☠ and GreenSkyOverMe (Monika) repeated this. -
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:55 JST Foone🏳️⚧️
Reverted back to plain DOS colors
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:55 JST Foone🏳️⚧️
who thought this tileset was a good idea? because they were very wrong.
it's tiled "Carol, Cheryl and Christie" and I have no idea who those women are.
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:56 JST Foone🏳️⚧️
I wasted time make it match the correct background/foreground color and it's not even visible half the time!
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:57 JST Foone🏳️⚧️
done
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:57 JST Foone🏳️⚧️
I made the foolish mistake that all tilesets would define a remotely sensible palette
that was a mistake. several of them do black on black text
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:58 JST Foone🏳️⚧️
I need to write a simple font engine. TIME ME
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:59 JST Foone🏳️⚧️
some very ugly python code using strings rather than some smart bitshifting code, but it worked first time.
now I just need to wrap this up into a script that unpacks each file one by one, then converts each TIL, then merges them together into a spritesheet
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:11:59 JST Foone🏳️⚧️
mass-processing, I found a corrupted one! This is supposed to be "People on TV #2", but it crashes VIEWTILE (and my converter). Works in MJVGA31, but it does crash when you exit.
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:12:00 JST Foone🏳️⚧️
PAL.CFG is simple: It's a 16-line text file, each line containing 3 numbers separated by spaces.
As is common for VGA-only software, it's 6-bit VGA, so the RGB is 0-63 instead of 0-255
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:12:00 JST Foone🏳️⚧️
the DRAFTSMN.DOC file explains some of the special palette entries:
0 is used for the screen background
1 is used for tile backgrounds
7 is used for the tile edges
11 is used for numbers
15 is used for menusso really you get 11 colors.
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:12:01 JST Foone🏳️⚧️
The TIL files are 48x60, but the tiles are not. They're 44x60. The extra 4 columns of pixels are ignored
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:12:02 JST Foone🏳️⚧️
so I'm building a tool to convert the tile files to PNGs.
The files are TIS files, which are made of:
1. one metadata string
2. 44 TIL files.
3. PAL.CFGThere's PAKTIL.COM and UNPAKTIL.COM to separate out/rejoin the TIL files. So I gotta figure out how TIL files work.
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Thursday, 24-Apr-2025 00:12:02 JST Foone🏳️⚧️
it turns out they're a 6-byte header and then they're a 48x60 image, but they're vertically planar: The first row is the least significant bit, fourth row is the most significant bit, and so on.
This indexes into the palette, which is stored in PAL.CFG
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Friday, 25-Apr-2025 15:20:15 JST Foone🏳️⚧️
it seems playable on chrome, but firefox barely lets you move the mouse where. that's a shame
-
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Friday, 25-Apr-2025 15:20:15 JST Foone🏳️⚧️
much more playable (at least on my slow firefox) version here, by using the windows 3.1 version:
https://archive.org/details/MJWINSOUP# -
Embed this notice
Foone🏳️⚧️ (foone@digipres.club)'s status on Friday, 25-Apr-2025 15:20:16 JST Foone🏳️⚧️
I put it on the internet archive but it seems to be unplayably laggy in-browser:
In conversation permalink
-
Embed this notice