Welcome
Welcome to a320

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

[EMULATOR] Sega Master System/Game Gear emulator for Dingoo

Only for posting new releases of Dingoo OS based software.

Moderator: Moderators

Re: Sega Master System/Game Gear emulator for Dingoo

Postby MythomizeR on Mon Aug 17, 2009 12:08 am

Fantastic alekmaul, thanks for the great speed-up news, and keep up the native software :-)
User avatar
MythomizeR
 
Posts: 25
Joined: Sun Aug 16, 2009 12:57 pm
Location: Qvixote's Earth

Re: Sega Master System/Game Gear emulator for Dingoo

Postby robbanl on Mon Aug 17, 2009 7:12 am

I asked this before, but i will ask it again. Will you add load/save state to the emulators you provide in the future?

Thanks for all your efforts.
robbanl
 
Posts: 40
Joined: Thu Jul 23, 2009 8:39 am

Re: Sega Master System/Game Gear emulator for Dingoo

Postby Yongary on Mon Aug 17, 2009 10:58 pm

I've played around with the emulator and I have to say that I'm quite impressed. It's really good; the only problems I have with it are the same that other people have complained about: the sound, slowdown on certain games (but not all of them), and problems with sprite glitches in Space Harrier. Other than those, it's great. My only suggestion for version 1.1 of SMSGoo is that it have the ability to run Gamegear games fullscreen;

Great job, and good luck on your work on the PCE emulator. :D
Yongary
 
Posts: 36
Joined: Tue Mar 31, 2009 11:42 pm

Re: Sega Master System/Game Gear emulator for Dingoo

Postby alekmaul on Tue Aug 18, 2009 6:06 am

Well, i don't think it's a good idea to rescale GG fullscreen, it will be too big.
Well, just a little wip :
- actually, sound volume can't be ajust so much but i don't know what to do, also i hear some little glitch but it not so important actually.
- text menu is ok (thanks to Mame4All font ^^)
- rescale algo is ok and fast, i'm happy :)
- Just have to add load/save state and i will release a new version for test.

Also it's SmsGGOO, not SMSGoo :P ! :D !
alekmaul
 
Posts: 51
Joined: Sat Jun 06, 2009 7:16 am
Location: France

Re: Sega Master System/Game Gear emulator for Dingoo

Postby Atrushan on Tue Aug 18, 2009 7:33 am

Thanks! :lol:

Looking forward for other stuff you can do for Dingoo!
User avatar
Atrushan
 
Posts: 30
Joined: Mon Aug 17, 2009 2:24 pm
Location: Philippines

Re: Sega Master System/Game Gear emulator for Dingoo

Postby SiENcE on Tue Aug 18, 2009 9:16 am

Hey,

the stablility is really good!

Any chance you can take a fast and nice looking rescale algo(s)? Maybe from scummvm or dosbox, they have lots of it. Maybe that i can choose, which rescaler i want to use.

Any chance for zip support? That i can compress my rom as a zip, and call it for example "*.smsz" ?
You can checkout the zlib code here: svn://zwischenwelt.org:20684/dingoo/pie320/source

Just do:

gameengine.cpp
Code: Select all
#include "../zlib/unzip/unzip.h"
#define UNZIP_OK 0
#define UNZIP_ERROPEN 1
#define UNZIP_ERRNOTFOUND 2
#define UNZIP_ERRCREATE 3
#define UNZIP_ERRREAD 4
#define UNZIP_ERRWRITE 5

bool GameEngine::loadfromZipFile( const char * name, unsigned char * buf, int len, bool showErrorMsg = false )
{
   unzFile uf = 0;
   int result, bytes;
   char string[120];

   sprintf( string, "load file '%s' from zip!\n", name );
   LOG(_LS(string));

   uf = unzOpen( zipfile_path );
   if( !uf )
   {
      sprintf( string, "Cannot open file '%s' !\n", zipfile_path );
      LOG(_LS(string));
      return false;
   }

   LOG(_LS("unzLocateFile\n"));

   if( unzLocateFile( uf, name, 0 ) != UNZ_OK )
   {
      sprintf( string, "Can not find '%s' inside the zipfile !\n", name );
      LOG(_LS(string));
      unzCloseCurrentFile(uf);
      return false;
   }

   LOG(_LS("unzOpenCurrentFile\n"));

   if( unzOpenCurrentFile( uf) != UNZ_OK )
   {
      sprintf( string, "Can not open '%s' inside the zipfile !\n", name );
      LOG(_LS(string));
      unzCloseCurrentFile(uf);
      return false;
   }

   result = UNZIP_OK;

   LOG(_LS("unzReadCurrentFile\n"));

   bytes = unzReadCurrentFile( uf, buf, len );
   if( bytes < 0 )
   {
      sprintf( string, "Error reading %s %d!\n", name, bytes );
      LOG(_LS(string));
      return false;
   }

   LOG(_LS("unzCloseCurrentFile\n"));

   unzCloseCurrentFile( uf );

   LOG(_LS("End_UnzipFile=true\n"));
    return true;
}

//for example:
unsigned char   color[0x100];
loadfromZipFile( "filetoLoad.sms", color, sizeof(color), true)


gameengine.h
Code: Select all
public:
           bool   loadfromZipFile( const char * name, unsigned char * buf, int len, bool showErrorMsg );

//### data members:
public:
           char   *pac_rom_path;
SiENcE
 
Posts: 80
Joined: Wed Apr 29, 2009 9:19 am
Location: Berlin/Germany

Re: Sega Master System/Game Gear emulator for Dingoo

Postby alekmaul on Tue Aug 18, 2009 3:32 pm

Hi SiENcE,
As i said in the previous reply, the rescale engine is ok for me, fast and nice in my opinion.
About zip support, i don't know if it's really useful because sms games are small and only with one file.
alekmaul
 
Posts: 51
Joined: Sat Jun 06, 2009 7:16 am
Location: France

Re: Sega Master System/Game Gear emulator for Dingoo

Postby espontaneo on Tue Aug 18, 2009 4:22 pm

Zipped 8-bit roms may actually end up being bigger, because of the header file, so no point in that....
espontaneo
 
Posts: 138
Joined: Wed Jun 17, 2009 2:08 pm


Previous

Return to Dingoo OS Releases

Who is online

Users browsing this forum: No registered users and 0 guests