×
Create a new article
Write your page title here:
We currently have 3,094 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,094Articles

Yume 2kki:Installation Instructions: Difference between revisions

>Senrife
>Shillcat
(→‎Running Yume 2kki on non-Windows Operating Systems: add a workaround for the crash when entering the factory (wine 1.7.45 and 1.7.46))
Line 70: Line 70:
== Running Yume 2kki on non-Windows Operating Systems ==
== Running Yume 2kki on non-Windows Operating Systems ==
''Yume 2kki'' can be run perfectly with [http://www.winehq.org/ Wine] on OS X, Linux, and other Unix operating systems with a little setup. [http://rpgosx.tumblr.com/rpghub RPGHub] can be used to simplify the process of playing RPG Maker games on non-Windows platforms.
''Yume 2kki'' can be run perfectly with [http://www.winehq.org/ Wine] on OS X, Linux, and other Unix operating systems with a little setup. [http://rpgosx.tumblr.com/rpghub RPGHub] can be used to simplify the process of playing RPG Maker games on non-Windows platforms.
If the game crashes when entering the Factory in [[GALAXY Town]], applying the patch below might help.
<nowiki>
--- a/dlls/quartz/mpegsplit.c
+++ b/dlls/quartz/mpegsplit.c
@@ -172,7 +172,14 @@ static HRESULT FillBuffer(MPEGSplitterImpl *This, IMediaSample *pCurrentSample)
    /* Find the next valid header.. it <SHOULD> be right here */
    hr = parse_header(fbuf, &length, &This->position);
-    assert(hr == S_OK);
+
+    if (hr != S_OK)
+    {
+        ERR("couldn't find a valid header\n");
+        ERR("rip\n");
+        return S_FALSE;
+    }
+
    IMediaSample_SetActualDataLength(pCurrentSample, length);
    /* Queue the next sample */
</nowiki>
To use Wine with the patch:
# copy the text above into a file
# download a [https://www.winehq.org/download/#source source release] of Wine
# unpack the source tarball somewhere
# open a terminal
# navigate into the source directory
# apply the patch (<code>patch -p1 < /path/to/the/patch/file</code> should work)
# [https://www.winehq.org/docs/wineusr-guide/installing-wine-source compile Wine]
The patch has been tested on Wine 1.7.45 and Wine 1.7.46.
The Factory's BGM file appears to be a bit corrupted, the crash is due to how Wine handles MP3 files with corrupt/missing headers.
== See also ==
== See also ==



Revision as of 00:57, 8 July 2015

Introduction

Even though Yume 2kki can be an amazing gaming experience, installing it can be tricky. This guide should be enough for most people to get the game working smoothly.

If you are having problems installing the game, feel free to leave a comment here or on the Troubleshooting page.

Pitfalls

A few things to keep in mind before setting up the game:

  • Putting the game in a path with non-ASCII characters (e.g. C:\Users\Amón\Yume 2kki) will most likely result in errors.
  • If extracting the game files with 7-Zip, make sure to run 7-Zip with Microsoft AppLocale, otherwise some files with Japanese names will be given gibberish names and the game will not be able to locate these files when you go to run Yume 2kki.

Preparation

On Windows XP, some additional setup is required for East-Asian languages.

  1. Go to Control Panel.
  2. Go to Regional and Language Options.
  3. Click the "Install files for East-Asian Languages" checkbox.
  4. Press OK. Windows will install East-Asian language support.

Installing AppLocale and the Japanese RPG Maker 2000 RTP (Automatic)

You can download a script here (located near the bottom of the page) which will automatically download and install AppLocale and both the English and Japanese RPG Maker 2000 and 2003 runtime packages. Simply download the file, extract the "Install RTPs.bat" script, and run it (Vista and later: right-click and select Run As Administrator).

Installing AppLocale and the Japanese RPG Maker 2000 RTP (Manual)

Download AppLocale from Microsoft's website here.

On Windows XP, open the "apploc.msi" file you downloaded earlier and follow the installation instructions.

On Windows Vista and later, the process is a bit more complicated.

  1. Open the start menu, type "cmd" in the search box, then right click "cmd.exe" and select “Run as Administrator”.
  2. Type the following command and press enter:
msiexec /i "C:\Users\...\Downloads\apploc.msi"

Make sure to replace the "C:\Users..." path with the full filename of apploc.msi. Also, the quotes are important!

AppLocale will be used to install the RTP and later to run Yume 2kki. To install the RTP using AppLocale:

  1. Download the RTP here (Mirror)
  2. If you downloaded a ZIP file, extract the contents. Otherwise, if you downloaded an EXE file, run it and allow it to extract. In the extracted files will be a file called RPG2000RTP.exe.
  3. Open AppLocale, and when prompted, select RPG2000RTP.exe as the executable file to run.
  4. Select Japanese (日本語) as the language, which is the very last option in the language dropdown menu.
  5. Run the installer. The "next" button should be highlighted by default.

If you have attempted to install the RTP before and failed, or have difficulties installing the RTP, make sure other versions of the RTP have been uninstalled through Add or Remove Programs (Vista and later: Programs and Features) in the Control Panel and try again. If you still have issues installing, the Automatic installation above is recommended.

Installing Yume 2kki

Yume 2kki download links can be found here on the wiki. You can choose to download from the official source or a mirror. If the mirror is up-to-date, try a mirror download first; then try the downloads from GetUploader; then official downloads from Dropbox.

If downloading from the official links (on GetUploader), make sure to download all of the files in the series (e.g. ゆめ2っきver0.102b.part01.exe, ゆめ2っきver0.102b.part02.rar, etc). GetUploader only allows one download at a time, so be aware of this. If you cannot identify the download button, it has the text「ダウンロード」written on it.

If you want to apply any patches to the game (such as an unofficial English patch or an official update patch), download those files too. Make sure the version numbers match before applying a patch!

If you downloaded the game via mirror, you will need to extract the archive with an archive manager. If you don't have an archive manager that can extract 7z files, a free, high-quality choice is 7-Zip.

If you downloaded the game via GetUploader, you will need to run the self-extracting EXE file with AppLocale:

  1. Start AppLocale
  2. When prompted, choose the "...part01.exe" file as the file to run.
  3. Select Japanese (日本語; the very last option) in the language menu that follows.
  4. Start the self-extractor. Keep in mind that all of the downloaded parts must be kept in the same folder for this step to work.

You will now have a new folder (typically named similarly to「ゆめ2っきver0.101」) in the same location as the archive EXE.

If you downloaded the game via Dropbox, or have downloaded official patches using the ZIP archive format, you will most likely run into codepage issues if you extract the game by normal means. There is no easy way to circumvent this issue on Windows. Some suggestions include:

  • Download an archive manager (if you do not already have one), start it using AppLocale with the Japanese locale, and extract the files from the archive via the archive manager's interface.
    • The 64-bit version of 7-Zip seems to have issues with this method; try the 32-bit version if you run into problems.
  • Use the command-line unar program to extract the archive. The ecoding "Windows-31J" should be specified.

Once the files are extracted, look inside them for another folder (typically「ゆめ2っき」) which contains the actual game data. To apply patches, extract and copy the patch data into this folder and overwrite existing files. (Some patches may differ in installation; check for instructions that come with the patch.) You may now move the 「ゆめ2っき」folder wherever you'd like.

The last step is to create a shortcut to play the game via AppLocale. The process is similar to before:

  1. Start AppLocale
  2. When prompted, choose "RPG_RT.exe" file as the file to run. If you don't want to play the game in fullscreen, input "x x Window" (without quotes) for the program arguments.
  3. Select Japanese (日本語; the very last option) in the language menu that follows.
  4. Check "Create a shortcut to always run this application with AppLocale" and rename it to whatever you wish.
  5. Start the game!

The shortcut that is created from the previous steps will be found under Programs->Microsoft AppLocale and can be safely moved to another location.

Running Yume 2kki on non-Windows Operating Systems

Yume 2kki can be run perfectly with Wine on OS X, Linux, and other Unix operating systems with a little setup. RPGHub can be used to simplify the process of playing RPG Maker games on non-Windows platforms.

If the game crashes when entering the Factory in GALAXY Town, applying the patch below might help.

--- a/dlls/quartz/mpegsplit.c
+++ b/dlls/quartz/mpegsplit.c
@@ -172,7 +172,14 @@ static HRESULT FillBuffer(MPEGSplitterImpl *This, IMediaSample *pCurrentSample)
 
     /* Find the next valid header.. it <SHOULD> be right here */
     hr = parse_header(fbuf, &length, &This->position);
-    assert(hr == S_OK);
+
+    if (hr != S_OK)
+    {
+        ERR("couldn't find a valid header\n");
+        ERR("rip\n");
+        return S_FALSE;
+    }
+
     IMediaSample_SetActualDataLength(pCurrentSample, length);
 
     /* Queue the next sample */

To use Wine with the patch:

  1. copy the text above into a file
  2. download a source release of Wine
  3. unpack the source tarball somewhere
  4. open a terminal
  5. navigate into the source directory
  6. apply the patch (patch -p1 < /path/to/the/patch/file should work)
  7. compile Wine

The patch has been tested on Wine 1.7.45 and Wine 1.7.46.

The Factory's BGM file appears to be a bit corrupted, the crash is due to how Wine handles MP3 files with corrupt/missing headers.

See also

pAppLoc

"pAppLoc" is a modified version of AppLocale which disables the nag screen that appears when starting AppLocale shortcuts. There also exists a registry modification which adds an option in the right-click menu to start executable files in Japanese using AppLocale.

You can find a guide on how to install and use pAppLoc here.

Uboachan Installation Thread

If you're still having trouble getting the installation working, you might find some information in this Uboachan thread.