#0045: Resolving a website security compromise

#0045: Resolving a website security compromise

title image for removing spam article, depicts angry Pokemon Magnemite floating above a browser's diagnostics panel focused on A Tinkerers Blog . NET

Preamble

I find that I have gotten into the habit of using ChatGPT in my daily routine. Mostly asking it to make visual assets for my D&D Underdark campaign. But also as a general stepping off point for research. It has replaced Wikipedia in that regard. In this line of activity, I recently started asking it to review my articles. Initially out of curiosity; however later, because I genuinely found its output useful. I mean how often in life do you get someone who actually is willing to proof-read something that you wrote, give critical feedback, and on demand no-less. Rare as hen’s teeth almost.

Well the other day I decided to go one step further, and asked it on a whim to give me recommendations to improve my website as a whole. This is where our story begins. It listed a bunch of stuff. SEO things, formatting, general tips, a whole bunch of things that I frankly did not care about. However, in that list it also contained a directive to remove the spam links in the footer of my ‘post index page’. Just another line item. Reading this I was stunned for a moment. Holding my breath in disbelief. Then upon checking the website itself. There they were. And not just on that page. But all of the pages of my website. From the homepage to about-me. The same line of malicious spam links in the footer.

screenshot of post-index webpage displaying spam footer

Defining the security compromise

It was at this point that I realised that my website was compromised. The reason why I was so initially shocked is because: well, up until now running this website has had zero issues from a security perspective. I thought I was good. I just implemented basic turn-key solutions to get secured. And with both Bluehost and WordPress reporting no security issues. Nothing but green flags, err- icons. Naturally I thought that my little blog was fine.

  • screenshot of Bluehost displaying good site status
  • screenshot of WordPress displaying "good" site health

It was not. At the bottom of every page of my blog contained a line of text that I did not put there. It consisted of six hyperlinked words; with each connecting to a separate online domain. Initially they looked like nonsense words to me. A random computer generated string of letters followed by numbers. However a cursory (DDG search) look into the spam text itself, revealed that it consists of the names of online gambling platforms in east Asia. Albeit shady and rather low rent, judging from their advertising media.

Just look at the AI art they use to advertise themselves. Call me a hypocrite if you like, but I do not think it looks good employing this kind of art for a professional business. Just look at that lion’s tablet holding hand. Yikes. Who the heck green lighted this advert? It is signs like this that make the thing look shady. Oh yeah, and the whole injected spam links fiasco doesn’t help either. All signs point to scamming.

  • low quality AI generated advert image for Benteng786 gambling platform
  • low quality AI generated advert image for Benteng786 gambling platform
  • low quality AI generated advert image for Berjayatogel gambling platform
  • low quality AI generated advert image for Piton786 gambling platform
  • low quality AI generated advert image for Piton786 gambling platform

Now interestingly, the hyperlinked web-addresses behind the gambling platforms’ names, are actually for completely unrelated websites. They cover a varied mix of topics. At least judging by the web address names themselves. Things like ‘Arabian travel news’, ‘Chinese medicine’, ‘plan your website’, and ‘getting paid’. Not only this, but they also employ varying top level domains such as ‘.co’, ‘.com’, and ‘.org’. With the lack of any semantic connection to the hyper-linked text itself, coupled with the sheer variety of websites present: leads me to believe that these are potentially compromised websites themselves. Formerly legitimate domains that have been hijacked to be used for illicit purposes. It is the scenario that makes the most sense to me at the moment, with the limited information that I have.

image displaying spam footer's hyperlinked external websites

Alternatively they could be legitimate websites (i.e. a website that offers an actual legal service) – that have contracted a shady third-party agent to improve their traffic metrics. And the contracted agent decided to do that via injecting backlinks into WordPress blogs. Honestly, it is plausible. I mean there are a lot of WP blogs, and they all pretty much use the same security packages, setup, and general infrastructure. Once a vulnerability is found for one, chances are good it’d work for nigh all.

Either or, there is no reason to actually click any of these links to try to verify my claims. As there is nothing tangible to be gained from it, especially when stacked against the unknown risks of visiting a potentially malicious website. Now back to the spam itself. The footer read something like this below, albeit in a randomised order. Same names, same links behind them, just in a random order upon page refresh, or page change.

“benteng786 | piton786 | berjayatogel | benteng786 | benteng786 | benteng786”

So now we know what this essentially is: illicit advertising. Spam. Interestingly this is the main reason why I do not allow comments (or even ping-backs) on my articles. I removed that vector for spam as I did not want anything here like: malware links, or gibberish bot comments. Anything that I would have to actively manage and remove. As genuine reader comments are not worth the overhead that an open comment section would incur. And I don’t want to go to the lengths of employing things like CAPTCHA technology to filter them out. Or even use the built-in Akismet tech for that matter. My primary efforts (and attention) in regards to this website needs to go to producing content. Not reading and moderating comments.

Moving on. Here we have a scenario where an agent has managed to place its spam into my website’s footer. Where is it stored? How can I remove it? And how did it do this? These are the three questions that need answering. And even as I write this post initial fix: I am still not sure how to answer. As I am waiting to see if the spam comes back, using a regenerative method that I missed. One that is hidden elsewhere, deeper in the code.

ChatGPT v6 AI image of Edward from Cowboy Bebop wearing her hacking VR goggles. Which are displaying lines of code. She is in an Internet Cafe with the subtitle "Session #09 - Scamming with Edward".

My experience with tools and resource management

I have noticed something about technology in general, specifically software. Whenever you try to do something that is non trivial – very quickly it becomes apparent just how crap everything actually is made. How it’s all just assorted pieces of balsa wood, struck together with rubber bands and PVA glue. In this case dealing with the Bluehost interface, as well as WordPress’s. I had to bounce back and forth between them constantly. As core necessary functionalities were spread across both platforms. Not to mention the use of third-party tools, each with their own eccentricities and learning curves.

With regards to BH and WP: they did not work as expected half the time. Either functionality was hidden in segments that weren’t named in a manner where intuitive deduction would get a user to them. OR when they were found – they glitched out and did not function – either as expected, or as the tutorial explicitly demonstrated that they would. For example my Bluehost FTP section no longer loads. Just doesn’t load. Full stop. Do I have connections available? Yes. I know this because I am using them. Can I see them on Bluehost? No.

Honestly if it wasn’t for the AI chat bots holding my hand, as well as Bluehost’s tutorials I would be lost at sea on this one. So thank you both. ChatGPT, and Bluehost AI. They saved me a lot of time trawling through forums like Stack Overflow, or asking in IRC. Time I honestly can’t afford right now. Because time isn’t just flat time, it is also momentum. Starting and stopping projects like this with large breaks to work and take care of responsibilities seriously staggers these types of efforts.

screenshot of BH FTP not loading

Tools used

  • web-browsers (Brave, Firefox)
  • FTP client program (Filezilla)
  • online host provider (Bluehost)
  • website management suite (WordPress)
  • online file manager (cPanel File Manager)
  • local file manager (Nemo)
  • text editor (Xed)
  • AI chatbots (ChatGPT & Bluehost AI)

Troubleshooting procedure – step summary

Step 0.0 – back up the website (using either FTP or in-browser download)

Step 1.0 – process all files and remove vulnerability vectors in a systematic sweep (test between each sub-step)
Step 1.1 – eliminate possibility of active hack via login credentials (change PW, install 2FA)
Step 1.2 – update core software suites/services (WordPress, SQL, PHP)
Step 1.3 – process all WP plug-ins (delete unused, update in-use)
Step 1.4 – process all WP themes (delete unused, update in-use)

Step 2.0 – target location of suspect file(s) in other areas
Step 2.1 – identify suspect file(s)
Step 2.2 – confirm presence of malicious code within any suspect files

Step 3.0 – remove infected file(s) from codebase
Step 3.1 – verify spam footer removal

Step 4.0 – housekeeping (closing tasks)
Step 4.1 – clear/setup website page cache (via WordPress settings)
Step 4.2 – reduce page revisions (via WordPress settings)
Step 4.3 – close FTP functionality (via host provider settings)
Step 4.4 – verify that the job (and clean-up) is done.

Troubleshooting procedure – write up

Step 0.0 – back up the website (using either FTP or in-browser download)

The first hurdle arose before the main troubleshooting actually began. Step 0 is making a backup of my website as it is. All read sources as well as common sense recommended this as an initial action. Unfortunately this proved to be an issue because firstly the website was larger than I expected. It turned out to be around 8-9 GB. Downloading this archive using the Brave browser, from Bluehost itself throttled the speed to around 200-300 Kb/s. This took around 10 hours total. Nothing I could do about the speed.

The first night the damn thing failed five hours into it, while I slept. The second time it succeeded however. I had it running in the background while I used the computer during the day. I took time to pause and resume the download using the Brave browser’s functionality. As I rather irrationally thought that this action ‘refreshes’ the download. I mean why did it fail during the night when left alone? Yet succeeded during the day with far more potentially destabilising activity around it, as well as active tampering? The truth is that there is actually no way to know at this level. We’d need to expend a huge amount of resources to find out. That’d be a far bigger project than this one.

An alternative method of backing up my blog includes downloading to my local machine using FTP protocol. I used Filezilla as my program of choice. Good reviews, popular, well documented, works for Linux. Also took about the same time. Albeit without the binary pass/fail of downloading via the browser. Since I could just stop downloading at anytime, shut the PC down. Then start-up later and just resume on the specific files and folders that I left off on. The entire website wasn’t packaged into a single archive file, as it was above. The versatility of using FTP is a far superior method for this reason.

screenshot displaying the download speeds of website archive file. As well as the 4.9 GB size of the failed file.

Step 1.0 – process all files and remove vulnerability vectors in a systematic sweep (test between each sub-step)

Now that I think I know what I am dealing with. It is time to do something about it. Let’s start by trying to answer the first question. Where is it stored? In other words: where is the actual code for this bullshit written. What file, and in what folder of my website is it in? ChatGPT recommended that the compromising code could be hiding in a number files. It could be within out-of-date or compromised third-party plug-ins, WordPress website themes, or software suites, or put into the website itself using hacked user credentials.

Step 1.1 – eliminate possibility of active hack via login credentials (change PW, install 2FA)

I had little suspicion that it was the latter because I only access my website via the one account, on the one computer, on the one network. So it’s not like they’d get a chance to capture my credentials on a public network or anything like that. Additionally I use Bluehost’s two-factor authentication (2FA). Which sends me an email with an extra temporary code every time I try to log into my website. So a malicious agent hacking into my account and getting past all that – just to then post spam links in the website’s footer and seemingly nothing else – seems dubious to me. There are cheaper ways to achieve this given result. Never-the-less, change the password.

Step 1.2 – update core software suites/services (WordPress, SQL, PHP)

What are those cheaper ways? The one that jumps to mind is exploiting a known vulnerability in an underlying software service. I don’t keep up with the niche news, but anyone who does would naturally know them as they are made public. So the first thing I did in this regard is try to plug all these potential holes by updating all the software that I use. Specifically the WordPress suite, as well as what SQL and PHP versions the site was running.

WordPress was up-to-date, SQL and PHP were not. I don’t recall what version SQL was before updating to the current version. This updated within WP. Now PHP I updated from the 8.2.x version that I was running to the current 8.5.x version (as of 2026-10). This was done on BH because WP could do nothing but recommend I write an email to my host provider asking for an update. It genuinely made me laugh to read that.

Once SQL and PHP were updated I checked the website to see if the spam footer was still there. Yes, it was. I took a little time off, refreshed everything, then checked again. Confirmed that I was indeed running the latest version, then checked once more. At this point I think it is fair to say that the malicious code itself was not embedded into whichever database or PHP components that I have installed to run on my site. In other words the malicious code is not part of the PHP/SQL codebase currently underlying the website. Since its presence is still observable post update, with new and intact versions running.

I do suspect that a vulnerability in an outdated version, specifically of PHP may have been used as an ingress point to put the malicious code into my website initially. However with the update to current, this potential point of ingress should now be plugged. It’s not definitive, nothing is at this high level. However this effort does represent a genuine hardening of security.

(As an aside, can you tell that I don’t actually know what either SQL or PHP are or do? I don’t want you to walk away thinking that I’m more knowledgeable than I am. I’ve heard about them before. I know one is used for managing databases, and the other is critical to the underlying internet infrastructure as a whole. That’s about it. Honestly it’s more sorcery than science to me. Additionally I am not sure why I completely dismissed SQL as an attack vector at this stage. I likely tunnel-visioned on PHP, because I knew that it could be used to actively do things like inject malicious code. Whereas SQL is just a type of databasing language to my limited knowledge.)

screenshot of drop-down menu containing PHP versions

Step 1.3 – process all WP plug-ins (delete unused, update in-use)

Moving on. The next suspect consisted of the host of out-of-date plugins that I had installed. Active, and deactivated alike. I removed many that I had no longer use for. Then updated the ones that survived the purge. Thirdly, I set these survivors to auto-update. After this I tested the website again. Refresh, look, wait, refresh, look again. Look again on another device. And unfortunately the spam links where still there.

Plugins processed:

  1. Akismet Anti-spam: spam protection
  2. Code Embed
  3. Embed HTML5 game
  4. Enhanced Text Widget
  5. Jetpack
  6. Mouse cursor customizer
  7. Stop User Enumeration
  8. The MOJO marketplace
screenshot displaying all the plugins that were processed

Step 1.4 – process all WP themes (delete unused, update in-use)

Once the plugins were sorted, I turned to the themes. All were out-of-date. Same procedure. Delete anything that is not of use, and update all that are. I removed all except the actively employed theme. Deleted number one to four. And updated five. Then set it to auto-update.

After this the website was tested again. The spam links were still there, on every page as before. To eliminate the active theme from suspicion of harbouring malicious code, I installed and applied a completely new theme. Named “BlogArise” by Themeansar. And sure enough the spam links were still present in this new theme’s footer. With a little deductive reasoning, we can conclude that the active malicious code is not in the free WordPress “Coral Dark” theme that I use. As it did not go with it.

Themes processed:

  1. Twenty Twenty-Two
  2. Twenty Twenty-Three
  3. Twenty Twenty-Four
  4. Twenty Twenty-Five
  5. Coral Dark
  6. BlogArise
  • screenshot of WP themes
  • screenshot of BlogArise theme page
  • screenshot of TB splash-page with original Coral Dark theme
  • screenshot of TB splash-page with alt BlogArise theme
  • spam footer theme comparison image

Step 2.0 – target location of suspect file(s) in other areas

At this point I have eliminated the main hiding places for the malicious code. It is not in the up-to-date Coral Dark theme. It is not in the updated plugins. And it is not in any of the infrastructure software suites: WordPress, PHP, and SQL. All of which were recently updated, and verified.

Before we go on I will acknowledge that nothing is 100%. Obviously I could have missed it in my sweep, and it is hidden in one of these things mentioned. I know that, however for expediency one cannot keep second guessing oneself. All these vectors were sufficiently addressed. As in there is nothing that immediately pops to mind that I could do further to validate their file health. I.e. confirm a lack of infection.

Step 2.1 – identify suspect file(s)

This involves picking over all directories to find a suspect file. Now with a lot of the file base eliminated, it narrows the search perimeter to those files that were not in the initial sweep. Looking over the directories I located more plugins. Within the WordPress “Plugins” directory, under the “Must-Use” sub-directory. This sub-directory was not featured in the initial sweep. It contains 3 items.

‘Must-use’ plugins:

  1. Endurance Page Cache
  2. SSO
  3. worked.php

One of these is not like the other two. Both “Endurance Page Cache” and “SSO” had version numbers, credited authors, as well as being easily searchable with plenty of hits describing exactly what each does. Whereas “worked.php” had none of these things. No version, no author, and no real hits when looking it up. Plus it is the only one with the ‘.php’ affix in its display name. Likely mirroring its actual file name. A little rough touch that gives it away. Especially when viewed in conjunction with everything else. Still at this point it was just mounting suspicion. I did not have anything concrete.

From the WordPress UI I could not enter to view nor edit this file. However it did contain the direct file path directory for these specific (3) plugins. In this case “/wp-content/mu-plugins”. In hindsight I realised that the sentence around this file path directory is yet another clue. One that explains the observable behaviour of the spam links themselves. See below.

“Files in the ‘/wp-content/mu-plugins’ directory are executed automatically.”

Alternatively, if I did not find the suspect file in this manner. Then I would have tried to track it down more directly via a web-browser’s diagnostic tools while the file is actively running on my website. This could be done by pressing ‘F12’ (in Brave & Firefox) while observing a webpage. This will allow one to view the HTML code for the webpage. From this one could navigate to the subject element. Then inspect it for clues. In the example image, I should have clicked the ellipsis to expand this out. From this one could potentially get the file name, and/or its location in the codebase.

If not that, then weaker (i.e. less direct) clues. For example the HTML for the spam footer has a class name of “pdn-footer-links”. With “pdn” likely standing for “Public Display Network”: i.e. advertising. (Source ChatPGT.) In addition this HTML class name is found verbatim in the ‘worked.php’ file as part of a function name.

If all else fails then a hail-Mary Ctrl+f keyword search on the whole local codebase could be done. Example known keywords: footer text names (e.g. “piton786”), hyperlinked domains, or any class names found in method above. Any hits would likely be contained within a lead file, if not the target file containing the malicious code itself. This is is also a good way to find supporting files. Such as code regeneration files, designed to reinstall the main file once/if it’s deleted.

Step 2.2 – confirm presence of malicious code within any suspect files

To access the “worked.php” file itself: I used my OS’s file-browser to locate the local copy that I had on my computer using the above file-path. Sure enough. The code is malicious. Upon opening the file in a text editor I found this (below).

Code snippet:

