Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Existing user? Sign In

Sign In



Or sign in with one of these services

Sign Up
  • entries
    3
  • comments
    5
  • views
    589

RPG Maker Troubleshooting Guide (Update 2)


377 views

This guide is not a complete guide and only covers the most common issues encountered when trying to play RPG Maker games. For simplicity, this guide assumes you are using Windows and the only locales are “English” and “Japanese”.

Versions covered: XP, VX, VX Ace

NB: Check back at the blog page for the most recent update to these troubleshooting steps. I have been frequently revising this and the site won't let me edit after about a day 😛

Diagnosis

1.       Does the game window load?

         a.       If yes, continue

         b.       If no, see “Wrong locale – Game.exe”

2.       Does the error message refer to a Japanese filename (see Figs. 1 & 2)?

         a.       If yes, continue.

         b.       If no, see "RTP not installed"

4.       In the game directory, open the “Graphics” and/or “Audio” folders (and sub-folders)

5.       Are any the filenames in those folders unintelligible or appear corrupted (see Fig. 3)?

         a.       If yes, see “Wrong locale – File extraction”

         b.       If no, see "Wrong locale – Game.exe"

RGSS_Fig_1.jpg.a92f8411602d8374bd49dbd998794565.jpg

Figure 1 – Dialogue for an English filename. Refers to a file called "001-Blue01"

RGSS_Fig_2.jpg.fb4fd4e355f8cf16534085307df04b0d.jpg

Figure 2 – Dialogue for a Japanese filename. Refers to a file called "タイトル"

RGSS_Fig_3.jpg.4378ad0e7231b645b3c01addc59f8e3e.jpg

Figure 3 – Corrupt filenames in folder

Issues

Wrong locale – Game.exe

This occurs because older versions of RPG Maker use the region-tied versions of system call functions. Any characters from outside the region will break these functions and cause them not to work. In the case of using the file system, this is fatal.

Solution 1:

Recommended for users who don’t intend to switch locales frequently

1.       See “Change system locale”

2.       Run Game.exe

Solution 2:

Recommended for most users

1.       Install Locale Emulator

2.       Right click on Game.exe

3.       Click “Locale Emulator” > “Run in Japanese”

If neither solution works:

1.       Make sure the full path (from C:\ down) to Game.exe contains strictly ASCII and/or Japanese characters (only if game is Japanese)

Wrong locale – File extraction

This occurs because ZIP files created in Windows frequently use the creator’s locale and Windows forces extraction tools to use your locale. When these locales are different, the list of filenames cannot be read properly.

Solution 1:

Recommended for users who are not tech-savvy or don’t intend to switch locales frequently

1.       See “Change system locale”

2.       Use file extractor to extract ZIP file

Solution 2:

Recommended for advanced users

1.       See this post

RTP not installed

The RTP is a resource pack that contains many common and default assets used by RPG Maker games. This is not included in most game downloads in order to decrease file size.

Solution:

1.       Go to this site

2.       Select the version of RPG Maker used for the game

3.       Download and install

Appendix

Change system locale

1.       Open Control Panel

2.       Navigate to “Clock and Region” > “Region”

3.       Select the “Administrative” tab

4.       Under “Language for non-Unicode programs”, click “🛡Change system locale…” (see Fig. 4)

5.       Say “yes” to the admin pop-up

6.       Select “Japanese (Japan)” from the drop-down menu

7.       Click “OK”

8.       Restart your computer

RGSS_Fig_4.jpg.57477e91c049b9fdf9b1616c39a4abb6.jpg

Figure 4 – Region settings, Administrative tab

2 Comments


Recommended Comments

Found the culprit for the window not loading (debug in spoiler)

Spoiler
Quote

eax=0081fb00 ebx=756c1950 ecx=0081fb70 edx=696e692e esi=00000000 edi=0081fbe2
eip=004011c1 esp=0081db58 ebp=0081fe48 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
Game+0x11c1:
004011c1 ff1520704000    call    dword ptr [Game+0x7020 (00407020)] ds:002b:00407020={KERNEL32!GetFileAttributesA (756c3d80)}

image.png.e326b3e3a01f3596e0d0ac62ee14ea53.png

Quote

eax=ffffffff ebx=756c1950 ecx=008f0000 edx=008f0000 esi=00000000 edi=0081fbe2
eip=004011c7 esp=0081db5c ebp=0081fe48 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
Game+0x11c7:
004011c7 83cfff          or      edi,0FFFFFFFFh

eax=ffffffff ebx=756c1950 ecx=008f0000 edx=008f0000 esi=00000000 edi=ffffffff
eip=004011ca esp=0081db5c ebp=0081fe48 iopl=0         nv up ei ng nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000286
Game+0x11ca:
004011ca 3bc7            cmp     eax,edi                                              ; is INVALID_FILE_ATTRIBUTE?

eax=ffffffff ebx=756c1950 ecx=008f0000 edx=008f0000 esi=00000000 edi=ffffffff
eip=004011cc esp=0081db5c ebp=0081fe48 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
Game+0x11cc:
004011cc 7427            je      Game+0x11f5 (004011f5)                  [br=1]  ; YES... GUESS I'LL DIE ¯\_(ツ)_/¯

 

TL;DR: A non-unicode file system function is called and checked before the game even loads the display libraries

Edit: forgot to mention that the file it checks is the game's directory. Thus, if the folder the game is in has foreign characters in its name, the game won't start.

Edited by anonymousJS (see edit history)
Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...