Dingoonity.org

GCW Zero => Development => Topic started by: gameblabla on September 26, 2015, 04:16:40 pm

Title: Mednafen for GCW0
Post by: gameblabla on September 26, 2015, 04:16:40 pm
Here is a port of Mednafen for GCW0.

Last version: v1.5 (12/3/2016)

Installation
SET YOUR FTP CLIENT TO BINARY MODE OR ELSE YOU WILL HAVE TROUBLE
PLAYING GAMES !
AS FOR CD GAMES, CHECK YOUR CUE FILES AS EVERYTHING IS CASE-SENTITIVE !


The installation is pretty easy, put all (or some) OPKs in /media/data/apps.
Then put all your bioses in /media/home/.mednafen.

Atari Lynx requires lynxboot.img.
PC-Engine requires a syscard file for CD emulation, it needs to be called syscard3.pce.
PC-FX requires a bios file called pcfx.rom. (MD5 : 08e36edbea28a017f79f8d4f7ff9b6d7)

Everything else should work out-of-the-box.
When you have to run isos, use the cue file instead.

Controls
Exit : Select + X
Switch screen modes : Start + A
Configure Controls : Select + B

Download link (https://github.com/gameblabla/mednafen-gcw/raw/master/release/mednafen-gcw0.zip)
Sauce repo (https://github.com/gameblabla/mednafen-gcw)
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 26, 2015, 04:57:43 pm
Hi,very nice thanks !!!!!

Few comments:
-So far, Lynx works but if press Start the emu crashes going back to dingux
-Cant make any PSX games work... Did everything according to the readme, but game select gives an 2 seconds black screen and goes back to dingux..


Gonna see how the PC engine goes and let you know

Regards
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 26, 2015, 05:38:58 pm
As complement:

PC Engine is a BLAST with the games I tried; Very nice
PC Engine CD is not working for the games I tried even after renaming syscard and putting in .mednafen folder
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 26, 2015, 05:49:49 pm
Thanks for testing !
Yes, PC-Engine CD games should work but i made a mistake :
the syscard file should be called syscard3.pce
Sorry for that

As for PSX emulation,
i think it does not play them because it does not detect them as PSX games.
I should release the PSX Core seperatly i think.
Note that you need the bioses for PSX.
They are (by default) called :
scph5502.bin for the European BIOS
scph5500.bin for the Japanese BIOS
scph5501.bin for the American BIOS

EDIT: Updated the config file for Lynx, it should fix the issue care16la20 had with the start button exitting.
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 26, 2015, 06:03:27 pm
WOW! Alright, I wish I still had my zero to test for you Gameblabla... I'm sure you will figure out all of the kinks, etc.

Thank you so much for this release!!!

 ;)
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 26, 2015, 06:18:00 pm
Can anyone confirm that the PSX emu works properly & loads games with the correct BIOS??
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 26, 2015, 07:11:11 pm
Hi ,
renamed to syscard3.pce; But is still the same behavior with the PCEngine CD isos

So , at least for now PC engine and Lynx (this one in a very small window) are working perfect
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 26, 2015, 08:08:31 pm
how about PSX??
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 26, 2015, 08:30:04 pm
Hi ,
renamed to syscard3.pce; But is still the same behavior with the PCEngine CD isos
So , at least for now PC engine and Lynx (this one in a very small window) are working perfect
Yes indeed : Using CD isos crashes the emulator, crap.
I think PSX is affected as well so it will probably not work. (for now)
I'm looking into this.

EDIT: NOO.
It's bad code produced by GCC and this time, it doesn't even work with -O 0, crap.
I will look at this further but this will probably be fixed only until the next toolchain comes out.
(spoiler: IT'S NEVER GOING TO HAPPEN)
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on September 27, 2015, 12:45:24 am
Any luck with the PC-FX core? Yes, most people think it's worthless because of all the dating sims, but Der Langrisser FX is amazing
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 27, 2015, 07:52:07 am
So i started from scratch without using my makefiles :
PC-Engine CD games are now working properly.

I have enabled all the other cores as well,
so you should be able to play PSX or NEC PC-FX games.

Keep in mind though that PSX and NEC PC-FX emulation will not work
fullspeed without frameskipping or (something i have yet to see happen) overclocking.

Any luck with the PC-FX core? Yes, most people think it's worthless because of all the dating sims, but Der Langrisser FX is amazing
Saw it but i never played it, i like the intro though.
I doubt it will play fullspeed without any frameskipping though...
You should try to enable it in the config file.
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 27, 2015, 10:29:35 am
Can anyone confirm PSX works properly?? I have attempted to run certain game file images via QEMU but it is limited with regards to files that exceed 512mb... unfortunately, I cannot test/confirm PSX to work yet...

Anyone with a GCW ZERO... even if its low framerate, does this emu work? Any thoughts be appreciated...

Thanks!

 ;D
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 27, 2015, 02:40:12 pm
Hi,

Now the PCEngine CD is working pretty nice as well ; Congrats !!! The only thing i noticed is the audio being a little choppy but the framerate seems to be 100%

PSX by the way is unplayable; Most of the isos I tried crashed, and the ones that open gives around 1 fps already during the bios animation sequence ...

Regards
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 27, 2015, 02:47:10 pm
I would agree... i tried CRASH BANDICOOT 2... the game won't load at all through QEMU. It just crashes and returns to the main menu of OpenDingux, unfortunately.
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 27, 2015, 08:09:23 pm
Mednafen got updated, i highly suggest you to upgrade.
Don't forget to update the config file with the one in the zip as well !

PSX didn't worked because Mednafen was not detecting most games as PSX games for some reason.
For this reason, i had to release it as a separate OPK file. ("MednafenPSX")
I personally was able to play a PSX homebrew game with it. (it was not too slow actually !)

I have improved the controls as well.
If you ever have an issue with controls,
you can update them by pressing Start+Select.

To Exit, you have to press Select+L now.

Hope you will enjoy this new release !

Title: Re: Mednafen for GCW0
Post by: David Knight on September 27, 2015, 08:18:13 pm
Nice work, which cores have you successfully compiled? Is netplay enabled?

This is the core list according to the Mednafen website.

Atari Lynx
Game Boy Advance
Neo Geo Pocket Color
Nintendo Entertainment System   
Super Nintendo Entertainment System (only available in WIP)
Nintendo Virtual Boy (only available in WIP)
PC Engine
PC-FX
PlayStation (only available in WIP)
WonderSwan Color
Sega Genesis (only available in WIP)
Sega Master System and Game Gear

It would be great to try the Virtual Boy on the GCW0.
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 27, 2015, 08:28:41 pm
Nice work, which cores have you successfully compiled? Is netplay enabled?
This is the core list according to the Mednafen website.
Atari Lynx
Game Boy Advance
Neo Geo Pocket Color
Nintendo Entertainment System   
Super Nintendo Entertainment System (only available in WIP)
Nintendo Virtual Boy (only available in WIP)
PC Engine
PC-FX
PlayStation (only available in WIP)
WonderSwan Color
Sega Genesis (only available in WIP)
Sega Master System and Game Gear
It would be great to try the Virtual Boy on the GCW0.
Thanks david !
I have compiled everything i believe, even Genesis but i'm not actually sure. (i have not explicitly enabled it by default)
I believe i have enabled netplay as well but what purpose it could have on GCW0?

Virtual Boy works but unfortunely... :
Title: Re: Mednafen for GCW0
Post by: David Knight on September 27, 2015, 08:36:23 pm
Nice work, which cores have you successfully compiled? Is netplay enabled?
This is the core list according to the Mednafen website.
Atari Lynx
Game Boy Advance
Neo Geo Pocket Color
Nintendo Entertainment System   
Super Nintendo Entertainment System (only available in WIP)
Nintendo Virtual Boy (only available in WIP)
PC Engine
PC-FX
PlayStation (only available in WIP)
WonderSwan Color
Sega Genesis (only available in WIP)
Sega Master System and Game Gear
It would be great to try the Virtual Boy on the GCW0.
Thanks david !
I have compiled everything i believe, even Genesis but i'm not actually sure. (i have not explicitly enabled it by default)
I believe i have enabled netplay as well but what purpose it could have on GCW0?

Virtual Boy works but unfortunely... :
  • Virtual Boy's resolution is 384x240, which is higher than the GCW0. (I'm not using the IPU yet though)
  • The V810 core is very slow, even when set to 'fast". That's the reason why PC-FX emulation is slow too.
  • Virtual Boy has two dpad : i could not set the 2nd dpad to the stick because i don't know what a stick config looks like

If you upload to guthub or something I could help you with the analogue stick issue.
Just set "X-OD-NeedsDownscaling=true" in the default.gcw0.desktop file to enable 384x240 res.
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 27, 2015, 08:38:30 pm
Nice work, which cores have you successfully compiled? Is netplay enabled?
This is the core list according to the Mednafen website.
Atari Lynx
Game Boy Advance
Neo Geo Pocket Color
Nintendo Entertainment System   
Super Nintendo Entertainment System (only available in WIP)
Nintendo Virtual Boy (only available in WIP)
PC Engine
PC-FX
PlayStation (only available in WIP)
WonderSwan Color
Sega Genesis (only available in WIP)
Sega Master System and Game Gear
It would be great to try the Virtual Boy on the GCW0.
Thanks david !
I have compiled everything i believe, even Genesis but i'm not actually sure. (i have not explicitly enabled it by default)
I believe i have enabled netplay as well but what purpose it could have on GCW0?

Virtual Boy works but unfortunely... :
  • Virtual Boy's resolution is 384x240, which is higher than the GCW0. (I'm not using the IPU yet though)
  • The V810 core is very slow, even when set to 'fast". That's the reason why PC-FX emulation is slow too.
  • Virtual Boy has two dpad : i could not set the 2nd dpad to the stick because i don't know what a stick config looks like

If you upload to guthub or something I could help you with the analogue stick issue.
Just set "X-OD-NeedsDownscaling=true" in the default.gcw0.desktop file to enable 384x240 res.
That's what i already did, it was called "Sauce repo".
https://github.com/gameblabla/mednafen-gcw (https://github.com/gameblabla/mednafen-gcw)

Yeah, i know about that option NeedsDownscaling but the problem is that
Mednafen seems to do it itself automatically in software...
I need to find how to disable this.

The config file can be found in the release folder.
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 27, 2015, 08:43:24 pm
Thanks !!
PSX still crashes the emu without loading... Noticed it didnt create an .mednafe_psx folder to put the bios...


Both now crashes ; even the PCEngine CD one...
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 27, 2015, 08:46:05 pm
Thanks !!
PSX still crashes the emu without loading... Noticed it didnt create an .mednafe_psx folder to put the bios...
That's normal, it crashed for me too, i made a mistake in the config file.
Re-download it please, i fixed it.
Don't forget to update the config file too !
Title: Re: Mednafen for GCW0
Post by: yoshi41 on September 27, 2015, 08:51:54 pm
Tried a couple of PCE/PCE CD games.

Thanks a lot!

It's already much better than the other PCE emus.  :)
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 27, 2015, 08:52:14 pm
Oh all right gonna redo and see how it goes


Edit: link not workin
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 27, 2015, 09:01:58 pm
Edit: link not workin
Yeah, my fault again, sorry.
This is fixed, try again.
Title: Re: Mednafen for GCW0
Post by: David Knight on September 27, 2015, 09:17:47 pm
Nice work, which cores have you successfully compiled? Is netplay enabled?
This is the core list according to the Mednafen website.
Atari Lynx
Game Boy Advance
Neo Geo Pocket Color
Nintendo Entertainment System   
Super Nintendo Entertainment System (only available in WIP)
Nintendo Virtual Boy (only available in WIP)
PC Engine
PC-FX
PlayStation (only available in WIP)
WonderSwan Color
Sega Genesis (only available in WIP)
Sega Master System and Game Gear
It would be great to try the Virtual Boy on the GCW0.
Thanks david !
I have compiled everything i believe, even Genesis but i'm not actually sure. (i have not explicitly enabled it by default)
I believe i have enabled netplay as well but what purpose it could have on GCW0?

Virtual Boy works but unfortunely... :
  • Virtual Boy's resolution is 384x240, which is higher than the GCW0. (I'm not using the IPU yet though)
  • The V810 core is very slow, even when set to 'fast". That's the reason why PC-FX emulation is slow too.
  • Virtual Boy has two dpad : i could not set the 2nd dpad to the stick because i don't know what a stick config looks like

If you upload to guthub or something I could help you with the analogue stick issue.
Just set "X-OD-NeedsDownscaling=true" in the default.gcw0.desktop file to enable 384x240 res.
That's what i already did, it was called "Sauce repo".
https://github.com/gameblabla/mednafen-gcw (https://github.com/gameblabla/mednafen-gcw)

Yeah, i know about that option NeedsDownscaling but the problem is that
Mednafen seems to do it itself automatically in software...
I need to find how to disable this.

The config file can be found in the release folder.

Sorry, didn't see the source code link  :-[

Looking at the config file, perhaps disabling scaling on the VB emulator may help? (line 8775)

I'll take a look at the controller code for vb. I'll push a patch to github when I get somewhere.
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 27, 2015, 10:40:18 pm
Mednafen-PSX core still crashes for me using QEMU... I know what I'm doing and it still seems to crash when loading CRASH BANDICOOT 2... the .bin or the .cue...

I have updated to the latest Mednafen core releases as of 10min ago. I have yet to try the mednafen core, but I am mostly interested in seeing if the psx core works as specified.

A question... where are we supposed to place the BIOS image files within the Zero?? I have them stored within the vFAT folder through QEMU. In other words, is there a specific folder where the 3 BIOS images are supposed to stored??

Thanks!
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 28, 2015, 03:47:05 am
I have them stored within the vFAT folder through QEMU. In other words, is there a specific folder where the 3 BIOS images are supposed to stored??
Thanks!
Yes, you should put them in /usr/local/home/.mednafen and not anywhere else or else Mednafen won't detect them.
MednafenPSX works for me here on QEMU
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 28, 2015, 04:11:33 am
hmm.... maybe I am using a bad ROM image... I will try other games to see if I can get them to load properly.

How is the framerate of the games for the psx core?? playable?
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 28, 2015, 04:49:09 am
hmm.... maybe I am using a bad ROM image... I will try other games to see if I can get them to load properly.
How is the framerate of the games for the psx core?? playable?
Yeah, make sure your bioses are named properly.
Make sure you properly updated both opk files, including the config file !

As for the framerate, i was a bit surprised...
I used a homebrew game for testing but like i said before,
the bios screen and the game itself was pretty smooth actually, close to fullspeed.

EDIT: That was me being crazy... It was the Pc build here, not the GCW0 one lol.
PSX one runs at about 1 FPS, it's weird and it should run faster than that.
Title: Re: Mednafen for GCW0
Post by: David Knight on September 28, 2015, 08:09:59 am
I can't check right now but I'd suspect PSX scaling is enabled in the config file. This would have a dramatic effect on framerate.
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 28, 2015, 01:32:06 pm


Hi, also in the new ver.+config , the start button to give the run command is a little bit scrambled because it brings an remap, so due to this it's impossible to press run...
Title: Re: Mednafen for GCW0
Post by: pcercuei on September 28, 2015, 02:37:54 pm
EDIT: NOO.
It's bad code produced by GCC and this time, it doesn't even work with -O 0, crap.
I will look at this further but this will probably be fixed only until the next toolchain comes out.
(spoiler: IT'S NEVER GOING TO HAPPEN)
I highly doubt that GCC is the problem here.
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 28, 2015, 05:04:25 pm
Things like this makes me wish i had a GCW0, which will happen soon
but not right now.
I have updated Mednafen again and you should all upgrade to it, again.

I have fixed the controls (It's now Start+X for configuring input), i have disabled software scaling and enabled IPU scaling
and made optimisations a bit more agressive.
It's smaller too.
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 28, 2015, 10:37:46 pm
Can anyone with a GCW ZERO confirm that the psx core works properly? I am attempting to run a few psx games through mednafen on QEMU but cannot get it to run properly...

 >:(
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 28, 2015, 11:18:12 pm
Hi,

Well, no changes on PSX ; Still very slow even while on bios animation.....

PC Engine superb ... PC Engine CD sometimes the framerate seems to go over 100% ... Observed that behavior on AkumaJou

VirtualBoy is working unscalled and slow as well, but faster than PSX

GameAdvance is also a little bit slow

Wonderswan is having framerate very unstable, but some games gfx work better than on the other emulator...
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 29, 2015, 06:35:52 am
Hi,

Well, no changes on PSX ; Still very slow even while on bios animation.....

PC Engine superb ... PC Engine CD sometimes the framerate seems to go over 100% ... Observed that behavior on AkumaJou

VirtualBoy is working unscalled and slow as well, but faster than PSX

GameAdvance is also a little bit slow
For PC-Engine, i guess i could switch to Triple Buffering to avoid the emulator from going faster than it should
but that would mean making all the other cores slower. (except NES and GB cores, which reportely requires only around 300Mhz)
What should i do ?

Wonderswan is having framerate very unstable, but some games gfx work better than on the other emulator...
Yeah, my emulator (and all Oswan's derivatives) currently has issues with some black & white games
and Mednafen fixed those.
I still don't know how to fix this... (i'm working on a better hack for those games without affecting the other games)
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 29, 2015, 06:48:39 am
Gameblabla... do you think that the mednafen-psx core .opk has any chance of potentially working fullspeed instead of at 1-2 frames per second??

I've heard from others that a completely new dynarec may be needed in order for a proper psx emu to work on the Zero...

Thanks!

 :P
Title: Re: Mednafen for GCW0
Post by: yoshi41 on September 29, 2015, 08:15:24 am
For PC-Engine, i guess i could switch to Triple Buffering to avoid the emulator from going faster than it should
but that would mean making all the other cores slower. (except NES and GB cores, which reportely requires only around 300Mhz)
What should i do ?

You could create a separate OPK just for PCE. I also noticed games running too fast sometimes and I assume scrolling would benefit from triple buffering. PCE really needs a decent emu. The other systems are mostly covered by other emus.
Title: Re: Mednafen for GCW0
Post by: pcercuei on September 29, 2015, 09:14:00 am
For PC-Engine, i guess i could switch to Triple Buffering to avoid the emulator from going faster than it should
but that would mean making all the other cores slower. (except NES and GB cores, which reportely requires only around 300Mhz)
What should i do ?
How would enabling triple buffering make other cores slower? They would be slower only if they render at more than 60fps (so in the case where you emulate too fast).
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 29, 2015, 11:37:08 am
How would enabling triple buffering make other cores slower? They would be slower only if they render at more than 60fps (so in the case where you emulate too fast).
I thought using triple buffering added some overhead as opposed to "render as many frames as possible"...
The cores i was talking about are not even running fullspeed by the way.

Anyways, i switched the bpp from 32 to 16 (Apparently, 32bpp is slow on this device) and enabled triple buffering.
I will test this new build on QEMU and then i will release it if nothing wrong happens.

Quote
Gameblabla... do you think that the mednafen-psx core .opk has any chance of potentially working fullspeed instead of at 1-2 frames per second??

I've heard from others that a completely new dynarec may be needed in order for a proper psx emu to work on the Zero...
Gee, you sure love the psx...
I don't think even a MIPS dynarec will help the GCW0 much : the problem is that it is too accurate.
If Ryphecha could release a faster version of the PSX core like she did with pce_fast, then we can get decent PSX emulation on GCW0.
Otherwise, enjoy your 1fps PSX emulator lol
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 29, 2015, 01:50:09 pm
Hi,

Well my opinion:

- Clean the code to leave only PC Engine / CD core with triple buffering and whatever else necessary.
- Maybe try to make Virtual Boy playable as well with an different opk
- Maybe try to make PSX playable as well with an different opk


And thats it; Dont see reasons to make the rest fully optimized and playable since there are other emulators already for that (Maybe GBA could be worth since ReGBA doesnt run everything)
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 29, 2015, 02:19:46 pm
Agreed.
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 29, 2015, 02:27:30 pm
Btw

PC Engine / CD has great remakes (ninja gaiden from NES, etc) and some others 16bit are much better than on Genesis / Snes
Its easy to find comparisons around the web
Title: Re: Mednafen for GCW0
Post by: pcercuei on September 29, 2015, 05:13:14 pm
How would enabling triple buffering make other cores slower? They would be slower only if they render at more than 60fps (so in the case where you emulate too fast).
I thought using triple buffering added some overhead as opposed to "render as many frames as possible"...
The cores i was talking about are not even running fullspeed by the way.
SDL_SWSURFACE is the slowest,
SDL_HWSURFACE is fast but has tearing issues and no VSYNC,
SDL_HWSURFACE | SDL_DOUBLEBUF is fast, gets rid of the tearing issues and provides VSYNC, but the games are limited to 60/X fps (so 60fps, 30fps if it can't reach 60fps, 15fps if it can't reach 30fps etc.)
SDL_HWSURFACE | SDL_TRIPLEBUF is fast, has no tearing issues, has VSYNC, and without this problem.

So the general idea is:
- never use SDL_SWSURFACE,
- never use just SDL_HWSURFACE,
- if the game/emu will always run at 60fps, use double buffering (it has a slightly smaller latency),
- if the FPS of the game/emu will fluctuate, use triple buffering.
Title: Re: Mednafen for GCW0
Post by: care16la20 on September 30, 2015, 01:52:29 am

One more thing noticed:

PC Engine CD - Games in single Iso/Cue format only works when on external card; On internal memory they crash... On internal they work only if they are on iso/cue/ogg format...
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on September 30, 2015, 04:13:10 am

One more thing noticed:

PC Engine CD - Games in single Iso/Cue format only works when on external card; On internal memory they crash... On internal they work only if they are on iso/cue/ogg format...
I can confirm for PC-FX same problem. Haven't tried loading bin/cue from external, but it seems like the same problem

EDIT: PC-FX games aren't working. Tested Der Langrisser FX and Arubarea's Maiden. When launched from nand, doesn't boot. From SD card, black screen. It isn't an opk problem as PC engine games work and wonderswan games work.

You may get better performance if the PC-FX core is seperate like the PSX core. Just an idea
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 30, 2015, 11:56:36 am
Those crashes are weird... They look like OpenBor's ones actually.
No idea.

Anyways, my next release is close and will be divided into 4 cores. (PSX, PCFX, VB, GB/GBA/NES)
I have mostly disabled scaling (except for VB) and tried to make pcfx emulation faster. (yeah...)

More to come
Title: Re: Mednafen for GCW0
Post by: Surkow on September 30, 2015, 12:44:32 pm
[...] When launched from nand, doesn't boot. From SD card, black screen. [...]
The internal memory is an SD card, not NAND flash memory. What differs here is the file system (ext4 vs FAT32).
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 30, 2015, 02:36:22 pm
Gameblabla:  thanks again for all of your hard work. When your next release posts, could you kindly give more of a step-by-step of the following for the PSX core:

1) Precise BIOS image(s) location. Also, if someone is only running the USA .iso game files, should we only place scph5501.bin or scph1001.bin in the .mednafen folder instead of all 3 (JP, US, Euro) together?

2) When running the actual games (.iso/.bin)... there are .cue files that sometimes come along with the game file images off of the 'net. To load a game properly, should we load the .bin or load the .cue files? Also, should these two files be located within the same folder? If so, which folder should they be placed inside of?

I apologize for these questions... others have had success loading the bios animation off of their Zero while i am having trouble through QEMU...

 :P
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on September 30, 2015, 03:19:05 pm
[...] When launched from nand, doesn't boot. From SD card, black screen. [...]
The internal memory is an SD card, not NAND flash memory. What differs here is the file system (ext4 vs FAT32).
Sorry, I've been working with the 3DS as well. My mistake
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on September 30, 2015, 03:26:16 pm
Gameblabla:  thanks again for all of your hard work. When your next release posts, could you kindly give more of a step-by-step of the following for the PSX core:

1) Precise BIOS image(s) location. Also, if someone is only running the USA .iso game files, should we only place scph5501.bin or scph1001.bin in the .mednafen folder instead of all 3 (JP, US, Euro) together?

