Game & Watch Core

User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: Game & Watch Core

Unread post by LamerDeluxe »

lamarax wrote: Sat Jun 11, 2022 7:45 pm
LamerDeluxe wrote: Sat Jun 11, 2022 7:00 pm [...] it would indeed be great if the LCD sprites could cast shadows as well, though that might be tricky to do well in fpga.
Not to mention simulating liquid crystal "ripples" if you push too hard on the screen :mrgreen:
Yet it will have to be done for preservation purposes :D
Larn Conner
Posts: 11
Joined: Sat Apr 30, 2022 1:41 am
Has thanked: 5 times
Been thanked: 4 times

Re: Game & Watch Core

Unread post by Larn Conner »

LamerDeluxe wrote: Sat Jun 11, 2022 7:00 pm Great to have a complete G&W SM-510 pack. I also prefer backgrounds with shadows and it would indeed be great if the LCD sprites could cast shadows as well, though that might be tricky to do well in fpga.
I noticed Gameboy has an option for all the sprites casting a shadow. I'm wondering if that could be done for GNW core as well?
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: Game & Watch Core

Unread post by LamerDeluxe »

Larn Conner wrote: Sat Jun 11, 2022 10:04 pm
LamerDeluxe wrote: Sat Jun 11, 2022 7:00 pm Great to have a complete G&W SM-510 pack. I also prefer backgrounds with shadows and it would indeed be great if the LCD sprites could cast shadows as well, though that might be tricky to do well in fpga.
I noticed Gameboy has an option for all the sprites casting a shadow. I'm wondering if that could be done for GNW core as well?
I think that might be possible.
User avatar
lamarax
Top Contributor
Posts: 472
Joined: Wed Nov 11, 2020 6:28 pm
Has thanked: 33 times
Been thanked: 202 times

Re: Game & Watch Core

Unread post by lamarax »

Larn Conner wrote: Sat Jun 11, 2022 10:04 pm I noticed Gameboy has an option for all the sprites casting a shadow. I'm wondering if that could be done for GNW core as well?
Game Boy renders in a square pixel grid, hence the particular mask filter producing that "drop shadow" effect has been possible (that's why it requires both horizontal and vertical integer scaling for it to work).

I highly doubt something similar can be tailored to the GnW core from a computation budget standpoint (no "pixels" per se here), but hey, with MiSTer genius devs, I've learned to never say never :)
Larn Conner
Posts: 11
Joined: Sat Apr 30, 2022 1:41 am
Has thanked: 5 times
Been thanked: 4 times

Re: Game & Watch Core

Unread post by Larn Conner »

lamarax wrote: Sun Jun 12, 2022 5:53 pm
Larn Conner wrote: Sat Jun 11, 2022 10:04 pm I noticed Gameboy has an option for all the sprites casting a shadow. I'm wondering if that could be done for GNW core as well?
Game Boy renders in a square pixel grid, hence the particular mask filter producing that "drop shadow" effect has been possible (that's why it requires both horizontal and vertical integer scaling for it to work).

I highly doubt something similar can be tailored to the GnW core from a computation budget standpoint (no "pixels" per se here), but hey, with MiSTer genius devs, I've learned to never say never :)
I certainly believe one day it may be in-game.

Wish I could have learned to program, I'd love to work on some unloved systems myself and bring them to the MiSTer, but I sucked a programming classes and self-taught never got me very far, always had questions and nobody to answer them.

Update 3: vector graphics, heard of them, never worked with them. Not sure if shadows of a lighter color could be added to the SVG file directly.
Ashfall
Posts: 42
Joined: Thu Aug 05, 2021 2:56 am
Has thanked: 13 times
Been thanked: 28 times

Re: Game & Watch Core

Unread post by Ashfall »

It's easy to edit SVG graphics in Inkscape, and adding a drop shadow is simple.
I did some tinkering and found that it looks great, but the core does not show the shadows once compiled. I think the rom file is looking for specific elements in the SVG and adding the drop shadow layer breaks it.
Larn Conner
Posts: 11
Joined: Sat Apr 30, 2022 1:41 am
Has thanked: 5 times
Been thanked: 4 times

Re: Game & Watch Core

Unread post by Larn Conner »

Ashfall wrote: Mon Jun 13, 2022 2:31 pm It's easy to edit SVG graphics in Inkscape, and adding a drop shadow is simple.
I did some tinkering and found that it looks great, but the core does not show the shadows once compiled. I think the rom file is looking for specific elements in the SVG and adding the drop shadow layer breaks it.
Sounds like you're close. Hopefully there's a solution.
Ashfall
Posts: 42
Joined: Thu Aug 05, 2021 2:56 am
Has thanked: 13 times
Been thanked: 28 times

Re: Game & Watch Core

Unread post by Ashfall »

Larn Conner wrote: Mon Jun 13, 2022 2:36 pm
Ashfall wrote: Mon Jun 13, 2022 2:31 pm It's easy to edit SVG graphics in Inkscape, and adding a drop shadow is simple.
I did some tinkering and found that it looks great, but the core does not show the shadows once compiled. I think the rom file is looking for specific elements in the SVG and adding the drop shadow layer breaks it.
Sounds like you're close. Hopefully there's a solution.
I was able to get it to display shadows in MiSTer after compiling, but it looks terrible. There is pixel corruption everywhere.
Also, the LCD shadows being in front of the background png completely spoils the effect.

We will have to be satisfied with only the background png containing shadows, not the lcd graphics in the svg file. The core would need to be updated to handle this stuff, possibly the rom files too.
MrMister1985
Posts: 49
Joined: Sun Jan 09, 2022 5:21 pm
Has thanked: 19 times

Re: Game & Watch Core

Unread post by MrMister1985 »

Thank you to all for adding GnW to MiSTer! Now I think if the MiSTer Handheld gets released, i doubt ill wanna play any other core then! lol :D
User avatar
scrdcow
Posts: 7
Joined: Thu Jun 25, 2020 12:42 am
Has thanked: 2 times

Re: Game & Watch Core

Unread post by scrdcow »

I also really love the core! Not sure about any limitations. But it would be neat with a border/frame on/off option. So you can choose to show the full unit if you want.
Jegriva
Posts: 83
Joined: Wed Mar 10, 2021 10:06 pm
Has thanked: 51 times
Been thanked: 9 times

Re: Game & Watch Core

Unread post by Jegriva »

Hello, could you please suggest me some good INI Settings with VGA Scaler to output G&W on my CRT?
User avatar
eLLuiGi
Posts: 18
Joined: Tue Jul 05, 2022 8:55 am
Has thanked: 11 times
Been thanked: 11 times

Re: Game & Watch Core

Unread post by eLLuiGi »

You need first the beta vga output core available on discord ;-)
Reg
Posts: 126
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 63 times
Been thanked: 34 times

Re: Game & Watch Core

Unread post by Reg »

Has anyone configured the original two screen Donkey Kong to work on this core ?

Many thanks.
Ashfall
Posts: 42
Joined: Thu Aug 05, 2021 2:56 am
Has thanked: 13 times
Been thanked: 28 times

Re: Game & Watch Core

Unread post by Ashfall »

Reg wrote: Mon Aug 22, 2022 11:50 pm Has anyone configured the original two screen Donkey Kong to work on this core ?

Many thanks.
Search for "18 Game & Watch Games For Mister FPGA" on archive dot org.
MadDog
Posts: 55
Joined: Sat Jun 20, 2020 9:30 pm
Has thanked: 32 times
Been thanked: 31 times

Re: Game & Watch Core

Unread post by MadDog »

I can't seem to figure this core out. When I load up any game, it just shows all sprites on screen, kind of like when you pop a new battery into the real thing. I cannot get past this, no matter what button I press on the keyboard. :oops:
User avatar
Count Duckula
Posts: 19
Joined: Tue Sep 14, 2021 1:50 pm
Has thanked: 36 times
Been thanked: 12 times

Re: Game & Watch Core

Unread post by Count Duckula »

MadDog wrote: Fri Aug 26, 2022 1:28 am I can't seem to figure this core out. When I load up any game, it just shows all sprites on screen, kind of like when you pop a new battery into the real thing. I cannot get past this, no matter what button I press on the keyboard. :oops:
'A' button should start game A and 'B' button game B, once you've mapped the buttons in the 'Define GameNWatch buttons' section.
Reg
Posts: 126
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 63 times
Been thanked: 34 times

Re: Game & Watch Core

Unread post by Reg »

Ashfall wrote: Thu Aug 25, 2022 12:37 pm
Reg wrote: Mon Aug 22, 2022 11:50 pm Has anyone configured the original two screen Donkey Kong to work on this core ?

Many thanks.
Search for "18 Game & Watch Games For Mister FPGA" on archive dot org.
MANY MANY THANKS !

Honestly - really apprichated and happy as a pig in poo playing this ! :) :) :)
8bitAndy
Posts: 40
Joined: Wed Jun 30, 2021 3:03 pm
Has thanked: 17 times
Been thanked: 6 times

Re: Game & Watch Core

Unread post by 8bitAndy »

Count Duckula wrote: Fri Aug 26, 2022 2:41 am
MadDog wrote: Fri Aug 26, 2022 1:28 am I can't seem to figure this core out. When I load up any game, it just shows all sprites on screen, kind of like when you pop a new battery into the real thing. I cannot get past this, no matter what button I press on the keyboard. :oops:
'A' button should start game A and 'B' button game B, once you've mapped the buttons in the 'Define GameNWatch buttons' section.
I think this only works when using a USB controller. Mapping the buttons to the keyboard doesn't work for me.
Reg
Posts: 126
Joined: Mon Mar 22, 2021 11:38 am
Has thanked: 63 times
Been thanked: 34 times

Re: Game & Watch Core

Unread post by Reg »

Ashfall wrote: Thu Aug 25, 2022 12:37 pm
Reg wrote: Mon Aug 22, 2022 11:50 pm Has anyone configured the original two screen Donkey Kong to work on this core ?

Many thanks.
Search for "18 Game & Watch Games For Mister FPGA" on archive dot org.
Damn this plays soo well.

I play a few games in this video, not just Donkey Kong - but some of these are bloody hard...