function pbn_footer_links_config() {
		return array(
			array(
				'url'    => 'https(colon)//planyoursite(dot)com/',
				'anchor' => 'benteng786',
				'title'  => 'benteng786',
			),
      ...

Step 3.0 – remove infected file(s) from codebase

To remove the file from the online website’s live codebase itself; I connected utilising the FTP protocol via the Filezilla client; and the previously established host settings to enable this functionality. Within Filezilla I used its built-in file-browser to navigate to the same directory as I did in the local version. Then simply deleted the malicious file within Filezilla. And hey presto! It is gone. That’s it. (As an alternative you can use the cPanel file manager from the host provider.)

Step 3.1 – verify spam footer removal

After refreshing my website the spam footer was gone. If it is not gone, check that the file is indeed gone in the WP UI. If it is then move to step 4.1: clearing the page cache. As likely the live website that you are viewing is a cached version of the one that you are editing.

Step 4.0 – housekeeping (closing tasks)

Housekeeping. I define ‘Housekeeping’ as the assorted miscellaneous tasks that are not part of the core repair, however they are necessary for properly finishing off a job. For example: When repairing my bicycle, housekeeping in that job consists of cleaning and putting all the various tools away properly. Back in their proper place where they won’t get damaged or lost. It is essentially clean up, with the aim to prevent any future complications.

Step 4.1 – clear/setup website page cache (via WordPress settings)

Here we start with purging all cached copies of the website. In my case I did not have any, I (unknowingly) never set the site to create them. I only thought that I did because I confused it with page revisions. This is where WordPress would make copious copies of anything that I publish every time that I edit it. I decided to correct this situation by setting up a website cache.

Caching tools are within the host provider’s settings section. Specifically with Bluehost it is under the ‘Performance’ tab Bluehost. Here within ‘Caching Control’ it gave three options for enabling caching. ‘Assets Only’, ‘Assets & Web Pages’, and ‘Assets & Web Pages – Extended’. I chose the middle option and left it at that. Done. My website is now cached.

Coincidentally there are other relevant tools on this page. ‘Clear Cache’ to remove any cached copies when desired. Obvious, really. However a very important step, I would have had to take if I had any cached copies of my website. A more interesting tool is Google’s ‘Page Speed Insights’. This seem like a tool that loads up a website and then assigns a score out of 100 to represent the speed that it loaded in.

Initially with no cache I got a 98/100, then once I set up a cache and retested. I got a 100/100. Honestly I don’t put too much stock in these types of tools when they report too positively like this. On one hand yes my blog is primarily simple images and text. And little more. However when it is a little more, things go south quickly. Loading video times is abysmal. It slows everything down. Including trying to navigate off page. Obviously this tool did not try to load up an article containing embedded video clips otherwise the score would not be as it is.

Before moving on I will say one thing. It occurred to me while editing this article for publication: if my website did have a cached version active, then my entire workflow would have been upset by it. This is because any changes made would not immediately be live to see. Since I would be visiting a cached copy each time I clicked to check on the footer. It only occurred to me now at the end of process. With that in mind I think it would be good practice to clear and remove website caches at the start of the process going forwards, just after backing up the website. I guess it’s true what they say about experience.

“Experience is something that you don’t get until just after you need it.” – Steven Wright.

Step 4.2 – reduce page revisions (via WordPress settings)

Now that the cache is all sorted. It is time to do something about reducing the website size. I wanted to try to do this by reducing the number of page revisions. That way I didn’t have to store every past copy of an article. However as I was looking in to it. I realised that I could not find it in the settings. Any of them. And upon getting frustrated and asking ChatGPT. It told me that there is no setting in the WordPress GUI for it. Upon reading this I decided that this tangent was simply not worth the time and effort. Of trying, testing, and verifying. At least not at this moment. It is a project in itself. We have to keep moving while we have momentum.

(You may wonder as to why I would keep this section here, if nothing got done? It is because I am documenting my workflow. And often I would hit dead-ends like this. Although this isn’t necessarily a dead end; it’s just a side-quest that is going to take more time and effort than which I have portioned for it. It is important to know when to move on with these things. I will pin it for a future visit however, as I find the topic interesting.)

Step 4.3 – close FTP functionality (via host provider settings)

This is a perfect exemplar that demonstrates the clean up analogy I used previously. Here we put away our tools so that they don’t cause any issues in the future. Here we close/remove the FTP connections that we setup in order to access and download the website previously. This closes a potential attack vector to the website going forwards. If you need to use FTP again, just set it up again if and when you need it. Keep it while you need it, and then remove it when the job is done. It is good general OPSEC.

Step 4.4 – verify that the job (and clean-up) is done.

Verify stage. Test the website thoroughly. Flip through a lot of pages, scroll, refresh. Close it and reopen. Across different devices (mobile/desktop), and browsers. Until one’s mind is set to ease. This is the final housekeeping task. It is the last look before turning off to do something new. Once satisfied that nothing was missed. Nothing in the project. Either the project piece itself, or the clean up after. Then we are actually done.

Acronyms used

AI – Artificial Intelligence
BH – BlueHost
ChatGPT – Chat Generative Pre-trained Transformer
DDG – DuckDuckGo
GUI – Graphics User Interface
FTP – File Transfer Protocol
HTML – Hypertext Markup Language
IRC – Inter Relay Chat
LLM – Large Language Model
OPSEC – Operational Security
OS – Operating System
PC – Personal Computer
PHP – “PHP: Hypertext Preprocessor” (recursive acronym)
PDN – Public Display Network
PVA – Polyvinyl Acetate (glue)
PW – Password
SEO – Search Engine Optimisation
SQL – Structured Query Language
SSH – Secure SHell
SSO – Single Sign On
TFA/2FA – 2/Two Factor Authentication
UI – User Interface
WP – WordPress

Closing thoughts

I am finishing this article on the 22nd of October 2026. Around two/three weeks after this issue was fixed and it seems like it has not resurfaced. In the interim a mechanism for replanting the spam footer file has not been activated. This means that in all likelihood I solved this problem. I identified and removed the malicious file causing the spam footer, and likely purged the files that constituted the security hole that allowed ‘worked.php’ to be implanted within the ‘mu-plugins’ directory in the first place.

Unfortunately I did this without knowing the exact file vector that the hacker used to infiltrate my website. It was likely one of the out-of-date themes or plugins that were deleted. However I cannot know for certain at this point. Additionally I did not record key information that could serve as clues, such as the file creation date/time of “worked.php”, or last modification date/time of all the themes/plugins. Alas. What I do know is that A Tinkerer’s Blog seems safe (enough for now).

Since I now have a copy of the website archived locally (while actively infected); with all the out-dated themes and plugins. I could pore-over them to see if their code deviates from the official versions of that same revision (version number). To compare and contrast, looking for modifications. OR edit timings that match up with ‘worked.php’.

Additionally I could try to look up news of security holes within their general architecture. (If no code mods are found.) However that is like looking for a needle in a haystack in my opinion. Including using AI, because the robustness of an LLM’s output for extremely technical or niche things such as this, often relies on excellent prompting. Guided prompts that require a high degree of working knowledge on the subject. Something that I do not have.

Without labouring the point too much – I want to say that there is a lot more that I could do with what I have here. In order to find out exactly what happened. However that would require an order of magnitude more concerted effort on my behalf to get results. Something that I am not inclined to do at this season of my life. I hope that I do not sound like I am lazy, it’s more that I have pressures on my time and attention that are of a higher priority than finding out exactly how my website was compromised.

If I do decide to pursue this in the future. I will of-course post about it here.

Thank you for reading (my spam free article <3).

#0044: How I make basic pixel art animations

#0044: How I make basic pixel art animations

Preamble

I wanted to make a guide to how I cobble together the basic pixel art animations for A Tinkerer’s Blog. This is before learning how to do this type of stuff at a more professional level; by learning the methods in a formal course. Something I intend to pick up once my workload lightens. This is just the way I do it now. Something I wish to document for posterity. Please note that my skill level is very basic. However, I think it is also very serviceable for decorating Mein Blog. And that is enough for now. Additionally, this guide will include how to make other GIFs from images as well. Not just pixel art. Enjoy.

Tools used

Hardware:

  • Lenovo Thinkpad X230 laptop (Intel Core i5)

Programs:

  • GIMP
  • ImageMagick
  • image viewers (qview, xviewer)
  • browsers (Brave, Firefox)
  • xed text editor
  • VLC media player

Making pixel art images (using GIMP)

Creating initial image

I start by opening GIMP, my graphics editor of choice on the Linux platform. Here I created a 16×16 pixel square (256-pixel image). This is the blank slate for most of my art. With a 16×16 grid, a single-pixel (1×1) sized pen/pencil tool can be used to draw effectively. As it makes a really clean line, that also fits well mathematically for making symmetrical images.

I will use my “Tired Smiley” image as an example. The symmetry of it makes it easy to make. First thing I do is draw out guidelines. In this case an ‘x’ cross that segments the image space into 4 identical quadrants. A ‘+’ plus sign cross is good too, as are both of them overlaid. Although the plus sign would have to be 2 pixels thick to be symmetrical within this grid. Use whichever you feel you need.

I recommend using bold colours for guidelines to make them pop. I.e for easy visibility. Like a hi-viz vest in a forest. The only rule for colour choice is that the chosen colour (or a similar colour) must not be used within the image itself. Because of that I tend to go for: hot pinks, neon hues, bright reds, or bright blues. Any colour that will heavily contrast against the image’s general colour palette.

Now, using the guidelines it becomes a simple enough endeavour to key in something resembling a curve in one of the quadrants. Then using GIMP’s built-in functionality: copy that quadrant, paste it onto a new layer, then flip/rotate that layer to cover one of the other three quadrants. Repeat until we have a full circle across four different layers, then flatten to a single layer. This is a very easy way to make a circle.

After this I drew in the facial features, and saved that as a single layer. Then made several other versions, and had them on their own layers. Cleaned up the image, hid the guidelines and background. Then exported each face layer as its own image. And named them accordingly.

Naming files

I chose to name them ‘PA_TS_0_16x16’, and incremented the number for each additional image. It stands for ‘Pixel-Art_Tired-Smiley_0_16x16’. I recommend inserting the image dimensions as a filename addendum. This is especially useful when working with varying sized versions of the same images. Something we will be doing here.

Continuing. The incremental filename numbering makes it easy to keep adding images into a sequence (i.e. animation frames). This is as opposed to descriptive naming, which would require active thinking for naming each individual image. Incurring unnecessary mental overhead (i.e. fatigue). In addition it will extend the length, as well as remove the uniformity of the filenames. Two factors that are undesirable when organising the files for the animation. Especially when using a TUI.

I like to keep the names short since we will be working with them in the terminal. In other words we’ll have to write them out, and have to read them there too. Long names (or overly differentiated descriptive names) can make the output confusing, especially once they start spilling over into new lines. Additionally, for formatting: it is advisable to NOT have any spaces in the filenames. It makes working with them more cumbersome, since one will have to use quotation marks each time a reference to that filename is made.

While discussing file naming conventions, I’ll add that since this is a blinking animation I like to thematically link the zero in the filename with an open eye, and the 1 with a closed one. Because typographically they look like that. So I assign them accordingly. A silly little detail I know, and one hardly worth mentioning. However it is solely because I try to work with, not against my built-in eccentricities; as they can undermine my efforts later on in the process if ignored in the moment.

This comes usually in the form of incorrect implicit assumptions when working with data. Where one forgets the actual setup between sessions; leaving the internal schemas, biases, and implicit assumptions to kick in, in a bid to unconsciously bridge gaps in one’s knowledge. Often upsetting the workflow later down the line, when the errors are finally revealed. This is something to be cognisant of. Try to work with yourself when you can. Use the tool YOU have. Otherwise get used to going back and correcting a session’s worth of contributions. Ask me how I know.

Animation mock-up demonstration

Separate project files for each image

Next. I decided to edit each exported image in its own XCF project file. Here I scaled up each image by ten times to 160×160. Be mindful to set the ‘Interpolation’ under the ‘Quality’ settings to ‘None’. Otherwise the resultant scaled-up image would have blurry/fuzzy edges. And translucent border pixels, something that will become an issue later. At the very least this spoils the sharp pixel art aesthetic.

I recommend scaling each image in its own dedicated project file, as a final task. Because if you scale-up the main project file. You’ll have to undo it back to 16×16 every time you wish to make an edit to the core images. I stipulate ‘undo’, and not say scale back down; because scaling down from a larger image to a smaller one often damages the fidelity of that image. It is unlikely in my opinion to regain a pixel-perfect copy of the original image in this manner. This is because image scaling relies on algorithms. It is a machine guessing at what an image should look like at different sizes, with different pixel densities. Hence, it is fine for a project to have multiple project files to avoid this, as long as they are labelled descriptively. Once ready: export each image in PNG format.

Additionally before I move on, I will say that to make longer or taller images; one could either add another 16×16 to the initial canvas size, before the scale up. Or alternatively make a separate 16×16 image then join it to the primary after the resize; on a larger canvas used for the composition and layout of the final image. The example image below, is not a perfect example because I don’t remember whether I employed this particular method, or something analogous.

Making the animation (using ImageMagick)

Basic method

Now that we have the four 160×160 PNG images ready. It is time to make the animation. This is where ImageMagick comes into play. Within the terminal we will use the ‘convert’ command from the ImageMagick suite. There are two relevant parameters with arguments to pass to the program. The first is ‘-delay’, this denotes the time (in 10 milliseconds) each frame is shown within the animation. (I.e. ‘-delay 100’ = 1 second.) The second is ‘-loop’, this denotes how many times the animation sequence loops. 0 being infinite.

The example below uses a wildcard marker (‘*’) to include all files in that directory that contain the ‘.png’ file extension. However, alternatively one could name all the files manually. This is useful when the ordering of the files is especially important. Such as when reusing previously used images for more than one frame in an animation sequence, or when desiring some frames to be displayed longer than others.

Syntax:

$ program_name -parameter argument -parameter argument input_files(list_of_images.png) output_image.gif

Example command:

$ convert -delay 120 -loop 0 *.png result.gif

Exploring causes of visual errors

The first result – a four frame test animation using the method above – has a colour error within it for some reason. Frames 2 and 3 are colour inverted. Why? I don’t know. At least I did not know initially. ChatGPT tells me that there is no notable issue within the GIF file outputted. And after a little A-B testing, I realised that this display error only occurred within the ‘xviewer’ image viewer program, and not others such as ‘qview’. Additionally when displayed via a browser it also rendered as expected. So this was an issue particularly within my default image viewer program. This is something that you should be aware of. Just because a file displays oddly, doesn’t necessarily mean that the issue is within the file itself. As is often assumed.

Animated GIF displayed on xviewer

Animated GIF displayed on qview

Information on image formats

Before moving on I will make you aware of one thing here. Different image formats have different intrinsic qualities that you should be aware of. In this case, PNG images support a varying or gradual alpha level. In other words: image/pixel translucency. Whereas GIF images have a binary alpha level. A given GIF pixel is either opaque or transparent. Nothing in between. It is not a problem for my pixel art in general, as I do not make use of translucent pixels. However, it would be if, say, I wanted to make an animated GIF of the Pokemon Ghastly with its vapours clouding around it. That is an issue for another day. :/

Using a plan file

ImageMagick has a fair few parameters one could pass to it. Ones that stipulate the background, alpha, colour mapping.. all sorts. However, my personal credo is KISS. Keep it simple stupid. In this regard, I only use the absolutely necessary ones that I need to use.

However, there is one complication that I need to add. Instead of the wildcard selecting all files in order, as I mentioned above – I wanted to manually list the image files in the order that I wish them to appear. While reusing images, and having other images stay displayed for twice the allotted standard time. To do this start with an image sequence plan.

Extract from plan file:

// animation setup
Animation sequence: 0,0,0,0, 0,1,0,1, 0,1,1,0, 2,3,0,1, repeat.
Frame speed: 1.2 seconds

// terminal command
convert -delay 120 -loop 0 PA_TS_0_160x160.png PA_TS_0_160x160.png PA_TS_0_160x160.png PA_TS_0_160x160.png PA_TS_0_160x160.png PA_TS_1_160x160.png PA_TS_0_160x160.png PA_TS_1_160x160.png PA_TS_0_160x160.png PA_TS_1_160x160.png PA_TS_1_160x160.png PA_TS_0_160x160.png PA_TS_2_160x160.png PA_TS_3_160x160.png PA_TS_0_160x160.png PA_TS_1_160x160.png PA_tired_smiley_animation.gif

You see all the code written above? Imagine having to go back and forth tweaking that. It looks tedious honestly. That is why I recommend as a best practice, to create a separate plan file for your animated image. This doesn’t take long. However it makes it significantly simpler/easier to organise the animation. As it has all the information required for the animation, as well as the (easily editable) command written within the text editor. I recommend writing the shell command fully within the text editor, saving it (for posterity), then when ready to execute – just copy and paste it into the terminal. This avoids any back and forth, editing within the terminal.

Pixel Art Tired Smiley Animation image

no alpha version

GIF plan file

Making a non-pixel art GIF animation

This is very easy: simply capture the images you wish to use as animation frames, then size them appropriately for the GIF. This usually means reducing their dimensions. Use interpolation if you don’t need the clean sharp lines of pixel art. Convert files to GIF format. This lets you preview something of the final quality, or at the very least appreciate the step-down in image fidelity. You may have another within the outputted animated GIF. Although it shouldn’t be as large of a step-down incurred by the initial conversion from PNG to GIF. Moving on. Make sure all image files are uniform in dimension. Then create a plan file like above, and run the command when you are satisfied with it. Done.

For my example: I used VLC player’s snapshot feature while watching a Cowboy Bebop episode. Caught 2 frames of Edward blinking in shock after an explosion. Using GIMP I scaled them down by 50% and trimmed their canvas to 480×360. Then converted their file type from VLC’s PNG to GIF. This caused a notable loss in image quality. That’s fine. It came with a significant file-size reduction. (-66%.) Then I wrote a plan file for how I wanted the animation to display the two frames. Wrote out the command within the plan file. Tweaked it until satisfied. Then. Copy, paste, run. Done.

Image quality side-by-side comparison

File size reduction demonstration

Edward blinking animation image

GIF plan file

Closing thoughts

The technical process of creating animated GIFs is actually very simple. Because of that, there is little commentary to have on it here that hasn’t already been said. So instead I will opine on a tangential matter. The cool thing about the Linux platform is that the majority of software available is FOSS. On this platform, users have access to robust productivity tools, that are provided free of charge. And with little to no tangible usage restrictions. So any method I demonstrate here, will have no financial barriers preventing people from achieving their goals. These being in the form of commercial programs, or paid services.

I wanted to write this article as a way of documenting this process. A process whose fruits are evidenced on dis blog. This is the method that I personally use to create my pixel art animations. (As of 2026-10-30, and likely going forwards.)

Thank you for reading.

Acronyms used

FOSS – Free and Open Source Software
KISS – Keep It Simple Stupid
GIF – Graphics Interchange Format
GIMP – GNU Image Manipulation Program
PNG – Portable Network Graphics
TUI – Text User Interface
VLC – VideoLAN Client (i.e. VLC media player)
XCF – eXperimental Computing Facility

Links, references, and further reading

#0040: 1 Day Challenge Article: My opinion on AI technologies

#0040: 1 Day Challenge Article: My opinion on AI technologies

NOTE: This article may have used AI, but was definitely written by an ape.

Preamble

I should state that I have not written anything in a while. Predominately I blame busyness. (It is the most common form of laziness after-all.) However perfectionism is also a solid secondary as to why my output here is so low. I have strangled many articles that I found 80% satisfactory. But I just couldn’t press publish because I knew that if I just put a little more effort into them they could be great. One more read through, and rewrite, one more supporting paragraph. One more edit to trim the fat. This all adds on and exhausts me to the point that the draft gets put on ice… Citing that: “I’ll do it when I have a little more time later.”

Well. This exercise is a way of trying to kill both birds with one stone. I want to give myself a solid deadline for making an article. 1 day. From start to finish. Initial notes, media collection, 1st draft, revision edit, and publish. All in a single day. The topic I have chosen for this 1 day article is… AI. More specifically I’d like to generally opine on what I think about AI. As a technology, as a business, and its effects on our lives and culture. It’ll be a rough and ready article.

So without further ado let’s begin.

What is AI? (Or rather what do I mean when I say AI?)

AI stands for Artificial Intelligence. However (thankfully) as of 2026 we don’t yet have a True AI. Id est: a real sentient or sapient intelligence. A self aware entity capable of reflection and personal growth. What we do have is various data manipulation models and scripts that we refer to as AI. Such as Large Language Models (LLMs), or chat bots (e.g. Personal Digital Assistants). I am not going to pretend to know more about this subject than I do – which is not much.

However I am familiar with using generative AI. AI models that create a novel output. Such as text, images, and various other media. As I understand this they do this by creating internal models by copying media that is fed to them. For example ChatGPT collects information by scraping websites then reconstituting that information and passing it to a chat bot which engages the user in conversation. That’s how I broadly understand it. So if you ask it for restaurant recommendations, it will scrape Yell and Google Reviews, then present that information in conversation to the user according to their criteria. E.g. location, food-type, budget, hygiene rating, etcetera.

I will primarily continue to use ChatGPT as an example use case of AI, as it is the one that I am most familiar with by a fair margin, and it is a good generalist that does a little bit of everything. It searches like Google Gemini, it can create images like Mid-journey, it could create code like Claude-code, and so forth. It is a Jack of all trades.

Is AI good for us?

Yes, but mostly no. Hear me out.

Information veracity and reliability

Firstly AI information output can not be implicitly trusted, and hence should not be used in a professional setting. Or any setting where liability may be an issue. ChatGPT warns users of its inherit unreliability within the chat box itself. Observe their disclaimer. “ChatGPT can make mistakes. Check important info.” Basically they wash their hands of any liability. How the user uses this information of dubious veracity is entirely up them. As are the consequences. In my opinion this means that AI can not be used for anything of deep importance. At least not as a stand alone source. Think looking up health symptoms, or asking for legal advice.

Why is AI provided information considered unreliable?

Two main reasons pop to mind. One is “AI Hallucinations”. This is were an AI agent would just spew out inaccurate information that it just made up whole cloth, or tried to bridge disparate datums with faulty assumptions. In the YouTube example video, the AI used by these users made up reference cases that either did not exist, or did exist but the AI misrepresented the context and case law that was illustrated in the specific named case. Watch the video.

The second reason why information provided from AI agents shouldn’t be implicitly trusted is to do with its source(s). Where does ChatGPT get its information from? The Internet. Is the internet filled with bad/inaccurate/malicious information? Yes. If it is present in volume, or in publications that the AI considers authoritative. Then is at a real risk of regurgitating the bad information to its users. AI can act like a magnifier for any bad info that is already in circulation. Such as information presented by ideologically captured (once prestigious) institutions, information in a main stream media circular source loop, or information that is in such volume that it could be considered Vox Populi. This is especially dangerous when it is presented by a vocal minority speaking on behalf of the majority across multiple locations online.

AI hallucinating case law references (etcetera.)


https://www.youtube.com/watch?v=bGn1SZuhTys

How to use AI even though the information is unreliable?

I do find it rather funny, because when I was in school I was told not to use Wikipedia.org as a reference for my essays. This is because it is not considered a reliable source; due to its core nature of compiling information from the public with little in the way of information discernment and validation. Wikipedia has the same weakness as modern AI. It draws its information from the public who are inherently unreliable, and from official (e.g. main stream media) sources who have been known to selectively report/omit information in order to push agendas/narratives, based on their political affiliations.

However both can be used constructively when researching a topic. To put it bluntly: they are both a good jumping on point. They are both good for an initial orientation on a subject. As long as you can read and compartmentalise the information provided, attaching a mental asterisks to the information to flag it. So that it is not integrated into one’s world view naively. I genuinely think that many if not most people do not have the ability to do this reliably. (Myself included.) We are too prone to cognitive biases, logical fallacies, first movers advantage… etcetera.

Additionally following Wikipedia’s listed sources is very useful for learning more about a given topic, and finding more authoritative sources on information. For example a book written by the author being studied. ChatGPT likewise can be asked to list its sources. Example prompt: “Can you list and summarise Kuji-In for me please. List sources. Prioritise books as a source.”

AI’s core methodology of replacing people

AI at its core is a technology designed to supplant and replace people. It is marketed to businesses as a way to replace staff. And save money by not having to pay their wages. At least initially, it seems as of 2026 the marketing has shifted tenor from “replacing” staff, to “augmenting” staff in order to increase productivity. Marketing bullshit. At the end of the day it has the same results. The technology’s presence lowers the need/demand for staff in general.

This means that it is fundamentally bad for the economy. As it causes job losses. Especially in the white collar office worker sector. Who are usually from an upper-working to middle class background. People who constitute the largest population of people with significant disposable income. This disposable income fuels the economies of the West, especially the UK. Which is primarily in the tertiary sector. And this demographic is the primary consumer base. Who buys the daily Starbucks/Costa coffee on the way to work every day? Who buys lunch every day? Who spends the most on restaurant food delivery? Or taxi services? Or is remodelling their house every 7th year, or replacing their cars every 5th?

Is it the once in a while purchases (assuming fiscally responsible) of the lower working class or underclass (benefits people), or is it the upper classes who aren’t in significant numbers enough to drive public consumption trends. No. It’s the exact demographic of people most affected/displaced by AI. There will be negative down stream to service workers and the tradesmen that service this demographic. Damaging the purchasing power of the core consumer bulk in a service economy country like the UK, will have significant negative fallout on all sectors and people.

AI’s frivolous use cases

Whenever I see AI being advertised to consumers. (Not businesses like above.) The use case always seems to be frivolous and largely unnecessary. many times it is designed to help the user avoid putting in any effort into their own life. Consider the example official advertisements that I have cherry picked here. Look at the situations where the consumer find themselves in, and how they use the AI to get out of it, as well as their conduct and mentality. The people featured seem like low quality trash people. They lie to the people around them, they are lazy, and they are irresponsible: often leaving things to the last minute. AI is being presented here as a tool to enable idiots. Just my opinion.

Also look at the ChatGPT ad of “You can just finish the work”, notice how it cuts the user out of the loop. There is great danger in allowing a computer to remove you from the process. It aggregates all the information in the files provided, creates a presentation for upper management, and sends it. All without user oversight. Just liability/blame if anything goes wrong. I wonder what could go wrong with that? It’s all too easy to show one’s arse with this over-reliance on automation. Building habits that enable complacency.

Look at the below adverts. All for AI personal agents. ChatGPT, Meta AI, Adobe Acrobat AI, and HP AI. All different companies. However the core use case is the same. Offloading cognitive labour from the user’s brain to the machine. What people don’t realise about short cuts, is that they ultimately harm you more than they help. Offloading cognitive labour, enables laziness and is an opportunity lost at learning (and hence growing). This tech is a crutch, that will guarantee that the patient will never walk straight again.

“You can just finish the work” ChatGPT advert


https://www.youtube.com/watch?v=-vvGAKtV_Ek

Signing off on work that you did not review. What could go wrong?

Your personal AI. The new Meta AI app.


https://www.youtube.com/watch?v=2l_2k5KrXmo

Call your wife, control your cat, change tanks idiot.

Meet Kat Dennings’s newest personal assistant, Acrobat AI Assistant


https://www.youtube.com/watch?v=Xh2nsY9tQzs

Lie to your colleagues about work, and irresponsibly sign contracts base on summaries.

HP AI Companion


https://www.youtube.com/watch?v=qL7kr1ckgDE

Can’t be bothered to read the reference materials, yet somehow can write loads base off of a summary.

AI and Privacy

I know that the modern man seriously does not care a lick about their own privacy. Often citing a defeatist rhetoric to justify their inaction, or active participation against their best interests in this manner. However I would feel remiss if I did not state the privacy concerns regarding AI.

One. People tell these things way too much private/personal information. Thinking that these machines are a black box, where nothing dropped into it will ever comeback to them. What people don’t realise (or perhaps do but don’t care) is that the box has a hatch that opens up at the back. And its technicians and owners see all via that hatch. Now you have strangers holding your private, personal, or otherwise sensitive information. People don’t appreciate the leverage that the masters of the tool now have over the users that do these things. At the very least, it could be used for highly effective targeted advertisement, or selling the data to third parties.

Above refers to service like ChatGPT the phone app, or website. Positions where the data they have is the data that users gave them via prompts. However AI that has complete access to user’s OSes, completely compromises the entire PC. From a security standpoint. This one really shivered my timbers. Who the fuck would give another person (or their agent) complete access to their private computer?

I can envision a situation where a machine sifting through a user’s files for a task: finds a media files that it flags as illegal for whatever reason. Then due to mandatory reporting policy – one in the EULA that the user didn’t read – reports the user to the authorities. Suddenly police are in your home, your PC is being seized, and reports are being made. All over what could amount to nothing. Cartoonishly extreme I know, but not outside the realm of real possibility. A more mundane example would be that the AI attaches private files to emails, shared projects, or correspondence that you may have wished it did not. It is a security risk in this regard.

ChatGPT can now complete tasks on your computer


https://www.youtube.com/watch?v=dB6pOolO7io

What is Microsoft 365 Copilot and how to use it | Microsoft


https://www.youtube.com/watch?v=zqH-HtQbaeU

AI damaging its own ecosystem

This isn’t an environmental complaint, although there are plenty of those in regards to data centres, electricity consumption, and water use. I am not knowledgable, nor interested enough to talk on that. This is about the information ecosystem.

I would like to put forth the idea that AI products act as parasites. Hurting the very host they need to live. The specific AI product I want to example are AI summaries built into search engines. Like Google, and DuckDuckGo. (Note: I was surprised that Bing and Yahoo did not have AI search summaries.) Consider what an AI search engine summary actually does. It scrapes the information from third party websites to then present it to the user in an edited and easily digestible format. This process completely usurps the actual NEED for the user to visit the source websites themselves. This means that the user is satisfied without visiting and patronising the underlying websites from which the information was sourced. Usually by seeing third party adverts on these sites. This results in the business of running a website becoming less profitable, and even less viable.

Meaning that the presence of the AI summary actively damages the source that it itself uses to function. Like a parasite leaching off of a host. If the parasite gets strong enough or numerous enough it could even kill the host. Which would quickly cause the parasite to starve to death (assuming it couldn’t locate a new host). These AI summaries actively starve the very websites they use for information from the funding that keeps them alive. This means that the number and quality of source websites will diminish as AI summary use expands. A true example of the enshitification of the Internet.

Who is to blame for this? Is is the avaricious corporation, or the lazy convenience-addicted habitual path-of-least-resistance walking consumer? Why not both? My point is that the core financial incentive for people to put good information on the Internet, is actively damaged by the AI search summary tool. Which needs that good information to be of any use at all. It’s actually a sad situation. A starving snake eating its own tail out of necessity. Or maybe a better analogy would be a farmer who poison his own land by driving a leaking harvester.

I’ve herd people advocate for the idea of a revenue share with the source websites to offset this market usurpation. And it might work. Maybe if companies all of a sudden decide that they care about the future, and not about short term quarterly returns for shareholders. Unfortunately they are simply not structured in a way where they are incentivised to care about the future in any real respect. Obviously this is just my opinion on this.

Is AI a business fad?

I will say little on this for risk of really showing my ignorance. What I will say is that I have seen many people compare the “AI bubble” to the “Dot-COM bubble”. Apparently in the early 2000s there was a fad where every major business felt the need to incorporate web services into their business regardless of whether it made sense for them personally, or not. It was predominantly done to acquire share holder funds, by projecting the image of a forward thinking and growing business. Regardless of whether or not the website services that they advertised to prospective share holders actually had any value within them. I think the actual dot-com bubble was about primarily web businesses that did nothing but suck up share holder money, that is until the jig was upped.

I see an analogue in AI technologies today. It seems like every company in the technology sector has AI services which they advertise proudly. Regardless of use or relevance to their primary business model. And even outside of the tech sector, every other large corporation has some kind of AI service available — many of which are useless. Just there to tell prospective shareholders that your business has a foot in AI. And hence are a modern, forward looking, and growing company. It’s all surface level appearance based marketing to make their business more appealing to the cursory inspections of shareholders.

Is AI a bubble?

As a roll on from the fad conversation, I want to briefly discuss the future of the AI from a business prospective. I have heard rumblings of an AI bubble bursting. Once the naive investor money dries up that is. This is because AI products are largely not profitable. Id Est: they do not make more money, than they cost to develop and run day-to-day. In addition I have see an image circulating around the internet of how incestuous the funding actually is with big-tech companies and AI. Observe below. This implies that the money input (from outside sources) is fading, and instead companies are playing a game of hot-potato with debt and circular funding. A game that will eventually fail once one company defaults on a loan. Which would then cause a domino effect; that could then cause the collapse of the entire sector as a consequence.

The 7 Trillion AI Gamble Is Failing. Big Tech is TRAPPED Right NOW.


https://www.youtube.com/watch?v=OunJtLnyPT4

AI Bubble: Nvidia is looking desperate as circular financing gets dangerous | Ed Zitron


https://www.youtube.com/watch?v=_1vSlv32MWo

AI and social media

This is where I will throw around the term “Dead Internet Theory”. It is a theory that human users are becoming rarer and rarer on the Internet to the point that we could be drowned out by machines in the near future if we haven’t been so already. Bots communicating with bots en-masse. I personally think that it is not the case, at least not yet. However the presence of machines on the Internet is no longer something that could be denied.

Consider the YouTube comments sections. How many of those comments are from actual people? I have seen many that are obviously a chain of bot accounts replaying to each other trying to sell a product. Be it some no-name’s course, or a random shit-coin that someone wants to pump, or just some scammer’s Whatsapp. These comment chains usually come in the format of a comment that is tangentially related to the video content, that then mentions its product in passing, or asks for a solution. Then followed by reply accounts saying something like X product/service really helped me. Etcetera.

The scam adverting bots are easy to identify. However ones that are not are the political narrative bots. Let me ask you a question. Say that you are watching a politically divisive video. Then you scroll down to the comments section. How do you tell the difference between a bot and an NPC. A bot designed to mindlessly rattle off from a prescribed script. Compared to a human who is a tribally captured useful idiot online, rattling out buzz words, slogans, talking points, and rhetoric, as well as regurgitating statistics that they half remember from tribal sources. How do you tell the difference between a machine reading from a script, and a person reciting dogma? I personally don’t know. What I do see is the sheer volume of vitriol, or dare I say the word: “misinformation” on certain topics by suspect accounts.

“You are not immune to propaganda”


https://www.youtube.com/shorts/KzjHNSRgHJ8

What makes an account suspect of being a bot?

Account age, geographic location, topic under discussion, and account username formatting. That is typically what sets off flags for me. Say all the people with very strong opinions are all new accounts, with no history on the platform. Now consider that all the accounts are from areas known for having bot farms such as China or India. All commenting on a video exclusively discussing US politics. Perhaps the topic under discussing has political relevance/significance to either a national power, or group of interest who would have the resources and would benefit from shaping online discourse/discussion on the topic. And finally bot accounts tend to be made using scripts, hence they will typically have a rhyme and reason to them. A pattern, or template that they all use. For example “john-smith-8783hukhfs”. First name, hyphen, second name, followed by a random string of numbers and letters. There is no hard rules for spotting bots, it’s more of a loose criteria that increases classification confidence. Like I said earlier, it is very difficult to tell the difference between a brainless machine, and a genuine living idiot. Both are incapable of independent thinking.

Bots in the YouTube comments sections example images

(check the full size files linked at the bottom of the article)

AI, culture, marketing, and public opinion

In my view the public opinion of AI has soured across the board. With people becoming increasingly more aware of all the negative affects of AI. Exaggerated or otherwise, a cloud is gathering around the perception of AI in general. Everything from job losses, increased wealth disparity, shrinking middle-class, loss of privacy, increased sophistication of surveillance methods and software – such as facial recognition, to increased RAM and GPU costs. The blame of which is being placed at the feet of AI.

Then add to that the AI tools that actively hurt the ecosystems that they draw from such as image creation tools that use artists work to create their own renders, only to then compete with them for customers. This sentiment is especially pronounced in nerd spaces. I often see YT videos denouncing any AI use, and pointing out AI channels as inferior in quality as well as morally. AI channels are often portrayed as artistically bankrupt thieves in these circles. And within the documentary space, they are known to be rife with unchecked misinformation and historical/factual errors.

Now from the customers perspective AI products are often looked upon as being of inferior quality. Hence use of terms such as “AI slop”. Poor quality videos whose target audience are gullible, easy to dupe people. Such as AI posts on Facebook for older audiences who may lack the discernment to identify and dismiss them. Consider the reactions to large corporations when they produce AI adverts, it genuinely hurts their reputation. At least in the short term — although it could be a storm in a teacup. Genuinely hard to tell with online outrage.

Big company AI adverts that have hurt their reputations


https://www.youtube.com/watch?v=Yy6fByUmPuE


https://www.youtube.com/watch?v=eWnP9f-ceqE

AI and technical debt

I see AI tools that create code and honestly I have never seen the purpose of these. Outside of hobbyist artists who want to create a video-game while avoiding the technical side of the creation. For example a visual novel game, or a narratively driven walking simulator. For serious companies/businesses I see little reason for them to use code generation tools, because they create as many problems as they solve. what is the reason a company would want products made by a machine with no oversight. With no one in the company who has intimate knowledge of the product. Hence incurring a huge degree of technical debt making the business dependant on the AI product/service. Because without it, they’d have to fight with an undocumented code-base that is alien in formatting, styling, and structure. And the bigger the codebase, the deeper the hole. The more AI is used the more AI needs to be used to keep the cobbled together boat afloat long enough to ship deliverables.

AI personal use

I am running out of time here so I have to move on. I want to discuss AI in my life. How I use it. I use ChatGPT, Duck.AI (which uses ChatGPT), and that’s about it. The funny thing is that I have not paid a penny to use these services. Typically I either use ChatGPT as a search engine, a first call for finding information quickly. Or I use it as for basic image generation.

Yes. Gasp! Despite all the moral grandstanding that it may have seemed like I was taking up against AI use in general; I use AI every day… I just don’t value it enough to pay for it. All my use cases are rather shallow, I either use it to search and sum things up, usually things of low stakes. Or I use it to generate images for my Dungeons and Dragons campaign — something that I would not pay money for. For example commission artwork. AI use in my opinion is in a similar vein to piracy. It is not theft, not does it represent a loss of a legitimate sale. A pirate is not a lost customer. Nor is a pirate a thief. A pirate is a pirate.

I use a free ChatGPT account. Which gives around 3 free image generations a day before it paywalls me. It took around 7 to 11 generations to create a Myconid Warrior wielding Soul Edge (From “Soul Calibur 2”), and a poisoned boomerang. This was done over days because the thing kept generating it wrong. Adding in details that I did not stipulate, or taking away things that I did state on an earlier iteration. It is an annoying process, and one has to learn to accept something that is 70% good-enough, rather than wasting time, energy, and tokens, additionally prompting for decreased returns.

Look at the image of the Myconid Warrior. It took several iterations to get the sword to not be held upside-down in it’s hand. I even had to create a mock up reference image for it to use as a template. I just don’t see a reason to give them any money. Additionally if ChatGPT went away, or terminated this service. Then I would just use another free image creation to make these reference images. And if they went away too (likely because they used ChatGPT under the bonnet), then I would do without. Using official artwork or random Google images to illustrate what I am describing to my players. It is not a big loss. I think I will elaborate more on this in a dedicated article, when I do I will link it below.

Acronyms used

AI – Artificial Intelligence
ChatGPT – Chat Generative Pre-trained Transformer
EULA – End User Licence Agreement
GPU – Graphics Processing Unit
HP AI – Hewlett-Packard AI
LLMs – Large Language Models
NPC – Non Player Character
OS – Operating System
PC – Personal Computer
RAM – Random Access Memory
US – United States
YT – YouTube

Closing thoughts

I am wrapping this article up as of 18:50 2026-08-15. Considering that I started this challenge at 14:00 on 2026-08-14. Already past midday for a 1-day challenge… It is safe to say that this challenge has been failed. Initial writing of article 1st draft at 12:00 2026-08-15 and published 22:16. However failed successfully. I do have an article done. Only it is a day late, and a dollar short.

This isn’t my greatest work I’ll admit. However it has revelled to me how little I actually know about this subject. Any one of the subject paragraphs above could be expanded into an essay of their own. With an equal exertion of research (an time) necessary. However this article has broadly outlined my current understanding of AI in general, as well as demonstrated my attitude towards the technology… Reading it back: I may actually be an AI Luddite. I seem to have the general depth of knowledge of a Luddite. The lack of differentiation between different technologies illustrates this well. It’s all AI baby — especially the tech that isn’t. 😉

Anyway. I’ll leave you with a relevant quote.

“I would have written a shorter letter, but I did not have the time.” – Blaise Pascal

Thank you for reading.

Links, references, files, and further reading

#0039: How to access the URL address of YouTube video adverts

#0039: How to access the URL address of YouTube video adverts

Preamble

If you are anything like me: then at one point or another you have come across an interesting YouTube advert. One that you may have wished to save for whatever reason. This article is a brief guide as to how to go about doing that. Primarily, this article is focused upon quickly acquiring an advert video’s unique URL. This is the direct address of the video itself. This can be done as and when an advert appears, without using any external tools.

However, once you have acquired an advert video’s URL – you may then wish to apply additional tools to download the video file itself. A few of which are recommended below. By the way, this method only works on desktop PCs. (I.e. not mobile device OSes such as Android or iOS.) This is because the specific steps illustrated here require a typical desktop web-browser. Although, there is very likely an alternative method for mobile operating systems; that achieves this same goal. However, that method is outside the scope of this article.

A note on the time sensitive nature of information presented herein

Please be advised: since the information presented here pertains to a specific niche functionality within the live version of the YouTube website. A website that is in a state of constant iterative development. I cannot speak to the forward looking accuracy of this information.

In other words: This method may cease to work on any given day. This is especially true if any significant changes are made to any of the website functions referenced within this method. Or even to underlying/invisible support functions not mentioned. The likelihood of which increases with time elapsed since initial publication of this article. This method works as of December of 2023.

[2026-05-14] EDITOR’S NOTE: This method works as of May of 2026. I kept the original written date in to demonstrate how long some of these articles can remain in stasis. I.e. Done. But not published for whatever reason.

What is an “unlisted video”?

Before we go on, we need to understand something of the nature of the files that we are after. Within the context of the YouTube website: an unlisted video is a video with zero discoverability. Basically, it does not show up when using either YouTube’s video search functionality; or a third party search engine like Google, Bing, or DuckDuckGo’s video search functionality. This is because search services of this kind only return publicly listed videos. In addition, unlisted videos are also not served to users via recommendation algorithms, for the same reason. They are simply not in the pool of applicable videos. You could even navigate to a specific YT channel that hosts known unlisted videos and they would not appear.

The “unlisted” status is typically used for videos that are intended to remain undiscoverable to the general public. Although these videos can still be distributed, albeit in an alternative and limited manner by design. Broadly speaking there are three main ways to distribute unlisted videos. Manually, private directories, and distribution algorithms.

Manually. This is usually done by the video owner providing the recipient(s) with a direct URL address. (E.g. via email, Whatsapp, X, or whathaveyou). Simple. The second method is by listing the video address in a directory somewhere for selective/limited discoverability. For example using YouTube’s (comparatively excellent) infrastructure to host videos that are then linked behind a paywall in a member’s only section of a third-party website. Such as in the case of a WordPress hobby blog wanting to deliver videos to its paid membership as a premium user perk.

Imagine a blog where someone paints Warhammer 40K miniatures, and writes about their painting techniques, choice of paints, tools, and general work-flow. It’s all images and text. In addition to this they have a 3 hour long video of painting the miniature in real time, for premium members who wish to see the methods implemented in this manner. WordPress cannot natively host this video, however you could embed the video into the article, and have a banner over it asking the user to log in to access it. (Please verify this claim.)

Now, this type of thing was more prominent before YouTube started hosting members-only videos itself. Likely as a response to this exact phenomenon. Since it used to cost them money hosting and delivering the media in this manner, albeit with no reciprocal benefit. I don’t even think YT runs adverts on unlisted videos by default. “Think” being the operative word here. I just don’t see many people actually seeing the unlisted video in its default state to enable an ad to be ran on it. In addition many unlisted videos would be delivered in a particular way where a pre-roll ad would not be viable. For example if the unlisted video was an advert itself (look below).

So why are we discussing unlisted videos? Unlisted videos are specified here because all of the videos (that I have encountered) being actively used for advertisement purposes are unlisted in status. Only existing on YouTube’s servers for the purpose of being served to an audience under select conditions. Such as a 15 second video configured for an un-skippable pre-roll ad spot, or a 3 minute skippable video designated for a mid-roll ad spot. And since these are the exact videos that we are trying to acquire, we must acquaint ourselves with the circumstances and characteristics that they are presented in, and with respectively.

Tools used

  • Desktop computer (laptop) running a Linux Mint OS
  • Mozilla Firefox (web browser)
  • (optional) OS built-in screenshot software
  • Xed (text editor program)
  • 3rd party video downloading programs/services
  • “Easy Youtube Video Downloader Express” (Firefox add-on program)
  • “youtube-dl” (Linux terminal program)
  • “turboscribe.ai/downloader/youtube/video” (website service)

Method: Step-by-step

1) Quickly pause the advertisement video before it ends.

2) Right-click on the video and choose the “Stats for nerds” option.

