What if Smart Screen blocks my product?

What if Smart Screen prevents my product to run on your computer? You can check the file before running it with some antivirus scanner and as you see, that there’s nothing harmful, just run the program. See the video (I have Finnish system, but I have added needed translations):

My system is protected by F-Secure’s protection package. If you have F-Secure’s protection too, and Deep Guard says it has prevented harmful program to run (in Finnish: ”Deep Guard on estänyt haitallisen tiedoston”), you may still do the same scanning as shown in the video and as you see, that the program is actually clean, don’t be afraid of running it.

Though, if the Deep Guard prevents the program to run, one must manually allow the Deep Guard to run the program, by changing F-Secure’s AV settings in order to put the program to the list of allowed programs.

In case you ran into any problems, just contact me by e-mail and we’ll find a solution together.

Image courtesy of TAW4 at FreeDigitalPhotos.net

In order to prevent the Smart Screen to block a program one should have a certificate and put the certificate into one’s program after one has validated it with Microsoft’s validator. But the certificate is expensive…

Also, many of you may have noticed that one somekind of generic interpretation of a “virus” or some harmful file is often just a rare file, rare piece of software nowadays… The definition of rare is sometimes just new.

How To Fix Missing OpenAL32-dll Problem in Windows 10

Missing OpenAL32.dll problem seem to be common problem with many software.

First how the solution can’t be solved: At least in 64-bit Windows 10 grabbing just OpenAL32.dll and registering it to system with regsvr32 doesn’t work. There are some bad solutions to solve this problem. The best solution is simply grabbing the missing dll from http://www.openal.org/ and install it with the official installer it comes with.

In general, if one is missing some software component, it is best to find the official website of the missing software component and hope for the best.

Image courtesy of digitalart at FreeDigitalPhotos.net

This is how to fix the problem when setting up Monkey X installation, too.


Old School IX

This morning I made new Old School demonstration in Monkey X. This is now 9th in the series.

Not much is changed in the code from the previous Old School demonstration. What actually required some work, was the font. As in all my Old School demonstrations, I used my Font 2 PNG program. With Mojo2-module one can use for one picture the following: “pic.png”, “pic_n.png” and “pic_s.png”. The programmer doesn’t need to worry about “_n” and “_s” versions of an image, Mojo2 takes care of them. I’ve written all I know from those extra pictures in the first old school post. I may make a better version of it in code-wise and perhaps add some extra too…

Anyway in this 9th version there are 3 versions of each character that are individual png-files.

See the magic: 🙂

I may share the Monkey X source code for these later Old School demonstrations later.

Old School VI 2 and VII Videos

I recently made version 2 from my poor Old School VI video. Today I got finished Old School VII video. Both demonstrations are programmed in Monkey X Pro. VII has that nice demo scene style synth music like Old School V. 🙂

In the Old School VII the the new letters fade in to the screen as the scroll text goes on and when the letters have gone the whole circle, they fade out…

Let the nostalgia flow through you!

First Old School VII:

…then Old School VI 2

I hope you enjoy the videos!

I Haven’t Followed the Time

I’m living in the past too much, such speaking. This reminds me what Yoda said to Luke Skywalker in episode V: ”Always he has looked into the horizon, never where he was, what he was doing!”. Or something like that.

I started 2015 an Android game project, I haven’t touched for a long time. Much have changed since I started that project. The pro version of Monkey X saw many updated versions with mojo2-module while I was using old mojo-module in my project.

Later I updated the code for mojo2, but how fast the time flies: Monkey X has gone completely open source and I don’t even know when that happened… Today I installed latest open source version of Monkey X from Blitz Research.

But since I seem to live in the past, I’m going to find time to finish my Android game with old Monkey X (with mojo2).

What’s well.. ”special” in this game is, that all the musics will be composed by me. Though, I haven’t been making so called tracker music ”seriously” (if ever) for a long time… Though, for testing this game project I will be working again, I already have made four short tracker music compositions last year – and one short piece of music made with PC’s ProTrekkr.

Though, to pity for the potential players of this game, I probably must compose new tunes… 🙂

When finished, the game will be free.

Shortly about my early Amiga times

My first Amiga was Commodore Amiga 500 with Kickstart 1.3 plus TV-modulator in order to get the picture to TV. The contents on the TV were hardly readable as it comes to any text. For playing games quality of graphics output was decent.

Later I got SCART cable to connect the graphics output of Amiga to TV. That was something else, one could even read the text on the TV without getting red eyes and tears. 🙂 A bit later I finally got a 14” monitor to use with Amiga SCART cable as the connect cable for graphics and sound output.

It was 1988 when SoundTracker 2.5 was released, which was the first SoundTracker that didn’t crash on Amigas with Kickstart 1.3. I don’t have any real education on making music. The way I have learned making music was listening to ”real” music and music modules other people had composed with Amiga. As I got my Amiga 500’s audio output connected to an old Pioneer amplifier with big speakers it was simply amazing to listen to Amiga’s music that was built with 8-bit samples.

Working with an Amiga 500 with only 512kb of (CHIP) RAM was quite a limitation. Usually I didn’t use Workbench (Amiga’s graphical user interface) but AmigaDos as operating system environment when programming with Amiga. This was because Workbench of course took some of the limited amount of memory available for the user.

Here’s a video from one unfinished Amiga project I was working 2003 – 2004 (not from my early Amiga times, though 🙂 ):

You may be interested int the source code of the demonstration above.

With only one disc drive (with Amiga 500 I didn’t ever have a hard disk) all the AmigaDos commands were read from directory named ”c” – c for command. For the sake of speed (disc drives are slow) it was possible to put the most used AmigaDos commands to RAM disc or make them “permanent” to RAM memory. I don’t remember the AmigaDos command to do this, but this was faster than reading from the RAM disc anyway… Putting AmigaDos commands to RAM of course also decreased the amount of available memory for example for a text editor and testing the compiled and linked assembly program…

Later, when I bought an additional disc drive, Senator, to my Amiga 500 working got easier: It wasn’t only the question of available memory, but also the available space on a single disc. Full capacity of Amiga’s DD disc is 880kb, the space available after formatting the disc was of course a little less.

When working with the additional disc drive, I made boot disc of my own to start the system, where I had put all the needed AmigaDos commands, libraries, applications and so on. My own work was on the additional disc drive. Ah, how things got easier…

The description above compared to working with desktop systems nowadays may be a bit amusing to younger generations… 🙂

Shortly about my Amiga gaming history (1987 – 1993)

Soft start for this year, look back in time… In older blog post I wrote about my computer gaming history on Vic 20 and on Commodore 64, now something about my Amiga times…

My first Commodore Amiga was Amiga 500, which I got eventually upgraded with additional disc drive and 2 MB of (real) FAST memory.

Although I was more into programming, demo scene demos and making music with Amiga than playing games in my Amiga times, I had some fine moments with games too.

One of the first — if not the first — game that I saw on Amiga was Hybris in 1987 at my friend’s place, while I was still using my good old Commodore 64. Seeing Hybris on Amiga was quite a blast for me: I thought it was graphically and musically at the same level than coin up games I’ve seen as a kid.

Take a look and be amazed: 🙂

I remember, that I always wondered (and still do), how the programmers had the time and skill to program this kind of quality game in those early years of Amiga games. All those attack waves, complicated movements of enemy ships, so many bobs (blitter objects) in addition to sprite usage, all movement in one 50hz frame, though smooth scrolling was made every second frame. One thing that probably helped to make this game possible was the use of only 256 pixels as width of the screen; this allowed the programmer(s) to use assembly instruction lsl instead of mulu when calculating the position of an object to the screen. Assembly instruction mulu is much slower than lsl, which shifts the bits to the left making multiplications needed somewhat fast.

Some time at my high school (lukio) times I programmed a program that took an IFF image as input and as output the program produced a binary file that consisted of coordinates to “attack wave” one had drawn with some painting program, for example Deluxe Paint. If the drawn attack wave crossed itself, the problem which way to follow was solved by using different colors… Quite clumsy, but that’s me… 🙂 Anyway this program made possible an arbitrary possibilities of continuous attack waves (at least almost).

