FAQ by ElReaper
RPG Maker XP on SuperCheats.com
===============================================================================
- RPG Maker XP - FAQ v2.2                                        2. August 2008
  by DaReaper (Zeriab on various RPG Maker XP forums), vobbys@gmail.com
===============================================================================

TABLE OF CONTENTS:

    * What is RMXP?
    * What is a switch?
    * What is a variable?
    * What is a script?
    * What is RGSS?
    * What is the Database?
    * What are layers?
    * What is compile game disk?
    * What is RTP?
    * What is RPG Maker XP RTP?
    * What is the maximum...
    * What are the default width and height of the game window?
    * What music types are supported by RMXP?
    * Where can I learn to script RGSS?
    * How do you set the player's starting point?
    * How do you make an NPC?
    * How do I make a quest, where you have to find an item?
    * How do I import maps, made on another computer?
    * How do I import new resources?
    * How do I send my game to my friends?
    * How do I distribute my game without the RTP?
    * I added a call script, now a popup box with "????????" or "Syntax error"
      occurs.
    * I don't hear any sound, while my speakers are on and my sound card
      drivers are set.
    * I get an error message saying "Failed to initialize DirectX Audio" when I
      try to start up RMXP. What do I do?
    * I have inserted a new script and the font doesn´t show up. How to fix
      this?
    * I have problems with my map. The player can walk over solid stuff.
      How do I fix this?
    * I have used 'Erase Event' to remove an event, but when I come back later
      it has appeared. How can I solve this?
    * It says "Incompatible versions". What should I do?

    * Sources
    * Special thanks

    * Help


===============================================================================


WHAT IS RMXP?
-------------
RMXP, short for RPG Maker XP, is a game making tool made by Enterbrain
The url for their english website:

 - http://www.enterbrain.co.jp/tkool/RPG_XP/eng

_______________________________________________________________________________


WHAT IS A SWITCH?
-----------------
A switch is an object that can be true or false, on or off. To learn how to use
switches, take a look at this tutorial by Dubealex:

 - http://www.creationasylum.net/index.php?showtopic=6

_______________________________________________________________________________


WHAT IS A VARIABLE?
-------------------
A variable is an object that contains a number you can change with events.
To learn how to use variables, look at this tutorial by Dubealex or this
tutorial by Yami:

 - http://www.creationasylum.net/index.php?showtopic=65
 - http://yamisiterawr.com/variables.php  (Yami)


_______________________________________________________________________________


WHAT IS A SCRIPT?
-----------------
The term 'script' have many different meanings (cf. Google and Wikipedia).
When used in context with RMXP the general meaning is:

  "This is a programming term that refers to a set of instructions (a program)
  that is executed by another program rather than the computer's processor."
    - http://www.satellite-tv-hq.com/telecom-glossary-s.htm

This basically means that a script is being interpreted and not compiled.

_______________________________________________________________________________


WHAT IS RGSS?
-------------
RGSS, short Ruby Game Scripting System, is a set of commands written in an
interpreted language to automate certain application tasks or a type of
computer code than can be directly executed by a program that understands the
language in which the script is written. Scripts do not need to be compiled to
be executed.

Source: http://en.wikipedia.org/wiki/Ruby_Game_Scripting_System

_______________________________________________________________________________


WHAT IS THE DATABASE?
---------------------
The Database can be found under Tools\Database (F9). You can also get to this
by pressing F9.

The Database is the Menu that contains all the game specific settings, such as:

 * what imported tilesets are used for what;
 * what items are in the game, and how they interact with the characters;
 * what monsters are in the game, how they fight, how strong they are, how they
   look, what groups they travel in;

It stores character data such as how they look, what their stats are and
how they improve as the char levels.

This is where you setup common events, and other settings that affect the whole
game such as the battle music or the tileset for the menus.

This is also where you set what picture is used for the title screen and
gameover screen, but this is not where you import graphics, here your just
picking which already imported graphic to use.

The Resource Manager is used to import graphics.

_______________________________________________________________________________


