shinovon / KEmulator

KEmulator nnmod
https://nnp.nnchan.ru/kem
87 stars 9 forks source link

Help #70

Open Rosabis opened 2 months ago

Rosabis commented 2 months ago

The memory view function of the multi-platform version of the KE is broken, and it cannot display images and sounds correctly. 图片

shinovon commented 1 month ago

It is caused by Java 9+ limitations in reflection, probably won't be fixed

klaxons1 commented 2 weeks ago

@Rosabis launch the emu with following arguments: java --add-opens java.base/java.io=ALL-UNNAMED --enable-native-access=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.misc=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED -jar path/to/KEmulator.jar path/to/game.jar

Rosabis commented 2 weeks ago

java --add-opens java.base/java.io=ALL-UNNAMED --enable-native-access=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.misc=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED -jar path/to/KEmulator.jar path/to/game.jar

Although this method of running the jar is a little more complicated, it does work.

shinovon commented 2 weeks ago

0d006dee88aeae324f7c350b5935aadbcd7a1e77 related