I didn’t know that generative AI could do things like this now.
I didn’t know that generative AI could do things like this now.
Node =/= JavaScript
I played this on PS2 and I remember thinking at the time that it was extremely adequate. As you say, the reviews at the time were lukewarm but I think it’s worth a look for anyone trying scratch that itch who’s already finished the bigger names in the genre.
I’ve been trying to research the various glitches and variations between versions because I’m working on something that uses some undocumented features and precise timing. Unfortunately, I don’t have one good link that explains it well.
The issue stems from how player objects (the 2600 equivalent to sprites) are placed horizontally. For good and interesting reasons which are also technically involved and complicated, programmers can’t just send an X value to the graphics chip. Instead there’s a two-step process. First, the program sends a signal to the graphics chip when the TV raster is at approximately the desired horizontal position on the screen. Then, because it’s often not possible to nail the timing of that signal to the exact pixel position, the graphics chip has a facility to “jog” the various graphical objects left or right by a very small amount at a time.
According to the official programmers’ documentation, this final “jog” should only be done at one specific time during each video scanline. If we only do it this way, it works correctly on pretty much every version of the console. However, doing it “correctly” also introduces a short black line at the left side of that scanline. If we instead send the “jog” signal at certain other times, no black line appears. Additionally, the exact distances moved change depending on when we send the signal, which can be worked around or are sometimes even beneficial.
Kool-Aid Man uses these undocumented “jog” timings, as several games did. But it displays a score counter at the top of the screen by using the player objects placed very close together. It seems that the console versions in question (later 2600 Juniors and some 7800s) are more sensitive to the timing being used, as you can sometimes see the parts of the score flicking left or right by one pixel.
The Atari 2600 also has a hardware collision detection system, which reports when any two moving screen objects overlap with each other or the background. Once a collision occurs, the relevant flag will stay set until the program clears it. Kool-Aid Man uses this system to detect when the player character touches enemies. But the program only clears the collision flags once, at the bottom of each frame, and the same player objects are used to draw the score. So when the two parts of the score flicker into each other, it registers as a collision between player objects, which the game interprets as a collision between Kool-Aid Man and a Thirsty.
As you mentioned, I’ve read that setting the console switches a certain way can prevent this issue, but I’m not sure why. My guess is that setting some switches one way rather than another causes a conditional branch instruction that checks the switches to branch rather than fall through, which takes one extra instruction cycle (or vice versa), which is then enough to stabilize the score display and stop the parts from colliding.
There’s a… not exactly a bug, but an unannounced change, in the graphics chip in some later versions of the Atari 2600, which has been named after this game by the fan/homebrew community. On most 2600 console versions, it’s possible for a game to perform a particular graphics operation at an unintended time and get an undocumented but consistent and useful result.
On the differing consoles, the result is slightly different, and because of the way this game is written, it often causes a chain of actions that end up making Kool-Aid Man bounce around continuously as if being hit by enemies, even though nothing is touching him.
“Hopefully it will help with shit. Let’s talk to the originating author, Aasish Pokhrel.”
I once saw a documentary about Bedouin tribes that were dying out. The problem was very simple, from the outside; they were killing virtually all of their female children.
The team interviewed an elder of one tribe, asking him about this practice. As expected, the elder said that parents wanted sons to continue their family names.
“If no-one in the tribe has any daughters, where will these sons find wives?” asked the interviewer. The elder confidently replied without hesitation, “They will get wives from other tribes.” “But what if the other tribes kill their female babies just like your tribe does?” the interviewer persisted (In fact, they had met people from several tribes, and indeed they all followed this terrifying practice). The elder looked at the interviewer like he was a slow child. “They will get wives from other tribes.”
When all you have (or you try to convince others that all they need) is a hammer, everything looks like a nail. I guess this shows that it isn’t.
As a handheld console, the GBA hardware was explicitly designed to support exactly one player. To play multiplayer GBA games on real hardware, either the game must have some kind of “hotseat” mode, or you need to have multiple consoles connected via link cables.
A “hotseat” game should run just fine on an emulator without any tweaking, so I’m guessing that’s not what you want.
That means you’re wanting to emulate multiple GBAs at once. But RetroArch is designed to run only one instance of one emulator at a time. I’m somewhat surprised to learn (although I suppose I shouldn’t have been) that someone has created a RetroArch core that emulates two Gameboys/Gameboy Colors at once. But it doesn’t look like anyone’s done the same for the GBA. So AFAIK your only option is to have two separate Batocera devices (one for each GBA) connected over a network (if that’s possible with your Pi and the emulator supports it).
“NPM install” isn’t going to be the direct result of a race condition in JavaScript. And while I’m not familiar with Python, I’d guess that an “Indentation error” wouldn’t be one either. A missing library or syntax error that’s only discovered by executing a particular branch is still just a missing library or syntax error, not a race condition.
Also, while Node.js is popular, it isn’t an integral part of JavaScript in the way that the other errors are integral to their respective languages.
For 2, one of the few pieces of Windows software that I haven’t been able to replace in Linux is GetRight. Many HTTP servers support downloads starting at an offset from the beginning of the file, and GetRight uses that to allow download pausing and resumption.
It was a real life saver back when I had an extremely flaky Internet connection.
EDIT: Thanks for all the suggestions, I’ll definitely take a look at them. Simply resuming downloads is why I initally started using GetRight, but it also came with a bunch of other useful tools that I came to rely on. While I’ve been able to replicate some of the basic functionality with individual browser plugins or programs, I haven’t seen anything that integrates it all so well, with such a smooth interface. I haven’t looked for a long time, though, so maybe one of your suggestions will be the one!
Who else remembers seeing images like this – that would’ve taken a few seconds to a few minutes to render even on high-end graphics workstations of the time – presented in gaming rags as examples of what PS1/N64/Saturn and later PS2/GameCube/DreamCast/XBox were “going to be capable of producing”?
A potential ley line blockage that’s cleared by a ritual performed every winter solstice by a hobbyist spellcaster who lives on a farm in the middle of nowhere?
“… [it] isn’t actually necessary… the whole spell falls apart without it for some reason.”
That’s peak cargo cult programming spellcasting right there.
https://knowyourmeme.com/memes/programming-socks
TL;DR: It all seems to have started with a (possibly deliberately) misnamed pair of socks for sale on Amazon. They began showing up as suggestions when people searched for programming-related items.
Yep, I put an Afterburner mod in mine back in the day and got the best of both worlds: a screen you can see without standing outside at midday, and a comfortable, wide layout that doesn’t make your hands cramp up.
I recently wasted multiple evenings going through this with my partner’s photos on both OneDrive and Google. It was a nightmare, trying to disentangle their systems from the cloud, and delete stuff from the cloud (they were hitting the free quotas, which was causing problems) without also deleting that content locally.
I ended up doing a full backup from the cloud to an external drive and unplugging it just to be sure, then carefully using the awful web interfaces to delete a bunch of photos and videos from the cloud after deactivating all the auto-backup “options”, which is apparently the only way to do it without also wiping your local media. There doesn’t seem to be any way to do it while using the “service” normally on the device; any attempt to delete from the cloud will also delete your local copy.
People have called me paranoid for seeking out and removing/deactivating these “services” with extreme prejudice on my own devices, but this experience was even worse than I’d imagined.
Assembler, BASIC, Old C code, Cobol…
…Pascal, Fortran, Prolog, Lisp, Modern C code, PHP, Java, Python, C++, Lua, JavaScript, C#, Rust…
The list is infinite.
Show me a language in which it is impossible to write spaghetti code, and I’ll show you someone who can’t recognize spaghetti code when it’s written in one of their favourite languages.
Apparently the original game and Brood War expansion are free to install through the Battle.Net launcher these days.
If you have the original discs, the later official patches added the ability to copy the “mpq” files from the CD into the game’s directory, so you no longer need the disc in the drive. Of course, you’re still going to need a drive for the initial installation. That should work for single player (it’s been a few years since I last did it) but I don’t know about online multiplayer.