Creating GoKnot textures


    GoKnot textures are the bitmaps used to draw the stones and board materials.

    Textures are located in a Windows dll called textures.dll that can be found in the \res folder of the directory where you installed GoKnot.

    If you hate textures and want to gain about 1 mb disk space, you can erase it, and GoKnot will only display flat boards.

    The dll is only made of Windows resources, it has no code. The sources can be downloaded here.

    All bitmaps are started either from scratch or from Public Domain textures found on the Internet, modified by the author to fit GoKnot's requirements and returned to the Public Domain. You can use them freely.

    The ideal format to be used by a Windows application (stored as resources) is surely not the preferred format of graphic designers. It is for efficiency reasons and it is not as complicated as it may first look. The Internet is full of Windows resource edition tools. Also, many Windows development tools, even from other manufacturers include Microsoft's RC compiler. If you are an artist and don't understand what a Windows resource is, save the bitmaps to any file format of your choice and get help. Ask any programmer to do the "resource thing" for you.

    To create new textures you have to replace (some or all of) the existing textures in the original dll. These textures are identified by numbers. Don't change the numbers.

    Board textures are: Sand stone, Yellow wood, Red wood, Cedar, Rough wood, Marble, Metallic and Flat diagram. You can make textures of any size. But you must make sure that the left margin continues the right margin and the top continues the bottom. This way, when you tile the bitmap, no vertical or horizontal lines are made evident.

    Black stone bitmaps are: Black normal, Black rounded, Blue, Green and Flat black.

    White stone bitmaps are: White normal, White rounded, Yellow, Pink and Flat white.

    Stones must be of 50x50 pixels. GoKnot scales bitmaps automatically to the appropriate board sizes. All stones must have the same shape (by default a round shape) and that shape is defined in the stn_mask.bmp binary bitmap.
When you create textures without using someone else's files, you own the copyright of your work. Creating good textures is a well payed job. Unfortunately, GoKnot is not an industrial product and I cannot pay for textures. But, if you are proud of your job, and want to share it with other users, I will link to your site in the main GoKnot page.


  G o K n o t   H e l p
Version   2.0  
Help index
Download GoKnot at  
www.dybot.com/GoKnot