Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Announcement

    Sorry for the recent downtime. Still much to do but we have the site updated, secure and back online.  Expect more changes.

Hacked Hyperspin APK - 32 and 64 bit Retroarch together - Best Cores?


zerojay
 Share

Recommended Posts

16 hours ago, Honosuseri said:

When I have some free time I'll look at RAP and decompile Hyperspin to modify it IF it's worth doing.

Had a look, I won't be bothering!

RetroArch Plus is just RetroArch64 rebranded. Libretro are having to jump through hoops to abide by Google Playstore rules. Size of the apk is restricted to 100MB and the cores must download from google servers NOT the Libretro buildbot. I'll stick to sideloading Libretro's versions that DON'T have assets cut out to make the 100MB apk size. 64bit versions are still missing MAME cores, so I see no real need to switch from using RA_32 yet.

Link to comment
Share on other sites

On 3/10/2021 at 8:17 PM, Honosuseri said:

Had a look, I won't be bothering!

RetroArch Plus is just RetroArch64 rebranded. Libretro are having to jump through hoops to abide by Google Playstore rules. Size of the apk is restricted to 100MB and the cores must download from google servers NOT the Libretro buildbot. I'll stick to sideloading Libretro's versions that DON'T have assets cut out to make the 100MB apk size. 64bit versions are still missing MAME cores, so I see no real need to switch from using RA_32 yet.

I understand. I may have gotten it wrong, but looks like Google Play store version installs the 32bit version on x86 and older arm devices, and the 64bit on x86_64 and newer arm devices. I'm hoping that RAP is close enough to the website's 64bit version that it could work with Hyperspin modified for 64bit.

Do you know of any current hacked version of HyperSpin that is able to do both 32 and 64 bits versions of RetroArch (website's version is fine)?

My use case would be exactly what you are describing. I'm depending both on MAME 2010 core that is exclusive to the 32 bits and Dolphin core that is exclusive to the 64 bits. Plus Beetle PSX HW is only really playable for me in RA 64 bits.
For now I'm making do with stand-alone versions of Dolphin and ePSXe, but I often see myself bypassing Hyperspin and loading RA 64 bits to play Playstation, GameCube and Wii games. It would be great to be able to launch games from Hyperspin.

Just like you, I'm considering moving to Arc Browser for the convenience. Nevertheless, HyperSpin looks soo good, and I put so much time on it that's really hard to call quits :).

Link to comment
Share on other sites

5 hours ago, HyperSeeder said:

Just like you, I'm considering moving to Arc Browser for the convenience. Nevertheless, Hyperspin looks soo good, and I put so much time on it that's really hard to call quits :).

