Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to save snapshot #153

Open
macd1969 opened this issue Jun 6, 2022 · 25 comments
Open

Unable to save snapshot #153

macd1969 opened this issue Jun 6, 2022 · 25 comments

Comments

@macd1969
Copy link

macd1969 commented Jun 6, 2022

I searched the issues and found that others had an issue unable to save as the operation is not permitted, the solution was to become a beta tester, I tried this and still have the same issue, Iam using android 11, I signed up for the beta program yesterday, uninstalled spectacol and reinstalled from play store. Version is showing as 1.6.05.

@YurArm
Copy link

YurArm commented Nov 1, 2022

The problem is easy to resolve. Because itis simple: the game tryes to save file with the name "filename-blblabla-date-time",
And the problem is in "time" that looks like "19:12:05".

You should take out the illegal file characters like "colon" ( : )

@bog-dan-ro
Copy link
Owner

I'll change it to _ in the next version. It will take some time as I need to rewrite the file handling for Android 10+.

@Dzimonchik
Copy link

we still really need a solution to this problem. Unable to save game

@kdonath
Copy link

kdonath commented May 20, 2023

I have tried to change the source code and build a new apk to correct this problem but I am constantly getting the error "no rule to make target". I tried different gt versions, jdk versions, android NDK versions, but no success. I think somerhing is missing from the source.

@kdonath
Copy link

kdonath commented Aug 20, 2023

Any chance for the app to be updated?

@kdonath
Copy link

kdonath commented Jun 14, 2024

I did it! I fixed the issue. For some reason I could not recompile the source. I am missing something. BUT I edited the APK. I changed the "hh:mm:ss" to "hh_mm_ss" in the file name and now all works like a charm.

@vlig
Copy link

vlig commented Jul 9, 2024

I changed the "hh:mm:ss" to "hh_mm_ss" in the file name

Howto? Where?

@kdonath
Copy link

kdonath commented Jul 11, 2024

Here is what you need to do:

Tools to be used:

On Android:
APK Extractor

On Windows PC:

APKTOOL: https://apktool.org/docs/install
https://stackoverflow.com/questions/10930331/how-to-sign-an-already-compiled-apk


KEYTOOL: Download JDK: https://www.oracle.com/java/technologies/downloads/

keytool path: c:\Program Files\Java\jdk-22\bin
add to path variable


APKSIGNER: https://dl.google.com/android/repository/build-tools_r30.0.1-windows.zip

apksigner path: c:\Users\username\AppData\Local\Android\Sdk\build-tools\34.0.0

add to path variable


  1. Install APK Extractor to Android and extract the APK file

  2. Copy the APK file (Spectacol.apk) to the Windows PC
    The following steps are done on the PC

Deflate APK:
apktool d Spectacol.apk

This will extract the content of the APK in a folder withh the same name.
(APK is basically a ZIP file)

Edit with Notepad++
\Spectacol\lib\arm64-v8a[libfuse-qml_arm64-v8a.so
replace instancies of hh:mm:ss with hh_mm_ss

Run CMD or Powershell in ADMIN mode

Generate Signature Key
keytool -genkey -v -keystore keystore_name.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias your_alias

Password: your_keystore_password

Build new APK
apktool b -o Spectacol_New.apk Spectacol

Sign new APK
apksigner sign --ks-key-alias your_alias --ks keystore_name.keystore Spectacol_New.apk

Copy Spectacol_New to Android.

  1. On Android uninstall the original Spectacol

Allow install from local source.
On Samsung go to Settings -> Security and privacy -> Install unknown apps -> Select My Files

  1. Start My Files and browse to the Spectacol_New.apk
  2. Install
  3. Enjoy

@vlig
Copy link

vlig commented Jul 12, 2024

Wow! There is the Answer! Thank you very much, I'll try it!

@qvarts
Copy link

qvarts commented Sep 4, 2024

Thank you, kdonath. This works perfect.

@Noguejordi
Copy link

Hello, good afternoon, could you please give me the modified apk? I have tried all the ways to modify it and without success, I would appreciate it if someone could give me the modified apk so I can save games, thank you very much.

@qvarts
Copy link

qvarts commented Sep 23, 2024

Hi, try this
Spectacol_fixed.zip

Tested on Android 13

@Noguejordi
Copy link

Noguejordi commented Sep 23, 2024

thank you so much

tested and working, just need to sign the apk, thanks

@Stewbie2001
Copy link

Hi, new to github but signed up to ask if there's a new updated apk available for this as I'm having the same issues with snapshot and the above updated spectacol fixed zip keeps saying it's invalid. Any help appreciated.

@kdonath
Copy link

kdonath commented Nov 27, 2024

Hi Stewbie2001,

Try this:
Spektak2.zip

The APK file is signed and free of viruses, it works well without any issues. But please note that I was not able to test it on all kind and versions of Android phones, so you should use it at your own responsibility.

Enjoy!

@Stewbie2001
Copy link

That's super thanks very much your a gem. I can confirm it's working on my s24 ultra just fine and I have the latest firmware on that. Thanks again bud!

@kdonath
Copy link

kdonath commented Nov 30, 2024

I am happy it works.
The good news is that finally I managed to build a new APK from the source code. So now I can correct this problem in a more elegant way, plus I can eventually make more developments - like adding other ROMs, or support for Microdrive, etc.

@Stewbie2001
Copy link

Nice, I'm sure all us old speccy lovers will appreciate it so thanks for your hard work bud.

@Stewbie2001
Copy link

Could you increase the size of the buttons on the joysticks as I find the current ones abit on the small side.

@kdonath
Copy link

kdonath commented Dec 13, 2024 via email

@kdonath
Copy link

kdonath commented Dec 13, 2024

Spectacol_DK9.zip
OK, so please find attached a new version.
The changes:

  • The onscreen joystick buttons are bigger - I've tested on 3 different phones, looks good to me, but please test.
  • I've changed the onscreen keyboard Sticky CS/SS function. Now this works similarly to the Samsung keyboard, cycling through one time sticky - persistent sticky - released.

If you installed my previous mod (Spektak2), you need to delete if first and then install this version.
If you have the store version, this one will update the store version.
Also, once you installed it from here, you may want to turn off the automatic update (for this app only) in the Play Store app, otherwise next time you update all your apps it will try to overwrite this one with the original Store version, but will fail, because the Store version has a lower versioncode than this, and it will always give an error. If you turn off automatic update (for this app only) you avoid the error message.

@Stewbie2001
Copy link

Yup there definitely bigger, Do you think you could make them half there current size or maybe double the size they were originally. Sorry to be a pain but thanks for the work your doing to improve this emulator as I think it's the best one available on smart phones.

@kdonath
Copy link

kdonath commented Dec 14, 2024

Spectacol_DK9.zip
Please try this. Originally the buttons were 6mm diameter, now they are 12mm.

@Noguejordi
Copy link

On a Xiaomi Redmi note 11 pro 5g the buttons look perfect now, did you say you could put roms? Will it also be possible to search the folders from the external sd? Thanks for your work

@Stewbie2001
Copy link

Yup that's better with the size, just for reference I'm using a samsung galaxy s24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants