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: 3344
Joined: Sun Jun 15, 2003 11:47 pm
Location: Montevideo
Has liked: 15 times
Been liked: 0

gnuboy zip support?

Post by Juan » Tue Mar 06, 2007 7:47 pm

Could someone add it?

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

Post by Christuserloeser » Wed Mar 07, 2007 12:25 am

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

Post by Juan » Wed Mar 07, 2007 11:49 am

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 liked: 0
Been liked: 0

Post by Dreamcast4life » Sat Mar 17, 2007 10:10 pm

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 liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought » Wed Apr 02, 2008 3:57 am

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: 1029
Joined: Wed Oct 17, 2001 7:44 pm
Has liked: 0
Been liked: 0

Re: gnuboy zip support?

Post by law56ker » Wed Apr 02, 2008 4:09 am

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: 5936
Joined: Thu Aug 28, 2003 12:16 am
Location: DCEvolution.net
Has liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by Christuserloeser » Wed Apr 02, 2008 5:01 am

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 liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought » Wed Apr 02, 2008 5:41 pm

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 436 times
User avatar
emptythought
DC Developer
DC Developer
Posts: 2015
Joined: Wed Jan 30, 2002 9:14 am
Location: UNITED STATES NRN
Has liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought » Thu Apr 03, 2008 12:33 am

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

Re: gnuboy zip support?

Post by DuffMan » Thu Apr 03, 2008 1:02 am

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

Re: gnuboy zip support?

Post by |darc| » Thu Apr 03, 2008 1:06 am

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

Re: gnuboy zip support?

Post by Christuserloeser » Fri Apr 04, 2008 5:23 am

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 liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought » Mon Apr 07, 2008 12:34 am

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 458 times
gnuboy-1.0.4-bin.zip
(258.29 KiB) Downloaded 549 times
Ayla
Insane DCEmu
Insane DCEmu
Posts: 140
Joined: Thu Apr 03, 2008 7:01 am
Has liked: 0
Been liked: 1 time
Contact:

Re: gnuboy zip support?

Post by Ayla » Fri May 09, 2008 8:14 am

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 liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought » Fri May 09, 2008 2:55 pm

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: 5936
Joined: Thu Aug 28, 2003 12:16 am
Location: DCEvolution.net
Has liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by Christuserloeser » Fri May 23, 2008 7:08 pm

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 liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought » Thu Apr 01, 2010 5:51 pm

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 liked: 0
Been liked: 0

Re: gnuboy zip support?

Post by Stryfe » Thu Apr 01, 2010 6:34 pm

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 liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought » Fri Apr 02, 2010 11:29 am

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 liked: 0
Been liked: 0
Contact:

Re: gnuboy zip support?

Post by emptythought » Sun Aug 08, 2010 6:17 pm

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 400 times
dcgnuboy_104a_src.7z
(141.91 KiB) Downloaded 378 times
Post Reply