WHAT ARE LAYERS?
----------------
Layers are the multiple levels in which you are to place objects.
The first layer is for putting down the ground usually.
The second layer is for putting down the rest the objects.
What is unique about RPG XP is the third layer, which is basically just a
second layer, over the second layer.
Then, finally, you have the event layer, where you basically place events.

_______________________________________________________________________________


WHAT IS COMPILE GAME DISK?
--------------------------
It is an option under File in the editor.
It compiles your game into 1 file that you can run on another computer.
If you press it a dialog show appear asking you for an address. For a folder
to be more explicit. This is your output folder where the file will be placed
after creation if you accept the dialog. (Click ok)
You have the option to create an encrypted archive.
This means that you can't get access to the game through the editor nor access
to your resources when installing the game from the created file.

_______________________________________________________________________________


WHAT IS RTP?
------------
RTP means Run Time Package. A package required to run a program, often filled
with data used by much programs of the same kind.

For RMXP RTP, look below.

_______________________________________________________________________________


WHAT IS RPG MAKER XP RTP?
-------------------------
RPG Maker XP RTP is a system for reducing the total size of a “game disk” made
with RMXP. RPG Maker XP RTP contains the graphics, music (MIDI, etc.) and DLL
files used when creating a game with RMXP ? basically a collection of common
materials. When a game is created with RTP data, once it is finished, you won’t
have to add this data to the actual “game disk,” which consequently allows you
to significantly reduce the game file size.

Source: http://www.enterbrain.co.jp/tkool/RPG_XP/eng

_______________________________________________________________________________


WHAT IS THE MAXIMUM...

...NUMBER OF MAPS : 999
...NUMBER OF EVENTS PER MAP : 999
...DIMENSIONS OF A MAP : 500 x 500
...DATABASE ITEMS : 999 each (tilesets, common events, actors, skills...)
...HEIGHT OF A TILESET : Unlimited. However, lag increases when it gets bigger

More limitations can be found here:
 - http://www.creationasylum.net/index.php?showtopic=204

_______________________________________________________________________________


WHAT ARE THE DEFAULT WIDTH AND HEIGHT OF THE GAME WINDOW?
---------------------------------------------------------
640 pixels width, 480 pixels height.

_______________________________________________________________________________


WHAT MUSIC TYPES ARE SUPPORTED BY RMXP?
---------------------------------------
By default, RMXP support .MP3, .WAV, .MID, .WMA and .OGG.
MP3 and WMA are streamed, this means they are loaded while playing.
OGG is usually much smaller, but can not stream, so need to be loaded fully
before playing. This means that big OGGs can cause a slight hang just before
they are played.

Additional formats like the Playstation PSF and miniPSF can be played with
scripts.

_______________________________________________________________________________


WHERE CAN I LEARN TO SCRIPT RGSS?
---------------------------------
There are many tutorials out on the web, here are links to some that will help
you getting started.


CCOA'S GUIDE TO WINDOWS IN RGSS
RGSS: Windows - Lesson 1: An Introduction to Windows
 - http://www.rpgrevolution.com/forums/?showtopic=7742
RGSS: Windows - Lesson 2a: Adding A Window to a Scene
 - http://www.rpgrevolution.com/forums/?showtopic=7855
RGSS: Windows - Lesson 2b: Simple Menu Remodel
 - http://www.rpgrevolution.com/forums/?showtopic=7991


CONSTANCE'S WINDOW TUTORIAL
 - http://rmxp.org/forums/index.php?topic=3710.0


DUBEALEX'S RGSS SCRIPT TUTORIALS
RGSS & Ruby Lesson - Chapter 1
 - http://www.creationasylum.net/index.php?showtopic=88
RGSS & Ruby Lesson - Chapter 2
 - http://www.creationasylum.net/index.php?showtopic=4854
RGSS & Ruby Lesson - Chapter 3
 - http://www.creationasylum.net/index.php?showtopic=497


RPG'S RGSS TUTORIALS
 - http://s11.invisionfree.com/The_Venedian_Garden/index.php?showtopic=37