2) When running the actual games (.iso/.bin)... there are .cue files that sometimes come along with the game file images off of the 'net. To load a game properly, should we load the .bin or load the .cue files? Also, should these two files be located within the same folder? If so, which folder should they be placed inside of?

I apologize for these questions... others have had success loading the bios animation off of their Zero while i am having trouble through QEMU...

 
pcfx.rom is in .mednafen with the mednafen.cfg

PCFX roms only (as far as I know) come in cue/bin files. Launching both from external SD card just show a black screen. No sound, no video. Either it's extremely slow (I waited for about two minutes before giving up) or it doesn't work fully. At least it launches. .cue doesn't launch, .bin does.
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on September 30, 2015, 04:04:15 pm
well I was referring to the PSX (playstation) core... not PCFX... i will await gameblabla's instructions prior to the next release.
Title: Re: Mednafen for GCW0
Post by: Vanacraft on September 30, 2015, 04:24:40 pm
Anyways, my next release is close and will be divided into 4 cores. (PSX, PCFX, VB, GB/GBA/NES)
No PC-Engine?
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 30, 2015, 11:01:26 pm
Anyways, my next release is close and will be divided into 4 cores. (PSX, PCFX, VB, GB/GBA/NES)
No PC-Engine?
ah crap i forgot !
i will do pc-engine as well, so 5 cores in all.

Quote
well I was referring to the PSX (playstation) core... not PCFX... i will await gameblabla's instructions prior to the next release.
yeah i know but psx's core was so slow, i did not even wanted to improve it lol.
(but some of my optimisations applies to the other cores as well, including PSX)
Nothing significant though, i just did remove the software scaling, exceptions on the pcfx cores and maybe
some minor other things but that's pretty much it, it took me a while to do this.
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 01, 2015, 10:32:51 pm
I thought i might tell you my progress on mednafen so there you go.

Good news, i got the PCFX core working properly !
It's pretty slow though, not sure how well it runs on the real device. (probably more than 3 fps)

PC Engine core is still working properly, CD games should as well.

Bad news, i'm hitting lots of bugs now.

First of all, i somehow broke PSX's core display.
I hate to say this but i should make a mednafen fork just for the psx core,
because it is really problematic.

Mednafen really does some weird things in the name of accuracy :
PSX : it emulates the screen resolution plus the overscan...
PCFX : it was even more weird because It streched the res to 288x232 and applied bilinear filtering...
(i fixed this, thankfully)

Virtual Boy's core did not liked my modifications and there are some graphical glitches.
GB/GBA/NES are working just fine but the opk takes the icon & description from mednafen's vb core...
Strange.

What should i do ?
Release for now the PCE and PCFX cores and release the other cores later ?

A better long-term plan might be to port libretro/retroarch because
their mednafen forks supports 16bpp and are not using threads (i think).
In the latter case, i might just stop working on this and instead focus on RetroArch
when i get my GCW0.

i will await gameblabla's instructions prior to the next release.
Stay on high alert, the enemy is still around !
Check the surrondings.

Nah, just kidding.
just wait for me to update this mess
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on October 01, 2015, 10:38:34 pm
I would release all the 5 cores as separate .opk files in the future... that way, all of us within the community can pick n choose which core we care to download and play alone, etc.

Up to you but that's my take on it. Hopefully the Playstation core (PSX) works out for you soon!

 :P
Title: Re: Mednafen for GCW0
Post by: David Knight on October 02, 2015, 09:29:35 am
Could someone try Roadblasters for the Atari Lynx on this? On Handy there's some graphical corruption of the background.

It's one of the very few games not working well and it would be interesting to see if the core has been patched to fix this.

