Mind-boggling rom:

1. has both disc 1 and disc 2 in one compressed pack
2. disc 1 and disc 2 image names have different SLUS numbers so trying to match the two directly fails
3. after 10 mins of slapping my face against the keyboard because my script can't "see" the second disc image I realized that image name starts with a space. For me, this is a first: " In Cold Blood (2of2) [SLUS_013.14].mdf" 😅

I'll just treat this one as an anomaly, unless I find another one like that..

Show thread

Surprisingly PSX Cue Maker wasn't written to run from command-line, it opens folders picker then file picker to specify path and cue file name 🤔
So I had to modify it to allow command-line runnability. Ran into some interesting build issues related to Ole32 and COM so I removed the COM stuff from there as I didn't see any operational benefit from it.
My command-line runnable fork with a binary windows release lives here: github.com/SirDimpls/psx_cue_m

Show thread

Forgot to mention I added support to unecm images that have ".ecm" extension.
Apparently ecm compression eliminates some redundant error correction stuff in a typical image file so they compress better, but that itself sounds redundant since we now have chd which compresses the whole image anyway.

Oh well.. easy and quick to unecm, so that's handled 👌

Show thread

Found this very useful tool to generate cue files from PSX bin files that already includes a windows build: github.com/nielsbuus/psx_cue_m
Thank you Niels! 🍻

Show thread

Tested mdf2iso to convert an mds/mdf game to cue/bin.
Seems to work, however converting a single image took forever.. several minutes and its progress bar looked wrong somehow.
Threw the code into Code::Blocks and quickly found out it's writing its progress bar line to terminal for every single byte it processes!
After a quick change to update the progress bar line only when percentage changes, it now takes seconds to convert mdf to cue/bin 👏

Show thread

Nice! things are working, failures and anomalies are reported. The last tricky part I see from this point is adding mds/mdf conversion support as I don't know yet how to approach that. Looking forward to running this script on ~300GB of roms😅

Show thread

Found out that some cues refer to a wrong image file name either because the image file contains a complete path or the image file was renamed at some point.

So I added functionality to check whether the cue file refers to the right image and correct it if not.

Show thread

Then comes ccd/img format.
ccds are cues in a different format. There is a GNU conversion tool called: ccd2cue but couldn't find a windows build.
Attempt to build that using cygwin failed due to a libintl incompatibility.
So I threw it together in code::blocks/mingw and hacked out everything that got in my way 🪓
Had to crudely re-implement GNU's getline() since mingw doesn't have that.
And voila! Usage: `myccd2cue.exe --input ccdfile --output cuefile --image imgfile` github.com/SirDimpls/myccd2cue

Show thread

First formats supported: iso, cue/bin, cue/img. Those were straightforward since chdman (man.archlinux.org/man/communit) supports them as input images.

Show thread

Project ISOGod <thread>
Goal: to automate iso archives (PS1/DC/etc) conversion to chds for handheld/misterfpga.
Started as a C++/fltk windows app but that was going too slow so I switched to python with a bunch of windows binary tools. It's an interesting challenge to handle all possible formats in those iso packs (from archive.org) and scale the whole thing to run the processing and conversion across N threads. Fun to see 16 CPU threads pinned at 100% while compressing isos to chd 😆

Todays The Last Human Kurzgesagt video is my second favorite of all time after optimistic nihilism, I love the quintillion-scale positivity bundled there! :D youtube.com/watch?v=LEENEFaVUz
I think it convinced me that against all odds we are more likely to be living at the beginning rather than the end of our species journey.

One weird thing that I monitor for is growth in devices memory capacity, whenever it shifts up an order of magnitude I feel that progress is still going.
Yesterday I was at our computing supplier (pbtech) and ended up waiting next to the sdcards section. Last time I was there you could find a few 16gb sdcards, and many 32gb ones. Now there was not even one 32gb sdcard while 64gb ones are plentiful and cheap.
What does that mean? no idea.. just a random thought 😅

It bothers me how slow Raspberry Pi Zero W is with any linux distro. Yesterday I tried RISC OS which was designed for ARM. And I was not disappointed!
It is instant and responsive without a second of lag. Also comes with a bunch of built-in programming langs like BBC BASIC, Py2.7, and Lua! Complete with a code editor and a help app for technical references. No wifi support though 🙁
Looking at its Tasks monitor shows that the OS is using about 8MBs of RAM only! mainstream OSes lost their way..

Almost all smart devices produced suffer from the obsolescence issue & all destined for a landfill.

I believe there is a path towards a fundamentally different generation of smart devices.

There are two examples that show this evolution: Tesla cars & misterfpga. Both exhibit systems capable of evolution through time where things don't just get better but new major features are added years after HW production.

This may become common with a push to integrate AI/FPGA hybrid systems into CPUs 🤔

Found myself accidentally playing God of War II last night (ehm procrasti-gaming) and I then had the most pointless late realization in recent memory: Bayonetta is the exact same genre as God of War 😅 who would've thunk it?

The so called Moore's law is about transistors density in microchips doubling every 2 years. I find it weird that whenever I see people online including high profile industry ones arguing Moore's law is dead/still alive seem to think Moore was talking about performance, cost, power consumption, etc and none of these are transistor count!
I fail to think of a more pointless made up argument 😅

Today I did a practice Blender project, got into Material Maker to evolve my pipeline to include PBR procedural materials, and finally threw all into Godot to test how far I can push its renderer in a static scene. The result is this really cool looking test 😊

SANITY OR SUNRISE, my team's (Team Hex) submission for Game Jam Aotearoa 2022 (Theme: Transition). Designed and created within 48 hours. gravebuddy.itch.io/sanity-or-s

As I'm using less of my new-ish Lenovo yoga laptop I found when I shut it down and leave it for a while, the battery drops to 0%! seems like something was still draining the battery at a non-negligible rate even when device is completely off. A quick search pointed to the BIOS, there are two options enabled by default:

* Flip-to-boot: turns on laptop if off by just opening lid
* Always-on USB on battery: what?

why is always-on-battery enabled by default?! 🤨

Show older
Gamedev Mastodon

Mastodon server focused on game development and related topics.