Giter Site home page Giter Site logo

northfear / homm3hd-vita Goto Github PK

View Code? Open in Web Editor NEW
44.0 2.0 3.0 12.16 MB

PS Vita loader for Android version of Heroes of Might and Magic III HD Edition

License: MIT License

CMake 1.66% C 96.45% C++ 1.89%
android homm3 psvita heroes-of-might-and-magic

homm3hd-vita's Introduction

Heroes of Might and Magic III HD Edition wrapper/port for PS Vita

This repository contains a loader of the Android release of Heroes of Might and Magic III HD Edition, based on the Android SO Loader by TheFloW. The loader provides a tailored, minimalistic Android-like environment to run the official ARMv7 game executables on PS Vita.

At the time of writing this readme, the Heroes of Might and Magic III HD Edition was delisted from the major Android storefronts. This loader ("port") is intended to be used only by those people who bought the game prior to the delisting and still can legally access their own copy through the Purchased Apps list on Google Play.

This software does not contain the original code, executables, assets, or other non redistributable parts of the game. The authors do not promote or condone piracy in any way. To launch and play the game on their PS Vita device, users must provide their own legally obtained copy of the game in the form of an .apk file.

Setup Instructions (For End Users)

The port has been tested only with the latest available version of the game (which is v1.1.6)

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 ur0:tai) and adding two entries to your config.txt under *KERNEL:  
  *KERNEL
  ur0:tai/kubridge.skprx
  ur0:tai/fd_fix.skprx
  • Install libshacccg.suprx, if you don't have it already, by following this guide.

  • (Optional, but recommended) Install NoTrpDrm to enable trophies support.

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

Note 2 libgpu_es4_kernel_ext.skprx plugin is no longer needed since version 1.2.0.

  • Legally obtain your copy of Heroes of Might and Magic III HD Edition for Android in form of an .apk file and .obb files (main.1113.com.ubisoft.mightandmagic.heroesiii.obb and patch.1110.com.ubisoft.mightandmagic.heroesiii.obb are located inside the /sdcard/android/obb/com.ubisoft.mightandmagic.heroesiii/) folder. You can get all the required files directly from your phone or by using any APK extractor you can find on Google Play.
  • Open the .apk with any zip explorer (like 7-Zip) and extract it. Copy libhomm3.so file (located in the lib/armeabi-v7a folder inside the apk) into ux0:data/homm3hd/.
  • Open the main.1113.com.ubisoft.mightandmagic.heroesiii.obb with your zip explorer (.obb files are zip files just like .apk files so just rename the .obb to .zip) and extract the contents to ux0:data/homm3hd/.
  • Same as before, open the patch.1110.com.ubisoft.mightandmagic.heroesiii.obb with the zip explorer and extract the contents inside the zip to ux0:data/homm3hd/.
  • Install HOMM3.vpk (from Releases).

Controls

  • Left analog stick - Cursor movement
  • Right analog stick - Map scroll
  • × - Left mouse button
  • ○ - Right mouse button
  • R1 (hold) - Cursor movement speedup

Original touch controls are supported.

During battle ○ button is used for attack direction selection (when clicked on the enemy unit within attack range). Double × click is used for ranged attack. To view unit info during battle click on the unit with × button, wait 2-3 seconds and then click × again.

You can enable rear touchpad cursor movement in the game configuration utility (GAME OPTIONS on the bottom of the launcher screen). Use double tap to emulate LMB with rear touchpad and second finger tap to emulate RMB.

Left analog stick deadzone can be changed in game configuration utility.

Additional info

You can add custom "Restoration of Erathia" maps by copying them into ux0:data/homm3hd/data/maps/<your_language_folder>/ folder (ux0:data/homm3hd/data/maps/en/ for example). Note that ONLY "The Restoration of Erathia" maps are supported.

Known Issues

  • Game takes around a minute to load (black screen right after the start).

  • Buildings / units / some UI elements may flicker during gamepad cursor movement.

  • The game can freeze/crash sometimes during video playback (after playing 3-4 campaign videos).

Build Instructions (For Developers)

In order to build the loader, you'll need a softfp vitasdk

Dependencies

make HAVE_GLSL_SUPPORT=1 SOFTFP_ABI=1 SINGLE_THREADED_GC=1 HAVE_SHADER_CACHE=1 install

mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DVIDEO_VITA_VGL=ON
make install

You may need to rebuild SDL_mixer and SDL_image manually after the installation of the required SDL2 fork.

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

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

Credits

homm3hd-vita's People

Contributors

northfear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homm3hd-vita's Issues

Saving not working

Not sure if it's a quirk of my installation, but so far every autosave fails with an in game error message and so do manual saves

Nintendo Switch Port

Possible to have this ported to the Switch too?
I know that HOMM2 can be played on the Switch but I don't think HOMM3 was ever ported and the Switch is also based on ARM !

Error C2-12828-1 when start

Thanks for this repository that can play h3 in psvita!

I tried to install it and success, but failed when start game with error C2-12828-1, the detail info please see below.

Can you give some suggestion for how to fix it? Thanks again.

# For users plugins, you must refresh taiHEN from HENkaku Settings for
# changes to take place.
# For kernel plugins, you must reboot for changes to take place.
*KERNEL
ur0:tai/gamesd.skprx
ur0:tai/nonpdrm_v1.2.skprx
ur0:tai/repatch_v3.0.skprx
ur0:tai/0syscall6_v1.3.skprx
ur0:tai/ioplus_v0.1.skprx
ur0:tai/kubridge_v0.1.skprx
*ALL
ur0:tai/VitaGrafix_v5.0.2.skprx
# henkaku.skprx is hard-coded to load and is not listed here
*main
# main is a special titleid for SceShell
ur0:tai/henkaku.suprx
ur0:tai/shellbat_r10.suprx
ur0:tai/LowMemMode_v1.2.suprx
ur0:tai/NoTrpDrm_v1.1.suprx
*NPXS10015
# this is for modifying the version string
ur0:tai/henkaku.suprx
*NPXS10016
# this is for modifying the version string in settings widget
ur0:tai/henkaku.suprx

Crash on start

Hi! I have followed the installation guide, using kubridge and rePatch plugins, but my game crashes on startup without loading anything.
It does look like I did something wrong with the installation, but I double checked everything twice. The only thing that I have only version 1.1.5 of the original HOMM3 Android vpk and files. Could that be the issue? Could you please help me trace the problem?

Attached my crash dump. psp2core-1703023367-0x00000b2657-eboot.bin.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.