(I've no access to my device right now btw, not being lazy  ;) )
Title: Re: Mednafen for GCW0
Post by: care16la20 on October 02, 2015, 01:28:57 pm
Could someone try Roadblasters for the Atari Lynx on this? On Handy there's some graphical corruption of the background.

It's one of the very few games not working well and it would be interesting to see if the core has been patched to fix this.

(I've no access to my device right now btw, not being lazy  ;) )


Yes, those glitches dont appear on mednafen....

The only problem I see on the port in mednafen is the lack of an menu for adjustments (screen size, etc)
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 02, 2015, 11:25:06 pm
I have (finally) released my mednafen update.
If you expect a huge speedup though, you'll be disappointed.

It is released as 4 OPKs :
Generic (NES/GB/GBA/Lynx), PC Engine, PCFX and PSX.
The PSX core comes from an older build because the new one fails to run.
I did not release the VB core due to the overall slowness and bugs i encountered with it.

I have provided some instructions in my very first post so be sure to read them !

Try, play, report... as usual.
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on October 02, 2015, 11:34:06 pm
Alright! Will do!
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on October 02, 2015, 11:48:51 pm
ok, it's official... i cannot get this emu to run off of QEMU... maybe I'm doing something wrong or whatnot... who knows. Maybe someone else can report until I get my own unit soon.

 :-[
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 03, 2015, 12:02:51 am
ok, it's official... i cannot get this emu to run off of QEMU... maybe I'm doing something wrong or whatnot... who knows. Maybe someone else can report until I get my own unit soon.

 :-[
Actually, if it shows a black screen then it works.
It just works very slowly, lol.

Turns out my new build was in fact working.
Updated mednafen with my psx core build
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on October 03, 2015, 12:27:44 am
PCFX core doesn't work. continuous black screen. Won't boot from internal memory either. ROMs are okay, I tested them with libretro. Love the new icon though :)

One thought though, why don't you set the escape as start+select? Quite a few other emulators use that (in fact, i believe every other one)
Title: Re: Mednafen for GCW0
Post by: xdplus fanatic-oopsy on October 03, 2015, 12:47:57 am
Can anyone confirm the new build of the psx core works on an actual gcw zero unit? Very curious... thanks!


 :o
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 03, 2015, 01:04:50 am
PCFX core doesn't work. continuous black screen. Won't boot from internal memory either. ROMs are okay, I tested them with libretro. Love the new icon though :)
PCFX works for me on qemu.
You need to select the cue file !
I have updated Mednafen PCFX and PSX to filter non-cue files in order to avoid confusion.

If you have any issues with PCFX, update mednafen again.

Quote
One thought though, why don't you set the escape as start+select? Quite a few other emulators use that (in fact, i believe every other one)
Because i can't do it with Mednafen, that is all.

Quote
Can anyone confirm the new build of the psx core works on an actual gcw zero unit? Very curious... thanks!
Works for me on Qemu. Very slow on the other hand...
Title: Re: Mednafen for GCW0
Post by: care16la20 on October 03, 2015, 02:48:46 pm
Hi,
Thank you very much for this new ver; Few points:

-PC Engine CD seems to be still without triple buffering. Same performance as before
- PCFX I couldnt try, but ghouls n ghosts and ninja gaiden that are for this system and not CD's is not possible to select on gmenu
- PSX slowww just as before and most games stays on the  bios screen not booting completely
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 03, 2015, 03:51:00 pm
-PC Engine CD seems to be still without triple buffering. Same performance as before
How can this be possible then ?
I have enabled TRIPLEBUFFERING, unless i did a mistake.
Will get my gcw0 in a week and i'll take a look at that.

- PCFX I couldnt try, but ghouls n ghosts and ninja gaiden that are for this system and not CD's is not possible to select on gmenu
lol dude...
Ghouls and Ghosts is a SuperGrafx game and Ninja Gaiden is a PC Engine game.
The NEC PC-FX was an entierely new system released in 1994 and has a 32-bits proc.
None of these games you mentioned were released on PCFX.

Quote
- PSX slowww just as before and most games stays on the  bios screen not booting completely
For me, it boots my homebrew game.
It's possible it's a bug in Mednafen though : they fixed a number of issues in the PSX Core 2 days ago.  (0.9.8.7)
Might do an upgrade

Thanks for testing
Title: Re: Mednafen for GCW0
Post by: yoshi41 on October 03, 2015, 05:38:20 pm
Played some PCE games (Gate of Thunder, Star Parodier, Bonk). Works wonderful, smooth scrolling.

Tested Ridge Racer on PSX. Works fine, but ultra slow (as expected).

Tested Chip Chan Kick on PC-FX. Works fine, but also ultra slow.

Good progress. Thanks!
Title: Re: Mednafen for GCW0
Post by: bL4sT on October 03, 2015, 07:20:34 pm
When I try to run games on the PCE core, it just sends me back to the menu; Then, I tried to copy and paste the .cfg file that comes with the .opk on the .mednafen directory. After doing that, some games work but most of them just give me a black screen (which makes so that I have to reset the console).

Am I doing something wrong? I have the latest firmware and everything.
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 04, 2015, 06:57:57 am
When I try to run games on the PCE core, it just sends me back to the menu; Then, I tried to copy and paste the .cfg file that comes with the .opk on the .mednafen directory. After doing that, some games work but most of them just give me a black screen (which makes so that I have to reset the console).

Am I doing something wrong? I have the latest firmware and everything.
You're probably doing it wrong, because i and others got it to work, yeah.
What games are you trying to play ?

For CD games, you need to select the cue file and not the bin.
Next, you also need syscard file.
It needs to be named "syscard3.pce" and be placed in /media/home/.mednafen
If you want to play Arcade Card games, you need the arcade syscard instead.
Rename your arcade syscard file to syscard3.pce too and move it to /media/home/mednafen

Supergrafx games should work but this could not be the case, i have not tested them.

Quote
Tested Ridge Racer on PSX. Works fine, but ultra slow (as expected).

Tested Chip Chan Kick on PC-FX. Works fine, but also ultra slow.
Thanks for testing yoshi !
Yes unfortunely, unless Ryphecha works on a faster PSX core, it won't happen sorry.
As for PC-FX, how well does it run ? Does it run at 1 FPS per second ?
If so, i'm quite dissapointed...

EDIT:
Quote
- PSX slowww just as before and most games stays on the  bios screen not booting completely
You are using the wrong Bioses.
You can't use a european bios to play American games with Mednafen, check them before !
(Read first post)
Title: Re: Mednafen for GCW0
Post by: potroast on October 04, 2015, 10:59:17 am
I am sorry to report , that none of the modules work with any rom/iso on my gcw, everytime i choose a rom/iso from the list, i get kicked back to the OS after a short time of darkness :'(
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 04, 2015, 11:18:34 am
I am sorry to report , that none of the modules work with any rom/iso on my gcw, everytime i choose a rom/iso from the list, i get kicked back to the OS after a short time of darkness :'(
You most likely forgot to put mednafen-09x.cfg (found in the zip) in /media/home/.mednafen
If it already exists, replace it.
It is there for a reason.

Honestly, if this kind of issue keeps hapenning to users,
i'll just hardcode it to each OPK file and nobody will be able to modify it.
(but at least, it will work out-of-the-box)
Title: Re: Mednafen for GCW0
Post by: yoshi41 on October 04, 2015, 11:22:01 am
Quote
Tested Ridge Racer on PSX. Works fine, but ultra slow (as expected).

Tested Chip Chan Kick on PC-FX. Works fine, but also ultra slow.
Thanks for testing yoshi !
Yes unfortunely, unless Ryphecha works on a faster PSX core, it won't happen sorry.
As for PC-FX, how well does it run ? Does it run at 1 FPS per second ?
If so, i'm quite dissapointed...


Turned on "Show FPS" and tested again PC-FX and PSX games. Both run at 9-10 FPS. Not 1 FPS, but still unplayable.  ;)

Btw, tested Gouls 'n Ghosts and 1941 (SGX). Both work fine, except Gouls 'n Ghosts has horrible sound.

For those having troubles with ISO/CUE files, make sure you have the correct BIOS in "/media/data/local/home/.mednafen".

Here my MD5 checksums...

Code: [Select]
08e36edbea28a017f79f8d4f7ff9b6d7 pcfx.rom
8dd7d5296a650fac7319bce665a6a53c scph5500.bin
490f666e1afb15b7362b406ed1cea246 scph5501.bin
e56ec1b027e2fe8a49217d9678f7f6bb scph5502.bin
01ba94c6d96865b9506b6b67605b6bfb syscard3.pce

Hope it helps.
Title: Re: Mednafen for GCW0
Post by: potroast on October 04, 2015, 12:15:40 pm
I am sorry to report , that none of the modules work with any rom/iso on my gcw, everytime i choose a rom/iso from the list, i get kicked back to the OS after a short time of darkness :'(
You most likely forgot to put mednafen-09x.cfg (found in the zip) in /media/home/.mednafen
If it already exists, replace it.
It is there for a reason.

Honestly, if this kind of issue keeps hapenning to users,
i'll just hardcode it to each OPK file and nobody will be able to modify it.
(but at least, it will work out-of-the-box)
Thats it ! working !! ha ha ha.
but honestly i wont go as far, a line in the main post would be enough
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 06, 2015, 11:53:42 am
So it looks like nobody is complaining, great !
I'll push it to the release section.

* somedude : Butt supa ghouls ghosts doesn't work !!! it reboots my console !!! i tried to fry it to fix it but it doesn't work, HELP ! *

Seriously, other than upgrading to 0.9.8.7, there's nothing else i can do but if you have a suggestion
(even if out of my reach), do not hesitate.

Title: Re: Mednafen for GCW0
Post by: care16la20 on October 06, 2015, 04:15:09 pm


Hi,
Other than the framerate on PC Engine CD, I see nothing wrong with the release....

I disregarded the other cores due to be too much slow at least for now btw.....

 I still cant manage to run ninja gaiden and ghouls n ghosts which are supposely pc engine or pc fx
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on October 06, 2015, 04:33:34 pm
I'll be able to test later today. Have you enabled frame skipping on the PC-FX module? Or did you just optimize it more? If you didn't do frame skipping, that may raise the fps a few :)
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on October 07, 2015, 04:45:20 pm
Seems good (at least the PCFX seems better) again, the frame skipping question, and the launch from internal memory problem. If it could get up to 18-20 fps then it could be called playable. 30 fps is what we need for it to be perfect
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 07, 2015, 10:01:11 pm
Seems good (at least the PCFX seems better) again, the frame skipping question, and the launch from internal memory problem. If it could get up to 18-20 fps then it could be called playable. 30 fps is what we need for it to be perfect
Good to hear PCFX works better. (Yoshi said it was 10 FPS)
I still don't know what's wrong with the frameskipping, Mednafen does not do anything...
The Internal Memory issue, that's one strange issue too...
Anyways, i'll soon get my GCW0 and i'll do more investigation on this.

I will try to push more aggressive optimisations to Mednafen too, this might help a bit. (at best 1-2 FPS)
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on October 07, 2015, 10:45:29 pm
Okay, cool :) could it be that somehow mednafen has been blocked from executing any files stored on the internal memory
Title: Re: Mednafen for GCW0
Post by: qbertaddict on October 09, 2015, 11:44:36 pm
Turbo cd works great but i put my bios files in /.mednafen/firmware putting them in /.mednafen didn't work for me. There seems to be sound problems in turbo cd and supergrafx games but it runs and scrolls great. Are you using the pce_fast core?


Famicom Disk System works. Bios image needs to be disksys.rom. Suffers from sound issues that all cores seem to have but the framerate is fine

Lynx works nice but is there a way to make it run fullscreen?

GBA and PSX too slow but look nice!


Title: Re: Mednafen for GCW0
Post by: gameblabla on October 13, 2015, 11:13:48 pm
Yo all, just a news update !
Don't worry, i'll release a new version soon that is faster and should fix some of your issues.
Props to yoshi, who gave me a GCW0.

Anyways, IPU scaling was not working properly before.
It now does and the speed benefits are pretty significant.
The NES core was lagging with SMW, it now runs fullspeed thanks to it.
NEC PC-FX just got faster too, it's around 15FPS now. (18FPS for my PCFX homebrew game)
GBA is now a little faster too, it's still pretty slow. (but somewhat playable, believe or not)
Lynx is fullscreen now, enough said.
PSX should be faster too but i have yet to test it and benchmark it.

I finally found what the hell was going on with PC-Engine CD Games :
CDDA tracks's volume was simply too loud.
Lowering it solve the sound glitches.

Turbo cd works great but i put my bios files in /.mednafen/firmware putting them in /.mednafen didn't work for me. There seems to be sound problems in turbo cd and supergrafx games but it runs and scrolls great. Are you using the pce_fast core?
That's strange, it works for me in ./mednafen.
Maybe you are using the Arcade card ?

Quote
Famicom Disk System works. Bios image needs to be disksys.rom. Suffers from sound issues that all cores seem to have but the framerate is fine
Next release should fix that, thanks for testing.
Didn't know Mednafen emulated it too.

EDIT: Sorry Vetran for killing your hopes for better PSX emulation but it's even slower than PCFX...
It runs at about 5FPS for the boot screen. (and 15FPS for the homebrew game)

EDIT2 I can confirm that running PCFX isos from internal memory does not work...
Will look into it. (probably not next release though...)
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 14, 2015, 11:34:02 am
Double post for the win.
I have finally released my latest update to Mednafen.
It does not fix everything but it already is better than my previous better.

Changelog:
- Sound is fixed. (Fix PC Engine CD games, NES games...)
- IPU scaling now working
- Lynx Fullscreen
- Compiled with O3, somewhat faster.

