Giter Club home page Giter Club logo

freej2me's People

Stargazers

Remixer Dec avatar  avatar feos avatar John Smith avatar  avatar  avatar zhsjdwea avatar Jack Zhang avatar aveyond avatar  avatar  avatar zixing avatar

Watchers

 avatar John Smith avatar feos avatar zixing avatar  avatar

freej2me's Issues

game report not running on the phone

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.

mac os arm64 build, 3D not working

Hi.

NativeLoader: extracting native libraries to /var/folders/zk/_/T/freej2me-372917299269250
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: Can't load library  /var/folders/zk/_/T/freej2me-372917299269250/libjavam3g.dylib

After the crash I manually checked the folder and it exists but it is empty and has no libraries inside.

P.S. A suggestion from Gemini:

The issue lies in how you determine the sourceLibraryDir. You're using System.getProperty("os.arch") to get the architecture, but for Apple Silicon Macs, this will return "aarch64" instead of "arm64".

Here's how to fix it (in pl.zb3.freej2me.NativeLoader):

String arch = System.getProperty("os.arch");
if (arch.equals("aarch64")) {
arch = "arm64";
} else if (arch.equals("x86_64")) {
arch = "amd64";
}
String sourceLibraryDir = String.format("natives/%s-%s", osName, arch);

Linux aarch64 build not working

NativeLoader: extracting native libraries to /tmp/freej2me-2199509124339
Exception in thread "Thread-2" java.lang.UnsatisfiedLinkError: Can't load library: /tmp/freej2me-2199509124339/libmicro3d.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1823)
at java.lang.Runtime.load0(Runtime.java:782)
at java.lang.System.load(System.java:1098)
at pl.zb3.freej2me.NativeLoader.loadLibrary(NativeLoader.java:85)
at ru.woesss.j2me.micro3d.ClassWithNatives.(ClassWithNatives.java:7)
at com.mascotcapsule.micro3d.v3.Texture.(Texture.java:30)
at ax.(Unknown Source)
at cc.a(Unknown Source)
at cd.a(Unknown Source)
at cy.a(Unknown Source)
at bk.a(Unknown Source)
at bg.a(Unknown Source)
at bq.b(Unknown Source)
at dd.c(Unknown Source)
at DeepMIDlet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:750)

After renaming freej2me-linux-arm64.jar/natives/linux-arm64 to linux-aarch64 everything works normally

Libretro/RetroArch support

Hi,
I see that Libretro support has been removed in this fork. Do you plan for bringing it back at some point? If not, what is the reason for that?

Integer scale factor

Is there a way to not make the emulator window occupy all the available width or height of my desktop? The most common approach to this issue is allowing the user to set an integer scale factor, because fractional ones result in distortions due to nearest neighbor interpolation, and it's nearly impossible to resize it manually to not distort (and I don't need it to be bigger than 1x anyway).

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.