_______________________________________________________________________________


HOW DO YOU SET THE PLAYER'S STARTING POINT?
-------------------------------------------
Go to the event layer (F8).
Right click on a tile.
Select 'Player's Starting Position' from the drop down menu.

_______________________________________________________________________________


HOW DO YOU MAKE AN NPC?
-----------------------
Go to the event layer (F8).
Make an event somewhere by either double clicking on a square with the
left mouse button, right clicking and selecting New Event... or selecting
the square and pressing [Enter]
This will open the event dialog. To the left there is a white field with
'Graphic:' in words just above it.
Double click on this (left mouse button) and select the graphic you want.
When this is done go to the big white field to the right.
Here is all the event commands listed. Select it and insert a new command.
Here you can make the NPC do what you want it to do.
Remember that you can a short pop up message by right-clicking and pressing
"What's this?"
You can also get this by pressing F1.
You will get the description on the button you have select.
You can move the selection with the arrow keys.

_______________________________________________________________________________


HOW DO I MAKE A QUEST, WHERE YOU HAVE TO FIND AN ITEM?
------------------------------------------------------
There is a bazillion ways to do this. I will try to cook the general concepts
down into an example.
If you don't know what a switch is or are unsure of how to use them you should
read What is a switch? before continuing.


PHASE 1: ACTIVATION OF THE QUEST

Let's say you talk to this person who gives you the quest. If the quest is
given you let the event turn on a switch.
We could use switch 21 - Quest Start and turn it ON. (This could be any switch)
You should make sure that the person does not continue to give the quest.
This is strictly speaking not necessary
Make a new event page and set as precondition the switch 21 - Quest Start.
Should be the same as the switch you turned ON in the previous page.
Remember to set the event graphic.
Here you can set the action for when the Quest is active, but not finished.


PHASE 2: GETTING THE ITEM

Let's say that you could not get the item before.
The event from which you can get the item shall like the event starting the
quest have a condition for when the quest start. That is. New page,
Precondition set to 21 - Quest Start (2nd page)
Here you should turn another switch to ON. Let it be 22 - Item Gotten.
You can make some actions. (Tell the player a story or whatever)
Make a new page (3rd). Set Precondition to 22 - Item Gotten.
Here you can set actions if the player tries to trigger the event again.


PHASE 3: ENDING THE QUEST

Go back to the event that starts the quest and make a new page (3rd).
Set precondition to 22 - Item Gotten.
Here you should tell the player that he or she has completed the quest.
Afterwards turn switch 23 - Quest Finished ON. New page (4th).
Precondition set to 23 - Quest Finished.
For the item event. New page (4th). Precondition set to 23 - Quest Finished.
Here you can make actions for when the player triggers the events after the
quest is completed.


FINAL NOTE:

As you might notice a lot of switches are used.
You could actually add an event and then check whether the player has it or
not with a conditional branch during the quest.
This will eliminate the need for the 22 - Item Gotten switch.

_______________________________________________________________________________


HOW DO I IMPORT MAPS MADE ON ANOTHER COMPUTER?
----------------------------------------------
Copy both projects on 1 computer.
Open both of them.
In the project tree window to the lower left:
Right-click on one of the maps you want to copy and press copy in the
dropdown menu.
Now go to the other project and select a map in the tree structure.
Right-click and press paste.
The map will then be copied into the allocated place in the tree structure.
Keep doing this until you have copied all maps over.
Note that the Player's Starting Position is not copied over.
Also note that the map id most probably changes.
This means that you might have to change some events.

_______________________________________________________________________________


HOW DO I IMPORT NEW RESOURCES?
------------------------------
There is an Icon near the little music note, it is the folder with 3
documents (icon). This'll take you to the import/export system.
You can also access the import/export by Tools\Materialbase (F10).
Here you click the Import... button and find the file you want to import.
Here you left click on the color you want transparent.
You can also right-click for a semi-transparent color.
Click OK and you are done.

_______________________________________________________________________________


HOW DO I SEND MY GAME TO MY FRIENDS?
------------------------------------
Look at "What is compile game disk?"
Send the resulting file to them.
They may have to install the RTP found here:

 - http://www.enterbrain.co.jp/tkool/RPG_XP/eng/download.html

Look below if you want to know how to distribute it without the RTP.

_______________________________________________________________________________


How do I distribute my game without the RTP?
--------------------------------------------
Dubealex has made a tutorial about this, which can be found here:

 - http://www.creationasylum.net/index.php?showtopic=1303

_______________________________________________________________________________


I added a call script, now a popup box with "????????" or "Syntax error" occurs
-------------------------------------------------------------------------------
You have made an error in the syntax from the call script.
How to fix it depends on the specific situation.
Note that linebreaks can cause such errors.

_______________________________________________________________________________


I DON'T HEAR ANY SOUND WHILE MY SPEAKERS
ARE ON AND MY SOUND CARD DRIVERS ARE SET
----------------------------------------
Press F1 while in game. Make sure the thirth (Play BGM and ME in game) and
the fourth (Play BGS and SE in game) are set.

_______________________________________________________________________________


I GET AN ERROR MESSAGE SAYING "Failed to initialize DirectX Audio"
WHEN I TRY TO START UP RMXP. WHAT SHOULD I DO?
------------------------------------------------------------------
RPG Maker XP requires that you have a DirectX Audio compatible sound card.
You can try install/reinstall your Sound Card Audio Driver. If you do not have
a sound card chances are that you are out of luck and won't be able to run RPG
Maker XP.

_______________________________________________________________________________

I HAVE INSERTED A NEW SCRIPT AND THE FONT DOESN'T SHOW UP. HOW TO FIX THIS?
---------------------------------------------------------------------------
Open the scripts and go to MAIN. Find this line:

CODE
  $scene = Scene_ ... .new


and just before that line add:

CODE
  Font.default_name = $fontface = $defaultfonttype = "Tahoma"
  Font.default_size = $fontsize = $defaultfontsize = 22


Still having problems? Try installing the font files located here:
http://zeriab.plesk3.freepgs.com/pub/Fonts.zip

_______________________________________________________________________________

I HAVE PROBLEMS WITH MY MAP.
THE PLAYER CAN WALK OVER SOLID STUFF. HOW DO I FIX THIS?
--------------------------------------------------------

You might not have set the 'passabilities' in the Database > Tab Tileset.
If you still have problems try to use a dummy tile. Make one of the tiles,
that are completely transparent, unpassable and use it to disable passability
on the map on the 3rd layer.

If you want to check the passibilty in your map, just choose some "visible"
dummy tile and fill with the bucket tool one area in the map.
A little trick to actually "see" passability/unpassability on your map.
After you finished editing just bucket it back with a passable/unpassable tile.

_______________________________________________________________________________

I HAVE USED 'Erase Event' TO REMOVE AN EVENT, BUT WHEN
I COME BACK LATER IT HAS APPEARED. HOW CAN I SOLVE THIS?
--------------------------------------------------------
First you must understand what Erase Event does.
When you enter a map it is loaded into the memory. Erase Event removes the
event from this temp map.
The state of the map is NOT stored when loading another map. (The same as going
to another place)
When you now go back again the map will be loaded with the events in their
original positions.
This is why it doesn't work.
To solve it simply use switches.
Turn on a switch where you have your Erase Event-command.
Then make a new page and put the switch you just turned on as a precondition
for the new page.
Problems with switches? Look at "What is a switch?."


===============================================================================


---------
-SOURCES-
---------

Official English Site
- http://www.enterbrain.co.jp/tkool/RPG_XP/eng

Creation Asylum
- http://www.creationasylum.net

Google
- http://www.google.com

Oxford English Dictionary
- http://www.oed.com

Wikipedia
- http://www.wikipedia.com


------------------
- SPECIAL THANKS -
------------------
Aus "ace" Wallace
Blizzard
Constance
deadly_diablo
kitramos
Marlune
Me™
zuzagi