-
Notifications
You must be signed in to change notification settings - Fork 3
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
game report not running on the phone #4
Comments
you can modify the jar this is the code where check phone runtime , you can make this function always return true. |
https://zixing.lanzouq.com/i0vAU1w7elyf this is the modified jar . |
Sorry, I missed the message. Yes, that works. But it would still be better if it can be supported natively as j2me-loader. Hope can be addressed simply from j2me side. |
From what you wrote here, I tried with "-ap copyRight=0" and it works. Thanks. Maybe C0020at.f419j can tell the truth. |
Apologies for not responding earlier, but github didn't send me any notifications.. :( The game code probably attempts to check if it's running inside an emulator (and refuses to run if emulator detected) by detecting the presence of some classes. While these classes don't exist here (and they don't exist in J2ME-Loader too), the code should pass. But the problem was that FreeJ2ME is not throwing the Now I'm not sure what to do, because throwing the exception could potentially break some games.. this one is unusual because it expects a class to not exist.. |
Hi, thank you so much for the reply. I agree this would be very hard to debug. |
Hi,
Wish you have a good weekend.
Today, when running a horror java game as following, I find the game reports it is not running on the phone.
ss1.jar.txt
I observed the execption as following:
java.io.IOException: Class not found Error Adapting Class XMessage java.io.IOException: Class not found Error Adapting Class XConnection java.io.IOException: Class not found Error Adapting Class emulator.Emulator java.io.IOException: Class not found
It is very simple to reproduce the issue, just press 5 and issue can be reproduced.
Meanwhile, the game can be started successfully with j2me-loader from android.
Thanks.
The text was updated successfully, but these errors were encountered: