hex007 / freej2me

A free J2ME emulator with libretro, awt and sdl2 frontends.
Other
498 stars 79 forks source link

Various Korean phone brands #109

Open ghost opened 3 years ago

ghost commented 3 years ago

Various games from KTF, LGT, SKT simply close the window upon launch.

According to this page, it has something to do with LGT 1.5 https://dubigame.tistory.com/263

I note you do not like uploads to jar files on your github, one can find example jar files nearby on the page for testing.

recompileorg commented 3 years ago

I tried LGT Metal Slug Survival ([LGT]메탈슬러그 서바이벌)

There are a few problems. The manifest file doesn't seem to have anything meaningful in it and, while the game is packaged in a JAR file, it doesn't appear to contain any Java class files!

The binary.mod file starts with what looks like a standard ELF header. This is very clearly not a Java program. 7F 45 4C 46 01 01 01 61 00 00 00 00 00 00 00 00

The next game I tried was SKT X-Men ([SKT]엑스맨) Here, the Jar file had 32 bytes of junk before the normal "PK" header. At least it looks like a proper class file. Once I removed the garbage, I was able to extract the contents. At least this looked like a proper jar file!

Not without problems, it was also missing necessary information in the Manifest file. I tried adding an entry point to the manifest: Midlet-1: XMen, icon.png, ???? ...but I gave up trying to work out the entry point when I discovered that ...

com.skt.m.* isn't emulated at all. I did find this, however:

https://m.blog.naver.com/blue7water/10016373615

Who knows. Maybe someone will find a usable jar and want those implemented.

I haven't looked at anything else. If you can find a game with a working manifest, I can try to get the game to run by stubbing out the missing classes.