Self-made parts

There are 6 types of parts prepared as standard: "White", "Black", "Grey", "Stone", "Desert", and "Forest".

Although it is not a standard function, you can also make your own non-standard type parts.
If you want to make your own parts, please follow the steps below.

Notice About wall type parts

One-way wall 1
One-way wall 2
One-way door 1
One-way door 2
signboard 1
signboard 2
switch 1
switch 2

The following parts are parts that allow you to check the elements from only one side when displaying the 3D screen.
When making such parts, set the parts only on the right side and the parts only on the left side side by side.

After creating the part image, set the part from [Setting]-[Map settings].

Add new parts to existing types White, Black, Gray, Stone, Desert, Forest

If you don't have the parts you want to use in the existing type, you can create new parts and add them.

1.Creating an image file

There is an [image] folder in the folder where the "Graph paper" executable file is saved. This is the folder where the image files are located.
Image files for parts prepared as standard are saved in the four folders [kabe] [yuka] [space] [object] in this.

The 32 * 32 and 24 * 24 dot graphics are in the [32] and [24] folders in each folder.
Edit this file to create your own parts graphic.

For wall parts, there are restrictions on the connection with adjacent wall parts.
Create an area of "wall + shadow" at the edge of the part. Without this, the map screen cannot be displayed normally.

The connection part is the red frame part in the image below. There are differences depending on the size of the map parts.

[ 16 * 16 ], [ 24 * 24 ]
Wall = 2dot * 2dot
Shadow = 1dot * 2dot


[ 32 * 32 ]
Wall = 4dot * 4dot
Shadow = 2dot * 4dot


2.Give a name to the newly created part

Select [Settings]-[Map Settings] from the menu bar to call up the map settings screen.
A list of part graphics and names will be displayed. Click the name of the part you made and give it a new name.(By default, it is named No.3-4, etc.)

Add part type

If you want to create something new that is different from the existing type of graphic, you can create and add a new type of part yourself.

1.Creating an image file

Edit the image files saved in the four folders [kabe] [yuka] [space] [object] and create your own parts graphic.
The 32 * 32 and 24 * 24 dot graphics are in the [32] and [24] folders in each folder.

Notice Be sure to create 16 * 16 size parts as they are part of the user interface.
Notice You can create a map without creating 32 * 32, 24 * 24 size parts, but if you change the part size to 32 * 32, 24 * 24 without preparing the parts, an error will occur.

For wall parts, there are restrictions on the connection with adjacent wall parts.
Create an area of "wall + shadow" at the edge of the part. Without this, the map screen cannot be displayed normally.

The connection part is the red frame part in the image below. There are differences depending on the size of the map parts.

[ 16 * 16 ], [ 24 * 24 ]
Wall = 2dot * 2dot
Shadow = 1dot * 2dot


[ 32 * 32 ]
Wall = 4dot * 4dot
Shadow = 2dot * 4dot


The files prepared as standard are saved with the file names numbered [001], [002], [003], etc. for each type.
The file name is prefixed with [k] for [Wall], [y] for [Flooring], [s] for [Air Space], and [o] for [Object]. I will.
Since the original version is Japanese, it has such an identification alphabet.

Give each one a name that does not overlap, and save your own file in each folder.

2.Editing the initialization file (paper.ini)

If you start "Graph paper" and then terminate it normally, a file called "paper.ini" will be created in the folder where the "Graph paper" executable file is saved.
Please edit this file and register your own image file in "Graph paper".

The following contents are written at the beginning of paper.ini.

PartsType = 0
PartsTypeName[0] = White
PartsTypeBackColor[0] = 0
PartsTypeFileName Kabe[0] = k001.bmp
PartsTypeFileName Yuka[0] = y001.bmp
PartsTypeFileName Space[0] = s001.bmp
PartsTypeFileName Object[0] = o001.bmp
PartsTypeName[1] = Black
PartsTypeBackColor[1] = 1
PartsTypeFileName Kabe[1] = k002.bmp
PartsTypeFileName Yuka[1] = y002.bmp
PartsTypeFileName Space[1] = s002.bmp
PartsTypeFileName Object[1] = o002.bmp

   ・
   ・
   ・

PartsTypeName[5] = Forest
PartsTypeBackColor[5] = 0
PartsTypeFileName Kabe[5] = k006.bmp
PartsTypeFileName Yuka[5] = y006.bmp
PartsTypeFileName Space[5] = s001.bmp
PartsTypeFileName Object[5] = o001.bmp



This is the content of the part type registered as standard.
Next, there are the following contents.



PartsTypeName[6] =
PartsTypeBackColor[6] = 0
PartsTypeFileName Kabe[6] =
PartsTypeFileName Yuka[6] =
PartsTypeFileName Space[6] =
PartsTypeFileName Object[6] =



After this, PartsTypeName [7], PartsTypeName [8], PartsTypeName [9] are recorded without data.
You can register your own data between 6 and 9.

In [PartsTypeName], enter the name of the type.
Don't forget to put a space before and after "="
The following items are the same.

[PartsTypeBackColor] is the background color setting for the map screen. Set to 0 for white and 1 for black.
Please set it to the one that is easy to see depending on the color of the part.

In [PartsTypeFileName Kabe], enter the file name of the file for wall parts.
In [PartsTypeFileName Yuka], enter the file name of the file for flooring parts.
In [PartsTypeFileNameSpace], enter the file name of the file for the air space part.
In [PartsTypeFileNameObject], enter the file name of the file for the object parts.

If you register the above contents correctly and save paper.ini, you will be able to select your own part type from the next time you start "Graph paper".

Notice paper.ini will be overwritten when "Graph paper" is closed, so edit the paper.ini file while "Graph paper" is not running.

3.About "Air Space / Mark" Parts

If you make your own "Air Space / Mark" part, you need to describe in paper.ini whether the part belongs to "Air Space" or "Mark".
The display order on the map screen changes as follows depending on which one it belongs to.

Air Space: Appears below the Object part.
Mark: Appears above the Object part.

For details on how to set the affiliation of "air space" and "mark", see [About the display settings of "object" and "air space / mark" parts].

4.Give a name to the newly created part

Select [Settings]-[Map Settings] from the menu bar to call up the map settings screen.
You should be able to select the type of parts you made.

If you create a non-standard part, the part contains only graphics and is not named.
A list of part graphics and names is displayed, so click on the name part of the part you made and give it a new name.
(By default, names such as No.3-4 are assigned)

If you want to create a map with a wall type of

If you want to create a map with a wall type of , check the following.

There are two types of walls that are placed with the wall type , with or without filling the wall part.
This setting is provided to make the difference, such as filling for walls and not filling for doors.

The data used as this criterion is recorded in paper.ini.
To make this setting for your own parts, edit the following contents.

From paper.ini file, please looking for a string of below.

DM Type KabeStyle[0] = 0

After this line, the data up to [1], [2] ... and [79] are recorded.
This is the setting value corresponding to each part from No. 1 to No. 80.

If this number is 0, it will be filled, and if it is 1, it will not be filled.

If you set this and save paper.ini, you will be able to select your own part type from the next time you start "Graph paper".

Notice paper.ini will be overwritten when "Graph paper" is closed, so edit the paper.ini file while "Graph paper" is not running.