Skip to content

Instantly share code, notes, and snippets.

@CatoTheYounger97
Last active February 13, 2024 14:37
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CatoTheYounger97/fa47e7eef92f772e4004d4dac22f9bdb to your computer and use it in GitHub Desktop.
Save CatoTheYounger97/fa47e7eef92f772e4004d4dac22f9bdb to your computer and use it in GitHub Desktop.
YoYo Loader Asset Swap Instructions: For running PC GameMaker Studios (GMS) games on Vita.

YoYo Loader Asset Swap Instructions:

  • For running PC GameMaker Studios (GMS) games on Vita.

You Will Need:

Setup:

  • Extract UndertaleModTool to a directory on your PC
  • Place the "UTMTGetVersionGuesstimate.csx" in one of the UndertaleModTool sub folders ending in "scripts".
  • For example, "DemoScripts". (It doesn't mater which one).

Step 1: YYC check

  • Open the data.win of your PC game in UndertaleModTool
  • If there is a pop up that says "This game uses YYC", the PC game CANNOT BE PORTED.
  • If there is no YYC pop up, go to step 2.
  • All other pop ups can be ignored, unless they result in the failure to load data.win.
  • Please note, MacOS/Linux versions of the game may not be YYC. You can check these versions, if the windows version is YYC.

Step 2: Check GMS and Bytecode versions of the PC game

  • With your data.win file loaded in UndertaleModTool, do the following.
  • Look at the UndertaleModTool program window title bar. The Bytecode version will be stated here (example: bytecode 16).
  • Navigate to the "Scripts" tab and find "UTMTGetVersionGuesstimate.csx" and click to run it.
  • The GMS version of your game, will be shown in the bottom left of the UndertaleModTool window.(example: Likely: GMS2_2_2_302)
  • Make a note of both the GMS and Bytecode versions of your data.win.

Step 3: Identifying a donor APK for asset swap.

Step 4: Swapping the assets

  • Open the donor APK in 7zip
  • Delete all files and folders in the "asset" subfolder. (EXCEPT splash.png, to retain the "assets" folder in 7zip).
  • Rename the "data.win" file of your GMS PC game to "game.droid".
  • Drag and drop the "game.droid" file and all other game files into the "assets" folder of the donor APK in 7zip.
  • The ".exe" and any ".dll" files are not necessary.

Step 5: Adding the new APK to YoYo loader

  • Like all other GMS android games. Rename the new asset swapped APK to "game.apk".
  • Transfer it to your Vita and place it within "ux0:data/gms/[named subfolder]/game.apk"
  • Open the YoYo Loader app, find your game and open the triangle menu.
  • Select the "Optimise APK" button before launching the game.
  • For some games it is recommended to choose "Optimise APK with Externalisation" with "compressed textures" selected.
  • This option will fix any audio or "out of memory" issues.
  • Check the compatability list for game specific adcvice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment