Main > Software Forum

FCE Ultra code?

<< < (3/3)

Silver:
Ah there is already a hacked version?

Do you know if the source is available for this?

Also I don't have much time to look at this, and I'm also learning C.

If someone whos looked at this before/is good at C could take a look, it would probably be a lot faster getting this hack done....

Silver:
Just posted this in lightgun thread, forgot about this one:

RE NES lightguns - someone was asking about FCE and the Topgun lightguns a while back....

The lightguns work in FCE, at least in windowed mode, but as soon as you switch to fullscreen, we get an offset similar to the offset issues we had in some mame games until we corrected the lightguns input port's initial co-ordinates to be 'centre-of-the screen'.

I've been communicating with the author of FCEU SP (it seems the original FCE authors are not around for communication) who has also spoken to the Nintendulator authors, but the issue has not been resolved (they can't think of anything causing it, but also can not reproduce the error because they don't have lightguns - it works ok with mice.) Also the lightgun code in FCE and its variants has apparantly not been touched since it was originally written and that author as mentioned is not around...

I've tried going through the FCEU code and reading up on SDL libarys (FCEU uses SDL for its input/gfx interfaces) but can't see anything obvious causing the shift in full screen, not that it means much(!). The SDL call to retrieve the mouse co-ordinates is pretty basic so its possible the issue is in how SDL is getting the mouse co-ords in the first place when in fullscreen (ie the SDL library).

Is anyone here familar with SDL and/or C and willing to take a look? The FCEU source is available here:

http://www.zophar.net/nes.html (look at 0.98.12 code)

You can search for GetMouseData to see some of the SDL calls. (input.c and sdl.c etc...)

jcrouse:

--- Quote from: Silver on February 17, 2006, 12:06:12 am ---Ah there is already a hacked version?

Do you know if the source is available for this?

Also I don't have much time to look at this, and I'm also learning C.

If someone whos looked at this before/is good at C could take a look, it would probably be a lot faster getting this hack done....

--- End quote ---

I have acces to the source for the hacked version on my website. It has mame/cabinet friendly controls. Let me know if you need it. I too am in the process of self-educating in C++.

Silver ...... Drop me an email if you need anything!

John

jcrouse:
My (actually Jerry Fath's) version has these changes:

Exits with the ESC key
Pauses with the P key
No saves state graphics when pressing the 1 or 2 key.

John

jcrouse:
Bear in mind that NES is darn near perfect in MESS. That being said, once Derrick gets the Mame mouse/lightgun sorted out the changes will find their way into MESS and maybe help with the issues.

John

Navigation

[0] Message Index

[*] Previous page

Go to full version