Author Topic: Gameblabla's Oswan  (Read 9939 times)

gameblabla (OP)

  • *
  • Posts: 467
Gameblabla's Oswan
« on: September 05, 2015, 11:15:18 pm »



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
Github (source code)
« Last Edit: June 07, 2016, 10:05:30 pm by gameblabla »

dmitry_smagin

  • *
  • Posts: 405
Re: Gameblabla's Oswan
« Reply #1 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

PS: Nice, I see some menu code I initially created for Handy/SDL menu which alekmaul borrowed later. :D
GCW-Zero prototype, Dingoo a320, Ritmix rzx-50, Dingoo a380, Xperia Play

gameblabla (OP)

  • *
  • Posts: 467
Re: Gameblabla's Oswan
« Reply #2 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
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.

care16la20

Re: Gameblabla's Oswan
« Reply #3 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

gameblabla (OP)

  • *
  • Posts: 467
Re: Gameblabla's Oswan
« Reply #4 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.

care16la20

Re: Gameblabla's Oswan
« Reply #5 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....

Surkow

  • * Administrator
  • S
  • Posts: 544
Re: Gameblabla's Oswan
« Reply #6 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.

gameblabla (OP)

  • *
  • Posts: 467
Re: Gameblabla's Oswan
« Reply #7 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.


I simulated the 1.3x res and this is how it should look like :

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

care16la20

Re: Gameblabla's Oswan
« Reply #8 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.


I simulated the 1.3x res and this is how it should look like :

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....

gameblabla (OP)

  • *
  • Posts: 467
Re: Gameblabla's Oswan
« Reply #9 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 ?

qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: Gameblabla's Oswan
« Reply #10 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.


care16la20

Re: Gameblabla's Oswan
« Reply #11 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....
« Last Edit: September 10, 2015, 02:34:45 am by care16la20 »

zear

  • * Moderator
  • Posts: 2378
Re: Gameblabla's Oswan
« Reply #12 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.

gameblabla (OP)

  • *
  • Posts: 467
Re: Gameblabla's Oswan
« Reply #13 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, 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.
« Last Edit: September 10, 2015, 04:24:17 pm by gameblabla »

gameblabla (OP)

  • *
  • Posts: 467
Re: Gameblabla's Oswan
« Reply #14 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

 

Post a new topic