This will give you a pop-up containing detailed information regarding the currently displayed video. Note that, at the time of writing, YouTube’s right-click menu for advert videos has significantly less menu items than their regular videos. Including the menu item “Copy video URL”. Which is basically what we are trying to do here.

3) Look at data labelled “Video ID”.

It’s an alphanumeric code that should look something like this: “MEOZkf4imaM”.

4) Copy that code.

Either highlight it with the mouse, right-click and select “copy” from the drop-down menu. Or if that ability is disabled for whatever reason, then use the keyboard shortcuts CTRL-C CTRL-V to copy and paste the URL. You could even manually type the code into a text editor. Be mindful however: it is case-sensitive. Additionally, I would recommend taking a quick screenshot at this point for future reference. Just in case it all disappears whilst you’re faffing about with this.

[2026-05-14] EDITOR’S NOTE: YT no longer allows this text to be highlighted. Let alone copied to clipboard. It now needs to be manually transcribed by eye into a text document. This is an example of an underlying or invisible functionality that was changed in the interim of time. The loss of being able to highlight this text has made the process notably more laborious.

5) Use the basic YouTube video URL address below as a template, and swap out the alphanumeric video code within it for your one.

Example: “https://www.youtube.com/watch?v=dQw4w9WgXcQ“

6) Input this modified URL into the browser address bar, and press enter.