As usual, update all the OPKs along the configuration file as well !
Title: Re: Mednafen for GCW0
Post by: pcercuei on October 14, 2015, 12:05:21 pm
You know, you can make one OPK that creates 4 menu entries. You just need 4 different *.gcw0.desktop files inside.
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 14, 2015, 12:06:58 pm
You know, you can make one OPK that creates 4 menu entries. You just need 4 different *.gcw0.desktop files inside.
Ah, interesting didn't know that, thanks.
Will do that for next release.
Title: Re: Mednafen for GCW0
Post by: Ziz on October 14, 2015, 12:12:41 pm
You know, you can make one OPK that creates 4 menu entries. You just need 4 different *.gcw0.desktop files inside.
Ah, interesting didn't know that, thanks.
Will do that for next release.
Please send me a pm if you do so, so that I remove some of the opks from the OPKManager ;)
Title: Re: Mednafen for GCW0
Post by: bL4sT on October 16, 2015, 08:06:38 am
The PCE Core still isn't working for me. I tried reinstalling everything and most of the games just give me a black screen. The only thing that I think may be causing the issue is that my /home directory, for some reason, isn't on /media/home but rather on /media/data/local/home. The /media/home directory is just a shortcut that takes me to media/data/local/home.

If someone knows how to fix this without messing up with every other app I have installed, it would be great. :)
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 16, 2015, 11:17:28 am
The PCE Core still isn't working for me. I tried reinstalling everything and most of the games just give me a black screen. The only thing that I think may be causing the issue is that my /home directory, for some reason, isn't on /media/home but rather on /media/data/local/home. The /media/home directory is just a shortcut that takes me to media/data/local/home.

If someone knows how to fix this without messing up with every other app I have installed, it would be great. :)
Unfortunely, Mednafen-GCW0 currently has one huge issue : it can only play roms from a microsd card.
It can't play roms/isos on the internal memory.
Try with a micro sdcard instead.
Title: Re: Mednafen for GCW0
Post by: bL4sT on October 16, 2015, 06:19:24 pm
The PCE Core still isn't working for me. I tried reinstalling everything and most of the games just give me a black screen. The only thing that I think may be causing the issue is that my /home directory, for some reason, isn't on /media/home but rather on /media/data/local/home. The /media/home directory is just a shortcut that takes me to media/data/local/home.

If someone knows how to fix this without messing up with every other app I have installed, it would be great. :)
Unfortunely, Mednafen-GCW0 currently has one huge issue : it can only play roms from a microsd card.
It can't play roms/isos on the internal memory.
Try with a micro sdcard instead.

In fact, all my ROMs are already on the external memory.

Every other emulator that I've tried works like a charm (including your Wonderswan emulator). That's why I'm really confused that Mednafen isn't working for me.
Title: Re: Mednafen for GCW0
Post by: care16la20 on October 16, 2015, 06:26:25 pm


Hi, big thanks for the update

On Pc engine CD, still see some framerate hickups (on cosmic fantasy 2 is easy to see this)


Also, would be possible to separate the engines on next releases ? for now, only see a reason to keep the pcengine/CD installed because the others are too slow

Regards
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 16, 2015, 06:37:27 pm
In fact, all my ROMs are already on the external memory.
Every other emulator that I've tried works like a charm (including your Wonderswan emulator). That's why I'm really confused that Mednafen isn't working for me.

Quote
Make sure first that you put mednafen-09x.cfg (found in the zip) in /media/home/.mednafen,
if you don't then it will not work.

If it comes bundled with a config file, it's for a reason.
(unless you installed from the OPK Manager... I need to find a proper solution to this)


Quote
Also, would be possible to separate the engines on next releases ? for now, only see a reason to keep the pcengine/CD installed because the others are too slow
No, it used to come into 4 different opks but then people complained it was too difficult to install them.
Sorry but i can't please everyone.
Title: Re: Mednafen for GCW0
Post by: care16la20 on October 16, 2015, 07:27:17 pm


Quote
Also, would be possible to separate the engines on next releases ? for now, only see a reason to keep the pcengine/CD installed because the others are too slow
No, it used to come into 4 different opks but then people complained it was too difficult to install them.
Sorry but i can't please everyone.
[/quote]


Its the same difficult as installing just one lol........
Title: Re: Mednafen for GCW0
Post by: bL4sT on October 17, 2015, 06:26:23 am
Quote
Make sure first that you put mednafen-09x.cfg (found in the zip) in /media/home/.mednafen,
if you don't then it will not work.

If it comes bundled with a config file, it's for a reason.
(unless you installed from the OPK Manager... I need to find a proper solution to this)

Like I said on a previous post, I installed everything correctly. The only thing that I think may be causing the issue is that my home folder isn't on /media/home but rather on media/local/data/home. The one on the media folder is just a shortcut that takes me to media/local/data/home (and I am installing everything using Filezilla).

Any idea on how can I fix this? Thanks in advance.
Title: Re: Mednafen for GCW0
Post by: pcercuei on October 17, 2015, 08:14:03 am
That's the same on every console. So it's not something you have to fix.
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 17, 2015, 10:18:57 am
Like I said on a previous post, I installed everything correctly. The only thing that I think may be causing the issue is that my home folder isn't on /media/home but rather on media/local/data/home. The one on the media folder is just a shortcut that takes me to media/local/data/home (and I am installing everything using Filezilla).
Any idea on how can I fix this? Thanks in advance.
Maybe you forgot to upgrade your firmware ?
Go to Settings -> System Info.
Then you should have a screen with : "Compiled on "...
Title: Re: Mednafen for GCW0
Post by: bL4sT on October 17, 2015, 06:45:36 pm
Quote
Maybe you forgot to upgrade your firmware ?
Go to Settings -> System Info.
Then you should have a screen with : "Compiled on "...

I'm on the latest version (August 20).

The weird thing is that some games work, while most of them don't. All of them used to work on Temper, but maybe this ROM Set (GoodPCE v1.09a) isn't compatible with the emulator? I don't know.
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 20, 2015, 09:51:34 pm
I'm on the latest version (August 20).
The weird thing is that some games work, while most of them don't. All of them used to work on Temper, but maybe this ROM Set (GoodPCE v1.09a) isn't compatible with the emulator? I don't know.
Well, i don't know.
Maybe you tell what games are you trying to run on your device ?
And yeah, a new romset might help.

Also, did a bunch of Mednafen videos running on my GCW0,
just to prove you that i'm not crazy.

Lords of Thunder
https://www.youtube.com/watch?v=Asy5fITXfeU (https://www.youtube.com/watch?v=Asy5fITXfeU)

Bonk's Revenge
https://www.youtube.com/watch?v=WPEDOUpBaKI (https://www.youtube.com/watch?v=WPEDOUpBaKI)
Title: Re: Mednafen for GCW0
Post by: qbertaddict on October 20, 2015, 10:19:15 pm
Every thing is running great here except for some sound issues on the cd game but they do work. As for your rom issue try using a no-intro set of roms instead of the goodset. Also user the tool to rip cds that exophase created


Title: Re: Mednafen for GCW0
Post by: ruffnutts on October 26, 2015, 06:04:07 pm
psx roms not showing up?
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 26, 2015, 09:51:09 pm
psx roms not showing up?
They should definitively show up but mednafen only accepts bin/cue files.
In what format your isos are ? Bin only ?
Title: Re: Mednafen for GCW0
Post by: ruffnutts on October 26, 2015, 10:54:16 pm
psx roms not showing up?
They should definitively show up but mednafen only accepts bin/cue files.
In what format your isos are ? Bin only ?

ok one is a bin and the other is iso so no good?

EDIT:Put a bin/cue of exhumed but when launching just get thrown back to the games list
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 29, 2015, 06:05:02 am
EDIT:Put a bin/cue of exhumed but when launching just get thrown back to the games list

Quote
Make sure first that you put mednafen-09x.cfg (found in the zip) in /media/home/.mednafen,
if you don't then it will not work.

Also, running iso files from the internal memory does not work.
Instead, put your PS1 games on a micro-sd and it will work.
Make sure you have the proper bioses for each region too.
Title: Re: Mednafen for GCW0
Post by: ruffnutts on October 29, 2015, 07:40:44 am
did all the above already - but no go
Title: Re: Mednafen for GCW0
Post by: gameblabla on November 06, 2015, 10:43:55 pm
did all the above already - but no go
Your bioses are probably not good dumps then or you forgot to put them all.
Could you please give my the MD5 hashes of your bioses ?
It's working on my side here but like i said, it is very slow.

EDIT: This could be a bad cue file too, i have personally encountered all lot of these...
Could you please give it to me ?
Title: Re: Mednafen for GCW0
Post by: Quickman on November 07, 2015, 06:36:36 pm
 I just want to say thank you so much for all your hard work @gameblabla !!  Very excited to get TurboGrafx/CD going on my zero! You're the best! Thanks again for smoothing everything out and continuously working to make it better!

 And thank you for the videos too! Just saw all those! So cool! 
Title: Re: Mednafen for GCW0
Post by: Radioboy86 on December 07, 2015, 02:58:39 am
Hey guys any chance i could get help on porting this to the a320 owners Opendingux?

Soruce code? Can you guys help me with links or a TUT? I am very dumb at this. i try and i try and... I fail :D
Title: Re: Mednafen for GCW0
Post by: arovane on March 20, 2016, 12:30:50 am
Really good emulator, especially the PcEngine one.. would be nice to be able to hide the others from the emulators menu, I really only use one. I know it's only one opk but it should be possible to remove the thumbnails from the menu at least. Anyway thanks for the good work.
Title: Re: Mednafen for GCW0
Post by: gameblabla on March 21, 2016, 11:57:35 am
Really good emulator, especially the PcEngine one.. would be nice to be able to hide the others from the emulators menu, I really only use one. I know it's only one opk but it should be possible to remove the thumbnails from the menu at least. Anyway thanks for the good work.
yes, this is entirely possible but however, i plan to work from scratch so this might not happen before a while anyways...
You could try to do it manually by opening the opk as a ZIP file with 7zip and then remove all the other desktop file. (but keep the pce desktop one)
Title: Re: Mednafen for GCW0
Post by: arovane on March 21, 2016, 05:04:20 pm
Thanks. It doesn't work though (file cannot be opened with 7zip, error) so I'll wait for the next batch :)
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 04, 2016, 11:42:41 pm
I have updated Mednafen.
It is a tiny hair faster, fixes some bugs and now comes in several opk files instead of one.

However...
SET YOUR FTP CLIENT TO BINARY MODE OR ELSE YOU WILL HAVE TROUBLE
PLAYING GAMES !

You won't believe me but that "bug" alone caused me a lot of trouble...

