Jump to content

Recommended Posts

Posted

Most probably because your default setting is to use x64 version of AutoIt and Sqlite3.dll is x86 version. Anyway, glad you figured it out. :yes:

Posted
On 4/28/2023 at 8:49 PM, Andreik said:

image.png.6aed7acb58d0823791faf13c2d539e95.png

Probably there is even a better way to solve it with less moves.

63 Moves....but 50 Seconds needed....😁

And btw....xor al, 0x7f, SO CUTE!!😍

Posted (edited)
9 hours ago, argumentum said:

Would you show the Pack() for the Unpack() ? Thanks

There is no Pack() because I am lazy. Unpack() can also Pack() because as AndyG said it's just a simple XOR with a constant. Here is the code:

8B 74 24 04         mov esi, [esp + 4]
8B 4C 24 08         mov ecx, [esp + 8]
AC                  next: lodsb
34 7F               xor al, 127
88 46 FF            mov [esi - 1], al
49                  dec ecx
75 F7               jnz next
C2 08 00            ret 8

 

Edited by Andreik
Posted

In bulldozer.sqlite there is a table named tiles that saves sprites as a blob. It's just a matter of querying the database for the desired sprite and then basic GDI+ to convert from binary to bitmap.

Posted
On 5/14/2023 at 11:57 PM, Andreik said:

You got me, next time I will go for AES-NI. :frantics:

Oh no! Please use those >50 years old techniques more! I am always so impressed and surprised when examining/investigate such a piece of "gold" code😇

I played the "original" Sokoban in the 80s, it was fun at all! So thank you so much transferring the idea into AutoIt code!

Posted (edited)

Added 20 more levels, so there are 60 levels now. Since some of you already played some levels I added also the option to start to a specific level so you don't have to play again from the beginning. To use this functionality just press J and enter the level that you want to play.

Edited by Andreik
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...