freej2me icon indicating copy to clipboard operation
freej2me copied to clipboard

Improvements to FreeJ2ME's game compatibility by adding some missing classes (redone)

Open AShiningRay opened this issue 2 years ago • 5 comments

Copying the PR message from the previous similarly-named one: More general improvements to the game compatibility, this time by adding some classes not available to them prior and working around a few weird behaviors that some games relied on, enabling many to go beyond the boot sequence and even reach near-perfect gameplay now. ~~The screen pointer on the libretro frontend was also fixed, since it wasn't pointing at the correct coordinates when the screen was rotated, which many Touchscreen games require.~~ - Moving this one into a separate commit, just like the "negative index" fix.

But this time, those new implementations and stubs are clean and based off of Java's ME JSR Community Process docs, since many can't be found on the main javadocs pages.

The docs: https://jcp.org/en/jsr/platform?listBy=1&listByType=platform

Edit: This one fixes #148, although the issue was created after this PR.

AShiningRay avatar Jun 11 '22 19:06 AShiningRay

I've based my review on JSR 82: https://docs.oracle.com/javame/config/cldc/opt-pkgs/api/bluetooth/jsr082/javax/bluetooth/package-summary.html

recompileorg avatar Jun 11 '22 21:06 recompileorg

Oh shoot, i forgot to mark this one as a draft. I'm really Sorry!

The reason they are abstract for now is because i just stubbed them as much as i could to test if they were already causing any effect. i¨ll be converting it to a draft shortly.

AShiningRay avatar Jun 12 '22 02:06 AShiningRay

Hmm... after looking at all the files again, seems this PR is ready for review... at least to me.

AShiningRay avatar Jun 13 '22 22:06 AShiningRay

Just gave it a shot on implementing the UUID (alongside many adjustments to the other files added in this PR). If there's anything else to be done, or the implementation is incorrect, please share. I'm not used to doing those manipulations used in the UUID.

AShiningRay avatar Jun 14 '22 23:06 AShiningRay

Cleaned this PR up a bit. Now it only has those new files. The pointer, rms negative index and a few other minor fixes were moved into their own pull requests.

AShiningRay avatar Jun 29 '22 21:06 AShiningRay