Done. That should bring you to the actual webpage containing the unlisted YouTube video for the advert.

7) (optional) download the video using additional tools.

At this point you may decide to use third-party tools to download the video file itself. Tools such as the Firefox addon “Easy Youtube Video Downloader Express”. Alternatively, the Linux console program “youtube-dl”: could be used to download the video by inputting the URL alone into it. Another option is to use an online website that downloads YT videos like “turboscribe.ai” – just to name a random one that worked at the time of publication. Not necessarily recommending it here.

Note: please keep in mind that YouTube itself does not want third-party services like the ones mentioned downloading its videos. As this competes directly with a paid service they provide. Namely YouTube Premium, which offers a local video download functionality amongst other services. However a YTP downloaded video is inferior to a third party downloaded video.

This is because the YTP video has a whole host of limitations imposed upon it. Such as only being viewable via the YouTube app. As well as copy-protection, and timed deletions. Basically the app functions as DRM software for the video files stored locally on your device. Curbing users’ ability to manipulate the files as they wish.

This is simply a no-go for me because the main reason I download files is to archive them. The second reason is to play the videos on random ancient devices that serve specific purposes. Such as my tinkering workbench’s android tablet which is solely used to host device manuals/documents and relevant YouTube tutorial videos. This use-case demands files not have any copy protection, nor have any app dependencies, or internet linked features such as timed deletion.

Because of third parties providing a superior service to YouTube itself in this regard; one that affects it’s bottom line. There has been a long going game of cat-and-mouse in regards to YouTube changing the technical format of how it hosts and serves its videos. This is in order to curb the utility and usability of third party tools of all stripes. In a similar vein as to how it handles/fights Ad-blockers. So try out lots of different tools and use whichever works at the time. Also don’t be surprised when the tool that you have become comfortable using for a while, suddenly ceases to work. As that is simply the way of things here. Adapt, adjust, and move on.

Example use-case: blog article

Say I want to write an article about YouTube allowing actual – I mean alleged (no sue plz) scammers to advertise on their platform. I could use the above method to acquire evidence (a copy of the video ad) that I can then store locally without limitations. This is so that it can’t just randomly disappear at a moment’s notice. Case in point – the videos are still up at the time of publication. (Probably because it costs them nothing to leave them up on YT.) However the website that the videos link to is gone-ski. AND their domain is currently (2026-05) available to purchase on the market! Double-dong done-ski!

https://self-sufficiency-network.com/energy/create-unlimited-free-electricity

Just in case they come back from the dead: I’ll say that in all seriousness – obviously these guys are NOT scammers. They just have a method of “harnessing an endless supply of free electricity in the ground” that can be used to power your house. For free. For ever. Which for some reason they can not articulate the basic principles of without invoking fanciful conspiracies of “big energy companies” hiding a “simple device” for a “100 years”. These types always tell a story, spin a narrative in this manner. Then push their audience to click the link in their bio and probably send them money at the least.

The video even ends with a odometer-style counter quickly ratcheting up numbers so you know they are serious. Evoking a sense of urgency as you sympathetically visualise your energy bill rise. With these NOT scams – they either use something like this, or a countdown timer – to evoke a similar sense of urgency. Time is running out! Limited time offer! Hurry before they are all gone! Simple FOMO. (Almost sounds like Latin, eh? Pricks.)

The whole video presentation is obviously targeting non-technical laymen people. The fear angle working especially well on the vulnerable, as it dangles hope in front of them. Hope for a better tomorrow, that could easily be attained with little effort on their behalf. A simple and accessible solution for their life problems. I hate this kind of stuff. Everything from the clueless desperation of the herd, leading themselves to slaughter; to the merciless predation of the scavengers, targeting the weak and the sick. It is a part of our humanity that I do not like dwelling on.

On a more personal note. (Feel free to skip.) Honestly I cannot relate to these types of people in the slightest. I don’t even want to put my face on the consequence-less crap that I write here. Mostly because I want it to stand on its own merits in the void. But also for privacy reasons. As I like having a small online footprint – since it allows me to be nimble in social situations and very often it gives me the opportunity to curate a first impression with a new party. Something that you cannot do when your personal life (or face) is online.

Look at these people: their faces are forever linked to this (alleged) scam for anyone willing to look them up. It is a forever black mark against them. One that could potentially undermine all future prospects. Business, employment, romance, anything – and at any time. You could be halfway through a deal, when the other party are sent this vid of you (allegedly) scamming online a decade ago. And they would be in their right to sever the relationship on the grounds that you may not be an ethical actor. At the very lest it would erode trust/credibility, making future deals less likely. It could genuinely be a reason as why a current employer may sack you, if your work requires elevated trust. Such as working with money or vulnerable people.

The internet is forever… and unforgiving. Don’t forget that. Learn from the mistakes of others. Think of it this way, imagine if any of these men walked into your shop/life. Knowing that they participated in organised (alleged) scams in the past. Would you do business with these tools, even if it happened a while ago? I personally wouldn’t – let someone else take the risk on ’em.

Video Examples

Please note: the featured videos below are used here under fair-use for the purpose of criticism.

American English version

https://www.youtube.com/watch?v=6kz3mkD6LCo

British English version

https://www.youtube.com/watch?v=VvDsH8Fkxd

Acronyms used

DRM – Digital Rights Management
FOMO – Fear Of Missing Out
OS – Operating System
PC – Personal Computer
URL – Uniform Resource Locator
YT – YouTube
YTP – YouTube Premium

Closing thoughts

Firstly, did you enjoy the mini-article within this article. It got preachy quick didn’t it?

Back on task. I like simplicity in most things as a rule. This method is not an exception. Here, I tried to use as few external tools as possible. Using only my default desktop web-browser (any will do) and YouTube’s native functionality in order to access “unlisted” videos. Couple with with common/default OS tools like a text editor, and screenshot program.

As a side and final note: I always find the comments to be interesting under unlisted videos (if they are present that is), because they tend to be made by a select type of individual. The generally inaccessible nature of the video’s homepage acts as a filter for normal people. They tend to say things that are screen-grab worthy. If they haven’t already been deleted that is. Enjoy it when you come across it. Honestly it makes me feel like a net diver. Seeing things that are a little bit off the beaten path like this. It’s cool.

Anyway. Thank you for reading.

Links, references, and further reading

https://www.reddit.com/r/youtube/comments/jiignt/do_your_downloaded_videos_get_deleted_after_you/
https://www.yourvideofile.org/
https://github.com/yt-dlp/yt-dlp
https://turboscribe.ai/downloader/youtube/video
https://logos-world.net/wp-content/uploads/2020/04/YouTube-Logo.png
https://www.linuxmint.com/

#0036: Introduction of a website changelog

#0036: Introduction of a website changelog

Related article: https://www.tinkerersblog.net/personal-blog-entry-2026-08-22-retiring-website-change-log/

Preamble

I initially launched this website in 2020-02, with nothing but the default wordpress “coming soon” page to show for itself. Then after some months (2020-06) I finally managed to get round to actually publishing content onto it. And ever since then, I have been in a continual (albeit sporadic and intermittent) process of revision and iterative improvement.

So after about a year and a half of having this website online and functioning as intended: I now see the potential need for a master changelog here. A public facing log that will record all notable changes made to the website.

Utility of a public facing website changelog

Although this changelog will record all noteworthy changes made to the website as a whole. I specifically see the utility of this website changelog, with regards to noting changes made to the content of this blog’s articles themselves; rather than the website at large.

What I mean by this, is that it is more important to note post publication changes made to the content of articles. Than it is noting change in the wider website as a whole. This is because most changes made to the wider website outside of the articles hosted here will likely be concerned with aesthetics. Such as an addition/subtraction of a decorative graphic.

Simply put: they are less substantially important changes in terms of affecting the value proposition of the website itself. Although I do intend to note these types of things as well. At least for the most part. Although very minor website changes of this kind are unlikely to be noted.

That being said: I should restate the main function of this changelog. It is to note changes made to article content. This is because this blog’s articles (or blog posts) is where it’s primary (or most substantive) value is as a website. I.e. the primary reason a person may visit this site is to read the articles. This logging will allow readers to avoid confusion when/if they visit an article that they have already read, only to find that the content has to some degree changed within the interim.

My M.O. regarding editing published articles