To my knowledge this is the only dual Retroarch Hyperspin build and iirc it doesn't work correctly, as it can't load the config files for the 64bit version (if that's been fixed I apologise in advance). I only had a brief look at what RA Plus was and noticed the missing MAME cores and that was the end of that.

I haven't abandoned HS on the STV, I invested A LOT of time making artwork and doing custom wheels for systems. I made my own HS build to use RA_32, I don't use Google Play versions and when 64bit catches up with core count I'll switch to that. Stuff like Dolphin (standalone or RA core) isn't worth bothering with on phones or the STV, it's better to use Gamestream (or similar) to have a PC version of Hyperspin play on the STV to do more demanding systems. I can't remember which core I use for PSX, I did do some tweaking which helped it run better. Don't remember what I did BUT I remember doing it for Ridge Racer as we had a competition here for fastest hot lap. I did share what I did in the thread to help stop the stutters so people could post a faster time!

End of the day AB is a superior frontend, although not as "flashy" it's actively being improved. HS I use as a party piece to impress friends BUT day to day use (including my phone) I use AB more.

Link to comment
Share on other sites

On 3/12/2021 at 8:50 AM, Honosuseri said:

Stuff like Dolphin (standalone or RA core) isn't worth bothering with on phones or the STV, it's better to use Gamestream (or similar) to have a PC version of Hyperspin play on the STV to do more demanding systems.

To be fair Dolphin is running very well on Shield right now. I'm getting 60fps at 2x internal resolution in most games without CPU underclocking. Yes, PC can do it better (it can also do N64, PS1 and even SNES better), but gone are the times that Gamecube was basically unplayable. Nevertheless, the Hyperspin + Gamestream combo is an interesting possibility.

On 3/12/2021 at 8:50 AM, Honosuseri said:

I can't remember which core I use for PSX, I did do some tweaking which helped it run better. Don't remember what I did BUT I remember doing it for Ridge Racer as we had a competition here for fastest hot lap. I did share what I did in the thread to help stop the stutters so people could post a faster time!

If you are talking about RetroArch on Shield it's probably PCSX ReARMed. It's an ok core, it's fast and up until recently it was the best playable free option. Standalone ePSXE is the old trusted payware alternative (and if accuracy is not priority, with the OGL plugin it can do 4x internal resolution without a problem).

However, now that Bettle PS HW is playable it's hard to go with anything else.

On 3/12/2021 at 8:50 AM, Honosuseri said:

End of the day AB is a superior frontend, although not as "flashy" it's actively being improved. HS I use as a party piece to impress friends BUT day to day use (including my phone) I use AB more.

Yeah I agree with you here. HS is beautiful and free - well, if you don't spend the money for Premium + EmuVideos subscription - still it's not a very practical day to day front end.

Nevertheless, I really hope that eventually HS gets updated with support for modern versions of RA.

Link to comment
Share on other sites

Hyperspin does support modern versions and cores are updated and working for various systems....the problem is your looking in the wrong places...try social media places like Facebook and discord as I can tell u developers and modders are there actively working

Link to comment
Share on other sites

4 hours ago, sanchezmike01 said:

Hyperspin does support modern versions and cores are updated and working for various systems....the problem is your looking in the wrong places...try social media places like Facebook and discord as I can tell u developers and modders are there actively working

Would you care to share the link to the specific Facebook communities and Discord channels? I honestly haven't found a build that could to RA 32, RA 64 and Duckstation in Android.

Link to comment
Share on other sites

14 hours ago, HyperSeeder said:

Would you care to share the link to the specific Facebook communities and Discord channels? I honestly haven't found a build that could to RA 32, RA 64 and Duckstation in Android.

That’s not aloud on the forum. We do have a PM system. 😉 

Link to comment
Share on other sites

Well, PM's sent.

Meanwhile, @Honosuseri, any idea if it's possible to use @zerojay to load a modern version of RA32 parched with the process described here https://github.com/libretro/RetroArch/issues/9430?

My goal is to "hack the hacked version" so that it can do modern versions of RA32 while keeping support for RA64.

I'm happy to do it myself and post the patched RA 32 APK to the community if there's interest. But before I go down this route I'm just wondering if someone else has already tried it so that I don't waste hours trying to do something that has already been done (or if there's good reason to think that it won't work).

Link to comment
Share on other sites

Alternative idea. Hack @zerojay APK and replace 

com.retroarch

with 

com.retroarch.ra32

Maybe with the process described bellow.

Ideally someone more familiar with Android development could add an extra if statement to allow HS to launch both com.retroarch and com.retroach.ra32 (so that old versions of RA still work).

 

Link to comment
Share on other sites

Progress so far:

To anyone looking to make it work with modern versions of Retroarch I could do it by changing two lines in HSFENativeActivity.

In launchEmulator I had to change the line:

if (pkgclassName[0].equals("com.retroarch")) {

To:

if (pkgclassName[0].startsWith("com.retroarch")) {

And in setupLibretroIntent I had to change  the line:

launchIntent.putExtra("CONFIGFILE", "/storage/emulated/0/Android/data/com.retroarch/files//retroarch.cfg");

To:

launchIntent.putExtra("CONFIGFILE", "/storage/emulated/0/Android/data/" + pkgName + "/files//retroarch.cfg");

I'm still testing it and as soon as I'm sure that it works for all versions I will release an APK, just leaving this registered here for users that arrive from Google in the future to know how to fix the issue :).

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...
On 4/21/2019 at 10:58 AM, mikty said:

so I made a test this new apk after deleting the former one but unfortunaly, it doesn't work. when a load a romfrom hyperspin, it continue to point to the regular retroarch 32 bits.

I have change in settings of the core :


exe=com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture

but no luck

little disappointed because I thank we have found the best solution.

is others guys test it with success ?

thanks for your support

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Similar Content

    • By edboy542
      I have attached a short video showing that the Arcade games not launching and other games launching perfectly with no problem. So when I try to launch the Arcade Game it appears to open up Retroarch, but does not load the core. Do I have to edit the Hyperspin Info Settings to make sure it is opening up the Core to launch the game? I am trying to provide all information that I can in order to get this build fully up and running. Once again thanks in advance for any assistance with this. 
    • By HyperSeeder
      HyperSpin v0.1.8 for Android
      This is an unofficial version of HyperSpin for Android able to launch all modern versions of RetroArch.
      Support topic: https://hyperspin-fe.com/forums/topic/42774-modified-hyperspin-apk-for-retroarch-works-with-all-modern-versions/
      File Information:
      HyperSpin_v0.1.8_HyperSeeder.apk
      MD5: 4692846e4fe9a90bd0da3a6cd9f10ed3
      SHA512: 2f5db6b625983c189b9f82c574bf48781921780825a38ceaf9c1094bd113545f9abdd06c5b4ac8707093e3e2ac0fc1185b9bc939f30f5ee830a41689c68e5b21
      How to configure your Settings_Android ini files:
      Main APK from RetroArch's website and Google Play Store Version:
      exe=com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture RetroArch's website 32bit version:
      exe=com.retroarch.ra32/com.retroarch.browser.retroactivity.RetroActivityFuture RetroArch's website 64bit version and RetroArch Plus:
      exe=com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture Have fun!
      FAQ:
      Can I mix and match multiple RetroArch distributions?
      Yes, you just need to set different exe values for different systems.
      For instance, you can use the 64bit version of RA + Dolphin core for GameCube games (Nintendo GameCube.ini): exe=com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture parameters=cores/dolphin_libretro_android.so
      And the 32bit version of RA + MAME Core (MAME.ini): exe=com.retroarch.ra32/com.retroarch.browser.retroactivity.RetroActivityFuture parameters=cores/mame2010_libretro_android.so  
      Will it load separate configuration files for 32bit and 64bit versions?
      Yes, it will always load the default configuration file for each version.
      Default configuration files are in /storage/emulated/0/Android/data/[package name]/files/retroarch.cfg
      For example:
       
      /storage/emulated/0/Android/data/com.retroarch.ra32/files/retroarch.cfg  
      Can I make Hyperspin launch my own custom compiled version of RetroArch?
      Yes. As long as the package name starts with com.retroarch everything should work.
      Can I configure HyperSpin to load retroarch.cfg from a custom location?
      Not for now. I find that I can accomplish what I want with the default config file + settings overrides.
      If you have a specific use case that would benefit from this feature comment bellow and I'll see what I can do.
      How was this implemented?
      I reversed engineered the original Google Store APK using Apktool and JEB.
      You can find the two lines of code that I've modified bellow. You can use APK Studio to verify my changes.
       
       
    • By HyperSeeder
      To anyone following my posts lately, I have been working in modifying HyperSpin so that it can run all modern versions of RetroArch. I know that some of you have been waiting for it since 2019.
      Well, the wait is finally over.
      Download:
      HyperSpin_v0.1.8_HyperSeeder.apk: https://mega.nz/file/uNx0gQQA#f5ktYDOV6nMAWxatrlg6XAYz14ZMdYlkWg994s-1WDg
      MD5: 4692846e4fe9a90bd0da3a6cd9f10ed3
      SHA512: 2f5db6b625983c189b9f82c574bf48781921780825a38ceaf9c1094bd113545f9abdd06c5b4ac8707093e3e2ac0fc1185b9bc939f30f5ee830a41689c68e5b21
      How to configure your Settings_Android ini files:
      Main APK from RetroArch's website and Google Play Store Version:
      exe=com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture RetroArch's website 32bit version:
      exe=com.retroarch.ra32/com.retroarch.browser.retroactivity.RetroActivityFuture RetroArch's website 64bit version and RetroArch Plus:
      exe=com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture Have fun!
      FAQ:
      Can I mix and match multiple RetroArch distributions?
      Yes, you just need to set different exe values for different systems.
      For instance, you can use the 64bit version of RA + Dolphin core for GameCube games (Nintendo GameCube.ini): exe=com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture parameters=cores/dolphin_libretro_android.so
      And the 32bit version of RA + MAME Core (MAME.ini): exe=com.retroarch.ra32/com.retroarch.browser.retroactivity.RetroActivityFuture parameters=cores/mame2010_libretro_android.so  
      Will it load separate configuration files for 32bit and 64bit versions?
      Yes, it will always load the default configuration file for each version.
      Default configuration files are in /storage/emulated/0/Android/data/[package name]/files/retroarch.cfg
      For example:
       
      /storage/emulated/0/Android/data/com.retroarch.ra32/files/retroarch.cfg  
      Can I make Hyperspin launch my own custom compiled version of RetroArch?
      Yes. As long as the package name starts with com.retroarch everything should work.
      Can I configure HyperSpin to load retroarch.cfg from a custom location?
      Not for now. I find that I can accomplish what I want with the default config file + settings overrides.
      If you have a specific use case that would benefit from this feature comment bellow and I'll see what I can do.
      How was this implemented?
      I reversed engineered the original Google Store APK using Apktool and JEB.
      You can find the two lines of code that I've modified bellow. You can use APK Studio to verify my changes.
       
      Has it been tested?
      Barely. I tested it with my NVIDIA Shield 2017 and 2019. It worked with all mentioned distributions, RA versions 1.9.0 and 1.9.1 How can I help?
      Test it and let me know if it works :).
      If you know someone able to get my two lines change integrated in the official build and published to the Google Play Store, please point the person to this topic. Acknowledgment: Many thanks to@zerojay, @yarrick and @Honosuseri for "hacking" their own versions of HyperSpin. While this version is my own work, I couldn't do it without the information that you all made available to the community.
    • By NEO207
      Hello hyperspinners...
      I updated my retroarch to 1.9 by downloading the retroarch folder and overwriting my existing Retroarch folder.
      I have done that a couple of times without any problems so far but this time, i can access the games via retroarch directly but the games won't open, when i want to start them through hyperspin.
       
      Besides that, I have the exact same problem with the dolphin emulator. games start via dolphin perfectly but don`t start through hyperspin. when i exit hyperspin via task manager, i can see that the dolphin emulator window gets opened by "starting the game via hyperspin".
    • By Honosuseri
      Right guys as some of you are aware Google changed how things work on the Google Play Store a while back, when we install an app it will use the 32 or 64 bit version depending on what's native to the device. As we're mainly focused on the Shield TV here on the Android part of the forum, it is a 64 bit device. This has proved to be a bit of an issue for those of us who love Retroarch as there are some serious differences between the 32bit and 64bit versions. In a nutshell currently we have access to more cores for us to play our retro systems on the 32 bit version. RetroArch provide a RetroArch_ra32.apk which is a dedicated 32bit version we can sideload/install and use, however Hyperspin is NOT setup to use this version as some of the paths changed.

      So...I decompiled the Hyperspin.apk and made the necessary changes (yes including the config path) to solely use RA_32. I've done some limited testing with RA_32 (1.8.7) and it seems a okay to me (even the Daphne test core works) however I don't use screen overlays or really bother with alternate config setups (in truth I've not used the STV in many months!). Feel free to download it and test yourselves, obviously backup your essential files AND do remember the .ini files need to be adjusted to use RA32....

      exe=com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture
      becomes
      exe=com.retroarch.ra32/com.retroarch.browser.retroactivity.RetroActivityFuture

      It's easy enough to open all your .ini files with notepad++. Use the Search and replace feature to find com.retroarch/ and replace to com.retroarch.ra32/ do this for all opened files then save all.

      Those who use adopted storage it's wise to move the Retroarch_ra32 app to internal storage after installing AND before running it for the first time. Let me know how it works for you, I'll do a Youtube video to help those less experienced with setting up Hyperspin when I know it's working 100% and I have the free time.

      Mega Link for Hyperspin_0.1.8_Hono.apk (https://mega.nz/file/zQNBCYKI#QVrG4uVVmvXHshl8LbosQi7LAjQmUA09R5k_YqhcMBI)
      RetroArch_ra32 (1.9.0) newest stable version at time of posting (https://buildbot.libretro.com/stable/1.9.0/android/)
×
×
  • Create New...