One early gem in the world of Amiga games is Faery Tale Adventure. It took quite a lot of time to finish this game. The labyrinth of the wizard took a lot of patience to get through. Fortunately one of my cousins was an expert to draw maps of games and had a lot of patience. 🙂

Below is a long play video of the game:

One game I played with my friends a lot was Ports of Call. Though this game is quite one-sided in a way that in practice it is best to use only the route between San Francisco and Cape Town. Though, with friends this game was still fun to play.

This game is nowadays available to PC and smart phones as free game.

As to strategy games, Kingdoms of England was fun to play with friends. Though, again there is one thing, that made this game in practice pointless: The choice of starting place in the map. There was one area in the map that as starting area gave the player too much advantage: The one who gets at the beginning of the game most tax income, will win the game, if one uses the resources one has in sensible way.

But again with friends this game was still fun to play, because we could as human players make agreement, that the one who had most advantage at the beginning of the game, wouldn’t attack human players, but only against computer’s troops. Another way to play this game in reasonable way, was to agree, that none of as human players don’t choose as starting area the area which makes it too easy to get more tax income at the beginning of the game a lot faster than others.

Video below:

The sequel to Kingdoms of England, Kingdoms of England II: Vikings, has more elements as it comes to strategy. But there is one bug in the game: The computer as opponent can build a castle one playing turn faster than human players (it takes many playing turns to build a castle that can’t be built bigger anymore)…

A good game that taught a lot of strategy and sensible usage of resources is Empire: Wargame of the Century. Video below:

I wasn’t really into flight simulators, but with a friend Sky Chase was a good game; against computer the game was pointless: Too easy. When the game begins, the two plains are flying to opposite directions and the only thing one has to do to shoot down the computer controlled plane is, to turn one’s plain 180 degrees and fire. 🙂

 A game I had a lot of fun with friends was North and south. The game has fine graphics and lots of humor too. 🙂

 Shadow of the Beast was technically fine with excellent music. At first the game was very difficult, but eventually it got easier with practice, though I never finished it completely. I was only a few steps away from the end, but somehow I managed to fail. Though I saw the end: My friend managed to finish the game.

Just a quick mention of good game that I had only as demo from an Amiga magazine, namely nice mind game Bill’s tomato game.

At the time original and good view on teaching strategy — and sympathy to the poor lemmings — were the Lemmings games. Video below from the first Lemmings game:

A game that I still can’t believe is possible to implement on an Amiga 500 with only 512kb of CHIP memory is Turrican II. How on earth the programmers managed to implement all those many details, smooth scrolling, huge levels and so on — all happening in one 50hz frame! This game truly gave the player challenge for sometime! And the music of the game: One of the finest hours of Chris Hülsbeck on Amiga! It must be mentioned that in the intro there is 7 channel music, replay routine coded by the musician himself (Amiga has only 4 hardware channels).

One game was interesting in the way that some levels had completely different concept of gaming, namely Batman the Movie. The game is a mixture of a platform game, car game, flying game and puzzle solving.

As to racing games, the Lotus Turbo Challenge games were excellent. Video from second Lotus game:

Ah, one early gem in the world of Amiga games: Battle Chess. At the time I saw this game for the first time, I was still using good old Commodore 64. Seeing this kind of chess game on an Amiga 500 was amazing! Video below:

One game I almost forgot is Flood. If my memory servers me right, I had this game only as a demo, but it was something somehow new. Mind / puzzle game that was some how original at the time. See the video:

 Well, that was something I can remember from my good old Amiga times… If I remember some more games I had fine moments with my friends, I may update this post later… Of course this is just a brief view back in time…

Merry Christmas!

I and my girlfriend wish you all Merry Christmas!

The intro in the video is coded in BlitzMax. Some simple math and the result is what can be seen in the video. 🙂