0398 - Logo.png
0398 - Logo.png (1.15 MiB) Viewed 9566 times

https://youtu.be/FSV2JhItY8g
User avatar
Count Duckula
Posts: 19
Joined: Tue Sep 14, 2021 1:50 pm
Has thanked: 36 times
Been thanked: 12 times

Re: Game & Watch Core

Unread post by Count Duckula »

8bitAndy wrote: Sat Aug 27, 2022 3:12 pm
Count Duckula wrote: Fri Aug 26, 2022 2:41 am
MadDog wrote: Fri Aug 26, 2022 1:28 am I can't seem to figure this core out. When I load up any game, it just shows all sprites on screen, kind of like when you pop a new battery into the real thing. I cannot get past this, no matter what button I press on the keyboard. :oops:
'A' button should start game A and 'B' button game B, once you've mapped the buttons in the 'Define GameNWatch buttons' section.
I think this only works when using a USB controller. Mapping the buttons to the keyboard doesn't work for me.
Yeah you're right, sorry about that.
It lets you define the buttons but cant get the KB to behave as controller 1. I Couldnt get the 'KBD TOGGLE' feature working.
User avatar
Moondandy
Top Contributor
Posts: 535
Joined: Mon May 25, 2020 2:14 am
Location: Edinburgh, Scotland
Has thanked: 32 times
Been thanked: 102 times

Re: Game & Watch Core

Unread post by Moondandy »

Has anyone had any luck getting other non G&W LCD games built and working with the core?
breiztiger
Top Contributor
Posts: 468
Joined: Sun May 24, 2020 7:17 pm
Has thanked: 35 times
Been thanked: 99 times

Re: Game & Watch Core

Unread post by breiztiger »

hi no one to complet this great core (SM5A for Octopus ...) ?

CPC-Power Staff
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: Game & Watch Core

Unread post by LamerDeluxe »

I hope Pierco will find some time again at some point to continue development on it, as it is a really cool core.

Jegriva
Posts: 83
Joined: Wed Mar 10, 2021 10:06 pm
Has thanked: 51 times
Been thanked: 9 times

Re: Game & Watch Core

Unread post by Jegriva »

Hi,

I am using a CRT via RGB Scart, what .ini settings should I use to play the G&W?

hitm4n
Posts: 116
Joined: Sat Jan 30, 2021 9:20 am
Has thanked: 3 times
Been thanked: 25 times

Re: Game & Watch Core

Unread post by hitm4n »

breiztiger wrote: Sat Apr 15, 2023 9:43 am

hi no one to complet this great core (SM5A for Octopus ...) ?

+1 on this. My sister and I had Octopus and Parachute back in 1981 i think. Mine was Octopus and after playing all the others i still think its one of the best. 2 screen Donkey Kong is brilliant though, and Marios Cement Factory, Mario Bros.... Hell they're all great :)

User avatar
Newsdee
Top Contributor
Posts: 873
Joined: Mon May 25, 2020 1:07 am
Has thanked: 104 times
Been thanked: 239 times

Re: Game & Watch Core

Unread post by Newsdee »

I'd love to see Super Mario Bros and the Zelda G&W games on this core... although no idea what kind of hardware it would need on top of what already exists

User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: Game & Watch Core

Unread post by LamerDeluxe »

This new alternative Game and Watch core is really good, nice resolution and it currently supports more games: https://github.com/agg23/fpga-gameandwatch

There's a recent pack for it at the archive.

User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: Game & Watch Core

Unread post by LamerDeluxe »

It really looks fantastic on my iPad display. I'm currently discussing options to reduce the black borders with horizontal double-screen and single screen games with the developer.

IMG_20230701_093322.jpg
IMG_20230701_093322.jpg (3.87 MiB) Viewed 7209 times
IMG_20230701_093228.jpg
IMG_20230701_093228.jpg (3.25 MiB) Viewed 7209 times
IMG_20230701_093434.jpg
IMG_20230701_093434.jpg (3.74 MiB) Viewed 7209 times
User avatar
bazza_12
Top Contributor
Posts: 443
Joined: Sun May 24, 2020 7:49 pm
Location: Yorkshire, UK
Has thanked: 263 times
Been thanked: 121 times

Re: Game & Watch Core

Unread post by bazza_12 »

it's a great core, i love the double screens, you're right about the borders though..

The music is reversible but time is not. Turn back. Turn back
User avatar
LamerDeluxe
Top Contributor
Posts: 1239
Joined: Sun May 24, 2020 10:25 pm
Has thanked: 887 times
Been thanked: 284 times

Re: Game & Watch Core

Unread post by LamerDeluxe »

bazza_12 wrote: Sat Jul 01, 2023 1:09 pm

it's a great core, i love the double screens, you're right about the borders though..

I've suggested a resolution of 720 x 540 instead of 720 x 720 for the single-screen and horizontal dual-screen games. That should allow the scaler to fully scale up to a 4:3 display aspect ratio.

Hopefully syncing to the MiSTer clock, LCD shadows and high score saving could be added at some point. Bezels showing the handhelds themselves would be great as well.

Post Reply