Dingoonity.org

GCW Zero => Releases => Topic started by: gameblabla on September 05, 2015, 11:15:18 pm

Title: Gameblabla's Oswan
Post by: gameblabla on September 05, 2015, 11:15:18 pm
(https://gameblabla.olympe.in/img/goswan_menu.png)(https://gameblabla.olympe.in/img/goswan_riviera.png)
(https://gameblabla.olympe.in/img/goswan_db.png)(https://gameblabla.olympe.in/img/mmn1.png)

Gameblabla's Oswan is a Wonderswan emulator based on OswanJ and Alekmaul's Oswan.
It can play most if not all games properly, including homebrew games with bad headers.

My initial goal was to fix some of the bugs Alekmaul's Oswan version suffered.
But the more i worked on it, the more i realised it had a lot more issues than i thought.

More accurate emulation, better compatibility, better sound, rich options, multiple save slots support,
even fixes that upstream never fixed etc...

Known issues :
- Save states (when you exit and reload) aren't working with zipped roms
- Pocket Fighter has palette inaccuracies
- One Piece Swan Colloseum and Naruto have some brief moments where graphics are corrupted.

Download link (https://github.com/gameblabla/oswan/raw/master/release/oswan.opk)
Github (source code) (https://github.com/gameblabla/oswan)
Title: Re: Gameblabla's Oswan
Post by: dmitry_smagin on September 06, 2015, 02:01:09 pm
Thanks for your work.
You forgot to mention the link to sources: https://github.com/gameblabla/oswan (https://github.com/gameblabla/oswan)

PS: Nice, I see some menu code I initially created for Handy/SDL menu which alekmaul borrowed later. :D
Title: Re: Gameblabla's Oswan
Post by: gameblabla on September 06, 2015, 04:17:19 pm
Thanks for your work.
You forgot to mention the link to sources: https://github.com/gameblabla/oswan (https://github.com/gameblabla/oswan)
Yes, i forgot to put the sauce.
Thanks

PS: Nice, I see some menu code I initially created for Handy/SDL menu which alekmaul borrowed later. :D
I wasn't sure who did the menu code but i know who did it.
Thanks for that too, it saved me some time.
Title: Re: Gameblabla's Oswan
Post by: care16la20 on September 06, 2015, 04:49:58 pm


Hi , gr8at release !

2 little things to if possible be added:
- Possibility to have 1.5x on the gfx keep aspect retio (this was the best combination of screen size in my opinion)
- Gmenu selection


Regards
Title: Re: Gameblabla's Oswan
Post by: gameblabla on September 06, 2015, 07:06:48 pm
- Possibility to have 1.5x on the gfx keep aspect retio (this was the best combination of screen size in my opinion)
Regards
Dude, do the math.

Wonderswan's screen resolution :
224x144 pixels
GCW Zero:
320x240 pixels

224*1.5 = 336

336 is superior to the GCW Zero's resolution, unless you want it to cropped.
Plus i doubt it will look better because it is not proportional...
Request rejected

On the other, i plan to work on an improved version that supports downsampling once i got my zero.
Basically, i render to a higher resolution (640x480) and then i scale it down to 320x240 with the IPU.
It might or might not look better though, i will have to see it by myself since IPU's behaviour can't really be properly emulated...

Quote
- Gmenu selection
We already talked about this in the dev section :
Gmenu only accepts Mime types for filetering files and Gmenu has no mimetype for Wonderswan roms.
There is no way to filter non-WS roms, you'll see all of your non-WS related files.
Unless of course you're willing to go that trouble then i can bundle a Gmenu version.
Title: Re: Gameblabla's Oswan
Post by: care16la20 on September 06, 2015, 11:16:36 pm


Hum, maybe was 1.3x

Im pretty sure this was available on the first releases... It was the best graphic setting because it preserved the ratio with an good resolution leaving black borders only on the botton and upper....
Title: Re: Gameblabla's Oswan
Post by: Surkow on September 06, 2015, 11:22:01 pm
Scaling using the IPU will allow you to use fullscreen or scale to fit the screen (and in the future integer scaling). I wouldn't worry about implementing it in software for now.
Title: Re: Gameblabla's Oswan
Post by: gameblabla on September 07, 2015, 12:37:48 am
Hum, maybe was 1.3x
Im pretty sure this was available on the first releases... It was the best graphic setting because it preserved the ratio with an good resolution leaving black borders only on the botton and upper....
Dude... That option is called "Keep Aspect" and it is already available in Gameblabla's Oswan.
(https://gameblabla.olympe.in/img/mmn1.png)

I simulated the 1.3x res and this is how it should look like :
(https://gameblabla.olympe.in/img/scale_bs.png)
It should be a sweetspot between 1x size and Keep Aspect.
Still looks bad though.

Quote
Scaling using the IPU will allow you to use fullscreen or scale to fit the screen (and in the future integer scaling). I wouldn't worry about implementing it in software for now.
Yeah, especially since all i got are GCW0s crashing ;/
Which why i will look at this only after i got my zero
Title: Re: Gameblabla's Oswan
Post by: care16la20 on September 08, 2015, 12:45:33 am
Hum, maybe was 1.3x
Im pretty sure this was available on the first releases... It was the best graphic setting because it preserved the ratio with an good resolution leaving black borders only on the botton and upper....
Dude... That option is called "Keep Aspect" and it is already available in Gameblabla's Oswan.
(https://gameblabla.olympe.in/img/mmn1.png)

I simulated the 1.3x res and this is how it should look like :
(https://gameblabla.olympe.in/img/scale_bs.png)
It should be a sweetspot between 1x size and Keep Aspect.
Still looks bad though.

Quote
Scaling using the IPU will allow you to use fullscreen or scale to fit the screen (and in the future integer scaling). I wouldn't worry about implementing it in software for now.
Yeah, especially since all i got are GCW0s crashing ;/
Which why i will look at this only after i got my zero



Hi, I undestand what you mean but its curious that for some reason the pixels looked better (very close to ws original screen resolution) on earlier releases with this graphical option, so that's why I thought it wasn't exactly keep aspect ratio....
Title: Re: Gameblabla's Oswan
Post by: gameblabla on September 09, 2015, 05:11:45 am
Quote
Hi, I undestand what you mean but its curious that for some reason the pixels looked better (very close to ws original screen resolution) on earlier releases with this graphical option, so that's why I thought it wasn't exactly keep aspect ratio....
The only time i changed the screen size was after my first version when i switched to IPU scaling.
After reports of crashes, i switched back to software scaling.
That version (with IPU scaling) reportely crashed on real GCW0s but maybe you got it to properly on it ?
Title: Re: Gameblabla's Oswan
Post by: qbertaddict on September 10, 2015, 01:36:11 am
I get a really weird error when playing some of the b/w wonderswan games. The brightness seems to get brighter and brighter and then fades everything out until it is unplayable. I can still get to the menu without issue and everything looks fine and I can exit. Two games that this happened on are klonoa and ghouls and ghosts. Right after i read the sign at the beginning.

Title: Re: Gameblabla's Oswan
Post by: care16la20 on September 10, 2015, 02:32:22 am
Quote
Hi, I undestand what you mean but its curious that for some reason the pixels looked better (very close to ws original screen resolution) on earlier releases with this graphical option, so that's why I thought it wasn't exactly keep aspect ratio....
The only time i changed the screen size was after my first version when i switched to IPU scaling.
After reports of crashes, i switched back to software scaling.
That version (with IPU scaling) reportely crashed on real GCW0s but maybe you got it to properly on it ?

Hi,

Hum possibly that was the reason that the resolution and pixels looked much better (very similar to what looks like on the real hw).....
At least I didn't notice crashes, if it was that version you are talking about....
Title: Re: Gameblabla's Oswan
Post by: zear on September 10, 2015, 07:40:53 am
I get a really weird error when playing some of the b/w wonderswan games. The brightness seems to get brighter and brighter and then fades everything out until it is unplayable. I can still get to the menu without issue and everything looks fine and I can exit. Two games that this happened on are klonoa and ghouls and ghosts. Right after i read the sign at the beginning.
I confirm this happens on "Pocket Fighter" as well. Get hit by another player to make your character brighter. Pause the game to turn the entire screen into a blob of gray.
Title: Re: Gameblabla's Oswan
Post by: gameblabla on September 10, 2015, 12:48:05 pm
I get a really weird error when playing some of the b/w wonderswan games. The brightness seems to get brighter and brighter and then fades everything out until it is unplayable. I can still get to the menu without issue and everything looks fine and I can exit. Two games that this happened on are klonoa and ghouls and ghosts. Right after i read the sign at the beginning.
I confirm this happens on "Pocket Fighter" as well. Get hit by another player to make your character brighter. Pause the game to turn the entire screen into a blob of gray.
Indeed, brightness control is not working properly. (or it's swapping palettes or changing the colors in the palette for some reason)
In addition to that, the 16 selected shades of gray are wrong too.
Does this happen on OswanJ or Oswan for Windows as well ?
I'm working on that but i can't quite figure it out where is the problem. (not the cpu core, obviously)

EDIT: I found where the problem was.
It's in WS.c (https://github.com/gameblabla/oswan/blob/master/main/emu/WS.c), line 359/360.
Disable the two lines and the bug is gone.
I still need a proper fix though, because doing so would break other things.
Title: Re: Gameblabla's Oswan
Post by: gameblabla on September 13, 2015, 03:23:30 am
Double post, i feel like it is needed though.
I hate to say this but this is turning into a dev thread...

Every Oswan fork in existance is affected by this issue, that's crazy.
Only Mednafen fixed it but this time, there is no way to just take their code and fit it to my emulator.

So instead, i have pushed a temporary fix for the affected b&w games.
It breaks some other things but it makes the games playable so hope you enjoy.
I have implemented Slider support and i really hope this time it works. (QEMU just can't replicate it)

So i updated Gameblabla's Oswan, as usual. Enjoy
Title: Re: Gameblabla's Oswan
Post by: gameblabla on October 04, 2015, 09:17:54 am
TRIPLE COOOMBOOOO
I'm alone here.

Anyways, i updated it and i have implemented a better hack, still not great though...
Previous release broke some games due to the hack i have introduced, they should look great now.


Problematic games with this emulator are (All B&W games) :


EDIT : No longer the case, these games work properly now and without any weird hacks.
Title: Re: Gameblabla's Oswan
Post by: care16la20 on October 06, 2015, 04:17:10 pm


Hi , thanks for the update
Glad you are close to get to the 100% on this one

Regards
Title: Re: Gameblabla's Oswan
Post by: pcercuei on October 07, 2015, 09:29:00 am


I have implemented Slider support and i really hope this time it works. (QEMU just can't replicate it)
It is mapped to the "Home" key (sometimes called "Origin")
Title: Re: Gameblabla's Oswan
Post by: gameblabla on October 15, 2015, 10:48:25 pm
Yo all,
my emulator had a huge number of issues :
It would crash for playing most games for instance.
I have updated my emulator and it now works properly on it.

Gotta say, i enjoyed playing Tetris in Portrait mode.

Monochrome hacks are not working properly on GCW0 though,
the MD5 are different when switching from one platform to another
so i have disabled them.

EDIT: Turns out i have (accidently) fixed most of the graphical glitches in monochrome games,
yay !
Title: Re: Gameblabla's Oswan
Post by: gameblabla on October 18, 2015, 11:35:27 am
I have released another update to Oswan : this one fixed sound issues in all games !
Klonoa, Beatmania and some other games now sound very good !

The only remaining issues are the incorrect pallette and flickering during the winning screen in Pocket Fighter.

I highly suggest you upgrade over this new version and i also consider it good enough to be added
to the GCW0's repository.

EDIT: To those who are curious how i fixed this, it was simple.
I simply switched from integers to floats for sound and it all suddenly sound better than before.
That being said,
i still interested to find someone who could help me support fixed-points for sound on platforms without an FPU.
Title: Re: Gameblabla's Oswan
Post by: care16la20 on October 20, 2015, 12:28:55 am


Hi excellent release ! Almost final version heheh

Klonoa for some reason is necessary to press start quickly otherwise it crashes....

The rest is pretty solid and the graphics looks much nicer than before

Regards
Title: Re: Gameblabla's Oswan
Post by: eltehero on October 20, 2015, 06:05:04 pm
Is this emu 60fps fullspeed with sound?
Title: Re: Gameblabla's Oswan
Post by: gameblabla on October 20, 2015, 09:44:02 pm
New final update to Oswan : This one fixes the crashes in Klonoa, yay !

However, zear and i found graphical glitches in One piece Swan Colloseum during the super attacks,
pretty minor but i still don't know how to fix them.
And there's still Pocket Fighter with the incorrect palette at times.

But pretty much every other game works properly now.

Quote
Is this emu 60fps fullspeed with sound?
Yes, fullspeed with sound, just too lazy to do a video to show it to you though
but it runs very well. (especially the last version)
Title: Re: Gameblabla's Oswan
Post by: qbertaddict on October 20, 2015, 09:44:33 pm
Is this emu 60fps fullspeed with sound?

It seems to be. I've been playing Judgement Silversword for a week straight :)

Its a great release.
Title: Re: Gameblabla's Oswan
Post by: qbertaddict on October 20, 2015, 09:45:37 pm
Quote
Yes, fullspeed with sound, just too lazy to do a video to show it to you though
but it runs very well. (especially the last version)

I am doing a video of it now. I will be up in a few hours. Nothing but praises to you and David Knight.
Title: Re: Gameblabla's Oswan
Post by: gameblabla on October 26, 2015, 09:49:58 pm
Thanks for your vid, Qbert !
Seeing you struggling with the menu made me a little sad so i have done a few changes :
- You can press the shoulder buttons to go up and down 5 times.
- Put "Gameblabla's Oswan" in the menu, just to make sure you are indeed using this emulator and not something else.
- Some minor changes.

Cheers
Title: Re: Gameblabla's Oswan
Post by: care16la20 on October 28, 2015, 02:27:43 pm


Hi, nice, would be possible to add on the control swap the option to swap the D-Pad with Stick and leave the stick mapped on the buttons (for ex. in judgement silver sword, the control of the ship would be on d-pad and the shooting on the buttons )
Title: Re: Gameblabla's Oswan
Post by: gameblabla on October 29, 2015, 06:06:41 am


Hi, nice, would be possible to add on the control swap the option to swap the D-Pad with Stick and leave the stick mapped on the buttons (for ex. in judgement silver sword, the control of the ship would be on d-pad and the shooting on the buttons )
Then what the stick would be for ?
Could at least show me how i should map the Wonderswan buttons to the GCW0 ?
Thanks

(The Wonderswan has two Dpad called X and Y along with an Option button and 2 buttons)
Title: Re: Gameblabla's Oswan
Post by: care16la20 on October 29, 2015, 02:14:38 pm


Hi, nice, would be possible to add on the control swap the option to swap the D-Pad with Stick and leave the stick mapped on the buttons (for ex. in judgement silver sword, the control of the ship would be on d-pad and the shooting on the buttons )
Then what the stick would be for ?
Could at least show me how i should map the Wonderswan buttons to the GCW0 ?
Thanks
(The Wonderswan has two Dpad called X and Y along with an Option button and 2 buttons)

Hi
Simple , in this case the D-Pad is the ship movement and 4 buttons are the shotting commands...

No need to have the stick on a game like this

The reason is simple : The stick is a little bit fragile so I avoid using it for something that is not a mouse pointer

This option also would be cool probably for the music game which i dont remember the name
Title: Re: Gameblabla's Oswan
Post by: gameblabla on November 06, 2015, 10:42:42 pm
Sorry guys,
i was just too sleepy so i have not done much but i have updated my emulator and it has
a new control sheme called 'Swap everything" which does exactly what care16la20 said.
Title: Re: Gameblabla's Oswan
Post by: care16la20 on November 07, 2015, 06:08:31 pm
Sorry guys,
i was just too sleepy so i have not done much but i have updated my emulator and it has
a new control sheme called 'Swap everything" which does exactly what care16la20 said.

Hi,

Very nice; Now all control swap possibilities are covered

There is one thing I noticed: On the previous version, the gfx had some kind of a filter to make the graphics smooth when selecting keep aspect ratio... In this version this doesnt seems to be enabled so the gfx looks a little blocky
Title: Re: Gameblabla's Oswan
Post by: gameblabla on November 13, 2015, 11:21:50 pm
Quote
There is one thing I noticed: On the previous version, the gfx had some kind of a filter to make the graphics smooth when selecting keep aspect ratio... In this version this doesnt seems to be enabled so the gfx looks a little blocky
That was an old dev version that had IPU scaling : i tried to bring it back but i (miserably) failed.
IPU scaling on GCW0 with the SDL port is very tricky because it does not like playing with resolutions lower than the screen's native resolution.
(That's how Mednafen-GCW0 got its IPU scaling support broken from one release to another)
Title: Re: Gameblabla's Oswan
Post by: care16la20 on November 15, 2015, 02:29:40 pm
Quote
There is one thing I noticed: On the previous version, the gfx had some kind of a filter to make the graphics smooth when selecting keep aspect ratio... In this version this doesnt seems to be enabled so the gfx looks a little blocky
That was an old dev version that had IPU scaling : i tried to bring it back but i (miserably) failed.
IPU scaling on GCW0 with the SDL port is very tricky because it does not like playing with resolutions lower than the screen's native resolution.
(That's how Mednafen-GCW0 got its IPU scaling support broken from one release to another)

Oh I hope you figure out how to enable the ipu because the difference is big ...
Regards
Title: Re: Gameblabla's Oswan
Post by: care16la20 on January 21, 2016, 12:40:29 pm
Hi, any news if the IPU scaling can be brought back ?

Thnks in advance
Title: Re: Gameblabla's Oswan
Post by: Spaceman on June 03, 2016, 06:08:19 pm
It's great all these emulators and all, but what would be really great is an actual working link.
You know, so people can actually use them.
There are actually very little working links to any of these OPK's on here.

Edit
Found some on the repository
Title: Re: Gameblabla's Oswan
Post by: gameblabla on June 07, 2016, 10:05:03 pm
It's great all these emulators and all, but what would be really great is an actual working link.
You know, so people can actually use them.
There are actually very little working links to any of these OPK's on here.

Sorry, i changed the link but forgot to update the post here.
In any case, it is availabe at http://gcw-zero.com (http://gcw-zero.com).
Title: Re: Gameblabla's Oswan
Post by: Spaceman on June 08, 2016, 04:24:16 pm
So which is the past version. The one in this thread is 44k the one on the repo is 52K.
Title: Re: Gameblabla's Oswan
Post by: gameblabla on June 09, 2016, 01:45:36 pm
So which is the past version. The one in this thread is 44k the one on the repo is 52K.
The one on the official repository is the older version but why would you want the old version ?
I must mention they have almost no difference other than the size. (due to some optimisations)
Title: Re: Gameblabla's Oswan
Post by: gameblabla on October 03, 2016, 09:03:30 am
Bump.
I took some time to fix the upscaling issue and it is now fixed !
Select "Keep Aspect" and it will use the IPU to upscale it to the GCW0's screen and apply linear filtering.

Of course, you need to download it again.

Enjoy
Title: Re: Gameblabla's Oswan
Post by: gameblabla on June 02, 2018, 03:12:54 pm
Hey,
i have uploaded a new version again. Unlike the previous one, it's mostly minor.
The audio code should be somewhat a little bit faster but other than that, not much had been done.
Title: Re: Gameblabla's Oswan
Post by: gameblabla on July 24, 2018, 03:57:19 am
Again, bump.

I looked around the RS-97 and Oswan was simply running too slow on it, so i've decided to look around it and fix some issues,
namely audio code and adding frameskip support. I'll soon add it to next firmware but since some games on the GCW0 might still not reach fullspeed, i've decided to turn on frameskip for that build as well.

This should make most games run properly on the GCW0, but it might introduce some speed issues.
Please give it a try, as my GCW0 is for now currently broken...
Title: Re: Gameblabla's Oswan
Post by: opt2not on July 24, 2018, 06:29:35 pm
Sweet!  Thanks for the update, I'll give it a try this week and give you some feedback.
Title: Re: Gameblabla's Oswan
Post by: opt2not on July 29, 2018, 04:21:49 am
Got a chance to spend an hour with your update, seems to work all good. Played a bit of Final fantasy, Golden Axe and Judgment Silversword. They all played and sounded great, but I?ll have to put more time into them to see if there are any slowdown or audio problems. But first, I gotta find some English translation hacks which I think are few and far between.
Title: Re: Gameblabla's Oswan
Post by: opt2not on August 01, 2018, 11:55:16 pm
Man, Judgment Silversword  is a fantastic shmup. Works really well on this version of Oswan.
Title: Re: Gameblabla's Oswan
Post by: gameblabla on August 03, 2018, 05:09:53 pm
Great to hear it works well now ! And i think that pretty much sums up Oswan, at least as far the GCW0 is concerned.. No idea how to fix the graphical glitches in some games like One piece though :/