shinovon / KEmulator

KEmulator nnmod
https://nnp.nnchan.ru/kem
96 stars 11 forks source link

Help #70

Closed Rosabis closed 1 week 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 2 months ago

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

klaxons1 commented 1 month 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 1 month 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 1 month ago

0d006dee88aeae324f7c350b5935aadbcd7a1e77 related

shinovon commented 1 week ago

Closed by 0d006dee88aeae324f7c350b5935aadbcd7a1e77, 24876bfb2d2436da3d57f5677652c8ff4d10f87e