Once an article has completed the development process and is finally published, I tend to have a habit of coming back to tweak and change things after the fact. This tends to happen some time time after the article is published when I have had sufficient time to rest and cool off on the topic. At this point I am usually more fresh minded, and hence I am more apt to find better methods to get my point across, as well as to spot any residual errors previously missed.

I am of the mind that I should also chronicle these changes as I make them. This is in order to avoid a sense of revisionist history. One caused by the absolute erasure of any mistakes such as: erroneous calculations, half-witted conclusions, or simple misinformation. I admit I am prone to getting it wrong a lot of the time. Especially when it comes to speculations made with limited observations, or ones unfortunately coloured with personal biases.

With that in mind, I should take a moment to state clearly the nature of this website in order to eliminate any misunderstandings or confusion as to the nature of this publication. As the name should suggest; this website is literally “a tinkerer’s blog”. The articles held therein are presented not as an authoritative source of information, but rather my (and only my) best understanding of any particular subject at the time. Complete with grammatical mistakes, spelling arrows, personal experience, and biases; as well as good ol’fashioned human ignorance and incompetence.

Although I (think I) do my due diligence in researching for articles; as well as re-reading my work several times over before publishing. This is in order to (give myself the opportunity to) catch any and all errors that I can. Unfortunately, often at that time: my mind can become exhausted with the subject matter, and would rather move onto to something else. Anything else! (Maybe even a refreshing punch to the testicles.) Add to that time pressures such as work and scheduled commitments. Well. They all add up; pushing me to hit the publish button perhaps earlier than I otherwise should.

Hence in an article’s final proofreading and finishing edits stage – I tend to find myself skimming sentences; or simply unconsciously mentally correcting the text grammatically and/or semantically. I.e. I knew what I meant by what I wrote, although I left the text in a state where it’s messaging is either ambiguous, nonsensical, and/or open to multiple unintended interpretations. Often I miss mistakes because of this and only really find them after I had some time to ‘cool off’ on the subject, as it were.

So that’s what normally happens with any given article. Post publish edits and refinements seem like a standard protocol for me. I even have a small to-do list regarding edits I need to make to past articles.

For example: my review of the video game “Princess Remedy: In a world of hurt”, has no critic of the game’s soundtrack. I somehow just completely forgot to mention it at all. I just blotted the concept of it out of my mind at the time of writing. So at this point: I intend to go back and insert this into it at a later date.

The thing is: I don’t like the idea of this additional content to suddenly one day appear within that article apropos of nothing, and masquerade like it has always been there from the beginning. I’ll leave that revisionist M.O. to the articles on political/activists news websites.

Hence, I need some way to communicate across to the audience that it is an add-on edit. In the past I solely used what I call an “update tag”. I’d insert a set of square brackets featuring the date before the add-on segment. Basically this: “[UPDATE: 2022-0X-XX] The music is …”. In the future I think I will use either the changelog alone to note smaller changes, and both the changelog as well as an in-article update tag for larger updates. Such as an entire additional segment to an article.

RSS

Just as an aside: if for whatever reason you want the raw undoctored initial publications. Free of my post publish meddling that is. Then please subscribe to my RSS feed. As it sends you the articles as they are published, and doesn’t update the content after that initial data transfer.

To do this, copy the below link into your RSS aggregator of choice:
https://www.tinkerersblog.net/rss

Closing thoughts

Although as stated the main reason for a changelog is for logging post publication article edits, it will also be good for keeping track of more general activity around the website. Things such as when new manual scans are added, or which pages have been recently edited. It’ll give the readership insight into where my attention regarding the website has been recently. Allowing them a sense of the frequency and general trajectory of my activities here. Which would be useful / hold value to anyone interested. (If there really is anyone interested … that is.)

I think it’ll add real utilitarian value to the website. But we’ll see exactly how much once it is actually implemented, and had some time to operate. Theoretically there is no reason as to why a website shouldn’t have a changelog. I mean it is a software product with ongoing development just like any other. However, I do wonder why so few other websites actually do have a public facing changelog.

It could be something as simple as a public changelog not truly being a necessity. Or it could be the fact that it would bring a level of perhaps unwanted transparency to their website. I mean it’s hard to simply vanish things, if you have a policy of documenting changes. I guess you could just not document the vanishing of the undesirable content, but still document the more mundane changes made. Although that does undermine the utility of the tool.

If I were pushed to give an answer: I’d say that most people just don’t want the work of it. For example: with for-profit websites tending to streamline their overheads (i.e. cut costs wherever they can), coupled with the continual communication and co-ordination between multiple levels of staff required for implementing and routinely updating a changelog: they most likely wouldn’t want to bother with one. Especially since there is little in the way of returns in terms of profit for the work necessary.

Even single owner general hobbyist websites probably wouldn’t bother with one either. As the single operator likely focuses their efforts on documenting their actual hobby activities. Rather than developing the website itself. I’d imagine that this is especially true in cases where the subject of their hobby or activity is unrelated to technology.

So unlike with this website, there’d be no on-topic value to discussing website development as a subject. Such as a website documenting: a homestead, hobby farm, painting miniatures, religious education, or bodybuilding to name a few. Basically any website where discussing the website itself is unrelated to the core subjects of the website… Website.

That’s all really. Changelog incoming. (Actually its already here, this article is a month late. :D)
Thank you for reading.

Term Glossary


RSS – Really Simple Syndication
M.O. – Modus Operandi (mode of operation)

Links, references, and further reading


https://en.wikipedia.org/wiki/Rss
https://en.wikipedia.org/wiki/Changelog

Related article: https://www.tinkerersblog.net/personal-blog-entry-2026-08-22-retiring-website-change-log/

#0032: Instructions on digitising physical documents

#0032: Instructions on digitising physical documents

Preamble

This will be a quick guide to anyone who may be interested in creating their own digital archives of physical documents. Although there are undoubtedly any number of different ways to achieve this task: I only intend to show you one method. The method that I specifically use (at the time of writing) in order to create, label, modify, and archive document files. Files such as the ones hosted on this website’s “Device Document Scans” page.

Hyperlink: https://www.tinkerersblog.net/device-document-scans

Tools and equipment

Hardware:

  • flatbed scanner
  • personal computer

Software:

  • Linux Mint (operating system)
  • Bash terminal (TUI program for accessing other TUI programs)
  • simple-scan (GUI scanning program)
  • GIMP (GUI WYSIWYG image manipulation program)
  • ImageMagick convert (TUI image manipulation program)
  • img2pdf (TUI file format conversion program)
  • xviewer (GUI image displayer program)
  • xreader (GUI PDF displayer program)

Process overview

1) Scanning the physical document.
2) Initial edit, and virtual file export of scanned images.
3) Edit of image dimensions and watermark application.
4) Creation of alpha-less versions of the edited images.
5) Compilation of all alpha-less images into a single PDF file.
6) Test, organisation, and archiving of files.

Process explained

1) Scanning the physical document.

I use the flat bed scanner on a Pantum M6607NW laser printer scanner combo, in conjunction with a standard GUI GNU/Linux program called simple-scan. One by one I scan all the document’s pages using a 300 DPI (Dots Per Inch) image fidelity setting.

2) Initial edit, and virtual file export of scanned images.

I use simple-scan to export all the raw scanned images in a lossless PNG image file format.

Although simple-scan has some basic image editing functionality, such as image rotation and cropping; I tend to shy away from cropping images here due to the lack of precision available with the tool. However a rough crop to minimize image file size can be useful at this stage. Especially when scanning documents with a smaller page size (e.g. A5); which would otherwise have a lot of needless (memory consuming) white-space in each image.

Additionally, I find that rotating whole images at this stage using simple-scan to be a better experience than rotating them later using GIMP (or even xviewer). This is because, anecdotally: it seems to use less system resources for some reason. It’s just a smoother experience.

As for the outputted files themselves: I like suffixing metadata information onto the file name. In this case “_300DPI_scan”. This is to help identify specific files when they all get archived together.

It also adds a certain element of future-proofing because I may want to create higher or lower DPI versions of the same documents for specific purposes in the future; without it causing a naming conflict, and upsetting my global naming scheme.

Output:

generic_manual_p1_300DPI_scan.PNG
generic_manual_p2_300DPI_scan.PNG
generic_manual_p3_300DPI_scan.PNG …

3) Edit of image dimensions and watermark application.

I use GIMP (GNU Image Manipulation Program) to crop each page image with pixel perfect uniformity (i.e to the same image dimensions). Then I apply my watermark to each page and then export them as PNG images again. I mark the exported PNG files with the ‘WM_’ prefix to differentiate them from the original PNG images, which would otherwise have the same file name.

For the sake of clarity I should state that I keep all the original files (raw scan images) just incase I need to work with them again, and for some reason I do not wish to use the edited versions. It’s good practice to always keep and archive the original unadulterated images for instances like these.

Input:

generic_manual_p1_300DPI_scan.PNG
generic_manual_p2_300DPI_scan.PNG
generic_manual_p3_300DPI_scan.PNG …

Output:

generic_manual_p1_300DPI_scan.PNG
generic_manual_p2_300DPI_scan.PNG
generic_manual_p3_300DPI_scan.PNG …

WM_generic_manual_p1_300DPI_scan.PNG
WM_generic_manual_p2_300DPI_scan.PNG
WM_generic_manual_p3_300DPI_scan.PNG …

4) Creation of alpha-less versions of the edited images.

I use the terminal “convert” program to remove the alpha layers of every PNG image. This is because “img2pdf” can not compile PNG images into a PDF that contains alpha layers. (I.e. clear sections/layers within an image). If you try to, img2pdf will return an error message that contains additional instructions. Unfortunately it will still also output a 0 byte PDF file which you will have to delete.

Error message:

WARNING:root:Image contains transparency which cannot be retained in PDF.
WARNING:root:img2pdf will not perform a lossy operation.
WARNING:root:You can remove the alpha channel using imagemagick:
WARNING:root: $ convert input.png -background white -alpha remove -alpha off output.png
ERROR:root:error: Refusing to work on images with alpha channel

The “convert” command options assigns the background colour to the image as white. This is the colour that replaces any clear (or alpha) sections of the image. Next the alpha sections of the image are removed, then all alpha functionality of the PNG file is switched off.

Please note the exact order that the command options are passed to the program is not important, I only state this order for human understandability. Additionally the “convert” program does not actually convert the original files inputted into it, it instead outputs a modified copy. It will however overwrite the original file if you give the output file an identical name.

I suffix the “_no_alpha” label onto the the outputted files to differentiate them from their predecessors. Although as you can see the file names are getting long and unwieldy, especially if the manual itself already has a long name. However the various prefixes and suffixes all serve a purpose and are necessary for file version distinction.

Command:

convert WM_generic_manual_p1_300DPI_scan.PNG -background white -alpha remove -alpha off WM_generic_manual_p1_300DPI_scan_no_alpha.PNG

Input:

WM_generic_manual_p1_300DPI_scan.PNG
WM_generic_manual_p2_300DPI_scan.PNG
WM_generic_manual_p3_300DPI_scan.PNG …

Output:

WM_generic_manual_p1_300DPI_scan.PNG
WM_generic_manual_p2_300DPI_scan.PNG
WM_generic_manual_p3_300DPI_scan.PNG …

WM_generic_manual_p1_300DPI_scan_no_alpha.PNG
WM_generic_manual_p2_300DPI_scan_no_alpha.PNG
WM_generic_manual_p3_300DPI_scan_no_alpha.PNG …

5) Compilation of all alpha-less images into a single PDF file.

I compile all the watermarked no alpha layer versions of the image files into a single PDF file using “img2pdf” via the terminal.

Command:

img2pdf WM_generic_manual_p1_300DPI_scan_no_alpha.PNG WM_generic_manual_p2_300DPI_scan_no_alpha.PNG … -o generic_manual_300DPI_scan.PDF

Input:

WM_generic_manual_p1_300DPI_scan_no_alpha.PNG
WM_generic_manual_p2_300DPI_scan_no_alpha.PNG
WM_generic_manual_p3_300DPI_scan_no_alpha.PNG …

Output:

generic_manual_300DPI_scan.PDF

6) Test, organisation, and archiving of files.

This stage firstly involves testing if the PDF actually works as expected. Whether or not it is functional and whether or not all the pages contained therein are in the correct order. As well as rendering and scaling correctly. To do this I just try to open the file using Mint’s default PDF viewer program (namely xreader), and skim through the document’s pages.

This stage also involves putting each different collection of images from the various stages of this process into their own labelled ZIP format archive file. Then placing all these files into another container ZIP alongside the ultimate resultant PDF.

It is then placed into the local “device_document_scans” folder. Which is then copied over to the backups. Finally, I also upload the PDF by itself onto this website.

Output:

generic_manual_300DPI_scan.ZIP

Containing:

generic_manual_300DPI_scan.PDF
imageset_no_alpha.ZIP
imageset_raw.ZIP
imageset_watermarked.ZIP

Thoughts on tools and equipment

Hardware

As far as hardware requirements go, its just the bare essentials really: a decent scanner and computer. Neither devices need to be anything special, just fit for purpose.

Computer

As for computers, whatever computer you are currently using is likely to be just fine. The main thing that may become an issue is probably system RAM size; and even then only when scanning large (600+ DPI) multi-page documents at the same time.

This is because the scanning program will have to hold all these rather large images uncompressed within the RAM as you scan through the document. RAM may also become an issue when using image manipulation software like GIMP. If it is too low it may limit how many images you may work on concurrently. At the very lest it may limit your ability to do other things on the machine as you process these images. For example running a RAM greedy application such as a modern internet browser (e.g. Firefox or Google Chrome).

Another thing that may be a limiting factor with computers is CPU processing power. When converting file formats or compiling a series of images into a portable document file: your system may freeze or become unresponsive. Especially if the programs used/running aren’t optimised to be multithreaded. Resulting in the instruction sets all getting queued on the same CPU core and thread. This in turn causes the unresponsiveness as user input is queued behind these instruction sets.

To sum it up, any computer with more than 2-4 gigabytes of RAM and an early generation Intel i3 processor will likely suffice. However there are too many variables that may affect whether or not these system requirements are adequate; such as the desired scan image size, resource use of the operating system, scanning program, as well as background processes.

Scanner

Now onto the scanner. Most if not all modern flat bed scanners should be adequate. Chances are if they connect to your computer via USB 2.0 protocol or better than they are new enough to provide the 300 DPI (dots per inch) image quality that I use for digitising my manuals. If you are scanning photographs you may require a higher DPI rate such as 600 DPI to maximize image detail retention.

However since the value of my manuals is rather utilitarian in nature, 300 DPI is a fine image quality for my use case. By ‘utilitarian’ I mean that the information printed onto the manuals is what I am primary preserving, and not each page’s visual aesthetic. Because of this I just need them to be legible without necessarily preserving every minute page detail.

Heck, an argument could even be made to go down to a 75 DPI scan setting: as it’s perfectly useable whilst also minimizing all file sizes; including all intermediary portable network graphic images, as well the final portable document file.

However I find that working with 300 DPI images (which translate to a maximum of 2550*3507 pixels for an uncropped full scan) are a good compromise between image detail and workability/use-ability.

Example of 1200 DPI scanned image unable to be displayed with xviewer

Scan DPI example files


(Feel free to download and test these files on your own system.)

Scan image metadata translations

(Translations based on a scan of the full scanner bed of a PANTUM M6607NW)

Key: scan quality (Dots Per Inch) / image dimensions (pixels) / file size (bytes)

  1. 75 DPI / 637*876 p / 870.9 kB (lossless PNG)
  2. 150 DPI / 1275*1753 p / 4.2 MB (lossless PNG)
  3. 300 DPI / 2550*3507 p / 17.5 MB (lossless PNG)
  4. 600 DPI / 5100*7014 p / 62.8 MB (lossless PNG)
  5. 1200 DPI / 10200*14028 p / 211.9 MB (lossless PNG)

Software

Since my operating system of choice is Linux Mint running the Cinnamon desktop environment, I just use the programs that are either available with the initial install package as standard; or downloaded from the standard Ubuntu repository if necessary.

Simple-scan comes preinstalled with Linux Mint. It is the default scanning utility program. There are more robust alternatives such as ‘xsane’; however my philosophy with regards to tools like this is that one only upgrades tools or seeks alternative tools when the default tools are found to be wanting. I.e. when there’s a particular functionality or quality that the current toolset doesn’t provide; and since the default simple-scan program provides adequate functionality, I don’t need to seek alternatives just for the sake of it.

Moving on. Both GIMP, Image Magick and ‘img2pdf’ are available within the standard Ubuntu software repository. So both can be downloaded using the ‘sudo apt-get install’ commands. However it is recommended that you first use “apt-cache search [program]” command to ascertain whether or not they are available within whatever repository that you are using, if you are using another Linux distro to Linux Mint.

sudo apt-get install gimp
sudo apt-get install imagemagick
sudo apt-get install img2pdf

To sum up GIMP. If you are coming from Windows, you may be used to other image manipulator programs like ‘paint.net’ or ‘Adobe Photoshop’, if not GIMP itself since it is a multiplatform program and available on Windows. Anyway if you have used any modern full-suite WYSIWYG image manipulation program, then GIMP will be an easy enough program to jump on to.

Finally Image Magick. This is a software toolkit that you access via the Bash terminal. Many people, including myself prefer TUI based programs like this due to their ease of use, user interface uniformity, and functional robustness.

I often write scripts including commands that utilise programs that can be accessed via Bash. The programs provided by Image Magick are no different. Once a person gets used to using them, it becomes a natural progression to create scripts which then automate the process.

This would be useful for situations such as batch conversion of multiple files: as scripting allows the user to go AFK or do something else, rather than babysit the process. Scripting and chaining commands like this is probably the greatest strength of CLI/TUI programs over GUI programs.

Closing thoughts

If you aren’t already accustomed to using any Linux based distro, then one thing I recommend keeping in mind is hardware compatibility. It is probably this platforms biggest weakness.

This is specifically because most companies build their products to target the Windows platform. Often facilitating device functionality by using proprietary drivers, and oft times even programs: such as with proprietary controller programs for LED keyboards. These drivers are sometimes absent in Linux. However in most cases there are open-source alternatives.

In the past this used to be a bigger issue. Thankfully the list of supported peripheral devices has gotten much better as of late. As it is at the time of writing, and according to my personal experience as well as as some online reading: most devices work flawlessly plug-and-play; however, some devices work for the most part but are missing some advanced functionality, and some devices don’t work at all.

Unfortunately the best way to tell whether or not your device will work, is by simply plugging it in and fiddling with settings and open source drivers; until it either eventually works, or you give up. Whichever comes first.

As an example: I had quite a few issues with my system not recognising my Pantum M6607NW printer-scanner combo properly, despite official Linux drivers being available on the standard repository, and via the companies website. Even now, after resolving that problem and getting the thing working, I am still having some minor issues with the device.

For example if you paid attention to the images above, you may have noticed that Simple-scan allows for a 2400 DPI scan in conjunction with the Pantum M6607NW. Unfortunately this setting doesn’t work as expected. It does scan the document, and it does it noticeably slower than on the 1200 DPI setting. Which is as expected, due to scan heads collecting more detail from each page segment. However the resultant image has the same pixel dimensions as a 1200 DPI scan. So if there is a higher detail density, it isn’t reflected in a larger image dimension – as is the case with all other DPI settings.

Although xviewer failed to open images of this size, the Firefox browser did not; and upon visual inspection and detail comparison between the 1200 and the 2400 DPI scans: I have concluded that they are identical. See for your self, the files are listed in this article. Knowing this, it is likely that simple-scan is providing an option that the scanner can not support. Although the Pantum’s slower read speed on the 2400 setting has me doubting this conclusion. Since it seems to exhibit a programmed hardware response to this setting.

I could likely find the solution eventually by combing through the official generic M6600 series online manual for my machine, then hunt down more specific documentation … although it is frankly not a priority at this point. As I am not planning on using a 2400 DPI scan setting anytime soon. I only highlight this specific issue to make you aware of the kind of troubleshooting fun to expect on this platform.

So if you are moving to a Linux based platform for productivity purposes, well you can’t say that you haven’t been warned. Having said that, don’t let that stop you from using this platform for this purpose. When it works it works fantastically, and when it doesn’t there is always something that you can do yourself to make it work. You have to get used to being your own tech support.

Best of luck archiving your documents, and as always:
Thank you for reading.

Glossary of terms

AFK: Away From Keyboard
Bash: Bourne Again SHell
CLI: Command Line Interface
DPI: Dots Per Inch
GIMP: GNU Image Manipulation Program
GUI: Graphics User Interface
PDF: Portable Document File
PNG: Portable Network Graphic
PnP: Plug and Play
TUI: Text User Interface
WYSIWYG: What You See Is What You Get

Links, references, and further reading

#0031: Creating a TF2 themed RimWorld scenario mod

#0031: Creating a TF2 themed RimWorld scenario mod

Preamble

I recently decided that I’d like to try dipping my toes into creating mods for RimWorld. Incase you are unfamiliar with the game: RimWorld is a base builder; where the core objective is to try to create a functioning base or colony.

Building and maintaining this colony is achieved by issuing orders to various pawns. Examples of orders include: building the structures you designed, hunting animals, farming crops, fixing broken items, creating tradable goods, and cooking food to name a few. Additionally, it also includes arming up and engaging in combat.

RimWorld is a game that is in a similar vein to the venerable classic that is Dwarf Fortress. And like DF, once you have built a base that is halfway decent, you can then move on to secondary objectives such as: exploring the world, or actively trading and warring with other factions.

I decided to start modding RimWorld with something very small. Something that could be done in one or two sittings and with minimal research and planning. That way the mod doesn’t risk spiralling out of it’s initial small scope. Which can likely result in an eventual state of demotivation and ultimately project abandonment. Which is primarily caused by ongoing feature creep due to poor project management (scope discipline).

With that in mind: I decided on a simple custom scenario, coupled with a preset roster of pawns. For nostalgia’s sake: I decided to give this scenario a Team Fortress 2 theme. As a rule of thumb (and for obvious motivational purposes) I only really create things that I myself would like to play with. And to me at least: the idea of playing with the TF2 roster within the RimWorld settings sounds pretty fun. I hope you agree.

Creating a custom scenario

Scenario creator tool

Straight off the bat I should mention that the built-in scenario creator tool does not facilitate editing the individual starting pawns itself, just the world conditions and the equipment that they start with. In other words it does not allow for the modification of each individual pawn’s variables such as traits and skills. To specify pawn variables, one has to use an additional mod called “EdB Prepare Carefully”. Which I will discuss in more detail later.

With that said, let’s begin. Creating a custom scenario is a rather straight forward affair. All you need to do is navigate the menus within the RimWorld game, and follow their very simple instructions.

There are several game options available from the scenario editor. However for the most part editing a game scenario consists of choosing how many pawns the player is able to choose from, and then start with. Then choosing their starting load-out of equipment and resources: weapons, tools, food, animals, building materials, etcetera.

Additionally one could also add various world conditions such as periodic events (e.g. meteorite crash), permanent weather conditions (e.g. toxic fallout), a game time limit, as well as more wacky things such as every world pawn exploding upon death.

It seems like a rather fun thing to play with, however I only required an equipment list that vaguely resembled something that the real TF2 cast might have. I tried to give each pawn similar weapons and tools to the characters that I modelled them after. However, the group got little else in terms of general equipment and technology, outside a handful of exceptions for narrative reasons. Namely the ground scanner and a drill; since they are technically (narratively speaking) on this rim world in order to survey it for Australium.

I should also mention that I designed this equipment list with the mod “Simple Sidearms” in mind. In other worlds each character pawn was designed with the intention that they have the ability to carry more than one weapon. For example the Sniper was given either a sniper rifle or recurve bow to equip as a primary weapon, with the gladius (a functional surrogate for his kukri or bush knife) to be used as a secondary weapon (sidearm). Although the mod itself isn’t strictly necessary. If you choose not to use it, you’ll just be saddled with an abundance of surplus weaponry sitting in your stockpiles. That’s all.

Pawn equipment list

Sniper:

  • [x1] sniper rifle
  • [x1] recurve bow
  • [x1] plasteel gladius

Pyro:

  • [x1] incendiary launcher
  • [x1] molotov cocktail
  • [x9] incendiary shells

Scout:

  • [x1] shotgun
  • [x1] wooden Club

Soldier:

  • [x1] shotgun
  • [x1] plasteel breach axe
  • [x3] triple-shot rocket launcher

Engineer:

  • [x1] shotgun
  • [x1] autocannon turret
  • [x1] plasteel mini-turret

Medic:

  • [x1] revive serum
  • [x18] medicine (x18)
  • [x1] vitals monitor

Heavy:

  • [x1] minigun

Demoman:

  • [x1] frag grenade
  • [x1] plasteel longsword
  • [x60] beer (x60)

Spy:

  • [x1] revolver
  • [x1] knife

Miscellaneous:

  • [x1] ground penetrating scanner
  • [x1] deep drill
  • [x18] packaged survival meal

Alongside the equipment list, I also wrote some flavour text for the scenario. However, as far as what I wanted to achieve with this mod, this is as far as the scenario editor went. The next thing I needed to do was edit the nine random pawns the scenario provided into the TF2 mercenaries using the Prepare Carefully mod.

Creating custom pawns

In order to create my custom pawns I needed the mod “EdB Prepare carefully”. This mod allows the player to edit their pawns to a far deeper level than the standard RimWorld tool does. Which only really allows rolling a completely new character with randomised stats. Before this mod, I remember having to keep clicking the randomise button repeatedly until I eventually got something halfway decent. A process that honestly gets old rather quickly.

Using this mod I created a custom nine pawn preset. With each pawn having their own unique appearance, backstory, traits, health conditions, and skills. Once finished I saved this configuration locally, in a file named “TF2_crew.pcp”. It saved as a custom XML file that was suffixed with “.pcp”, which I assume stands for “Prepare Carefully Preset”.

And that’s it. That is all that there is to the process. Easily really. Although I must say that: it actually took me several hours to get all nine pawns’ various stats just so. This is because I can be a rather pedantic perfectionist when it comes to the little (read: insignificant) details. Things like which eye is the Demoman missing (left), and whether I should give him a peg (left) leg or not.

That’s not even to mention assigning each pawn’s skills, since they absolutely have to be (in my mind) representative of the character. This was then exacerbated by the fact that I also tried (and mostly failed) to balance the pawns in terms of usefulness and general colony value. That is, as well as retaining each character’s unique flavour; like Pyro’s oddness, or Demoman’s alcoholism. Needless to say it took some time to settle on such things.

This balance of priorities, often working against each other ended with a reasonable compromise in the final version. At least I think so. Still, I learned that Engineer and Medic are by far the most useful pawns in application, and that if you allow the other pawns to drink Demoman’s beer, causing you to completely run out by day four … well let’s just say that I nearly put a bullet in him myself, after his third low mood tantrum due to the alcohol withdrawal debuff coupled with his natural pessimism.

Scenario narrative and expected gameplay

Explaining the narrative premise

Yes, there is indeed a story here. There is reason for these guys to be on an extraterrestrial planet 3000 years in the future. The story is rather simple. 3000ish years ago, after exhausting the Earth’s supply of Australium: TF Industries decided to look for it on other planets.

So they built a fleet of Mann Co. brand low cost space rockets. A thousand of them. Each rocket containing 9 cryogenic life support pods designed to keep it’s occupant in a state of suspended animation. The occupants naturally being clones of the mercenaries. Cheap, useful, and expendable. These clones were then shot into space with the mission to survey any planets that they land on for Australium.

That is if they actually make it to one. And after three thousand years of drifting in space, and against all odds: one rocket managed to actually make it to a habitable planet. It also somehow manages to deposit it’s cargo of crypto-sick mercenaries and their gear; just in time to avoid catching them in the fires of it violently exploding in the planets atmosphere.

Now these mercenaries find themselves on a hostile planet with minimal supplies other than guns. And with no direction other than a 3000 year old order to survey the planet for a rare resource.

Just for the sake of clarity, I should mention that the resource Australium is not implemented within this mod. It is purely a narrative plot device. Funnily enough, implementing an extra resource like this is exactly the type of feature creep I mentioned earlier that end up killing my projects. Its a rabbit-hole that I don’t want to go down, nor need to go down as I simply want to bang out a small mod that consists of a custom scenario and character roster. That’s it.

In-game scenario text

Incentivising gameplay

I designed this setup for a combat heavy game. Since the player only starts with 18 meals (enough to feed a team of nine for about a day), no money for trade, no animals, and only a little medicine – it incentivises more aggressive actions in order to survive the early game. Especially at higher difficulties and challenging world conditions. Keyword: “incentivise”, not force.

The players are encouraged to strip the map of resources early. Steel, components, herbal medicine, berries, as well as deconstructing buildings for their materials, and attacking the ancient danger room much earlier than usual. This is because they don’t have the time to build up resources normally; by for example farming and stone cutting blocks. The nine pawns will just eat too much in the mean time.

Additionally the fact that every pawn also has the “psychopath” trait means that many of the drawbacks to bloody play-styles are removed. Such as emotional debuffs due to executing prisoners, butchering humans, or harvesting organs.

All of the above factors leaving early bloody aggression as a very viable and deeply incentivised play-style. Basically, I designed the TF mercenaries to play like the TF mercenaries. In other words: a hostile invasive violent paramilitary force, and not an agrarian farming community. Thank you very much.

Having said all of this good stuff, I should also parenthesis it with this final sentiment. Don’t feel like you have to to play these characters out in the way that I designed them. Feel absolutely free to tinker with them however which way you wish. Is Demoman’s alcoholism annoying you? Remove it. Don’t like how slow Heavy is? remove the Slowpoke trait from him. Pyro burning down your cornfield in the middle of the night for no reason? You get the message. Although I designed things in a way I personally find compelling; it’s your game at the end of the day. Play it your way™

Technical issues explained

RimWorld UI and editing XML files directly

Although creating a scenario using the in-game menus is simple enough, the cumbersome basic user interface for this can get rather frustrating rather quickly; because of this I quickly made an initial save of the scenario with all the basic fields and variables populated. This is in order for the RimWorld binary to create an XML file for the scenario. A file that I then chose to edit directly with a text editor.

I find that editing XML files in this way with a text editor to be a preferential experience, to fiddling with the game’s user interface. For example if I wanted to reorder a list of items, by taking the bottom item to the top of the list or vice versa: using a text editor it is as simple as cutting and pasting the textual data set into it’s desired place.

Whereas doing this within the game requires one to to click on either the up or down arrow button in order to make the list item move a singular place; by swapping positions with it’s respective neighbour. I should also mention that when the item swaps position with it’s neighbour, the list item itself moves on-screen and not the list items around it. This means that you can’t just keep smashing the arrow button to skip several places quickly; because the button moves from under your mouse once clicked. Imagine wanting to order a list alphabetically and then having to do something like that for every item on a 30 item list. Tedious. You’ll have to essentially manually bubble sort the entire list.

Using a text editor to bypass this went fine for the most part. I was able to reorder the populated list of equipment easily enough, as well as change item quantity and material (when applicable). I did however reach a sticking point here. After several edits I found that the RimWorld binary no longer recognised the scenario file. Something within the file was breaking the program’s ability to read data from it.

Naturally I thought that it was a syntax error. Maybe I forgot a character of syntactic punctuation somewhere, or forgot to enclose an XML data set properly with their data syntax. No. After much double checking for errors; followed by more back and forth: changing one thing at a time within the file, then rebooting the RimWorld game to test if it now recognises it. Well after that process, it turned out that adding comments to the data set broke the RimWorld binary’s ability to read the file. Just for clarity when I say comments I mean fully syntactically correct XML comments.

Example:

 <!-- this is my comment -->

I can only conclude that the XML interpreter within the RimWorld binary for whatever reason does not have the functionality to understand comments and skip them. At least when specifically talking about reading data from either files that it originally generated or from scenario files in general (.RSC file format).

After a little additional testing: apparently I may put comments in and have it still load but only if it is not within the <parts>…</parts> section and in between list items <li>data</li>. In other words as long as the comments aren’t in the only useful place to have them, in order to meaningfully separate a run on list of items into recognisable categories.

I’m guessing that the RimWorld interpreter probably has a very rigidly structured read protocol; and why shouldn’t it, since it is only expecting to read files it itself created. Please note that I am not an expert on XML nor the interpreter RimWorld is using, I just can’t help speculating when I observe such behaviours.

Honestly it much doesn’t matter anyway, I only mention my experience here in the case that you choose to add comments to your code base, and then it suddenly stops working despite having no syntax errors. I hope to save you some time needlessly troubleshooting and head scratching.

Text-field character limits

The RimWorld Scenario editor has an upper limit to the number of characters each text-field box can contain. (As of version 1.3.3117). I first realised this when my initial draft of the scenario description did not fit into the intended text-field box when pasted into RimWorld. What followed was a tedious process of trimming my sentences (narrative) until it finally fit.

To save you having to do the same, I decided to get the character limits of each text box. The process that I used was by inputting the character ‘0’ into each text field until full. Then CTRL+A, CTRL+C, and CTRL+V into an empty text file. I then used Xed text editor’s built-in tool that counts words and characters to get these results.

Text-field character counts:

Title: 55
Summary: 300
Description: 1,000
Game start dialogue: 20,000+*

*doesn’t seem to have a fixed upper limit (possible dynamic text-field)

Character count files:

Equipment parity issues

I spent quite a bit of time going back and forth between the scenario editor and the equipment section of the Prepare Carefully mod; as I wanted to make uniform both lists. Even though technically only the Prepare Carefully equipment list actually matters from a gameplay perspective since that is the one that overrules the scenario’s list and actually makes it’s way to the game. I still wanted both lists to be the same since the scenario list is the first one the player sees, and consequently informs them of what to expect.

I should mention that the reason why the two lists of equipment weren’t always identical is because as I edited the pawns, and looked through the (quite frankly better) Prepare mod’s equipment chooser: I got motivated to give and take equipment. For example I added the Auto-cannon to the list rather late, as only once seeing it’s graphic in the mod’s loadout section: did I get inspired to use it as a surrogate for the Engineer’s big turret.

In order to avoid this tedious back and forth editing, I would recommend that you plan ahead and write down the complete equipment list before initially creating a custom scenario. Alternatively, don’t worry about the scenario editors equipment list at all while making the custom pawn presets. Instead circle back to it at the end and essentially paste in the equipment list from Prepare Carefully.

Instructions for running this scenario (GNU Linux)

1) firstly make sure you have the mod “EdB Prepare Carefully” installed
2) download the file archive here: “rimworld_tf2_scenario.ZIP”
3) unzip the file archive
4) move/copy the file “TF Industries Australium survey force.rsc” to “~/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/Scenarios”
5) move/copy the file “TF2_crew.pcp” to “~/.config/unity3d/Ludeon Studios/RimWorld by Ludeon Studios/PrepareCarefully”
6) boot the game, it should show up as a custom scenario
7) choose it, then click on the “prepare carefully” menu button
8) click the “Load Preset” button and choose “TF2_crew”
9) edit the pawns to taste
10) start game

Note: Windows and Mac instructions are basically the same but with some variation around the location of the RimWorld data directory.

Closing thoughts

Simple one this time round. Like I said I wanted to complete something small in a timely manner, just to dip my toe into the waters of modding RimWorld. I hope you enjoy playing with this mod as much as I did. Hmm, is this thing even technically a mod? Does it matter? I guess not.

Funny. It actually took me longer to do this write up, then it did to create the actual thing that it is about. I guess that’s not that odd, considering the fact that explaining things properly can take it’s time. Especially with my signature caveats and addendums … and waffling.

I hope this article motivates you to at least try out getting into modding games, if you aren’t doing it already. Never be afraid to start something new. But start small. Start with something that can be completed within a timely fashion and with your current skillset. Then iteratively add complexity with each later thing that you complete.

I know this is rich coming from me, but remember that “perfect is the enemy of done”; and that there’s nothing more motivational than finishing something that you set out to do. It’s better to complete 100% of something small, than 66.6% of something big. One can be released out there for people to enjoy, whilst the latter is rotting in your “ongoing_projects” folder. Or maybe that’s just me.

Thanks for reading.

Mod Files

(Please check the downloads page for the most up to date version, incase I forget to update the link here.)

Term Glossary

UI – User Interface
XML – eXtensible Markup Language

Links, references, and further reading

