gnuboy zip support?

This is a forum for discussing the feasibility of getting emulators, games, or other applications that have had their source released ported to the Dreamcast. Please read the Porting FAQ before starting a topic in this forum!
User avatar
Juan
DCEmu Commie
DCEmu Commie
Posts: 3398
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Sun Jun 15, 2003 11:47 pm
Location: Montevideo
Has thanked: 39 times
Been thanked: 3 times

gnuboy zip support?

Post by Juan »

Could someone add it?

source
User avatar
Christuserloeser
Moderator
Moderator
Posts: 5948
Joined: Thu Aug 28, 2003 12:16 am
Location: DCEvolution.net
Has thanked: 10 times
Been thanked: 0
Contact:

Post by Christuserloeser »

Nice idea. :)
Insane homebrew collector.
User avatar
Juan
DCEmu Commie
DCEmu Commie
Posts: 3398
Joined: Sun Jun 15, 2003 11:47 pm
Location: Montevideo
Has thanked: 39 times
Been thanked: 3 times

Post by Juan »

Supposedly it's already there but broken.
User avatar
Dreamcast4life
DCEmu Nutter
DCEmu Nutter
Posts: 846
Joined: Mon May 30, 2005 12:24 pm
Location: monticello,Indiana
Has thanked: 0
Been thanked: 0

Post by Dreamcast4life »

When it comes to Gnuboy,I would love an update. These are some "ideas" that would be an excellent addition to the Gnuboy emulator.

-Zip Support
-Better sound Quality
-Customizable Button mapping
-Fixed colors

I know GB emulators aren't the talk to the town but there is so much left to be improved and if I had the coding ability....I would give it a whack but,I don't. All that is left is for me to wish for it and leave it at that.
Have you played dreamcast today?
User avatar
emptythought
DC Developer
DC Developer
Posts: 2015
Joined: Wed Jan 30, 2002 9:14 am
Location: UNITED STATES NRN
Has thanked: 0
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought »

I just got gnuboy compiled with KOS 1.3 after a couple hours of digging. It run and displays the Loading screen but crashes soon after. I'll see if I can get it fully running first before trying anything else.
law56ker
DCEmu Cool Poster
DCEmu Cool Poster
Posts: 1034
Joined: Wed Oct 17, 2001 7:44 pm
Has thanked: 0
Been thanked: 1 time

Re: gnuboy zip support?

Post by law56ker »

There are a lot of good games for gameboy despite what some may think. Games back then had to have a great emphasis on game-play. I love all the fun puzzle games.
User avatar
Christuserloeser
Moderator
Moderator
Posts: 5948
Joined: Thu Aug 28, 2003 12:16 am
Location: DCEvolution.net
Has thanked: 10 times
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by Christuserloeser »

fackue wrote:I just got gnuboy compiled with KOS 1.3 after a couple hours of digging. It run and displays the Loading screen but crashes soon after. I'll see if I can get it fully running first before trying anything else.
Was about to post a few lines but this should do: :D
Insane homebrew collector.
User avatar
emptythought
DC Developer
DC Developer
Posts: 2015
Joined: Wed Jan 30, 2002 9:14 am
Location: UNITED STATES NRN
Has thanked: 0
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought »

There's an issue with the double buffering that makes the screen rapidly get drawn in the left, middle, and right side of the screen. I have no idea what's going on, it's happening when dc_vid_flip_fill_renderer() is called. Can anyone take a look at it and see if they can fix it?

Image
Attachments
dcgnuboy-1.0.3-0.6.zip
(1.22 MiB) Downloaded 520 times
User avatar
emptythought
DC Developer
DC Developer
Posts: 2015
Joined: Wed Jan 30, 2002 9:14 am
Location: UNITED STATES NRN
Has thanked: 0
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought »

Got it working!
User avatar
DuffMan
Psychotic DCEmu
Psychotic DCEmu
Posts: 718
Joined: Mon Nov 05, 2001 11:03 pm
Location: Pheonix - AZ
Has thanked: 0
Been thanked: 0

Re: gnuboy zip support?

Post by DuffMan »

Awesome! Great work, should this be posted on the front page?
OOH! YA! Duffman Says a lot of things.
|darc|
DCEmu Webmaster
DCEmu Webmaster
Posts: 16373
Joined: Wed Mar 14, 2001 6:00 pm
Location: New Orleans, LA
Has thanked: 103 times
Been thanked: 90 times
Contact:

Re: gnuboy zip support?

Post by |darc| »

It'll be posted as soon as a release is made :P
It's thinking...
User avatar
Christuserloeser
Moderator
Moderator
Posts: 5948
Joined: Thu Aug 28, 2003 12:16 am
Location: DCEvolution.net
Has thanked: 10 times
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by Christuserloeser »

Give the man some time :wink:

Personally I would love to have an an option to turn off the bilinear filtering. Also, there was a bug that made it impossible to load any more games after you loaded about a dozen ROMs.
Insane homebrew collector.
User avatar
emptythought
DC Developer
DC Developer
Posts: 2015
Joined: Wed Jan 30, 2002 9:14 am
Location: UNITED STATES NRN
Has thanked: 0
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought »

I didn't really do much besides add ZIP support, quzar's been basically helping me along the way and removed a bunch of code that was unnecessary. I have no idea what's wrong with the menu after loading a few roms - it ends up say "/cd/gb" and then you gotta restart. I also disabled bilinear filtering. I'm not sure what else I could possibly do on my own so I'm gonna go ahead and release it as-is.

Oh yeah, I also merged the pre-alpha release of gnuboy 1.0.4. They say it fixes a couple games.

Oh, I also added a VMU icon to the game saves.

One final thing. The "zip" support in the original release was actually gz support and should work in the original release as well as this one.

Sorry I couldn't do anything that I really wanted, like the options menu.
Attachments
gnuboy-1.0.4-src.zip
(163.37 KiB) Downloaded 573 times
gnuboy-1.0.4-bin.zip
(258.29 KiB) Downloaded 659 times
Ayla
DC Developer
DC Developer
Posts: 142
Joined: Thu Apr 03, 2008 7:01 am
Has thanked: 0
Been thanked: 4 times
Contact:

Re: gnuboy zip support?

Post by Ayla »

Hello,
Could you implement the RTC too?
I watched the source files and the RTC is here, but the functions are not called.
Thanks
User avatar
emptythought
DC Developer
DC Developer
Posts: 2015
Joined: Wed Jan 30, 2002 9:14 am
Location: UNITED STATES NRN
Has thanked: 0
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought »

The source is available so anyone can work on it. Implementing RTC would require knowledge of the GB hardware that I don't know. I welcome anyone to work on it if they want to because I deleted the source after I uploaded it here.
User avatar
Christuserloeser
Moderator
Moderator
Posts: 5948
Joined: Thu Aug 28, 2003 12:16 am
Location: DCEvolution.net
Has thanked: 10 times
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by Christuserloeser »

fackue wrote:I didn't really do much besides add ZIP support, quzar's been basically helping me along the way and removed a bunch of code that was unnecessary. I have no idea what's wrong with the menu after loading a few roms - it ends up say "/cd/gb" and then you gotta restart. I also disabled bilinear filtering. I'm not sure what else I could possibly do on my own so I'm gonna go ahead and release it as-is.

Oh yeah, I also merged the pre-alpha release of gnuboy 1.0.4. They say it fixes a couple games.

Oh, I also added a VMU icon to the game saves.

One final thing. The "zip" support in the original release was actually gz support and should work in the original release as well as this one.

Sorry I couldn't do anything that I really wanted, like the options menu.
No need for excuses. This is freakin' great! Thanks a bunch for this update! :D
Insane homebrew collector.
User avatar
emptythought
DC Developer
DC Developer
Posts: 2015
Joined: Wed Jan 30, 2002 9:14 am
Location: UNITED STATES NRN
Has thanked: 0
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought »

emptythought wrote:[...] I have no idea what's wrong with the menu after loading a few roms - it ends up say "/cd/gb" and then you gotta restart. [...]
I had some ideas for the bug.

Change the following piece of code in dc\dc_menu.c

Code: Select all

      /* FIX ME! to use snprintf */
      sprintf (fm_files[i].path, "%s/%s", path, de->name);
to

Code: Select all

      /* FIX ME! to use snprintf */
      fm_files[i].path = "";
      sprintf (fm_files[i].path, "%s/%s", path, de->name);
and compile it -- I don't know if that'll fix it but the fix about fm.files' path not getting cleared.

Sorry I can't really test it because I don't have a working compiler at the moment.
Stryfe
Psychotic DCEmu
Psychotic DCEmu
Posts: 577
Joined: Mon Aug 11, 2008 9:34 am
Location: Nowhere U.S.A.
Has thanked: 0
Been thanked: 0

Re: gnuboy zip support?

Post by Stryfe »

emptythought wrote:I welcome anyone to work on it if they want to because I deleted the source after I uploaded it here.
I missed this from a while back. Does this mean you, or Quzar, are no longer going to do anything else on gnuboy/DC?

... I just made a wiki edit, and I was going to ask a couple questions about it. One was if it was active, and the other...

Does anyone have any idea on whether Super GameBoy support could be added? (ie - The 'border', and/or the recoloring of the monochrome display.)
ImageImageImageImage
User avatar
emptythought
DC Developer
DC Developer
Posts: 2015
Joined: Wed Jan 30, 2002 9:14 am
Location: UNITED STATES NRN
Has thanked: 0
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought »

Yeah, it's active. The frame rate is 60Hz -- I didn't really think about it when I added the screenshot.
User avatar
emptythought
DC Developer
DC Developer
Posts: 2015
Joined: Wed Jan 30, 2002 9:14 am
Location: UNITED STATES NRN
Has thanked: 0
Been thanked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought »

Here's an update for the menu bug -- hope it works; lxdream doesn't support multiple key presses so I didn't get to test it but, it ran the demo I threw at it.

http://dchelp.dcemulation.org/downloads ... oy_104a.7z
http://dchelp.dcemulation.org/downloads ... 04a_src.7z
Attachments
dcgnuboy_104a.7z
(213.85 KiB) Downloaded 519 times
dcgnuboy_104a_src.7z
(141.91 KiB) Downloaded 488 times
Post Reply