Well there we go, SoLoud 201811 release is out, so I did manage to do it this year after all.
Release doesn't mean it's "done". A lot of the pain points from the previous post still exist, and a bunch of other todo items popped up while making the release.
Still, the release is in a much better shape than the previous one. I also covered a bunch of the things I listed as long term goals.. but you have to stop somewhere or you'll never release.
Remaining todos include:
Proper SDL/SDL2 separation. Building the SDL DLL backends currently requires having both SDL and SDL2 around, and that makes no sense.
3rd party library updates. Digging through the dr_ libraries I noticed that there are simple/free mod/xm playback libraries out there, so maybe there's some new stuff to add..
And more DSP effects would always be nice.
Thread stuff. Should design and implement pre-loading worker threads to offload the heavy stuff from the audio thread. Doing this with minimal additional memory overhead and not getting into racing conditions AND still being able to play oggs at 4x might be a bit of a headache..
It would still be nice to be able to run without said threads.
Would be a good thing to get rid of mutexes too, but that requires some knowledge I do not currently possess.
Memory layout needs investigation. Pre-allocate more, get rid of on the fly allocations as much as possible. What data is needed for virtual voices, what for actually playing ones.
And once there, array-of-structs vs struct-of-arrays.
More testing: at least the sanity should cover all calls. It's maybe 2/3 there.
sid-ted and vic backends need work. It would be nice to be able to poke at the registers in both, and have register dump playback in both.
Vizsn definitely needs work. Get rid of the echo, looping doesn't work, etc.
Feature requests to cover: HRTF or at least some place to plug it in, multiple listeners, ducking filter, midi..
Mini-soloud?
Earlier this year I kind of promised to try to get a new release of SoLoud out the door, considering that the last "stable" release was ages ago, and is quite broken compared to the head version in GitHub.
Unfortunately making a stable release is not - in my opinion - just a case of zipping everything up and calling it a day.
In order to get the ball rolling (finally), let's look at what needs to be done, and what are the pain points in SoLoud at the moment.
Pain points / wish list. These do not need to be addressed in the immediate release, but would be nice to get fixed eventually.
Memory fragmentation. The scratch buffers keep getting reallocated which can wreak havoc on memory fragmentation.
Threads. Basically everything is done on the audio thread, which is generally not a good idea, especially since we might be doing disk i/o..
Memory arrangement. We should allocate everything for the voices at start and not to keep freeing and reallocating stuff.
Array of objects vs object of arrays. Would probably help with threading too.
Split virtual voice and actual voice data; we probably have a lot of stuff we don't actually need for silent virtual voices.
More automated testing. Not all functions are included even in the "sanity check" test set at the moment.
Multi-speaker support is unfinished. It's basically there, but not.
HRTF support, in some form, would be nice. There's no real place to put that in right now.
Actual multiple listener support. Would be relatively easy to do, but needs architecture work.
Automated audio mixing support, e.g, ducking, automatically adjusting some volumes based on others.
Audio set support, i.e, "only one of these sounds may play at the same time" to automatically avoid single person speaking multiple times on top of themselves. (This could be done on application side, but support for it would be nice).
More DSP effects would be nice.
Investigate free/open source MP3 licensing situation.
The new sdl mixer is released under more liberal license, so could see what bits I could pilfer from there. Points of interest: audio formats, mixer.
Consider a Mini-SoLoud (SoQuiet?) which only has minimal features.
Now then, things that actually need to be done before the next release:
Demos/tests have gotten out of hand. Need to merge most of them under "megademo" of some kind, where the main menu lets you open the examples. That will make it easier to add more demos as well, without growing the project files further.
Documentation needs to get up to date.
The release needs to be tested, to see that at least windows binary and python builds work.
Static code analysis fixes.
Check if GitHub has any low-hanging fruit issues.
That doesn't look like much, but... it's still quite bit of work. We'll see how it goes. My steam backlog isn't getting any shorter..
As I wrote earlier, I found a cheap VR kit on eBay, and bought it. It never arrived. It did lead me to upgrade my PC to be in a shape to support running VR applications.
After it got apparent that I had been scammed on eBay, I started pondering on whether and where to acquire a VR kit.
(Or at least I'm pretty confident I got scammed, since the seller has disappeared and the package is still, after 32 days as of this writing, in the state of "arrived in the country", so I'm pretty much losing hope on the package materializing at this point. I reported the situation to eBay and they refunded the auction (or at least said they refunded, I haven't actually checked..)).
So - choices. There's the HTC Vive at around 700e, which requires setting up the lighthouses, and is aimed at primarily room-scale VR. Then there's rift at around 500e, which is owned by Facebook. I haven't read anything about whether those main players work well with eyeglasses or not.
Then there's various Windows Mixed Reality brand models from HP, Dell, Lenovo and Acer (and probably others), and these range based on the model from 300e (Acer) to 500e (Lenovo). Finally there's various weird things from 3Glasses and Pimax which I ignored because, well, they might work with SteamVR but apart from that, support is probably flaky.
Now, I already knew bunch of things about the Lenovo model, considering I had "bought" one, and the one thing that is rather important is that there are at least claims that it works with eyeglasses.
Short story long, I found a Lenovo kit on a local auction site, and won it. It cost over double what I originally hoped to pay, but still way under half of the asking price. It arrived timely, was "almost unused" - some of the glossy surface protecting films were still in place - and I got a bluetooth dongle on top of that, which I was missing, so I didn't need to hunt for one. I'm pretty happy with the purchase.
I had even considered getting a kit with no motion controllers - considering that such kits are much cheaper - but in retrospect I'm happy I ended up with them, since so many VR experiences I've tried so far pretty much require them.
As a disclaimer for the rest of this post, which covers the actual use experience, I haven't actually played with the kit a lot since getting it, since I've been sick. Nevertheless I think I'm ready to talk about some of the experiences.
First, I can confirm that the Lenovo Explorer works without any problems with my eyeglasses. I've tried them without glasses too, but that was simply too blurry with my eyesight.
Setting up the system was almost completely frictionless. Plug in, software install pops up automatically. Manually install SteamVR and the "Windows Mixed Reality for SteamVR". Then just run the thing, and wear the device.
The experience is generally speaking like holding a display in your face, which is basically what it is. There's some clear "screen door" effect, i.e., you can see the borders of the pixels. You generally ignore that once you really get into the experiences though. As resolution goes, it's fine, except when dealing with things like text.
There's also some annoying flicker which is most apparent with bright white surfaces, which unfortunately appear a lot in Valve's "Aperture Science" art style used in their "welcome to VR" stuff like "The Lab".
The way SteamVR works with Windows Mixed Reality stuff is that first the Windows Mixed Reality hub runs, and then SteamVR runs under that. There's probably some performance issues with this, because while Steam's VR benchmark says that GTX 1060 is more than enough for VR, the performance in "The Lab" is not exactly stellar.
There's probably some kind of two-tier rendering thing going on, because looking around has pretty good frame rate, but animation itself is stuttery. Also, if you turn your head quickly enough, you can see some black which disappears after a while.
That performance hit doesn't affect all titles, and games like Thumper and Everspace are butter smooth.
I've only tried a bunch of things so far, and it's clear that the VR space is still trying to figure out how to do things. Software even from a single company has slightly different control schemes, etc. The software - especially the Mixed Reality to SteamVR connectivity stuff - feels a bit flaky. Sometimes restarting the application leads to a better performance.
That reminds me, there's no clear way to "shut down". You just take off the headset and close the windows. SteamVR has a "VR" button on the steam title bar at least; the windows mixed reality stuff doesn't have anything like that, as far as I can tell anyway.
As 3d effect goes, it's greatest when it's really in your face. In the Windows Mixed Reality sky lodge house/main menu thingy I spawned a "hologram", or a 3d object in more mundane terms, and looked at it at a really close distance, and that was pretty amazing.
The rendered motion controllers while in the sky lodge also look pretty amazing. Someone must have spent ages on the shader for the plastic. Speaking of controllers, the tracking is... good? It seems to work as expected. Some people have said they lose tracking when moving behind their backs, which is what I'd expect (since the tracking is based on the cameras in the front of the HMD), but I haven't had the need to do that as of yet.
Thumper is a stylized roller coaster and works really well with the headset, and is much more intense compared to playing on a 2d display. Everspace looks great on 2d monitor but it felt oddly... two-dimensional on the headset. I haven't played it a lot yet though, so I may change my mind on that.
Google Earth VR is fun. Really fun. It shows wrong controller meshes for some reason though, but that's not a big issue.
As a fun side note though, you can set the Windows Mixed Reality window (on your 2d desktop) to mirror what the HMD is seeing. The SteamVR has an optional window that you can open that mirrors what the HMD is seeing. And the Google Earth VR has a window that mirrors what the HMD is seeing. So you can have three windows on your desktop, mirroring what the HMD is seeing. At no point I had any performance issues with Google Earth VR, despite having all these three open (on different monitors, at different refresh rates, to boot).
One thing that I'd be curious to try are content creation tools (tilt brush, sculpting things, etc), but haven't, because, well, they cost money.
A lot of the content is designed for room-scale VR, so they don't necessarily work well sitting down. But even if they do, "sit down VR" doesn't mean "face forward VR"; you still need to be able to look around, even behind you. This was somewhat of a surprise to me. In "The Lab" one experience had a control panel that spawned behind me that I couldn't reach because there was a physical bookshelf in the way in real life.
Maybe I'll need to reconfigure my room so that I can have some of that room scale VR going on.
The demoscene, or at least the retro platform parts of it, has been in love with a little YouTube music video called "Bad Apple!!". It's been crammed into various small machines, including (but definitely not limited to) c64, Sega Master System, Gameboy and Intellivision.
Here's the original video:
I always thought it was from some anime I had not heard of, but turns out, it's a bullet hell shoot-em-up. Or to be more precise, a series of those. Here's some gameplay from the level that has the original song:
Curious about this, I asked around on IRC and turns out the rabbit hole goes pretty deep.
The game has a lot of cute characters, thanks to the Japanese mascot culture, and partially thanks to these there's a lot of weird fan-created stuff.
And yes, there's a lot of weird stuff out there.
So eventually that lead to the famous fan-made "Bad Apple!!" video. Which itself also has spun off fan creations, and apart from the demoscene things those include (but, again, are definitely not limited to) laser shows, live orchestral performances, floppy drives, and some rather nice dance remixes.
And finally, here's a metal cover with English lyrics:
Now ask yourself, would any of the above have been possible under strict copyright management?
Since last post the windows license arrived (in a cute tiny product box) and the license works, so that's sorted. I also found that my old and trusty external USB DVD drive had died, so I ordered a new one. Technology-wise the old one was an actual IDE drive in an external box, and required its own power brick; the new one is based on laptop DVD drives and works on USB power. So I guess I'm happy with that progress.
As to the package from China, well..
The tracking code said the package has arrived to Finland. Typically it takes a couple of days from that until you get a request to handle customs (either by paying customs to do it for you, or do it yourself and just pay the taxes and import fees), but after a week it started to feel a bit weird.
So I poked the postal office about it, and they asked me to poke the customs, and customs said it's postal office's problem, but I should do the customs stuff anyway so that won't delay things. So I did. It didn't help.
At the moment it's been over 12 days since the package arrived to the country with no progress, so I poked postal office again, and they did what they could and asked me to ask the sender to make a request at their end so they could get investigation going. That's part of some international postal law or something.
So I went to eBay and found.. that the seller's account was closed. So it's likely I was scammed after all, like I suspected might be the case to begin with. I made request about this to eBay and got a message almost immediately from them that they're refunding my purchase.
Which means I'm down the customs fees, but I guess that's on me.
And it's still possible the package materializes, I guess, even though it seems rather improbable at this point.
Which means, I guess, that I'm back in the market for a VR HMD..
The options are, pretty much, vive, rift or some windows mixed reality. All of those are in roughly the same price range (if you include controllers). Vive seems to be biased towards room-scale, while I'm more in market of sit-down VR. Rift is owned by Facebook... sigh.
I guess I'll give it some time and see what happens.
I've been pretty happy with my 8 year old core i7 PC (4 cores, 8 threads, 8 gigs of memory). It still runs pretty much all of the latest games. Okay, I have migrated to SSD and updated the graphics card several times (up to GeForce 1060 at the moment), but the CPU, motherboard and the 8 gigabytes of RAM have stayed the same. They've been more than sufficient for pretty much everything.
So what happened was, I was checking eBay for the fun of it and found a suspiciously cheap deal on one of the Windows mixed reality headsets from China. It was just expensive enough to be believable but cheap enough for me to take the chance that it's a hoax. The seller had a good reputation and everything seemed to be in order, so I figured I'd try the eBay's money back thingy if the deal went sour, and if that didn't work, well, maybe I just learned a lesson.
In preparation I ran the Steam VR benchmark, which was happy about my setup. Then I ran the Microsoft mixed reality check program, and... it said my CPU is too old. It was lacking the AVX instruction set.
Some five years ago I had decided that when I'm next upgrading, there's better be more CPU cores. To my surprise over the years the number of cores did not, in fact, increase for the longest time. Until recently.
I figured I'd order a AMD Ryzen 7 box (8 cores, 16 threads, 16 gigs of memory) without hard drives or graphics card, move those over and hope that everything works out. Funny thing was, out of the configuration most of the time went into picking the case. Things werent this way 8 years ago..
Dealing with the new case was strange. On one hand, the case didn't have some of the traditional things I expected, like bays for DVD drives, but on the other, everything was neat, spacey and easy. Oh, and there's a window and cute RGB lights I don't see because the box is under the desk.
One potential problem that I saw was the Windows 10 license. I was unsure whether the Windows 10 license would move over - some scripts I ran told me I was running on RETAIL channel, but this was a Windows 10 upgraded from Windows 7. I was unsure whether the original license was OEM or retail.
After moving the parts over to the new box, the PC booted up fine, with just a brief screen of Windows saying it's setting things up. License-wise it said that there was a problem and I should run the troubleshooter. I had linked the license to the Microsoft account in preparation of possible problems. The troubleshooter failed, saying the servers are busy. After re-running it a few times I got far enough to pick the license I was trying to reactivate, after which the troubleshooter said it failed to reactivate and I should try again.
Prompted by some people on twitter I tried contacting Microsoft support. The Finnish Microsoft site has options of either using a support app, or using the web support request form. I tried the first one. It asked me to describe the problem, after which it gave me a link to support database based on the keywords of what I had written - the link led to a broken page. As an alternative it gave a phone number I could call. Said phone number is not in use.
Back on the Microsoft web site I picked the web option, which worked pretty much the same way, except that it gave me a phone number that actually worked.
Calling the number, I was asked for permission to record the call, so I pressed 1 to accept. Then it asked whether this was Windows activation thing, so I pressed 1 for yes. Then I was asked for permission to record the call (identical question to the first time, with the exact same explanation why it's important for them, etc), so I pressed 1 to accept. Further questions followed, basically all taking the answer 1, until it asked about the error code. The error code I got wasn't one of the options, so I didn't get to press 1. I was connected to a human.
Said human explained that the license was almost certainly an OEM one and linked to the motherboard, so I should buy a new license. Fine. I tried the Windows store app, which said there's an error and it can't sell me a license. The rep on the phone told me to use the web store.
Looking at my options on the web store, I picked the USB stick option, because, damn it, if I'm paying 145 euros for something I might as well get something tangible. The store happily took my money and said it would take 24 to 48 hours for things to happen. I don't understand how, but at this point I had stopped caring. Oh, and I did not get a confirmation email or a receipt.
Now then.. I had one Ryzen7 PC that was waiting for a new license from Microsoft, and I had one Core i7 PC that had Windows 10 license bound to the motherboard, but no graphics card or hard drive.
I dug through my old hardware and plugged GeForce GTX 560 into the box, along with a 500 gigabyte hard drive, and installed Windows from an USB stick. It detected the license more or less automatically. Sure, that graphics card is dated and hard drives are slow, but that's still a decent gaming computer. I moved it down to the basement gym so it can be used as a DVD player. Or a YouTube player. Maybe I'd eventually play something on it. If nothing else, Steam has this remote play thing that might work.
As of this writing, the Windows license should arrive tomorrow (they're shipping it from UK with UPS overnight.. I guess they don't stock licenses at Microsoft Finland), the package from China is still on its way, but its projected arrival time is still about a week away anyway.
At this point I've spent over 1000 eur on hardware upgrades for a VR headset that might not even arrive. But on the other hand, if PC hardware improves at the pace it has for the past 8 years, this PC should be fine (assuming no catastrophes and a video card update or two) for the next 5, at least.
So I kinda accidentally wrote a build system.
To build a small zx spectrum project I used a batch file, m.bat, which basically calls assembler for the assembler modules and SDCC for the c modules and then the linker and finally mackarel to output the .tap file which can be fed to an emulator.
Now then, if compilation of some module fails, the batch file marches on. The linker naturally fails because it can't find all the objects to link, but it's still more noise. So I started adding early outs, like:
@if NOT EXIST "crt0.rel" goto end
This made the script nicer. The compile time of the whole project ballooned to about 7 seconds which started to be annoying, so I figured it would be nice to check if some module needs to be compiled, by comparing the time stamps. I first tried to do this with the batch files, but that became way too complicated, so I pondered about making a python helper script to check the file dates.
At about this time I figured it would make more sense to just move the whole thing to python. And since we're there, I could also recursively check for include statements in the source files. This was surprisingly easy to add.
The build system is rather configurable - you feed it the source files, and methods to convert from one file format to another, and it does the rest. If I wanted to add .png to .h automation, I'd just add the .png files to the source list, add method for conversion, and let it go. When scanning the .c sources the system would detect that the .h file has changed and would re-compile the appropriate .c modules as well.
All in under 150 lines of python.
Granted, it's definitely not a replacement for make, and primarily suits small projects, but I think it's neat.
The result lives in github in this gist.
Decided to blog about this because I'm bound to hit this in the future and there's no way I'll remember what the heck this is about unless I do.
Let's say you're working on a small program with SDCC and then you get the error message:
warning 110: conditional flow changed by optimizer: so said EVELYN the modified DOG
The only appropriate reaction to this warning is "What?". With warnings-as-errors (which you probably should be using, especially when writing code for small devices) that's a showstopper. So, what's going on?
Here's a little test code to demonstrate what generates the error:
volatile int x;
int main(int parc, char **pars)
{
int i = 0;
if (i == 1)
x = 3;
else
x = 1;
return 0;
}
The code itself is pointless. I've added a volatile global to give the code something to do that doesn't completely optimize out. The EVELYN error occurs at or about the "if" line. What's going on is that SDCC's optimizer has found that the comparison is constant (since it can see that the value of "i" is set to constant and doesn't change before the "if"). You probably don't want code like that in your program, so.. fix it.
How do you get to situations like this? In my case I was writing some code for keyboard handling, but wasn't polling the keyboard yet, so the value of the pressed key was constant. And thus, my code didn't compile.
Another way is to set the variable as volatile, but that's cheating.
In summary, yes, the error message could be tad bit more informative.
For those of you who don't know, Don Rosa is (or was, depending on when you're reading this) an artist who wrote and drew Donald Duck comics. He's not alone in this, but what makes him special is that he turned the forum that was pretty much dominated by short one-shot comics into something that has longer and thoughtful story arcs. He won some award or another on his long series of Scrooge McDuck histories.
And his artwork also sets him apart; in stark contrast to some of the downright amateurish scribbles published in those magazines, his drawings are simply amazing.
He enjoyed something of a superstar status in Finland, of all places, due to his comics, and people would queue around the block to get his autographs. He even made one series where the Ducks visit Helsinki and pretty much level the place.
There was a time, around 1999, when I was working in the web side of the advertisement agency who dealt with all things Disney, and Rosa was visiting Finland. Someone got the great idea of holding a real-time web chat AMA, and since the web chat software lacked the capability of recording the chat log (or it was broken; no idea), I ended up being the person who created the log, copy-pasting the feed in real time.
The chat was, naturally, in Finnish, and there were translators for Mr. Rosa. I didn't meet him, being at the web agency's offices while he was (probably) at the local Disney branch or whatever. In any case, most of the questions were of the dull, expectable fare like "how did you learn to draw". While doing my copy-pasting I dropped in a question about an in-joke (related to the "get smart" tv show); the translators replied to me something in the lines of I shouldn't waste the guest's time with stuff like that.
But they translated my question anyway. And apparently he started laughing and it took a while to get an answer; he was so overjoyed that someone got his joke, as well as that someone asked something more intelligent.
When I actually met him a year later or so, in a book signing, he didn't remember any of that, which was sad. I guess I had overestimated my impact on his visit.
I swapped a few emails with him, but stopped because I realized I was just wasting his time. If I had something to give to him, instead of being just another annoying fan asking stupid questions I could just google instead, I might have continued.
All too soon after, he announced that he's stopping drawing, referring to his declining health (vision, mostly), as well as his frustration at the publishing house requesting short one-shots. I so wish they would just have let him do his work. Oh well.
So what's the point of this blog post? No point, really. Just a memory that popped into my mind from a lifetime ago.
We have a fireplace in our house, and the regulations state that there must be more fire-proof material next to it than we had, so we started looking for solutions. The classic option would be to get a metal plate (like brass or cast iron), or lay tiles, but neither of those felt nice for our living room. Then we figured we could get a nice glass panel, and found the web store nettilasi.fi where to order one from.
After the store's stated delivery time had passed, I pinged them and got a reply saying that a shipment is leaving from the factory and if our order made it to that set, it should be mailed promptly.
In a few days the glass panel did arrive. I handled it with care, considering it's glass and rather expensive. While sliding it on the floor to find its final location a piece chipped off a corner. I took a photo of this and emailed the photo to the store.
What would you expect as a response? Apology? Offer to replace? Offer to replace with discount? Refund? Partial refund? None of the above? Correct. I didn't receive a response.
After a few days I pinged the store, asking if they're planning on ignoring the complaint, and got a rather passive-aggressive reply suggesting that I must have hit the corner on something hard, braking the panel myself, because the heat shock they give to the panels at the factory would have shattered it if there was anything wrong with it.
I replied that, considering the care I took not to harm the panel (which, I remind you, is supposed to survive being walked on), something must have happened to it before shipping.
To my utter lack of surprise they never responded.
Our older dog, Jana, passed away on 6.6.2018. She had been with us for about 15 years. In the large scheme of things, it's just another dog, and her description could probably fit any number of dogs in the world, but damn it, she was our dog, and it's killing me.
She was a mix of Coton de Tulear and Lhasa Apso, so she was basically a tiny furball with an attitude. Everybody she met liked her, even those she would try to threaten, as nobody could possibly take her seriously.
She had no apparent sense of scale, and would bravely challenge dogs orders of magnitude bigger than her, especially if it came to food.
You see, the universe revolved around her tummy.
She loved food of all forms, cat food especially - the only time she actually bit me was when I took her away from some cat food that she was not supposed to access in the first place. If you were carrying food and she felt she had a chance of getting some, she'd get on her hind legs and would dance wiggling her forelegs.
She would quickly learn who's a messy eater and you'd find her under the table at attention, waiting for bits of food to fall down. We would have to keep telling our guests not to give the dogs snacks from the dinner table, because if someone did, she would start whining for more.
If you sat down somewhere, she would come around and pat you on the leg a couple of times and the roll on her back so you could rub her. She didn't mind if you rubbed her with your foot even, as long as it happened. And she was rather insistent on it.
If we had a guest who had never been to our home, she would growl at the guest when they came in, but once they sat down somewhere, it was tummy rubs time.
And she loved to take naps just about anywhere. Pillows were preferred, but a sunny spot on the floor would do just fine.
She always hated having her nails trimmed, but got more tolerant for it over time due to the inevitable snacks she would get afterwards. She was really easy to motivate - just offer snacks.
She came to our home carried in a little cardboard box, smaller than some hamsters. When we took her out for a walk, people would stop and ask if she's real. In the bus some people would wonder what that small black furball was, was it a bat?
She never learned to ask to go out (or we never learned her signals about this), so if she had to go, while she preferred to do her business outside, if nobody took her, well, carpets can be cleaned. This got worse when she got old, but we just learned to take her out often enough.
If you didn't close the door when you went to the toilet, an inquisitive snout would poke the door open, stare you for a while, and then she'd snort disapprovingly before moving on.
She loved to play with balls, even ones bigger than her. She'd play the goalie, waiting for you to kick the ball, and then charge at it.
As she grew older, one morning we found that she couldn't walk. We took her to the vet, and both her hind legs got operated on, which was a rather expensive operation. Some older relatives of ours wondered why we bothered, but this was our pet, and our decision. After the operation she gained a lot more mobility, and didn't have trouble ascending or descending stairs anymore, something we didn't even realize might have to do with her legs. We always assumed she just didn't like stairs.
In the last year or two we started to see that she didn't see as well anymore, did not hear as well anymore, and her hind legs were not as stable. We knew her time was growing short, and it was pretty clear this was going to be her last summer. I so wish she could have lived just a couple more months though.
As I was taking the dogs for a walk in the evening, she suddenly fell and started twitching on the ground with her head at an awkward angle, and I immediately realized something was wrong. I carried her home and as the seizure passed she slowly returned back to normal. After discussing our options my wife was to take her to the vet the next day.
With the public transport schedules being sucky we decided that she'd take the bicycle, and as I assembled the dog trailer (which was packed away in storage) I couldn't help the feeling I was assembling a hearse.
Morning came and she was completely herself, running down the porch stairs to pee and running back up for her treat.
The vet said that the seizure had not been an epileptic attack but instead a stroke, and that there would be more of those, they would be worse, and if the next one wouldn't outright kill her it would probably cause so much brain damage that it would be time to put her down. Being such an old dog it didn't make any sense to investigate the cause of the stroke any further, but it's likely she had been suffering from cancer for some time, which would explain some other symptoms she had.
We were devastated but glad that we still had some time. We gave her snacks and care, but generally tried to keep things normal.
After kids had gone to sleep I was spending time on my computer, and I suddenly started hearing a worrying sound from the living room. She was having another stroke. This one she didn't recover from. She would unsteadily walk in random directions, clearly confused, not knowing where she was or who we were.
It was time. It feels so unfair. We were supposed to have some time yet.
My wife took her to the vet to be put to sleep. I don't know if I could have functioned well enough to do it.
And now.. it's so damn quiet. You especially notice it at dinner time, when those little feet aren't tip-tapping around, sniffing for food scraps, sitting in attention waiting for something to drop. But you also notice it when you're sitting in the toilet. Taking just one dog out for a walk feels strange, being able to walk at a fast pace when the little furball isn't slowing down, wanting to sniff every single inch of the sidewalk, every single flower. Probably looking for something to eat.
For a long time I expected that she would die due to eating something unsuitable. That would have been so true to form for her.
She taught us a lot about keeping dogs. When I first had to open her mouth to check something I wasn't as confident as I'm now, and it didn't really work out. Confidence, as it turns out, plays a huge role in handling dogs. They can sense if you're not confident, and they will not co-operate.
If you're picking up a dog, they'll sense if you're not confident. She would always growl (especially if she was lying down somewhere) if I picked her up, but wouldn't give a fight because I was confident about it.
She was small enough to carry with one hand. On your palm.
If there's one word that I had to use to describe her, she was easy. Easy to please, hardly ever caused any problems (some soiled carpets and some gnawed audio cables she destroyed as a puppy aside). If we needed to travel somewhere, anyone could take care of her, and everyone was willing to. She didn't eat much (okay, she wanted to, but there's only so much a 4 kg dog needs). Got along with everybody, most dogs included, didn't care about cats or children, but wasn't aggressive towards them either.
I miss her so damn much.
I've been running through the games "God Eater Resurrection" and "God Eater 2 Rage Burst". These are Japanese pseudo-rpg hack & slash games with ridiculous weapons and even more ridiculous battle clothing.
The experience is kind of like a playable anime show. And they apparently made anime out of it too, and some audiences (according to Wikipedia) think the games are about the anime and not the other way around.
Game design wise they're rather interesting, in the way they took short cuts. There's a distinct "ingame" where you run around in an arena and beat up big monsters (usually around 1-5 at a time), and the ingame pretty much consists of button mashing. Mission timers generally run at around 30-40 minutes, but with enough cheating I've been able to beat the levels in under 5 minutes (each), depending on where on the arena the monsters spawn.
Sometimes new monsters are spawned during a fight, and this is most irritating when they do so on delay, so my run-through-game-cheating strategy gets a bit boring when I have to stand around waiting for three minutes for the last baddie to pop up.
You also collect random items from the arenas, which can be used for crafting, and in some cases are required to progress in the story.
The story itself is completely told through cutscenes and visual novel-like linear conversations where, if you even get an option to choose what to say (which occurs rather rarely), what you say only affects what the other person replies next (if even that) and no consequences after that. In most cases your options are literally "yes" vs "of course".
What it boils down to is that the game design feels as if the ingame was built first, and then the designers were fired and nobody touched that code anymore.
Let's say the story has a search and rescue operation. You go and beat your monsters, and then the actual search and rescue happens in a cutscene. Or the story has you field-testing some experimental hardware; you go and beat your monsters, and you don't need to actually use the hardware (assuming you even have it). When some NPCs inevitably die, they do so in a cutscene.
Some cutscenes actually show you and your companions fighting. In some cases you beat said monsters just before the cutscene.
As the story progresses you get new stuff to craft, like even more ridiculous pieces of clothing. To craft these you need items from the battlefield, so these two work as incentives to keep going; do more missions to unlock new clothing, do more missions to be able to craft them.
Between missions you can run around in your base and talk to NPCs, and every now and then you won't be able to start a new mission before doing so. Sometimes this triggers a cutscene. Sometimes you need some specific item (from the battlefield) to continue, which leads to you grinding additional missions to gather said items.
Sometimes a cutscene shows that there's a time-critical, perilous situation which needs to be addressed immediately, and then you get control and can do a dozen side missions before getting back to the main story. As you do.
"God Eater Resurrection" is actually a remake (of God Eater Burst) of a remake (of God Eater), each adding a new story arc. This was pretty weird to experience without knowing that fact, because you get end credits.. and the game keeps going. Then you get end credits.. and the game keeps going. And then you get end credits.. and the game keeps going (but without any actual plot advancement after that). The "resurrection" was actually published after "rage burst", which shows in some game mechanics being more polished.
I still haven't finished my run of God Eater 2 yet, churning through those pointless battles, waiting for the next set of clothing to unlock.. hoping the game will end soon so I can move on to something else.
Holy crap, I never ended up posting this. I wrote this on March 23rd, so it's been a while..
So.. um, okay.
Discussion with various Microsoft support organizations led me to running the windows update troubleshooter. Said troubleshooter suggested deleting the patch database and re-downloading patches, or some such. I said go ahead and left it to do its thing overnight. In the morning it was still at it, and looking at the 12 gigabyte CBS.log file I found that it kept repeating the same 1000 lines, processing one single update over and over again. I hit cancel and re-ran the troubleshooter, which told me to reboot.
Reboot, naturally, led back to the INACCESSIBLE BOOT MEDIA loop. And doing the same trick I mentioned on the previous update didn't work anymore. The next suggestion from the Microsoft reps was to do a clean install. This (luckily) doesn't mean wiping the hard drive, but it does mean that all my application installs are gone.
After the install was done, system booted, but had moved all the applications and old windows directory under "windows.old". Fine. If the alternative was to buy a new PC, I guess this was preferable. Drive letters were also changed, but that's repairable through Disk Management.
First I removed all the crap applications (such as a bunch of games) installed along with windows. Un-pinned all crap from task bar. I removed live tiles from start menu. I installed updates (which, for some odd reason, weren't installed along with windows). Rebooted. System still works.
Installed Firefox, even though Windows kept insisting that I should give Edge a chance. Installed Steam. Installed Spotify. Logged into both. Quit Steam, moved the directories under steam from windows.old to the new steam directory. Started Steam, and yes, the games are there, and my saves seem to be safe too. That means I don't need to restart my OCD run of Mafia 3.. (which I have since finished).
Photoshop: the dvd drive on this PC is broken - I could swap it with another from my PC graveyard but I'd rather not use disks if possible. Found that you can download Photoshop CS5 installer from Adobe, so I did. The CS5 installer asked for CS5 key, noted that this is an upgrade, so it asked for older Photoshop key, which I also gave (I had upgraded from CS2 to CS5) and it installed. The Photoshop license is the one I had been most worried about. I have to wonder if I had kept updating Photoshop, just how many keys it would have asked..
Affinity photo reinstalled fine. Not that I expected any problems, really, since I had just recently bought it. Why Affinity when I have Photoshop? Well, Photoshop CS5 is bound to stop working at some point, and I want to explore alternatives. And it's not very expensive (unlike Photoshop).
Ultraedit: I had bought a new version of UE right before the first system crash, so I had lost the new version install. I didn't bother installing the new version after rolling back because... UE25 is really slow compared to UE15. This time I didn't feel like digging up ancient UE installers and installed UE25. It accepted my license fine as well. Now I just have to figure out how to disable some of the annoyances that make UE25 so damn slow..
After some googling I found that the new "document map" feature, which is only really useful on large files, makes editing large files unusably slow. And this is like a 100 line file and it's unusably slow. Disabling the document map made ultraedit much faster, fast enough to be usable, but it's still blinking like crazy while I'm typing. (Since then UE has had an update that made it somewhat faster, but having word wrap on still makes it quite slow..)
Visual Studio: I guess I can just install the latest visual studio community.. the primary thing keeping me to the older visual studios has been SDL1 and I think I've mostly moved out of that by now.
After Visual Studio, I rebooted. System still works.
Cheat engine. I think I've mentioned several times that I tend to hit (single player) games with cheats if they feel like they're wasting my time. Many games have become more enjoyable after skipping the (story-wise unnecessary) grinding for money, for instance.
Sourcetree. CPPCheck. LLVM/Clang. VLC. Python.
I realized that I forgot my bookmarks in Firefox. I tried copying the whole profile over but the bookmarks didn't appear. Bummer. Then I realized that the profile exists in both AppData\Local\Mozilla\Firefox\Profiles as well as AppData\Roaming\Mozilla\Firefox\Profiles. After copying the roaming profile over, bookmarks appeared. Phew.
Audio stuff: Komplete. No worries, I'll just re-download a hundred gigs. Cough. Well, at least Native Access makes that process relatively painless. Audacity, no problems. Reaper, accepted license fine.
That set scratches the surface - there's still a lot that's missing like all of my web development pipeline (who knows when I'll get this update online..), video editing stuff, and so on and so forth.. but at least the system is usable now.
Since my web dev stuff was pretty much broken I figured I might try to do a makeover, but after looking into things for a few days I just installed PHP again just to get this update online. In longer-term I wish to change from PHP to something python based (jinja2 probably), but then again, I also want to change the site's layout at some point to something more reactive.. the problem there is that web development is a bit crazy (as it's ever been) with transpiling and sass and stuff, but for some reason I haven't been able to find a simple tutorial on setting up a decent modern web dev environment. Shouldn't be too hard, but takes time to piece things together - time I don't really have right now.
As I had feared, my system went back to the INACCESSIBLE BOOT MEDIA loop. Like the last time, my multimedia keys stopped working, and the next time I booted (which was several days later), the boot got stuck in the bluescreen boot loop.
Given the experience I had from before, I dug up the USB boot media, messed with BIOS to boot from it, went to the recovery console and ran a few commands based on twitter conversation I had after the last time this happened.
First, I found the volume that has my system files in it. The drive letters are pretty random. I went through drives starting from C:, checking for windows directory and the correct volume label. I found my system on drive H:.
Next, I checked what the latest installed package was:
Dism /Image:H:\ /Get-Packages
The latest package was a "rollupfix" package, so I presume it's a collection of patches which happens to include the one that blew up my PC a couple months ago. I removed the package with:
Dism /Image:H:\ /Remove-Package /Packagename:Package_for_RollupFix~31bf3856ad364e35~amd64~~16299.192.1.9
Package names are long. As I was in the recovery console, I don't have the exact name copied down, but it was something like that.
After the package was uninstalled, I rebooted, changed boot device back from the USB stick to the hard drive in BIOS, and... the system booted.
This doesn't fix the root problem, however, and I'm pretty sure I'll find my PC in the boot loop some morning after windows has run automated updates. Sigh. At the moment I'm pretty much dreading the next cretor's update.
I've been tinkering with SoLoud again after taking a couple years off due to being burned out on the project. Long story short, I spent all my free time on it for a few years, and then got some, erm, constructive criticism from a game developer, which hurt enough that I didn't want to have anything to do with the project for a while. The while become a couple months, then a couple more, until a couple years had gone by.
SoLoud, like any non-trivial piece of software, builds upon the work of others. I have been careful to only include libraries that do not require attribution in binary form. That means that BSD license is out, and don't get me started on GPL.
Some people feel this is unreasonable. I, on the other hand, feel requiring attribution in binary form is unreasonable.
In a few cases I've reached out to the authors of the libraries and they've changed licenses to suit my needs. In some cases the authors simply did not care about the license, and had included it because someone asked them to - or just included a license because everybody else was doing it. In some cases the authors were not available, because, you know, they were dead.
If I didn't have this limitation, building an audio library like this would be much easier, but I'd rather not to force people who use my library to have to include kilometers-long legal notes in binary form.
As an example, Steam ships with ThirdPartyLegalNotices.html - currently an approximately 200kB, 4000 line file.
Now, I'll build an exaggeration to make a point. Bear with me.
Let's say that the author of a certain Linux filesystem had gotten his way and all software required a splash screen at startup for any significant piece of software used. Let's call "significant piece" 10kLOC for the heck of it. It's industry standard, everybody's doing it, so everybody's doing it. Right? The SoLoud project, including the third party libraries it contains in source form, clocks at about 130kLOC at the moment, which would mean 13 splash screens you'd have to add to every application you wish to use SoLoud. And 13 splash screens every user would have to drag themselves through every time they launch your game.
And that's, of course, just SoLoud. The GNU C library is about 1.3MLOC - I presume other C libraries are of similar sizes - and don't get me started on the game engines out there..
I've seen code of a hundred lines that requires attribution, explicitly, in binary form.
Wouldn't it be much nicer to just include the library in your code and get on with life, without having to worry about all this? In the end, most people who release source code would rather their work is used, than that it's not used.
In the end, the end users don't care.
Some ten years ago I was walking the dogs with my wife, and commented that maybe I need a new goal, like having my code in the hands of a million people. My wife said that was megalomaniac. A year or so later Qualcomm shipped that many devices in a day with drivers that had my code in it. And unless Qualcomm's corporate culture has changed (which I find extremely unlikely), my code has likely touched a billion people by now, only through those drivers.
I'd like to stress that this does not make me unique by any means - those drivers alone have code from hundreds of people.
In any case that's just my corporate work. I've also worked on a bunch of open source, and I sometimes hear through third parties how my code is used somewhere. Some 3d chat used my (currently horribly outdated) virtual filesystem. A game where you build and battle robots used it too - I sent that company an email asking for comments on the library and they sent me a copy of the game. Most of the time I don't hear about the code use though. Is my code used in space? On another planet? I have no way of knowing.
SoLoud has officially shipped on all major consoles.
Maybe I need a new goal.
Yesterday I noticed that the media keys on my Natural Keyboard Pro stopped working, probably as a reaction to me switching from a broken mouse to a new one. I figured I'll just quickly boot to get things working again.
The boot resulted in a bluescreen saying INACCESSIBLE BOOT MEDIA. In itself it's a bit weird error message given that it's loaded from the boot media. After showing it a while the system rebooted and returned to the bluescreen. I let this go on for a few cycles and then figured it's not going to right itself.
I started googling about this and found a bunch of resources starting from a decade ago, and apparently the magic thing to do is to boot up with windows usb stick and hit boot repair, which (according to the discussions I found) is bound to fail. And it did.
The tool threw up a log file which says that an unfinished patch is stopping the boot, which sounds weird, and an error code of 0x490. Further googling gave more magic things to do, like running "bootrec /fixboot", which gave an "access denied" message. Several threads said that this is new from the latest win10 boot media, and using an earlier one worked. After trying a bunch of other things like setting the partition active and rebuilding boot records, I managed to get something done and the bluescreen was replaced with a dull message saying there's no operating system here.
I hunted down an older boot media (which is from several years ago, because the boot media build tool has "improved" since and only lets you build the very latest), booted in and got the fixboot command run without being denied access. After this the automated recovery tool managed to do something, the system booted.. back to the bluescreen.
There's a bunch of threads explaining how to fix the UEFI boot, but the thing is, this is a legacy system - there's no secure boot here. I also don't know what exactly broke it, as it's been a very long time since I last rebooted (just how long I have no idea).
Back in, I dunno, windows XP times when things were borked enough you could just reinstall windows on top of windows and it overwrote some system files but overall your system was left intact. I tried running upgrade on the media but that just said that upgrade is only allowed from a booted-up system. Shrug. I tried to roll back from the last system checkpoint but there was none, and rolling back to the earlier windows build also just failed.
A little progress, though; booting up now popped up boot options. Unfortunately, all of the options (like boot in safe mode) just ended up in the same bluescreen. Turning on boot logging didn't end up touching the log file, so the crash occurred before the filesystem was up. This probably also means that the drivers were fine.
As a funny side note, the most recently updated file in the windows directory (where the boot log resides) was windowsupdate.log which just contained a message stating the windows update logs are only accessible through powershell now. Which is, like, super helpful when trying to figure out what went wrong from a recovery console.
All integrity checks succeeded, including chkdsk, so it wasn't hardware failure. No popups asking me to pay bitcoin either, so probably not a virus.
Now, I bought myself an SSD as a xmas present, so I had done migration about a month ago. I figured that since there's nothing else to be done, I might as well (after taking last-minute backups of my source codes) re-do the migration. I'll lose about 40 days worth of changes, but I should end up with a working system. Until, in the worst case, Microsoft remotely borks my machine again. Let's hope not.
So here we are. We'll see how it goes. If things break down again, I may need to burn some money and build a new system, which isn't all bad, but there's a bunch of software licenses bound to this hardware I'd rather not lose.
My brother had an idea, pointed me at some open food nutritious data and asked (in a roundabout way) if I could make a tool that uses said data so he could get food nutritious content estimate on home cooked foods. I said I'd take a look.
It's been ages since I last did any web work, and things have definitely changed a lot. To start, I dumped all the CSV data into a SQLite database. I had to massage the data a bit because the CS Vs had some extra newlines, I had to handle umlauts somehow and decimal points were wrong (Finns for some reason use , as decimal point, which had to be changed..). I ended up html-encoding all umlauts, which meant that the C in CSV became a problem.. anyway, I got it done.
Next I made a web 1.0 version with PHP. Everything in that version is server-side, and there's no CSS or anything. While that works, it's not convenient.
Then I asked on twitter about recommendations on modern web dev frameworks. People pointed me at vue, react, elm, rolling my own, or not using a framework at all. I looked at a few of these and vue looked most friendly to me. I watched a few vue tutorial video clips which let me get rolling pretty quickly. These tutorials also pointed me at Bulma CSS framework, which solved another big piece of the puzzle. Bulma doesn't do everything I needed, but luckily there are extensions.
I decided to ajax a bunch of stuff, and opted to just use fetch() even though caniuse said some current browsers don't support it. Since the target market for this was pretty well defined (i.e, my brother) I didn't really need to care. For more complete support I could have taken in some ajax library, but why bother?
Foodsofia uses two php scripts which it uses to ajax data in; the list of food items and the nutritious values of specific food items. Both of the scripts return data based on the language code (the original data had support for Finnish, Swedish and English, so those are supported). I also made sure to sanitize all the inputs to the php script to avoid the bobby tables attack.
The primary control in FoodSofia is the select box. First I used plain select, but that's annoying (not to mention slow) to use with ~3000 items, so I changed it to v-select, which has search capability. That worked fine, except that it was really slow to start. As a test I replaced it with vue-multiselect, and that was way, way faster, so I'm happy I tried it out.
After putting the more complicated select components in, I noticed that they conflict with the bulma css, so I got to learn at least one way of trying to figure it out. Using chrome's developer tools, I found the component in the DOM, investigated it's css and one by one disabled the css items until I found the one causing the glitch. Then I wrote a one-line style to disable it by hand, and the component worked. This leads me to wonder just how many of these kinds of kludges exist in modern web sites these days..
Last missing piece was being able to share the resulting links. I encoded the food table as a hex string - one character for the "used" toggle, 4 characters for food code (slight overkill) and 6 characters for the food amount (in 1/100ths of a gram - so if you enter amounts larger than 16777.216 grams, the resulting url will not work).
The url encoding was also helpful in making the language change happen. The language buttons simply reload the whole page with the url encoding and a different language code. That way I did not need to ajax every piece of data separately. Also, there's no need for cookies.
Working with vue and bulma was fun. This site's layout was last redesigned in 2010. Maybe it's time for a revamp? I've had a few starts at a redesign, but the sheer scope of this site (some ~250 pages of content) makes it a lot of work. These frameworks might make it easier.
TMDC20 results are out. First place.
Got the breakdown writeup done too. And there's a pouet page.
Here's one I did not finish.
My most viewed video on youtube is my "Bookworm Aimbot", where a bot I wrote plays bookworm and is pretty good at it. I figured at some point that I could make a sequel to that, which plays Bookworm Adventures instead.
First order of business was to get the dictionary the game uses. Unlike with Bookworm, the dictionary wasn't conveniently as a separate (if slightly encoded) format. I figured the dictionary needs to be in memory, so I ran the game, dumped the memory using Process Explorer, and wrote a tool that finds the dictionary words and dumps them into a text file. According to some wiki about the game, Bookworm Adventures 2 knows more words, so their dictionaries are different; if I ever go that far, I would have had to extract that dictionary too.
Next up, I needed to deal with the OCR. I took screen caps of the tiles, which are both different size and have a different font than what Bookworm used. The font is more OCR-friendly, and no particles are drawn on top of the glyph either, making the OCR way easier. After some tweaking, I got it to recognize the tiles perfectly. No preprocessing filters needed or anything.
Working somewhat smarter than last time, I used the RegisterHotKey API in windows and bound my bot to run if control-f1 was pressed, and to die if control-f2 was pressed. This way if I ever lost control of the bot, I could just kill it with the hotkey. Except when I made a bug which ended up not ever checking window messages, of course, and I had to cycle through another account to kill the process. Yay. But overall, much smarter.
I wrote routine that looks for the best possible scoring words (biased towards longer words in case of a tie), and a routine to enter the word and submit it.
And then I stopped.
The game is just annoyingly slow. After every move the bot made, the game would play a slow animation before it could continue. Couldn't even rapidly play through the dialogue, there's a speed limit there too. I guess I could have beat the world record in fastest play-through, but I didn't really feel like it. I don't think the resulting video would have been all that interesting.
On top of that there's some special stages which require different tactics (like answering riddles) which would have required a lot of code.
After that I started looking for other letter tile games I could play and/or attack, and there doesn't seem to be a lot of these out there. I did (re-)discover Bonnie's Bookstore, which is also a rather old game at this point, but since popcap was bought by EA, I couldn't re-download the game anymore (yay DRM). I did contact the original authors who sent me a new key but that didn't work, so.. dunno.
Some minor spoilers here. Game story is not discussed, some game mechanics are.
I recently finished playing The Sexy Brutale, and since it's game design brushes an idea I blogged about in 2008, or "groundhog day - the game".
The Sexy Brutale simplifies the idea a lot, but it's still there. The location is relatively small and there are only about twenty agents in the game. On top of this, there are some characters that don't really have any agency, and could be considered interactive furniture.
The second big simplification is that the player's agent doesn't interact with the other agents directly. Interaction is indirect, you manipulate items or press a button or some such, and that changes things.
Third simplification is that the agents don't really interact with each other either (except for the obvious killer-victim interaction).
Fourth, you can only change one thing (that matters) at a time.
All that said, there's still a lot there; repeating day cycle, picked up items returning to their original locations when day restarts, a lot of actions only possible at specific times of the day, learning what's going on in order to change things. For example, if you know the key code to a door, you can open it. But you first have to find it out. Once you do, there's no need to go through the trouble of finding out again, just run to the door and go.
One idea I really like is that you can change the location from where you start the day, which reduces the frustration of having to run through the same set of rooms every time the day starts. What I really dislike is that you have to wait several seconds for your character to get up every time you re-start the day before you can move. It's a small thing, but it's annoying.
The audio design in the game is also great. Different locations in the game have different audio, different soundtrack, but key events during the day play at the same time, so you learn to intuitively know what part of the day you're in. When you spy the agents talking to each other they sometimes mention these things too, like "was that a gunshot?".
When I was thinking of this kind of game I always started from the idea that the agents would be based on some kind of generic AI which knows how to do basic things like getting from A to B using whatever is the most convenient way (i.e, take the bus), and on top of that they would have a script of events they should try for ("get to work by 7am"), with some logic ("if no car keys, don't use car"). But it doesn't need to be that complex, like The Sexy Brutale shows.
The stuff I talked about in the old blog post - social billiards - does make things a bit more complex, but with limited number of agents it should still be totally manageable. Would need a lot of planning (basically designing a graph to see what affects what), but.. doable.
To make the workload smaller, the locale could be selected so that it makes sense that only a few people are about, like they did in The Sexy Brutale, such as an off-season ski resort or maybe a cruise ship. It's also not necessary to be able to affect all agents, some might come out of buildings the player can't access and leave the same way, for instance.
I'd also make it so that the player can retry things later in the day. Kinda like with save games, but if you manage to gain knowledge or a skill, those things you could keep. When restarting the day, you could pick the time where to rewind, and the game would act as if you had played exactly the same way up to that point. Plus, of course, an option to just idle for N hours if you're waiting for something specific to happen.
The AI logic would still have to be much more complex than in The Sexy Brutale, because, let's say someone comes home and finds you standing in the middle of their living room... the agent should definitely react somehow.
I believe it would totally be possible to implement. The big question is, would it be fun to play? I guess that depends a lot on the stories the game would tell.
Let's hope 2018 ends up better than 2017 was.
Not that 2017 was all bad. But it could have been better, overall. In 2017 I dabbled with doing some consulting on the side (which my full-time work contract is fine with), which then was abruptly moved aside because, after applying for years, we became foster parents. Which naturally took all of my free time and added tons of stress, but it's not all bad.
I spent most of what was left of my free time just going through steam backlog or similar low-stress things. I did manage to get the minimal things done, though, like the new year demo:
Like before, you can also read the breakdown, the pouet page, and download the win32 binaries and run it for yourself. Might be worth it if you want to watch it for hours. I did.
I also entered the 20th TMDC, but the results for that are not yet out, so... expect another blog post.
Talking of blog posts, I really should blog more, even though I doubt many people read these. Maybe that'll be the thing I'll try to do more this year. We'll see..