https://rimworldgame.com/
https://steamcommunity.com/sharedfiles/filedetails/?id=735106432
https://steamcommunity.com/sharedfiles/filedetails/?id=927155256
https://rimworldbase.com/prepare-carefully-mod/
https://rimworldbase.com/simple-sidearms-mod/

#0030: Game review: Princess Remedy In a World of Hurt

#0030: Game review: Princess Remedy In a World of Hurt

Preamble

I wanted to feature this game here as I think it is rather interesting, and I have a few comments I’d like to make about it. The game is called “Princess Remedy In a World of Hurt”. It is a bullet hell game created for the PC platform. However interestingly, it was made with the design limitations of a game targeted for the Nintendo Game Boy Color portable games console; as least it appears that way superficially. This article will feature a review and discussion of the game as well as a play-through or two to demonstrate the gameplay, visuals, sounds, and general game mechanics on offer.

Screenshots

Pixel art samples

  • Sprite size: 16×16 pixels
  • Grid cell size: 16×16 pixels
  • Grid size: 10×8 cells
  • Status bar size: 160×12 pixels

Game Review

Before I begin it is important to get a bit of context on the circumstances of this game’s creation. According to the read-me file that I found within the Steam version of this game’s directory (‘remedy.txt’): ‘Princess Remedy In a World of Hurt’ was originally created in 2014 during a livestreamed four day charity game jam by a group of four people. This initial completion constituted their version 1.0.

Although this version lacked certain additional features present in the latest 1.5 version that I have played. Features such as: gamepad support, options menu, multiple difficulties, and additional endings. The version 1.0: although undoubtedly rough – established a set scope of gameplay mechanics, narrative, and player experience; that was then subsequently refined and improved upon.

With the exception of the ‘Jealous Chest’ mechanic and extra endings: the additional refinements were mostly quality of life features, and in my opinion do not necessarily constitute raw additional game content. Like a new area, or new enemies would for example. As such the final version still feels like a game that could arguably be created within a short amount of time.

I only mention the game’s humble origins because it is apparent by the restricted scope of mechanics present, story, and short playtime: that not much in terms of resources actually went into the game’s creation. By resources I mean time taken to either plan a deeper narrative, create additional gameplay mechanics, or create more materials (i.e. media like image sprites and sound effects). Add to that the necessary programming time taken to implement and test every additional element.

Although it may come across as a criticism, I do not mean it as such. Rather it is by virtue of it’s spartan nature that I am attracted to this game to begin with. I wish to emulate it in my own way, and create a similar title as a practice game for a larger project I have in mind. Also I rather like the minimalist approach to game design presented here, a design that discards all but the essential components needed for a viable gameplay loop. As a hobbyist game designer who has discarded games mid-development due to feature creep (and the frustration that it incurs): I actually admire an approach that respects the limitations of available resources and deadlines, and operates with a more prosaic ‘get it done’ attitude as a consequence of that.

Now onto the game itself. The core gameplay experience consists of walking around and exploring a classic 2D RPG world like the one of ‘Final Fantasy I’ (FFI). Here you find people to talk to, to then enter a battle instance with. This battle instance consists of a unique bullet hell mini-game; as every NPC has their own custom setup of enemies and terrain layout to contend with. Winning these battles provides rewards that come in the form of a stat boost called ‘Hearts’. Hearts are the most important stat booster in the game. This is because in addition to marginally boosting the characters health (or hit) points, a set number of them are also needed to open the specific gates that lead to other map areas, and thus progress the game.

The game has a simple and concise gameplay loop. It may superficially look like a classic RPG title such as FFI, however all the extraneous RPG mechanics from a game like FFI are not present here. There are no items (beyond gate-keys), status effects, nor any character abilities, or levelling. There is however a basic system of stat progression that involves collecting stat tokens.

The full list of stat tokens include: the aforementioned ‘Hearts’ which marginally improve HP, ‘Power’ which increases shot damage, ‘Multi’ which increases the number of shots fired at a time, ‘Regen’ which increases the HP regeneration rate, and finally ‘Flasks’, which increases the number of uses of the special attack action during combat. In addition to Hearts, all of the other stat boosts are exclusively found in chests dotted around the various towns and caves.

The actual game world itself consists of a simple world map, which links together a series of higher fidelity maps. These higher fidelity maps primarily come in two forms: towns and caves, but also includes a few castles, a pond, and several other unique areas. The world map only contains heart-gates and key-gates. It is the higher fidelity maps that contain all other interact-able objects. These come in two formats: NPCs and chests. Each NPC only offers a quick dialogue on interaction. This dialogue either contains game hints, or instigates that specific NPC’s bullet hell mini-game. Whereas the chests contain either stat upgrades, or keys for opening shortcuts.

I should mention that the higher fidelity maps also contain a puzzle element. Some chests are set up in a way to resemble secrets from other visually similar RPG games. Specifically, in order to get to them they require the player to walk off of the displayed tile area, by passing through normally impassible terrain tiles (like walls): into the black space in and around the map that traditionally denote impassable terrain. Links to secret paths like this are marked by a slight imperfection on the terrain tile that connects to them. Thus marking it as passible terrain.

That’s it. That’s the game. Talk to people, then win the bullet hell battles they offer to get hearts; find chests, get stats, and more hearts; then open the heart-gate to get to the next area. Rinse and repeat until you get to the final boss. Where you play an extended bullet hell battle. Done.

The only real deviation from this formula that this game offers is via the ‘Jealous chest’ mechanic. Within an advanced area of the game – one that is gated by three separate heart-gates, and hidden within the town map there: exists the Jealous chest. This is a special chest that will give the player a shot power boost, but only if the player has not opened any other chests before it. Meaning that in order to acquire that shot boost, the player will have to win (nearly) every battle up to that point in the game without any of the stat boosts that the other chests offer.

This challenge adds significant difficulty to game and I personally found it rather engaging. However there is a down side to this. The problem comes in when you actually get the Jealous chest. Shortly after opening the chest and getting the extra power boost contained within, the player gets the contents of all the normal chests in previous areas, even the ones hidden by secret passageways that may otherwise be missed.

This gives the player a very sudden and dramatic power boost. Which on one hand feels great, due to the fact that up until this point the player has been surviving the battles with mere base stats. ‘Surviving’ being the operative word here for the experience. Then all of a sudden you gain all the stat boosters from three zones, giving you the power to nuke previously troublesome enemies like the Ghosts.

The problem with this sudden dramatic power gain is that it causes an inversely dramatic drop off in game difficulty. Even though technically the enemies fought in the later game after this point are stronger than the previous enemies, the same level of planning and skill required to survive up to this point and win battles is no longer necessary due to the raw power output the player now has.

This phenomenon causes the player to experience a significant spike in difficulty in the mid game levels just before acquiring the Jealous chest. Which is then not surpassed by any of the other following levels, including the final boss fight. This is due to the smaller disparity of power between the enemies and the player. In other words once you get the Jealous chest, you can essentially coast the rest of the game, even though you’ll technically be fighting stronger enemies. It will not feel like it.

Luckily the Jealous chest is an add-on mechanic, and is only really necessary if you wish to get the full 101% completion rate. If you don’t care about that, then you’ll likely experience a far more gradual and balanced difficulty curve as you progress through the game the normal way: haphazardly collecting (and missing) chests as you go.

Moving on. As for the bullet hell battles themselves, they are also very simple. They consist of manoeuvring an auto-firing character around, and occasionally using the catch-all action button to throw a flask; which functions as a grenade: doing AOE damage across a three-by-three (nine square) grid. The standard shots fire automatically from the character as is standard fare in bullet hell games.

What isn’t standard is the fact that the character can change which direction she is facing; meaning that in Princess Remedy you can fire in all four directions. This is due to this game taking place in a sandboxed square area. Unlike more traditional arcade shooter bullet-hell games, which tend to play out within either a vertical or horizontal scrolling stage. In which the player character’s firing direction is fixed to face in the direction that the stage scrolls into frame from. As that’s where the enemies are coming from. The most typical example of this, is that of a spaceship themed vertical arcade-style scroller like ‘Ikaruga’.

Ikaruga Steam trailer

The enemies in this game are rather varied. There is a mixed bag of enemies with differing movement patterns, health points, and who emit different shot types, in different numbers and frequencies from each other. There are enemies such as the Spike-ball which just moves towards the player when within it’s line-of-sight, as well as the Ghost which follows the player whilst also intermittently disappearing and shooting a terrain piercing shot toward the player. There are a handful of iterative enemies like this Ghost, i.e. harder versions of previous enemies. They utilize the behaviour patterns of the previous lower tier enemy, but then with a little extra mechanic added on.

I should also note that enemy behaviour actually changes across the difficulty levels. To me it is always a pleasant surprise when the actual enemy AI is tweaked to be more difficult on harder levels. In my experience playing video-games in general: it is far more common to see developers simply tweak stats like shot damage and hit points, then call it a day. All whilst maintaining the exact same enemy patterns of behaviour. This game probably does buff the stats of enemies in the harder modes, although I haven’t played enough to verify enough to the point that I could confidently state so here. Its not important either way. What is important is the fact that the enemy AI is tweaked and geared for the difficulty.

An example of this would be with Bat enemies. Bats are enemies that move in a random direction at a set time interval. They damage the player by colliding with it. In normal mode when a Bat dies, it simply dies. In hard mode, Bats shoot out three regular bullets in the direction of the player upon death, and in master mode the Bats move considerably faster whist also doing everything from the lower difficulties.

Moving on, now let’s discuss the more technical specifications of this title. This game was made using the Game Maker engine and targeted the PC platform. However more interestingly the game was visually designed to imitate a Game Boy Color game. It has the same resolution as GBC games (160×140 pixels), as well as similar colour pallets, and sprite types (8-bit era 16×16 pixel sprites).

It also uses a severely limited range of player inputs for interacting with the game. Although it maps multiple buttons/keys to each input type. For example the ‘action’ input is mapped to multiple keys including Enter and Spacebar. This is where my first real criticism of the game comes in. The ‘action’ key, the in-game results of pressing this key are highly contextual.

If pressed next to an NPC, it will engage them in dialogue; if pressed whilst moving, the player character will start running in the same direction; and if pressed whilst stationary and not facing an adjacent NPC, it’ll pop up the menu screen. Needless to say it has caused me to misclick a couple of times. Mostly by throwing up a menu when I intended to run. But that could just as easily be an issue with me and my keyboard. Although I found this catch-all action key to be a rather clunky method of input, it is ultimately a relatively trivial matter.

The main thing that I have encountered within this game that is actually worthy of criticism is it’s pixel scaling methods. At higher resolutions than the base times one (‘x1’) or 160×140 pixel screen size, it looks absolutely awful. The sharp clean pixels at the base size get blurry even at the times two (320×280) screen size.

Honestly, I am not sure about the technology being used here to resize the window and rescale the display assets within it. If I were to guess, I’d say that it is the functionality of one of Game Makers image manipulation libraries. Judging from what I can observe: I assume the image is actually being scaled using a form of on-the-fly interpolation. Such as linear or cubic interpolation.

Essentially algorithms (used within this application that are) designed to guess at what colour the pixels should be within the newly created empty regions, between the separated pixels of an upscaled image. Unfortunately, they do not have the context that they are dealing with a pixel art that requires clean lines, and consequently blurs edges in a bid to establish some kind of smooth colour gradient. At least that’s my guess as to what is going on here.

I think the window and asset scaling in this game was something of an after-thought honestly. Especially since the ‘options’ menu containing it was introduced to the game in it’s 1.1 patch. After the conclusion of the game jam. Meaning that the 1.0 game jam version was only made with the fixed Game Boy Color screen size in mind, and with all assets specifically scaled for it.

Only afterwards did the programmer who is maintaining the game decide to add additional resolutions. Unfortunately they did not recreate the art assets to be more scalable. For example by using large images designed for a modern full-screen display (e.g. 1920×1080) then scaling them down.

Although this has it’s own issues such as image artifacts being created by aggressively compressing image dimensions. However in my opinion, a little artifacting is considerably more palatable then the horrendous blurring incurred by the current solution of upscaling tiny images to large resolutions. This is most comically apparent when in full-screen mode. Imagine what happens when you upscale (essentially stretch) a screen with a height of 140 pixels to 1080 pixels. Needless to say it is virtually unplayable.

Now upon hearing this, you may think to yourself: why don’t they do that? I mean it won’t take long to use an image manipulation software (like GIMP) to upscale each image asset by raw pixel doubling; and without introducing blurring via interpolation techniques. Well, another reason why the current maintainer of this may not want to use upscaled images may include the related image code itself.

Considering that this game was initially made in a span of four days for a competition, then things like proper planning and future proofing of code goes out the window. It it very likely that this game has been hardcoded with strong references to the current image dimensions throughout the codebase. If so it will also explain this slapdash box-ticking approach to getting higher resolutions, as it likely avoids having to deal with the technical debt incurred by hard coding the image dimensions into the game logic in this manner.

What do I mean by this? Let me illustrate the problem here: imagine if you had a line of code that moved the Bat enemy for example. This enemy moves every other time tick in a random direction the full length of it’s size (16 pixels). Assuming that the code for this is hardcoded (i.e. code containing asset dimensions, or verbose inflexible instruction sets). Then the code for moving the Bat across the vertical axis may look something like: ‘moveBatY(){bat.posY+=16; updateSpritePos();}’.

Now, let’s say you want this game to also work at a times two scale (or at 320×280) resolution. This instruction set will have to be modified to allow the bat to move it’s full length. Which is now 32 pixels and not 16. If the code is left as is, then the Bat will no longer function as intended/expected. This is a form of technical debt, i.e. creating your codebase in way that will require reformatting/rewriting before significant additions can be made to the feature set; by in this case adding additional game resolutions. And considering the volume of image interactions going on in this game, likely having to reformat the entire codebase will not be a trivial matter. After a basic cost-benefit analysis, the programmer here probably deemed it not worth pursing at the time. Instead opting for the sub-optimal (yet viable) solution that is currently implemented.

Resolution scaling screenshots

Manually scaled examples

I’d like to leave this review on a positive note. As I was doing a final check after writing this review I found out that the main developer, namely Remar has very recently updated this game. The latest version at the time of writing is 1.6; however this version (at lest currently) is only available on Remar’s personal website. The update included a few things: most notably a dedicated run button. Which addressed some of my criticisms I had made prior. So discount those if you play version 1.6.

The real cool thing about this situation is that you have a developer here who decides to update a now 6-7 year old game; that they made available to the public for free. That’s a developer that cares about their craft, and cares about their legacy. At least I’d like to think so, I mean they sure as shit aren’t making any money off of it. And as a guy who is currently trying to port his old garbage flash games to HTML5 – love for the craft and posterity is the only real reason I can see for a person to go out of their way and tweak/improve something like this.

If you want to play ‘Princess Remedy In a World of hurt’ it is available on the Steam PC platform and also on the Developer’s personal website with no Steam DRM. Download link: ‘https://remar.se/daniel/remedy.php’. It is a free game so give it try. If you really like it you may even want to purchase it’s paid sequel: ‘Princess Remedy In a Heap of trouble’.

Video Play-throughs

  • Difficulty: NORMAL
  • Completion: 101% (jealous chest run)
  • Time: 42 minutes 5 seconds
  • Game version: 1.5 (Steam)

  • Difficulty: HARD
  • Completion: 101% (jealous chest run)
  • Time: 52 minutes 41 seconds
  • game version: 1.5 (Steam)

Game credits

Game copyright Remar Games and Ludosity 2014
Design, script, code, SFX edit: Daniel Remar
Design, graphics: Anton Nilsson
Music, SFX: Mattias Hakulinen
Final boss songs: Stefan Hurtig

Nintendo Game Boy Color reference images

Closing thoughts

This is the first actual game review that I have done on this site. I hope that it proved to be insightful and useful to you. Whether you wish to simply play the game (and you really should as its free on Steam), or whether you are simply interested in a hearing about a game’s systems and the interplay of mechanics within it. I hope that I at least entertained you if nothing else.

The main reason why I covered this particular game is because I intend to create a clone of this title. I like the very limited nature of it, and genuinely think that I could make a copy in order to sharpen my skill-set. I needed a small but genuine gaming project to try out my tools, and to practice my pixel art and music creation. So look out for that game when it is out. I’ll pop a link here for it when available.

It’s sort of funny when when certain coincidences happen, and one gets that feeling of living in a small world. The name ‘Ludosity’ came up a couple off times while I was reading up on this game. I just thought ‘huh, that rings a bell’ and moved on. Its only once the review was almost finished and I decided to actually visit the website links within the readme files, did I find out who it was. They were the people that made ‘Card City Nights’, a game that I really enjoyed years ago. I even 100% the game, blue Steam ribbon in all. I remember it was also a game of limited scope, being just a series of card battles attached to something almost akin to a visual novel, with a simple collectable card game or deck builder core. It also had a simple but very compelling gameplay loop, and lovely art…

On that final nostalgic note, I’d like to say:

Thanks for reading.

Glossary of terms

2D – 2 Dimensional
AI – Artificial Intelligence. Although in this context it doesn’t refer to real AI, but rather patterns of situational behaviour that non-player controlled entities engage in or act out.

AOE – Area of Effect.
NPC – Non Playable Character
RPG – Role Playing Game
Sprite – Simple low resolution image of an entity. E.g. NPC.

Links, references, further reading

https://store.steampowered.com/app/407900/Princess_Remedy_in_a_World_of_Hurt/
https://steamcommunity.com/sharedfiles/filedetails/?id=716757641
https://www.nintendo.co.uk/Corporate/Nintendo-History/Game-Boy-Color/Game-Boy-Color-627137.html
https://remar.se/daniel/misc/themegaupdate.txt
https://www.remar.se/daniel
https://www.ludosity.com

Game text files:

#0029: Dev-blog #001: plans and preparations (‘Remote PI’)

#0029: Dev-blog #001: plans and preparations (‘Remote PI’)

Preamble

I wanted to create something of a diary to collate my thoughts, experiences, and general progression towards completing a large multimedia project. One with a significantly wider time-scale and scope of disciplines than I am accustomed to. It will be a multi-session project that will require several months to assemble the knowledge and materials, necessary to ultimately produce a playable video game demo. The working title for this project will be “Remote PI” or “R-PI” for short. Not to be confused with “RPi” (Raspberry Pi).