I could not have got to the right mood to code the intro without the presence of my girlfriend. Therefore major credit for the existence of this Christmas intro belongs to my girlfriend.

I have some more or less unfinished projects on the way for the next year. Let’s hope I’ll get something finished too in the next year! 🙂

Star field Cube

This one goes to nostalgia, old school and to my hobby corner. 🙂

Below is the video regarding this post:

The video starts with traditional old school 2D stars, then the video continues with 3D cube that has the 2D star field as texture. Each face of the cube is transparent, so you see the starfields of the cube from different faces at once… The cube fades into the background slowly…

I haven’t done much 3D programming in Blitz3D, but this kind of code is quite easy for a beginner like me to put together.

I remember, that in the good old Amiga days I saw an amazing Amiga demo, that had star field in rotating cube. Those Amiga demos were a lot more complicated to program, since they were low level assembly code using directly Amiga’s hardware. The idea to program this in Blitz3D came from one Amiga demo music remix tune, that has little speech in it: “A star field in a box. Oh my God, it’s rotating!” 🙂

Unique Random Integers

For example in my Memorable Ladies games it is the case that I needed a method that gives a random integer for example between 0…31 so that any integer that has once been drawn, doesn’t get drawn anymore.

One way to handle this (how I didn’t do it) could be for example to use Rand-function (depending on programming language one is using) that gives an integer between nm (m > n) and make a list of numbers that are already drawn and use Rand-function again between nm, if the integer given by Rand has already been drawn.

But in the worst case this could lead to infinite loop… In practice probably not, though. In order to avoid the infinite loop (the case where Rand function gives repeatedly a number that has already been drawn), one could for example increase the drawn number by 1 until unused number is found or go on to m and if needed start from n and increase the value by 1 until unused number is found.

In Memorable Ladies games speed isn’t critical factor, when the numbers are drawn, so in this particular case the routine doesn’t necessarily need to be fast. In addition the amount of data can be considered very small.

What I came up, was something where every random number is (in practice) necessarily unique and without possibility to get stuck on infinite loop.

The idea goes like this:

  • Let us assume that we need n integers between 0….n – 1

  • Make a list of numbers with type ”number” where type ”number” has as a member an integer between 0…n – 1 (the numbers can be in increasing order)


  • Draw an integer between 0…n – 1. Let this be i.

  • Get from the list ith ”number” element and get the integer that is in that ”number” element as a member and then delete that element from the list

  • Decrease n by 1

  • Repeat until list is empty

Even if in the original list of type ”number” the integers are ordered from 0 to n – 1, one would get this way an unique random integer each time (except if Rand gives zero (0) n times).

There are more sophisticated ways to do this, especially if the set of needed integers is large.


Image courtesy of Stuart Miles at FreeDigitalPhotos.net

For the sake of nostalgia… Let be mentioned what kind of random number generator I have used with Amiga with MC68040’s built-in FPU in assembly. As such this doesn’t give an unique random number, though.

(In the source code of my old Quest of Love demo you can see this in practice)

Let us assume, that we need an integer between 0…n.

The idea:

  • Get the vertical beam value from $dff006

  • ”Scale” the previous value with desired integer in order to get it big enough

  • Use FPU’s fsin instruction (sine function) to that value

  • Use FPU’s fabs instruction (absolute value) to the value we got in the previous step

    Now we have a floating point value between 0…1

  • Multiply that value by n

  • Convert the value of previous step to integer

That’s it!

If we would like to have an integer between n…m (0 < n < m) the additional steps would be

  • Let z = mn

  • Add z to the integer we got in the last step earlier

The two steps above are only the idea to get the value to the desired interval; in assembly there are not variables at all as we know them in programming languages of higher level.

This idea probably gives you a good idea how to get random integers with Monkey X’s Rnd() that gives a random value between 0…1. 🙂

Probably the most common way is to do something like following:

value = Rnd() * 100 Mod n

This gives a random integer between 0…n – 1 (0 < n <= 100 above). Notice that in the sentence above there are two possibilities to get zero: 1) Rnd() gives 0, 2) Rnd() gives 1 and n = 100.