EDIT: Pushed a small update that fixes the sound issues with Mednafen.
Title: Re: Mednafen for GCW0
Post by: Quickman on May 06, 2016, 08:08:26 pm
Thanks so much @gameblabla !!
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 06, 2016, 08:34:55 pm
Thank you Quickman, your comments always make me jizz.
Btw guys, since i have broken my zero very hard (http://boards.dingoonity.org/gcw-help/broke-my-zero-when-i-tried-to-repair-my-dpad/),
this will be the last you will get of me until a good while. (before i can get it repaired)
Title: Re: Mednafen for GCW0
Post by: Aeter on May 07, 2016, 07:57:11 pm
Thank you Quickman, your comments always make me jizz.
Btw guys, since i have broken my zero very hard (http://boards.dingoonity.org/gcw-help/broke-my-zero-when-i-tried-to-repair-my-dpad/),
this will be the last you will get of me until a good while. (before i can get it repaired)
Hope you can get it fixed soon man. Good luck.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 22, 2016, 05:02:17 am
Is there any command while playing to set a normal aspect ratio ? by default its slightly streched and make the typo looking not very good (you can see what i mean if you try temper for exemple).
Title: Re: Mednafen for GCW0
Post by: Quickman on May 22, 2016, 07:30:56 pm
Anytime @gameblabla 8====D------:?

@Qubits you can toggle thru aspect ratio with the combination of holding up on the power switch while pushing button A :)
Title: Re: Mednafen for GCW0
Post by: Qubits on May 22, 2016, 09:59:19 pm
@Quickman it doesnt work for PC Engine, the only way to change aspect ratio is press start + B but it's stlll streched, here is a comparaison of the aspect ratio of Temper (on top) and Mednafen :

If anyone knows how to make mednafen have the perfect aspect ratio of Temper, please let me know.
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 24, 2016, 01:02:32 am
Quote
@Quickman it doesnt work for PC Engine, the only way to change aspect ratio is press start + B but it's stlll streched, here is a comparaison of the aspect ratio of Temper (on top) and Mednafen :

If anyone knows how to make mednafen have the perfect aspect ratio of Temper, please let me know.
I don't know what your complains are...
Temper IS stretching the game and in a horrible way. (the pixels are not crisp)
Mednafen on the other hand, is displaying the game at it's native resolution. (using Start+B of course)

What you are complaining is the fact that Mednafen, when scaling up the game,
applies linear filtering.

I guess you could try to modify the configuration file in home/.mednafen/mednafen-09x.cfg
and change that line :
Code: [Select]
pce_fast.stretch 0
to this :
Code: [Select]
pce_fast.stretch aspect_mult2
You could try to do that too instead :
From
Code: [Select]
pce_fast.xscale 1.000000to
Code: [Select]
pce_fast.xscale 1.250000
Title: Re: Mednafen for GCW0
Post by: Qubits on May 24, 2016, 02:33:46 am
No, Mednafen strech is incorrect. The good one is Temper. It's more obvious if you look at the text / numbers in the games, you can see your emulator is enlarging the x axis a little bit too much, just by a few pixels. Take a look at the number of the top on the two pictures i've posted. On the " 00 " (top right) you can see that on Mednafen it got a few square at the left of the " 00 " and that Temper doesnt have, even the black line on the screenshot im posting are larger in Mednafen and incorrect. If you take a closer look, you can see that very clearly on all text / numbers in the game and even on the graphics that are slightly disorted by this streching effect.

I have tried what you've said on the cfg file but didnt manage to fix it.

Here is a zoom on the problem if you dont understand what i mean :



Title: Re: Mednafen for GCW0
Post by: Qubits on May 24, 2016, 05:46:39 am
Picture of the game as it should look, colors, contrast & aspect ratio :

Title: Re: Mednafen for GCW0
Post by: Awakened on May 24, 2016, 08:24:58 pm
You could try the PCE-Fast core in RetroArch. RA has aspect ratio options in Video settings so you can correct it manually. Setting it to 8:7 should be about right.
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 24, 2016, 11:07:31 pm
Ok, found out why this happens.
Set this :
Code: [Select]
pce_fast.correct_aspect 1
to this :
Code: [Select]
pce_fast.correct_aspect 0

And it should fix your issue with the stretching.

I will push a proper update too that should fix some other issues as well.

Quote
You could try the PCE-Fast core in RetroArch. RA has aspect ratio options in Video settings so you can correct it manually. Setting it to 8:7 should be about right.
He could do that too but honestly, setting up RetroArch is a pain in the ass for end-users. (loading a core, then loading the game...)
It is also slower than a native port.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 25, 2016, 01:59:34 am
Yes it works ! Perfect ratio now :))

Could you please explain me how to play some pc engines cd games because i have tried everything and i cant or send me a copy of your .mednafen folder in zip (should be faster) ?
Title: Re: Mednafen for GCW0
Post by: Awakened on May 25, 2016, 09:46:39 pm
He could do that too but honestly, setting up RetroArch is a pain in the ass for end-users. (loading a core, then loading the game...)
It is also slower than a native port.
Yeah, the GCW port seems to have some performance issues. Even on the faster cores I would notice the audio crackling a little here and there.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 26, 2016, 03:03:06 am
Up.

Is anybody using the v1.31 got the PCE CD to work ? Are they working only when on an sdcard or internal as well ? Do you only need syscard3.pce to make them work or CD-ROM System bioses files as well, if so what name should they have ? Can somebody try to delete his old version / folder / files on his gcw, install the v1.31 and the games on internal via ftp and let me know if it works because its not for me and ive done everything i should to make it work so im starting to think its an issue with v1.31 and not my installation / configuration...
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 26, 2016, 06:13:56 am
Up.
Is anybody using the v1.31 got the PCE CD to work ? Are they working only when on an sdcard or internal as well ? Do you only need syscard3.pce to make them work or CD-ROM System bioses files as well, if so what name should they have ? Can somebody try to delete his old version / folder / files on his gcw, install the v1.31 and the games on internal via ftp and let me know if it works because its not for me and ive done everything i should to make it work so im starting to think its an issue with v1.31 and not my installation / configuration...
BEFORE TRANSFERING FILES TO YOUR ZERO,
SET YOUR FTP CLIENT TO BINARY MODE OR ELSE YOU WILL HAVE TROUBLE
PLAYING GAMES !


It is a problem with your config.
CD games are working perfectly with Mednafen, as show here by me :
https://www.youtube.com/watch?v=Asy5fITXfeU (https://www.youtube.com/watch?v=Asy5fITXfeU)

Delete all your CD games, set your ftp client to binary before transfer and then try again.
If this still does not work, show the content of your cue files here.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 26, 2016, 06:47:19 am
Ok by talking about the cue file you put me on the way, the games were not launching because the extension in the cue was .BIN (capitalized). After i've renamed them into .bin , they've all launch perfectly which leads me to two suggestions :

Would it be possible for the next update that it launch .BIN & .bin ? If not, it would be a good thing to mention it in the " installation " part since all cue files downloaded are .BIN by default.

Is there a way to escape the button configuration menu (Start + X) ? because it happens that instead of pressing select + X to exit i press start + X and since i cant seems to configure it correctly, i have to reupload mednafen-09x.cfg to reset it.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 26, 2016, 08:18:07 am
For the .iso cd games i've had to rename the file name inside the cue to make it correspond to the filename because it wasnt launching, seems to be case sensitive.

I've tested all of my cd games, they all work very good (aspect ratio & fps), maybe the shooters are showing a little bit of slows here and there (especially on Star Parodia, goes down to 49 fps but still very playable) but for Loom that is in .bin format ( rom), its launching but there is a problem with the aspect ratio (again, yeah !!!), the picture is slightly shifted on the right and when i press Start + X, i get the whole picture but then it becomes blurry, here are some pictures :

Title: Re: Mednafen for GCW0
Post by: gameblabla on May 26, 2016, 12:30:24 pm
The picture is not shifted, this is because Loom, uses a very high horinzontal resolution on NEC PC-ENGINE, higher than the GCW's one.
I have uploaded a new version of Mednafen that should fix this.

Quote
Would it be possible for the next update that it launch .BIN & .bin ?
No. Why ?
So it does not get even more confusing...
See, the ISO makers are assuming all operating systems are not case-sentitive, which can causes issues like on GCW.
Thus, allowing it to launch BIN & bin might not be a good idea because what happen if my bin is named "mygame.BIN" but in the cue file,
it is described as "MyGame.BIN" ?
The end-user will think the issue is not case related and will blame me instead.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 26, 2016, 12:32:11 pm
Which version ?
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 26, 2016, 12:35:26 pm
Which version ?
The latest, the link is the same, as always.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 26, 2016, 01:04:00 pm
The picture is not shifted, this is because Loom, uses a very high horinzontal resolution on NEC PC-ENGINE, higher than the GCW's one.
I have uploaded a new version of Mednafen that should fix this.

This is the version i use (v1.31 (05/05/2016)).

Quote
Would it be possible for the next update that it launch .BIN & .bin ?
No. Why ?
So it does not get even more confusing...
See, the ISO makers are assuming all operating systems are not case-sentitive, which can causes issues like on GCW.
Thus, allowing it to launch BIN & bin might not be a good idea because what happen if my bin is named "mygame.BIN" but in the cue file,
it is described as "MyGame.BIN" ?
The end-user will think the issue is not case related and will blame me instead.

Removing the case sensitivity would fix the problem in both extension & file name.
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 26, 2016, 01:14:12 pm
This is the version i use (v1.31 (05/05/2016)).
Don't look at the version number, i never bother to update it.
When i say i have released a new update, then it is the new version even if it claims otherwise.


Quote
Removing the case sensitivity would fix the problem in both extension & file name.
The reason i'm saying this is because it cannot be easily done.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 26, 2016, 01:18:33 pm
This is the version i use (v1.31 (05/05/2016)).
Don't look at the version number, i never bother to update it.
When i say i have released a new update, then it is the new version even if it claims otherwise.

I dont get your point, i have downloaded the latest version here : https://github.com/gameblabla/mednafen-gcw/raw/master/release/mednafen-gcw0.zip and the problem on loom is the same.

Quote
Removing the case sensitivity would fix the problem in both extension & file name.
The reason i'm saying this is because it cannot be easily done.