This project will require creating a proof of concept video game demo as a solo developer. By ‘proof of concept’, I mean a vertical slice of gameplay that will feature all the core gameplay mechanics layered atop each other in a cogent manner to form a functional and hopefully compelling system. The demo will also require thematic art and music, as well as featuring a narrative hook designed to entice players to support the production of the full game.

Essentially I plan on documenting the creation of a playable teaser trailer here. In addition to writing about the development of the demo itself, I will also document my personal relevant skill progression. Since this project will require me to become practiced at all the disciplines that are needed, for realising an interactive multimedia product like a game; I will need to acquire passable skill in art, music, as well as brush up on my general programming fundamentals. During this process I will no doubt have to also learn a few new tools (IDEs, programming languages, etcetera); and that’s not even to mention the more mundane skill-sets like script writing, project organisation, and time management.

This series of post entries will journal my progress in this endeavour.

My current skill-set (or lack thereof)

Before we go on I think it’s best that I identify to you where I am currently with regards to my skill-set. This is in order to understand what I need to work on to realise this vision. At the time of writing this (2021), I have been a hobbyist programmer for a few years now (since 2013-14 I believe). Being a hobbyist I have pursued programming for pleasure primarily.

This however meant that I was largely unguided and unfocused with regards to what I learned and how. This resulted in the collection a more shallow and eclectic experience base, rather than a more guided and structured one (i.e. comprehensive and useful), like the kinds associated with formal education. More aptly it also dictated how long I stuck with things after the initial fun dries up and the laborious hard-work begins. But that’s a more personal failing of mine. I can’t blame the books that I bought, for me not reading them. I mean most of them had pictures and everything.

Anyway, I started with making short text adventures in an IDE called Bloodshed Dev-C++ using the C++ language. On a technical inspection: these games could be boiled down to basically a series of if/else statements, with their function calls nested within another series of if/else statements. If I got fancy, I might even throw in a switch statement here or there. The only one I remember completing and being proud of was called “A little after midnight”.

It’s most notable feature was that it had a rudimentary inventory system that simply fed into the cascade of if/else statements that constituted that game. I vaguely remember codifying the handful of items in the game as individual boolean variables. Example use-case: “if (isGotKey == true) open_door(); else locked_door_dialogue();”, or something to that effect. Like I said it was primitive.

At the time: I remember just wanting to create a game, any game, and have it work. I liked “choose your own adventure” books like “Island of the lizard king” by Ian Livingstone, and the various MSDOS text adventures that I played as a child, all who’s names unfortunately escape me right now; and simply wanted to have a go.

After wetting my feet with text adventures, I transitioned to making flash games using the ECMAscript derivative language Action Script 3. This was on the FlashDevelop IDE. In this time of approximately 3 years I only managed to complete two games. Keyword: ‘complete’. A basic 20 level platformer with godawful hit-detection called “Runaway Units”, and a single room point-and-click adventure called “Last Life: The Blue Key”. In both games I was helped by my friend Kross Drayllih who created the music to Runaway Units and did the majority of the art and all the music for Last Life. However, I did the artwork for the user interface for that game. This will be relevant when I discuss the pixel art of this demo later.

Around this time I started dabbling with modding games. I created a few JSON mods for a community driven game called Cataclysm: Dark Days Ahead. Notables include: a mod that gives early game access to mutagens via (IIRC) an XCOM-esque gene-therapy clinic building, and a more general extra buildings mod called “OA’s additional buildings”. The later of the two mods even got folded into the main game. If you ever find a sex shop, internet cafe, walled park, cruise ship, or ranger’s lookout: well, that might be my work you’re exploring. In addition to CDDA I also created a few simple ship mods for a space logistics game called Endless Space.

After this I fell out of love with making games, and moved onto playing with mini-PCs and microcontrollers. Namely, Raspberry Pis and (clone) Arduino boards. I wanted to make robots. With these I was introduced to Linux based operating systems, specifically Rasbian. Which I accessed remotely over WIFI (via secure shell protocol) using a program named Putty on my Windows 7 machine.

I remember using bash as a remotely accessible text user interface to run custom bash scripts and programs written in Python 2. These programs were for controlling the RPi’s GPIO (general purpose input output) pins. Which in turn controlled peripheral components like sensors, lights, relays, and motors. These programs were very utilitarian in nature and simple, as they were merely concerned with converting button presses into signal outputs, or interpreting signal inputs from the sensory peripherals and converting them into a textual output for the console. The RPI’s GPIO library was the one who really did the heavy lifting there. Similar story with the Arduino IDE. My instruction sets where pretty basic there too.

As you probably have put together, I am just a hobbyist programmer. I’ve read a few books, did a few online courses, and played around with a few tools; including everything from complete development environments like the Unity engine, to simple graphics libraries like SMFL, SDL, and Allegro. But never to a serious extent. I also have more general knowledge about programming. For example: programming paradigms like functional programming, versus procedural programming, versus object orientated programming. But since all of my projects have either been small enough that I didn’t really need to research proper code organisation for creating a maintainable codebase, or that the project was so large that it has been abandoned for other reasons before necessitating an ordered big-picture view approach to coding.

As I am now, I am even rusty at the basic programming level I once had. This is due to my interests moving on once again. I’m not sure when exactly it happened, but as I started working and acquiring money: my interests gradually drifted towards the hardware side. As I am now I am more versed in repairing devices like power-supplies and old games consoles, than I am programming using a graphics library like SDL2 (Simple Direct-media Layer), in order to do something simple like create a window and render an image onto it.

You might have also sussed out from it’s absence of mention in the above summary, that I am not an artist. Although I have dabbled with some watercolours during my poetry writing teenage phase. I even had a Deviant-art account (“night-eater”) that I used to host the handful of halfway decent things that I did managed to create at the time. But it didn’t stick. As for music, as I am writing this I don’t even understand basic music theory. For example what the notes mean: like A# or B flat. No idea. It’s embarrassing to write this down but it is also the truth.

And that’s my starting point here. A rusty ass second-rate programmer, who can barely art, and can’t music. Still though I think that this project is within my projected ability to complete. It’s like that chess adage: “the only way to get better, is by playing a better opponent”. The same I think it is with creating and refining a skill-set. It needs a specific objective or challenge to be measured against. Otherwise its easy to just end up drifting around aimlessly without ever feeling the need to work hard and develop the skills that have been acquired, at least not to a point where they can bare tangible fruit.

I know I said otherwise in the preamble above, however I do think that the scope of this project is actually relatively small (compared to what it could be). It’s just a short demo; and whose music and art only need to be functional, they don’t need to be masterpieces. Still, lets not risk falling for the Dunning-Kruger effect and underestimating the energy and time taken to develop the relevant skills. That’s a lesson I learned the hard way when making LL:TBK, where everything took three times as long to get done as initially predicted. All in all though, I do think this is doable for me.

Game Outline

Without any further ado lets outline the game that this demo will come from. Please note I will go into much further detail on the game’s mechanical substance during it’s dedicated article. This is just the declaration of the initial parameters that I wish to work within.

Game Specifications:

Working title: “Remote PI”
Genre (mechanics): (primary) point-and-click adventure, (secondary) hacking simulator
Additional mechanics: puzzle mini-games, rouge-like (permadeath and multi-run unlocks), survival (resource management)
Genre (narrative): detective thriller
Art style: medium-low resolution pixel art
Music: low key techno synths (i.e “electronic music”), or something closer to chip-tunes
Playtime (demo version): approximately 15-30 minutes
Playtime (full version): around 1 hour per complete run
Technology (for game): C++ and SDL2 using Code::Blocks IDE
Technology (for demo):
HTML, CSS, JS, and a simple text editor like Xed
Target platform (game): personal computer (Windows, Linux, Mac)
Target platform (demo): web browsers (specifically my website)

Synopsis:

Remote PI is a game in which you play as a private investigator working in a particularly seedy part of (an alternate history) London in 1999. It will have a gig type gameplay loop where the player is offered several cases via email. These discrete cases are then shown to contain an over arching narrative. One that escalates the stakes by tying the the jobs to a central story about national security.

Thoughts on game ideas

You may be wondering why I am just listing out my game’s premise here for something that one day I’d very much like to turn into a real commercial product and sell? Why I am revealing how this sausage is going to be made, secret family recipe in all? Well its because I don’t value ideas (and thus “idea guys”) very highly. They’re not something to be jealously guarded like a dragon on a pile of gold (at least not at this level). I mean I’d be willing to bet that you reading this could probably come up with a better idea for a video game. For example: Pacman but sexy. Boom! Million dollar idea right there. You just thought up Ms Pacman. Genius.

The idea of a detective noir, point-and-click/hacking-sim thriller that is set in late 90’s London is not unique or special. It’s just a disparate amalgamation of various things I like (and am familiar with) that I think will work well together. It’s the execution of the plan that dictates whether or not this product will be worth anyone’s time. Not the premise and promise provided by a “good idea”.

Thoughts on developer teams

You may have been wondering why I don’t team up with other people for these types of larger projects? I mean many hands make light work, after all. Well, in my opinion its more often than not the opposite case of too many chefs spoiling the broth.

This is especially true in cases such as where a group of friends decide to work together. Typically having vague workload expectations, job roles, schedules, and naturally differing creative visions for the final product. In such situations, I expect people to essentially waste their time and energy before the inevitable fruitless dissolution of the project. Also likely with some hurt feelings incurred in the process.

To give you a more personal and direct answer: I simply don’t like working with others on creative endeavours like video games. Especially in smaller more intimate teams, where each individual has significant influence when it comes to whether or not the project is ever actually completed. The idea of expending myself: pouring serious time and energy into a project, only for it to still fail to finish due to someone else, either not pulling their weight or spitefully sabotaging it for some interpersonal gripe — actually genuinely frightens me. This is because It’d leave me in a situation where I can’t get that time back, and I’d also have nothing to show for it.

In the case of shared revenue projects (i.e. a project where money only comes in after it is completed, if at all): people tend to start behaving oddly as the project progresses and the initial new project enthusiasm drops off. I find it is at this time that people begin to gripe about things like: creative control, division of labour, maintaining personal morale, as well as time keeping, and deadlines.

Oh and lets not forget people’s general trouble with listening to basic instructions and specifications. And quite frankly when I have worked with “creative types”, I find that I quickly can become frustrated with the development process, and risk factors associated with co-ordinating various people who say that they are invested in the completion of the project, but whose actions say otherwise. I find co-ordinating with these types of people to be a generally draining experience, closer to an exercise in herding cats than co-ordinating with professionals.

This feeling is exacerbated when these people then choose to organise themselves into flat leader-less structures. I believe this is due to the incorrect assumption that such a small group will not need a leader to organise and co-ordinate the membership, especially when they can all join the same chat group and co-ordinate that way. Like a group of friends might do for example. This type of headless group structure is generally bad unless everyone in the group genuinely holds themselves responsible for making their contributions on time and on par. Even with the absence of the downward pressure and authoritative structure a clear leader would offer.

For example: I have had experiences with creative partners who would only work on things as they feel like it. On one hand I understand creative desire and that sometimes it can dry up. However when working to deadlines it really can become frustrating, especially when they hold up the supply lines by making others wait on them for materials. And since no-one is currently paying them for their contributions, they don’t take their responsibility to the group seriously and prioritise it within the routine of their lives appropriately.

I once had a partner who decided to create a superfluous website and start writing a script for a sequel to the title we were working on at the time. This was at a time when the actual current title was about halfway done, and I was waiting on them for materials. That’s got on my nerves, and the worst part is that I had to find the nicest way to ask the person to go back to making what we actually need; rather than what the person felt like doing. I was also acutely aware of the real chance that my criticism my disenfranchise the person into quitting all together, if I happen to upset them. In which case that project is dead in the water. That tiptoeing around people’s feelings is honestly exhausting.

I could gas on about this, but it ultimately comes down to me not wanting to work with others for this type of thing. Things just have a habit of getting complicated when working on creative (and potentially commercial) endeavours with others. Who owns what and how much is also a headache of a conversation (argument) to have, especially when the group can end up fighting over scraps or (fantastical) projected earnings.

That’s as far my experience with shared revenue type deals go. I have looked at alternatives such as hiring artists and musicians. However I don’t really want to work with freelancers I meet online. I may for discrete commissions of work, such as for character profile pictures or wallpapers for a game. However I don’t really want to get into in more extended business relationship with freelances if I can avoid it. As I fear being nickel-and-dimed for every alteration or modification I may request.

I can’t say I’d blame them for having a mercenary attitude in this case either. They make their money during the development process, and strictly in exchange for their work. It’s not like I’d be willing to share revenue or copyrights of the finished game after-all. So the only way they make money is by charging for everything that they do; including time working on alterations.

Additionally, I am not in position in my life right now where I can invest the time necessary to source and vet good contractors; research contract and copyright law to the point of competency, as I want to legally own the commissioned work; and finally (and most importantly) cough of the dough to pay for all this. So its all academic at the end of the day.

Closing thoughts

As I write this I ask myself: What is the purpose of this blog? Given a moment to think – I believe it’s main purpose is as a public declaration of intent. (Not that there’s anyone actually reading this mind you.) I have had many similar projects in the past, one’s that I have quietly started, worked on for a couple of months, then just as quietly abandoned them. I always justified the abandonment with one reason or another. I am sure that at the time, they were good reasons and not just excuses. However I can not deny a certain emergent pattern of behaviour of mine: I have started many projects but only really have ever completed a small handful. And all the effort that went into those unfinished works is largely lost, not having paid me back any sort of tangible dividends.

The only exception is probably some skill building experience acquired whilst creating and prototyping new systems and mechanics. I have many unfinished games that have their core mechanics articulated to satisfaction but not fleshed out with actual game content materials. Like a functioning inventory system filled with placeholder articles, and having all it’s item population and depopulation event calls coming from one central controller function. So that I could test and trigger the events at will. (Needless to say: this event controller function is to be removed once the system is placed into an actual game, and has all it’s event calls tied to in-game trigger events.)

Additionally, I have created systems like dialogue trees, local saving and loading, and 2D weather effects. Experience modelling these mechanics does in my opinion carry over. Even when tools like engines and languages change, understanding the fundamental principals of how something like saving a game state to file works, and actually having an instance of implementing it, is valuable in my opinion. Although nothing beats the grim satisfaction of actually finishing a fucking project.

Anyhow, here’s to this thing. *downs an alcoholic beverage* burp… cheers.

Thanks for letting me ramble.

#0027: Dominions 4: Thrones of Ascension map creation guide

#0027: Dominions 4: Thrones of Ascension map creation guide

Preamble

This is a quick bullet point style guide to how I create maps for IllWinter’s game: “Dominions 4: Thrones of Ascension”. Note: I will henceforth refer to the Dominions 4 game binary as “dom4”.

Map creation steps

Step 1: acquire or create a base image to use as the map.

I created an image using the GIMP image editor, and saved the multilayer project file (.xcf).

Step 2: use an image editor program to alter/create an image to conform to a standard that the dom4 executable can recognise.

Image specifics:

  • image must be in the Truevision TGA (.tga) or Silicon Graphics Image (.rgb) image format
  • minimum image size: 256×256 pixels
  • recommended image size: 1600×1200 pixels
  • image must be in 24 bit or 32 bit colour depth
  • image must be either uncompressed or using run-length encoded (RLE) compression
  • image must use a white single pixel as a province marker
  • white = HEX:#ffffff, RGB:(255,255,255)

Step 3: using the image editor, export a correctly formatted image.

I exported a TGA image file to specification, with a size of 256×256.

Example image file name: “tutorial_map_256x256.tga”.

Step 4: copy that image file to the dom4 working directory.

Working folder directory:

  • Linux: ~/.dominions4/
  • Mac: ~/.dominions4/
  • Windows: %APPDATA%\dominions4\

Step 5: boot up the dom4 game, and navigate to the game’s internal map editor.

Menu navigation: Game Tools > Map Editor > New map > (enter image file name)

This will automatically create a map. By populating it with provinces (one at each white pixel), then guess at the links between the different provinces.

Step 6: use the in game map editor to edit the map data.

This includes: mapping links between provinces, formatting link types (mountain, river, ground); terrain types (forest, farm, sea); throne sites, special sites, and so fourth. Its important at this stage to generate random names for each province, this is in order to populate within the .map file relevant code for the province names.

Example: #landname 1 “Deepmount”

Step 7: save the map. This will generate a .map file in your dom4 working folder.

Step 8: using a text editor: edit the .map file data such as the in-game map name, map description, and province names.

Step 9: test play the map, and troubleshoot errors.

If the dom4 program crashes as soon as you load up the map. Then it is indicative of a hard fault. For example, the tutorial map here crashes if you try to add more than 4 nations to it. Other crashes like this can be caused by the dom4 binary being unable to find a resource. E.g. the user renamed/edited resource files, then tried to load into a game that uses them.

Step 10: backup and archive your map

Example archive contents:

  • GIMP project file (.xcf)
  • original image file (.png)
  • processed image file (.tga)
  • map source code (.map)

Map files

Closing thoughts

This method is probably the simplest way to actually create decent playable maps. By using the built in map creator tool, a user can bypass a lot of the tedium involved in coding. Such as learning the meanings of various symbols used for variables and game function, or learning the specific syntax used to generate a viable .map file. This is because the in-game visual editor automatically populates the .map file with viable code. All the user has to do is use the visual editor to assign all the functionality that they require for each province by checking menu boxes. Save the map. Then circle back to the .map file to fill in a couple of titles (in game text fields) after that.

Ultimately, I think that this quick guide provides a good framework. One that an aspirant map creator can build on further by reading IllWinter’s map making manual. Which in turn will allow them to gain further insight into the mechanics of map making; including the ability for more advanced functionality. In the mean time, just these simple steps will enable users to create perfectly playable maps. Ones that should satisfy most.

Thank you for reading.

Links, references, further reading

http://www.illwinter.com/dom4/manual_mapedit.pdf <<< MAP MANUAL
http://www.illwinter.com/dom4/index.html
https://github.com/Narroe/Dominions_4_custom_maps
https://en.wikipedia.org/wiki/Truevision_TGA
https://en.wikipedia.org/wiki/Silicon_Graphics_Image
https://en.wikipedia.org/wiki/Run-length_encoding