Would you like to play Nokia (J2ME) games on Retropie?
-
@recompile It is expecting a file:// or http:// url. , my bad :|
Starts up now. Can we additionally add numpad control (but inverted ie key 1 on NumPad 7 click)
If I exit application from emulator I get this "MIDlet sent Destroyed Notification" but the emulator doesnt exit. C is also left open.
If you want I can get joystick working as it works with ES. Do you have one to test it on. I dont have any. If you do then I shall get to it ASAP.
How do you like this way of separating functionality rather than diving into JNI?
@recompile said in Would you like to play Nokia (J2ME) games on Retropie?:
Big performance boost:
Can you elaborate. This is my version of gossip :)
@recompile said in Would you like to play Nokia (J2ME) games on Retropie?:
Has anyone else had trouble?
I dont think anyone else is testing progress.
-
@hex said in Would you like to play Nokia (J2ME) games on Retropie?:
Are you checking difference between Key Pressed and Released.
Of course. Games wouldn't work if I didn't.
@hex said in Would you like to play Nokia (J2ME) games on Retropie?:
Can you print events / Key presses detected in your debug version.
Sure:
http://drichardson-shared.s3.amazonaws.com/freej2me-rpi-dbg.jar@hex said in Would you like to play Nokia (J2ME) games on Retropie?:
Can you elaborate. This is my version of gossip :)
Nothing fancy. I now make an additional copy of the frame data (to make a byte array) so that I can send it in one call to sdl_interface. It made a huge difference. Going from "just make it work" to "do it the right way" often does that.
@hex said in Would you like to play Nokia (J2ME) games on Retropie?:
If you want I can get joystick working as it works with ES. Do you have one to test it on.
That'll be okay. I have one suitable for testing. I figure most people will want to play with a controller and not a keyboard. Don't you have one on your pi 0? The picture you sent shows a d-pad and a couple buttons.
It occurred to me that we might be talking about two different things. When I say 'joystick' I mean any gamepad/controller/whatever.
@hex said in Would you like to play Nokia (J2ME) games on Retropie?:
Can we additionally add numpad control (but inverted ie key 1 on NumPad 7 click)
Sure:
http://drichardson-shared.s3.amazonaws.com/freej2me-rpi.jar -
@hex said in Would you like to play Nokia (J2ME) games on Retropie?:
If I exit application from emulator I get this "MIDlet sent Destroyed Notification" but the emulator doesnt exit. C is also left open.
I fixed that as well.
-
@recompile I was sending key down for key up too causing the problem :| Fixed that.
If I exit application from emulator I get this "MIDlet sent Destroyed Notification" but the emulator doesnt exit. C is also left open.Saw updated commentI will update C to include those events. (Joystick events) and let you know once done.
-
@hex said in Would you like to play Nokia (J2ME) games on Retropie?:
If I exit application from emulator I get this "MIDlet sent Destroyed Notification" but the emulator doesnt exit. C is also left open.
The dbg version didn't have that fixed. Here's an update:
http://drichardson-shared.s3.amazonaws.com/freej2me-rpi-dbg.jar -
@recompile Joystick handling is a tad bit complicated. I will do it tomorrow. Its 1:30 am here in LA.
I played the game Shadow Walker and I must say we have come a long way :)
If you want you can update C from dropbox and test it out. I have migrated the byte array "out" to vector.
Let us refresh things on our todo list. Please append if I forgot anything.
Todo :
- Gamepad support
- Joystick support (optional; Long term)
- Audio support
- Hide Game's log output (optional)
- m3g support (long term)
-
@hex said in Would you like to play Nokia (J2ME) games on Retropie?:
Gamepad support
Joystick support (optional; Long term)These are the same thing to me. (I use the terms joystick and gamepad interchangeably) As you're differentiating between them, when I say "joystick" I'm thinking of a gamepad.
I'd like to also add m3g support. That'll be a while.
-
Yea for me Game pad is SNES controller (Dpad ABXY LR). Joystick are the two analog sticks on Xbox controller
what is m3g?
-
@hex m3g is the Mobile 3D Graphics API from JSR 184. Some later games used this, like The Sims 3 and X-Men Origins: Wolverine.
-
Would the N-Gage use the same architecture as J2ME? I saw a video that showed a N-Gage game playing on a Nokia N70 using emulation.
-
from what i can remember from owning an n70, n95 & ngage back in the day, im sure they were symbian based,
cant wait to try this when its ready, so glad i kept a backup of all the java/ngage games i must have in the region of about 1000 for various mobile devices.
-
I would like to play old cell phone games and also game for Nokia N-Gage they were great!
-
J2ME is not symbian emulator. So no you cannot play symbian games.
@recompile I have different pixel interpolation methods while scaling. Would you be interested in testing those out? We can expose this in config if necessary.
// Change this line. Valid values : "nearest", "linear", "best" SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "nearest"); // Linear is pixelated, no interpolation // Linear is Bilinear interpolation // Best is anisotropic interpolation
-
@allanbuzzy said in Would you like to play Nokia (J2ME) games on Retropie?:
Would the N-Gage use the same architecture as J2ME?
The N-Gage could run j2me games, but the few N-Gage specific games I have are all Symbian native. From what I remember, however, there weren't too many exclusive games released for the short-lived console. Asphalt Urban GT and Splinter Cell: Chaos Theory, for example, saw both j2me and Symbian releases, though the j2me releases often supported higher resolutions than the 176x208 you got on the N-Gage.
For j2me games made for Nokia phones or the N-Gage, I've already added full support for the Nokia UI API.
-
@recompile said in Would you like to play Nokia (J2ME) games on Retropie?:
@allanbuzzy said in Would you like to play Nokia (J2ME) games on Retropie?:
Would the N-Gage use the same architecture as J2ME?
The N-Gage could run j2me games, but the few N-Gage specific games I have are all Symbian native. From what I remember, however, there weren't too many exclusive games released for the short-lived console. Asphalt Urban GT and Splinter Cell: Chaos Theory, for example, saw both j2me and Symbian releases, though the j2me releases often supported higher resolutions than the 176x208 you got on the N-Gage.
For j2me games made for Nokia phones or the N-Gage, I've already added full support for the Nokia UI API.
So N-Gage is supported? Awesome, that's good.
-
@Allanbuzzy I dont think he is saying that. Symbian deppends on Nokia UI, J2ME depends on Nokia UI. @recompile has added full support for Nokia UI.
-
@hex Sure. I can pass it to C as an additional parameter. From the command line, I'll accept: jar | jar width height | jar filter | jar width height filter but always pass C width height filter
Defaults are 240 320 nearest, but C doesn't need to know that.
http://drichardson-shared.s3.amazonaws.com/freej2me-rpi.jar -
@allanbuzzy said in Would you like to play Nokia (J2ME) games on Retropie?:
So N-Gage is supported? Awesome, that's good.
Let me try that again. The N-Gage could run j2me and Symbian games. This project will only support j2me games. Symbian games will not work. Nokia had their own special api for games, which is fully supported, so j2me games written for the N-Gage will work. Again, Symbian games written for the N-Gage will not work.
-
@recompile I have updated the C source to add support for interpolation/filter type .
J doenst need to pass default (nearest) if not user specified. I can handle that in C
-
@hex said in Would you like to play Nokia (J2ME) games on Retropie?:
J doenst need to pass default (nearest) if not user specified. I can handle that in C
I know, but it's simpler for me to always pass something than to only pass it sometimes. I figured it would be simpler for you, as you can always expect 3 arguments. I like simple.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.