PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Help me identify this code

Over the period of the last few weeks I've been collecting code that deals with GAPI from all over the net. Finally, yesterday I got around to trying to compile/run some the programs. This one example that I have under a name 'gapisprites.zip' I found particularly useful, as it works well on the x86 emulator (where as some other code, like that from Brighthand.com does not). Here's the list of the files inside the zip:

Archive:  gapisprite.zip
 Length     Date   Time    Name
--------    ----   ----    ----
     353  05-09-01 12:16   Main.h
   76800  05-13-01 14:14   background.raw
      24  05-13-01 14:23   binaryda.bin
  271248  05-13-01 14:23   GAPIAPP.APS
    2236  05-13-01 14:23   GAPIAPP.rc
   99328  05-13-01 14:29   GAPIAPP.vcb
    1393  05-13-01 14:26   GAPIAPP.VCL
   55808  05-13-01 14:29   GAPIAPP.VCO
   27871  05-13-01 14:22   GAPIAPP.VCP
     542  05-09-01 12:16   GAPIAPP.VCW
  132896  05-09-01 12:21   Main.aps
   10532  05-13-01 14:26   Main.cpp
    1078  05-09-01 12:18   AppIcon.ico
     924  05-09-01 12:16   newres.h
     677  05-13-01 14:14   resource.h
     294  05-09-01 12:16   StdAfx.cpp
     831  05-09-01 12:16   StdAfx.h
     630  05-11-01 14:11   willie.bmp
    1024  05-11-01 14:13   willie.raw
--------                   -------
  684489                   19 files

When ran, it shows a bunch of Willies (that Scottish guy from the Simpsons) bouncing around the screen.
Now what I would really like to know is who wrote this program? Has anyone seen this example/know the author/know the webpage this came from?
Why am I asking? Because the program includes several files whose structure I am unfamiliar with (BIN and RAW files). If I would want to reproduce the effect achieved in this example, I would have to know how those files were created, etc.

If anyone can help me find the origin of that file, please let me know. Thanks.
Although I have no idea who made the demo you're referring to, I'm pretty sure that there's a lot of documentation out there for the .bmp format. Also, isn't .raw just straight 24-bit color values? I remember reading about that when I was thinking about working with OpenGL.
Although I have no idea who made the demo you're referring to, I'm pretty sure that there's a lot of documentation out there for the .bmp format. Also, isn't .raw just straight 24-bit color values? I remember reading about that when I was thinking about working with OpenGL.


I know both formats, BMP and RAW. I was mostly referring to the BIN file (which is raw pixel data, from what I can figure out).
Look at the source code that accesses that data file. That will tell you the format of the data.

Dan East