SDBContactSubmitDownloadsArticlesTagsForums
Tutorials » Basics of GGD This tutorial was submitted by Crimson Penguin. Note: this tutorial contains some thumbnail images; click to see them full-size.

GGD is a cool little tool that helps you view graphical data off of binary encoded files.

Since GGD has a little bit of a learning curve, I decided to give a few pointers on how to use it.

Panel Descriptions



Main Window

This is where all of the data from the binary file will be shown. Kind of self explanitory.



Information Window

1. Data File Name - This is the file that is viewed in the main window.
2. Palette File - This is the file that is used in the palette window.

3. Image Size - These are the dimensions you want to view your data as.

a. 4,8 are the amount of pixels that the height and width change by.

4. Screen Size - This is the maximun that your image size can be.
5. Data Endian - Big or Little Endian .
6. Pixel/Bit - how many bits per pixel.
7. Data Shift Mode - How much of the data you skip when searching the file.
8. Data Offset - How many bytes you are from the beginning of the file.
9. Palette/Byte - How many bytes per palette entry.
10. Palette Type - What order the RGB is in. (ex. BGR, GRB, etc.)
11. Extention Bit - For files that use 5R 5G 5B, this is for where the extra bit is.
12. Palette Shift Mode - How much of the data you skip when searching the palette file.
13. Palette Offset - How many bytes you are from the beginning of the palette file.
14. Alpha Test - I really don't know, it doesn't seem to work for me. But I assume it's for the alpha channel.


Palette Window

This is what the main window will use when it is doing the color lookup. Note: 8 Bit mode only indexes the first 16 palette entries.

Commands
Main Window
Use these commands when the Main Window is selected.
or
Changes the image width depending on 3a.
or
Changes the image height depending on 3a.
W
Changes the width part of 3a.
H
Changed the height part of 3a.
Shift
+
or
Changes the Screen Width (AKA max image size).
Shift
+
or
Changes the Screen Height (AKA max image size).
E
Toggle Little/Big Endian.
B
Toggle the bits per pixel.
S
Toggle the data shift mode.
Z
Toggle the zoom.
Page Up
and
Page Down
Depending on the data shift mode, it will jump a little or a lot.

Palette Window
Use these commands when the Palette Window is selected. (These commands will not work when the main window is selected)

O
Toggle the bytes per palette entry.
P
Toggle the palette type.
X
Toggle the extention bit.
S
Toggle the palette shift mode.
A
Toggle the alpha test.
Page Up
and
Page Down
Depending on the palette shift mode, it will jump a little or a lot.