Skip to content

Rinnegatamante/layton3-vita

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Professor Layton: Lost Future HD Vita

This is a wrapper/port of Professor Layton: Lost Future HD for the PS Vita.

The port works by loading the official Android ARMv7 executables in memory, resolving its imports with native functions and patching it in order to properly run. By doing so, it's basically as if we emulate a minimalist Android environment in which we run natively the executable as is.

Changelog

v1.0

  • Initial release.

Note

  • This port works only with versions of the game where an obb file was still used. It has been tested with v.1.0.1.

Known Issues

  • Post puzzle solution animation is a bit slow. (Likely cause of I/O overhead)
  • Very rarely, videos play sped up and without audio and can freeze although you are still able to skip them in order to progress the game. (sceAvPlayer qwirk).

Setup Instructions (For End Users)

In order to properly install the game, you'll have to follow these steps precisely:

  • Install kubridge and FdFix by copying kubridge.skprx and fd_fix.skprx to your taiHEN plugins folder (usually ux0:tai) and adding two entries to your config.txt under *KERNEL:
  *KERNEL
  ux0:tai/kubridge.skprx
  ux0:tai/fd_fix.skprx

Note Don't install fd_fix.skprx if you're using rePatch plugin

  • Optional: Install PSVshell to overclock your device to 500Mhz.
  • Install libshacccg.suprx, if you don't have it already, by following this guide.
  • Obtain your copy of Professor Layton: Lost Future HD legally for Android in form of an .apk file and an obb. You can get all the required files directly from your phone or by using an apk extractor you can find in the play store.
  • Open the apk with your zip explorer and extract the file libll3.so from the lib/armeabi-v7a folder to ux0:data/layton_future.
  • Extract the folder assets inside ux0:data/layton_future.
  • Extract the obb file in ux0:data/layton_future/data and rename the file main.obb.

Build Instructions (For Developers)

In order to build the loader, you'll need a vitasdk build fully compiled with softfp usage.
You can find a precompiled version here: https://github.com/vitasdk/buildscripts/actions/runs/1102643776.
Additionally, you'll need these libraries to be compiled as well with -mfloat-abi=softfp added to their CFLAGS:

  • SoLoud

  • libmathneon

    • make install
  • vitaShaRK

    • make install
  • kubridge

    • mkdir build && cd build
      cmake .. && make install
  • vitaGL

    • make SOFTFP_ABI=1 NO_DEBUG=1 HAVE_GLSL_SUPPORT=1 PHYCONT_ON_DEMAND=1 HAVE_UNFLIPPED_FBOS=1 install

After all these requirements are met, you can compile the loader with the following commands:

mkdir build && cd build
cmake .. && make

Credits

  • TheFloW for the original .so loader.
  • CatoTheYounger for testing the homebrew and providing screenshots.
  • YogaBudiW for the Livearea assets.

About

Port of Professor Layton: Lost Hope HD for PSVITA.

Resources

License

Stars

Watchers

Forks

Packages

No packages published