I hope you will find a solution about this, maybe you can just mention it in the installation part for people who are new with a gcw, it will save them time.
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 26, 2016, 01:20:56 pm
I dont get your point, i have downloaded the latest version here : https://github.com/gameblabla/mednafen-gcw/raw/master/release/mednafen-gcw0.zip and the problem on loom is the same.
You also need to update the provided configuration file each time there's an update, dude.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 26, 2016, 01:28:14 pm
Ok, i have downloaded the latest but when i press Start + B it launch the button configuration instead of changing aspect ratio.... which is blurred by default
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 26, 2016, 01:34:04 pm
Ok, i have downloaded the latest but when i press Start + B it launch the button configuration instead of changing aspect ratio.... which is blurred by default

Ok, in the config file, change this :
Code: [Select]
command.input_config1 keyboard 13+altto this :
Code: [Select]
command.input_config1 keyboard 13+ctrl
Sorry, that was an oversight.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 26, 2016, 01:36:49 pm
It's already on :

;Configure buttons on virtual port 1
command.input_config1 keyboard 13+alt
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 26, 2016, 01:44:42 pm
soory, its the reverse.

set it to:
command.input_config1 keyboard 13+ctrl
Title: Re: Mednafen for GCW0
Post by: Qubits on May 26, 2016, 02:08:05 pm
The picture is still shifted on the right at original aspect ratio.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 27, 2016, 12:00:28 am
Here is a comparaison i've made of Mednafen vs Temper with the mouse max position on the left (top screenshot) & on the right (bottom screenshot). You can see that the picture on Temper is centered horizontally and vertically so i guess this is what needs to be done on Mednafen as well.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 27, 2016, 12:14:30 am
Another one, maybe more obvious about the centering. So maybe it just need to be centered horizontally (vertically seems to be good).
Title: Re: Mednafen for GCW0
Post by: gameblabla on May 27, 2016, 03:01:39 am
I do not understand why Mednafen is adding these black bars...
I should look into it.
Title: Re: Mednafen for GCW0
Post by: Quickman on May 27, 2016, 03:02:59 am
@Qubits calling out the problems and @gameblabla to the rescue!!

Kudos!
Title: Re: Mednafen for GCW0
Post by: Qubits on May 27, 2016, 08:57:48 am
We're gonna make Mednafen the ultimate perfect GCW PCE emulator ! The only thing after this centering issue that could improve it is a menu to load / save states / buttons configurations, fullscreen, load a rom, exit the emulator and other options.
Title: Re: Mednafen for GCW0
Post by: Quickman on May 27, 2016, 07:35:25 pm
 Glad to have you aboard, @Qubits !

Any chance you're impressive with MIPS coding and can tackle smoothing out Mupen64?? Heheh ;)
Title: Re: Mednafen for GCW0
Post by: Qubits on May 27, 2016, 08:37:48 pm
Sorry i'm not a coder :)
Title: Re: Mednafen for GCW0
Post by: Aeter on May 28, 2016, 01:25:56 pm
Sorry i'm not a coder :)
Well you can start now and perhaps in a couple years you can help out.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 28, 2016, 01:34:13 pm
Would love to but i need a menthor who will guide me.
Title: Re: Mednafen for GCW0
Post by: Aeter on May 28, 2016, 01:46:10 pm
Would love to but i need a menthor who will guide me.

Books and online courses can get you there and the GCW0 IRC channel can help you as a lot of devs hang out there.
Title: Re: Mednafen for GCW0
Post by: Qubits on May 28, 2016, 01:48:03 pm
I'm connected to irc gcw ^_^
Title: Re: Mednafen for GCW0
Post by: Qubits on May 28, 2016, 01:49:29 pm
And basically, i speak alone about consoles, androids and emulators, haha.
Title: Re: Mednafen for GCW0
Post by: Qubits on June 07, 2016, 04:48:29 pm
I've been playing / testing a lot of PC Engines games thoses last days so i've thought i'd post my review about how they play on Mednafen, a lot of them are suffering from frameskipping (thoses that are noted 7 or 8 mostly) and would need some optimization. The notes are for the emulator, not for the game (its not some games reviews but an emulator review) :

Aero Blasters (USA) :

Video quality (based on the fps) : 7/10
Sound quality : 10/10
Average fps : 55
Lowest fps : 49

Overall : Too much frameskipping

-

Akumajou Dracula X : VQ : 9/10 / SQ : 10/10 / AFPS : 57 / LFPS : 43
Aldynes : VQ : 10/10 / SQ : 10/10 / AFPS : 58 / LFPS : 54 (Perfect !)
Batman : VQ : 8/10 / SQ : 10/10 / AFPS : 57 / LFPS : 43
Bomberman 94 : VQ : 7/10 / SQ : 10/10 / AFPS : 54 / LFPS : 51 (too much frameskipping)
Buster Bros : VQ : 6/10 / SQ : 10/10 / AFPS : 52 / LFPS : 46 (too much frameskipping)
Cotton : VQ : 8/10 / SQ : 10/10 / AFPS : 58 / LFPS : 51
Choujikuu Yousai Macross 2036 : VQ : 10/10 / SQ : 10/10 / AFPS : 58 / LFPS : 55 (Perfect  !)
Darius Alpha : VQ : 8/10 / SQ : 10/10 / AFPS : 57 / LFPS : 52
Dead Moon : VQ : 8/10 / SQ : 10/10 / AFPS : 54 / LFPS : 49
Detana TwinBee : VQ : 7/10 / SQ : 10/10 / AFPS : 56 / LFPS : 51 (too much frameskipping)
Devil Crash : VQ : 7/10 / SQ : 10/10 / AFPS : 54 / LFPS : 50 (too much frameskipping)
Fantasy Star Soldier : VQ : 8/10 / SQ : 10/10 / AFPS : 55 / LFPS : 51
Final Match Tennis : VQ : 8/10 / SQ : 10/10 / AFPS : 55 / LFPS : 49 (can be improved)
Fray : VQ : 9/10 / SQ : 10/10 / AFPS : 56 / LFPS : 52
Galaga : VQ : 8/10 / SQ : 10/10 / AFPS : 55 / LFPS : 53
Ginga Fukei Densetsu Sapphire : VQ : 9/10 / SQ : 10/10 / AFPS : 59 / LFPS : 57
Gradius : VQ : 9/10 / SQ : 10/10 / AFPS : 58 / LFPS : 52
Image Fight : VQ : 8/10 / SQ : 10/10 / AFPS : 55 / LFPS : 49
Loom : VQ : 10/10 / SQ : 10/10 / AFPS : 59 / LFPS : 55 (Perfect, except the black bar on the left)
Marchen Maze : VQ : 8/10 / SQ : 10/10 / AFPS : 55 / LFPS : 48 (can be improved)
Magical Chase : VQ : 9/10 / SQ : 10/10 / AFPS : 56 / LFPS : 54
Ninja Spirit : VQ : 8/10 / SQ : 10/10 / AFPS : 56 / LFPS : 52
R-Type : VQ : 9/10 / SQ : 10/10 / AFPS : 56 / LFPS : 51
R-Type Part II : VQ : 9/10 / SQ : 10/10 / AFPS : 58 / LFPS : 51
Rayxamber III : VQ : 9/10 / SQ : 10/10 / AFPS : 57 / LFPS : 51
Sprigan : VQ : 10/10 / SQ : 10/10 / AFPS : 59 / LFPS : 57 (Perfect !)
Soldier Blade : VQ : 10/10 / SQ : 10/10 / AFPS : 59 / LFPS : 57 (Perfect !)
Star Parodia : VQ : 9/10 / SQ : 10/10 / AFPS : 57 / LFPS : 54
Summer Carnival 92 : VQ : 10/10 / SQ : 10/10 / AFPS : 58 / LFPS : 53 (Perfect !)
Summer Carnival 93 : VQ : 9/10 / SQ : 10/10 / AFPS : 56 / LFPS : 48
Super Star Soldier : VQ : 8/10 / SQ : 9/10 / AFPS : 55 / LFPS : 51 (Sounds of the explosions are crap)
Sylphia : VQ : 10/10 / SQ : 10/10 / AFPS : 59 / LFPS : 57 (Perfect !)
Valkyrie no Densetsu : VQ : 8/10 / SQ : 10/10 / AFPS : 56 / LFPS : 53 (can be improved)


Overall the games are working fine but Aero Blaster, Bomberman 94, Detana Twin Bee, Devil Crash are suffering too much from frameskipping and really need to be optimized. The sounds / musics are perfect in every games. What is missing from the emulator is : A menu, an option to reset the game, to save / load states, to set autofire on / off (the pce has a lot of shooters) and it will be great if the analog pad was supported.

Title: Re: Mednafen for GCW0
Post by: gameblabla on June 07, 2016, 07:48:39 pm
I honestly did not know some games were suffering from slowdowns, all the games i have played so far were perfect.
Unfortunely, there's not much that can be done with but i'll still take a look at it to see if it can't be improved.

Quote
What is missing from the emulator is : A menu
It can be done but Mednafen is a huge mess.
One of my long term plans is to turn the libretro port of Mednafen PCE into a standalone app,
something that should make it easier to plug a menu to it and (hopefully) make it faster.

Quote
to save / load states
Can't really do that without a menu.
HOWEVER...
Mednafen does have an auto-save/auto-loading option that can be enabled in the config file.
I'll turn it on by default for the next version.

Quote
an option to reset the game
What for ?
All the PC-Engine games can be resetted with the RUN+SELECT combo but that has been disabled by default...
It can be re-enabled though.

Quote
to set autofire on / off (the pce has a lot of shooters)
Mednafen is setting autofire to different buttons, there is no "switch on/off" autofire button.
Unfortunely, there's not enough buttons on the zero to map the autofire buttons...
This is something i should look into when working on the libretro port.

Quote
it will be great if the analog pad was supported.
It isn't configured by default.
However, using Start+A, you can reconfigure the controls and use the analog stick.
Unless you want it to be mapped by default ?
If so, then to what ? The Dpad ?

Thank you for testing Mednafen.
Title: Re: Mednafen for GCW0
Post by: Qubits on June 08, 2016, 02:26:56 pm
Would be very nice if you could speed up thoses games and make them more smooth because they look a bit choppy right now. How do i turn back on the " reset " option in the cfg file ? And if instead of having start+select i want to have " Start + L/R " combinaison, what should i write ?

BTW the auto save / load is already on by default.
Title: Re: Mednafen for GCW0
Post by: yoshi41 on June 12, 2016, 02:25:51 pm
How do i turn back on the " reset " option in the cfg file ?

Change line in mednafen-09x.cfg from...

Code: [Select]
pce_fast.disable_softreset 1
to...

