Some years ago, I did a small voxel shooter for PICO-8, you can play online or download the binary on the itch.io page: chiptune.itch.io/zepton

the source code is available on the official PICO-8 BBS:
lexaloffle.com/bbs/?pid=38171

I just need to figure out how to automate the step where they're converted into a similar PC-readable format. This is definitely not the sort of thing that I'd want to do by hand. πŸ€”

Show thread

At this point, I think I have everything to rip textures from this game. Width & height, color palette size & entries, and the image data itself - including where it ends.

There's still some bytes in the header that I don't understand, but for textures, I think I can ignore them

Show thread

Why rip from this game in particular?

1) It's a game from my childhood, and honestly the soundtrack (which is just CD audio) is solid 90s techno.

2) All the game files are just out in the open, organized into folders and plainly named. No unpacking or decompression required!

Show thread

I'm starting with a tiny game called Impact Racing, an obscure budget combat-racer by Funcom Dublin, 1996. You destroy a certain number of cars while finishing laps before time runs out, so you can get more weapon upgrades before you reach the final stage.
youtube.com/watch?v=ouIGHt2LBr

Show thread

Turns out there's a 4-byte entry that says how many bytes are used for the color palette, and then each color palette entry uses 3-bytes. Straight-up RGB. And then palette entries are stored in reverse order.

Also, preceded by the plain-english string "CMAP". Color Map.

Show thread

I was looking at an image file that I had tried loading into IrfanView years ago, and realized that I could just use "open as > raw" on one of the images that did work, get the correct width and height out of it, and see where those numbers showed up in the header.

And then I realized that a block of numbers was actually a palette-indexed image with 16 colors. And that all of the texture images are like that. So now I just have to figure out how color palettes are ordered.

Show thread

[accidentally figures out the first few steps of reading a PS1 texture format from some obscure game] Oh okay, well fuck me then.

Show thread

There's also the whole issue of like... even if I *could* figure out how a file format is structured, I'd still have to learn how to program a tool (outside of Unity/Gamemaker) that could actually convert PS1 files into PC-readable formats.

Still tempted though. Maybe just pick away at it on the side.

Show thread

I'd honestly love to learn how to read actual PS1 file formats for a few games. It's such an involved process though - developers kept rolling their own tools and headers, so almost everything has to be approached on a game-by-game basis. There's no "one size fits all" solution for converting PS1 images/models.

Show thread

I've been warming myself up to hex-editing and tinkering with PS1 stuff, because I'm a big gay dork who can't leave an idea alone!!

I found out last night that SCEE made a tool to assist development of PocketStation save file headers, in binary and assembly formats. The binary is useable as-is β€” open in a hex editor and copy/paste into an existing save file.

Tool works on W10, too!
psxdev.net/forum/viewtopic.php

Show thread

Having a quick look at one-way platforms before bed, and... Oh no. That can't be good for his neck.

It's an invisible feature that definitely won't be useful anywhere, BUT it adds a tiny layer of movement predictability, so in it goes!!

Show thread

Skidding locks the player to the nearest position on an 8x8 grid, but tries to make sure that it can travel a minimum eight pixels before it snaps.

If a direction is held while skidding, the player will launch full speed in the new direction. If not, player will come to a dead stop. Jumping can cancel out of the skid completely.

Show thread

Been working on a little something, and it's slowly coming together! Here's me running, skidding, and jumping around.

Quickly studied the camera in Kirby's Adventure, and I'm surprised to find that its follow window is effectively a 32Γ—32 pixel square β€” off-center by 16px left & 32px up.

The only reason why Kirby travels outside the square is because the majority of its rooms only scroll along one axis, horizontal or vertical.

First steps! Following a tutorial to get a feel for simple platforming in gamemaker *without* relying on its physics engine. No jump/fall sprites yet, I'll fix that eventually lol.

Show more
Gamedev Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!