Code: [Select]
pce_fast.disable_softreset 0
With auto save/load enabled, this should be the default imho. Otherwise there's no quick possibility to re-start a game.
Title: Re: Mednafen for GCW0
Post by: gameblabla on June 25, 2016, 10:26:48 pm
So... What i should do with it ?
Since the first release of Mednafen, there's a better PSX emulator out there (Pcsx4all) and i have too released a better PC-Engine emulator for GCW0. (Temper)
And the only system that is not emulated by any other emulators on the GCW0 is the NEC PC-FX.

Should i keep the Lynx/Neo Geo Pocket and NEC PC-FX cores and give up the PSX and PC-Engine cores ?
Or should i continue to support them ?

Is anyone still using Mednafen for PC-Engine for that matter ?

Other than the fire button not working on Temper, there's no more reasons to keep Mednafen around.
Title: Re: Mednafen for GCW0
Post by: Qubits on June 26, 2016, 12:29:26 am
I think you should try to improve Mednafen PC Engine to make it more smooth since Temper is no more available or supported and there's a problem with the colors on it. Once its done, you could work on a menu for loading / saving states and other things you usually find on emulators menus.
Title: Re: Mednafen for GCW0
Post by: eltehero on June 26, 2016, 05:06:12 am
I think you should try to improve Mednafen PC Engine to make it more smooth since Temper is no more available or supported and there's a problem with the colors on it. Once its done, you could work on a menu for loading / saving states and other things you usually find on emulators menus.


Are you talking about the new temper?
Title: Re: Mednafen for GCW0
Post by: Quickman on June 26, 2016, 06:09:36 pm
 I thought the newest version of temper was supposed to trump Mednafen. After all of @gameblabla 's work I don't think he would just say to use the newest version of temper unless he meant it. ? Unless I'm wrong. In which case please let me know!
Title: Re: Mednafen for GCW0
Post by: gameblabla on June 26, 2016, 08:32:04 pm
Quote
I think you should try to improve Mednafen PC Engine to make it more smooth since Temper is no more available or supported and there's a problem with the colors on it.
Well... Temper got its source code recently last year and supports almost all the PC-Engine games properly.
Meanwhile, there has not been a release for Mednafen since a while...
You mention a problem with colors though... Care to share why ?
I have not noticed any inaccuracies as far as colors go.

Quote
Once its done, you could work on a menu for loading / saving states and other things you usually find on emulators menus
I could do that but it is just not worth the trouble...
Mednafen is a huge C++ mess and as a result, is difficult to work with.
With Temper around, i don't feel the need to do that.
As far as PC-Engine go, i would rather work on Temper than on Mednafen.

Are you talking about the new temper?
Yes, the new version i worked on here (http://boards.dingoonity.org/gcw-development/(beta)-temper-nec-pc-engine-emulator/).
This new version has some fixes and additions such as :
- Auto-detection for Supergrafx games
- A menu with load/save options and you can customise controls, even for each game ala PPSSPP.
- Is much faster than Mednafen and as a result, do not suffer from slowdown in some games. (as Qubits reported, apparently)
- Puts all the configurations, saves, syscards... in the home directory unlike the old Dingoo Temper port.

I thought the newest version of temper was supposed to trump Mednafen.
Yes, that's the case.
You tried both Mednafen PCE and Temper, right ?
I think it is obvious you should like Temper over Mednafen...
Title: Re: Mednafen for GCW0
Post by: Quickman on June 26, 2016, 08:38:46 pm
@gameblabla  I trust your good words & information, friend ;)  thanks for ALL of your work
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on June 29, 2016, 01:32:41 am
I was so excited with PC-FX support, I hope development for mednafen continues just so PC-FX will fully work :)
Title: Re: Mednafen for GCW0
Post by: gameblabla on June 29, 2016, 04:39:10 am
I was so excited with PC-FX support, I hope development for mednafen continues just so PC-FX will fully work :)
That's what i would like to do.
Here are my plans :
I will drop the PSX core and will pause theNES, LYNX and Neo Geo Pocket cores.
I will, for now, only support the PC-Engine and PC-FX.

I will strip them down : both will have a different codebase.
So what do you think guys ?
Title: Re: Mednafen for GCW0
Post by: fosamax on June 29, 2016, 10:21:45 am
Maybe you could take a look at lionRSM's dingoo emulation pack that have a pretty solid GUI for all the emus including PC Engine which is based on Mednafen IIRW.

I would love to see GUI like those for some of your emulators.

Thanks for all the hard work you put into thoses.
Title: Re: Mednafen for GCW0
Post by: Surkow on June 29, 2016, 04:43:58 pm
Maybe you could take a look at lionRSM's dingoo emulation pack that have a pretty solid GUI for all the emus including PC Engine which is based on Mednafen IIRW.

I would love to see GUI like those for some of your emulators.

Thanks for all the hard work you put into thoses.
I know he eventually released the sources of the emulators he worked on, but I assume he kept his frontend closed source.
Title: Re: Mednafen for GCW0
Post by: fosamax on June 29, 2016, 06:11:29 pm
Maybe you could take a look at lionRSM's dingoo emulation pack that have a pretty solid GUI for all the emus including PC Engine which is based on Mednafen IIRW.

I would love to see GUI like those for some of your emulators.

Thanks for all the hard work you put into thoses.
I know he eventually released the sources of the emulators he worked on, but I assume he kept his frontend closed source.

Not sure about that. I think Slanesh take a look at it at some point and finally said missing ressource could be built from the supplied source. It may worth taking a look at it in order to not reinventing the wheel...
Title: Re: Mednafen for GCW0
Post by: Mar8 on June 29, 2016, 08:17:01 pm
I was so excited with PC-FX support, I hope development for mednafen continues just so PC-FX will fully work :)
That's what i would like to do.
Here are my plans :
I will drop the PSX core and will pause theNES, LYNX and Neo Geo Pocket cores.
I will, for now, only support the PC-Engine and PC-FX.

I will strip them down : both will have a different codebase.
So what do you think guys ?

 I think that's a great idea, especially since that focus would set it apart from the other similar emulators. I know that that's what I would use it for personally.  And now that there's the Pcsx4all emu, I personally don't see a necessity to keep those cores around as a main focus.
Thanks so much for your work, dude !
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on July 04, 2016, 10:26:26 pm
lookinhg forward to the PC-FX core optimized. Thanks man! :)
Title: Re: Mednafen for GCW0
Post by: Thylacine on September 16, 2016, 09:44:25 am
I know it could be bit of a long shot but would it be possible to port the pc-fx to the Pandora as the Pandora has mednafen but not the pc-fx part.
Title: Re: Mednafen for GCW0
Post by: gameblabla on September 16, 2016, 10:17:13 am
I know it could be bit of a long shot but would it be possible to port the pc-fx to the Pandora as the Pandora has mednafen but not the pc-fx part.
It is entirely possible to compile the pcfx core. In fact, the latest version has ARM optimisations that can be used on the Pandora.
Making a Pandora port is simply a matter of installing the dev libraries, running configure and make.
I'm still baffled why no one ported it properly but i don't own a Pandora so i cannot port it.
Sorry but you'll have to ask someone else. (e.g. ptitseb)
Title: Re: Mednafen for GCW0
Post by: Thylacine on September 18, 2016, 02:09:22 am
I've asked about it on the Pandora website so hopefully something might come of it thanks for your help.
Title: Re: Mednafen for GCW0
Post by: gameblabla on October 13, 2016, 01:00:25 am
So here is the new release you waited for.
PSX emulation was dropped (use PCSX4All for that) but everything else was retained.

You no longer need to mess around with configuration files,
just put the OPK files on your GCW0 and you're ready to go !

This new version is based on Mednafen 0.9.39.2.
Sadly, Neo Geo Pocket games now run slower than before...
PC-FX games run at 12~18 FPS depending on the game.
(I think previous versions were running faster but i'm not sure)

It might fix the Loom-issue Qubits had.

Enjoy this new release.
Title: Re: Mednafen for GCW0
Post by: gameblabla on December 03, 2016, 09:16:38 pm
I'm working on improving PC-FX speed emulation and it runs more consistently now.
Still not quite playable tho.

I have also definitively squashed that IPU bug i had with Mednafen.
It no longer uses the Mednafen's own upscaler that is much slower now, thankfully.
This should also result in a speedup for GBA, NGP and PCE games.

I have released the new update in my first post.
Title: Re: Mednafen for GCW0
Post by: Mar8 on December 04, 2016, 09:29:58 pm
THANK YOU FOR ALWAYS BUSTING YOUR *SS WITH WORK @gameblabla ! ?
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on June 10, 2017, 07:12:20 am
@gameblabla

Any update to the PC-FX core?

Sent from my Q5 using Tapatalk 2

Title: Re: Mednafen for GCW0
Post by: gameblabla on June 11, 2017, 07:03:20 pm
@gameblabla
Any update to the PC-FX core?
Sent from my Q5 using Tapatalk 2
I did the best i could with the PC-FX core, Max framerate is 18 FPS with my PC-FX homebrew game.

No updates were made to the PC-FX core since 0.9.39.2 and it still doesn't support frameskipping for PC-FX,
which would have been a huge help on the GCW-Zero.

A newer firmware releases with a new GCC toolchain (GCC 7.x) might help slightly with slow performance but
it's still might take a while...
Title: Re: Mednafen for GCW0
Post by: zhongtiao1 on June 12, 2017, 03:16:05 pm
@gameblabla
Any update to the PC-FX core?
Sent from my Q5 using Tapatalk 2
I did the best i could with the PC-FX core, Max framerate is 18 FPS with my PC-FX homebrew game.

No updates were made to the PC-FX core since 0.9.39.2 and it still doesn't support frameskipping for PC-FX,
which would have been a huge help on the GCW-Zero.

A newer firmware releases with a new GCC toolchain (GCC 7.x) might help slightly with slow performance but
it's still might take a while...

Why doesn't frameskip work? Is it a problem with mednafen itself?

Sent from my Q5 using Tapatalk 2

Title: Re: Mednafen for GCW0
Post by: gameblabla on June 13, 2017, 07:31:37 pm
Why doesn't frameskip work? Is it a problem with mednafen itself?
Sent from my Q5 using Tapatalk 2
Yup, frameskip works for other cores (such as the NEC-PC ENGINE) but it doesn't work for the Virtual Boy or PC-FX. (both happen to use the same CPU)
I don't think it's actually implemented and Ryphecha is focused on Sega Saturn emulation so...