Welcome!

Final Burn Neo => FBN Development => Topic started by: CaptainCPS on May 15, 2007, 05:00:32 PM

Title: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: CaptainCPS on May 15, 2007, 05:00:32 PM
Well I just decided to release the most stable Source + Binary of FB Alpha with NeoGeo CD support, I have to thank IQ_132 because he is the one who started porting the code from NEOCD/ SDL and other few open source NeoGeo CD emus. The CDDA code I implemented is working fine 'afaik' in the MinGW build, ...have to say that the VC build which includes support for the Experimental DirectX9 Blitter is working but it freezes sometimes when is starting the CD drive, in my time checking I found out that this is probably due to some stuff in the SDL libs for VC, since SDL libs for MinGW are working fine.

SDL is used in these builds but, SDL.dll is NOT needed in the FBA root directory  :smilie:.

For those who compile their own builds, you must have the SDL libs, there are two packs, the MinGW libs, and the VC libs and they can be found in the SDL official site. If someone have probs when compiling or setting up the environment please let me know so I can help you.

Note: The only thing I didn't fix when I ported the code from the one IQ sent me was the NeoGeo CD main screen not appearing when there is no disc, I dont know why, maybe is because there is another CD check via SDL, if someone can check that issue it would be really appreciated.

NeoGeo CD - Metal Slug (Main Title)

(http://fightercore.freepgs.com/files/FBANGCD_01.jpg)

Download the files right here (Unicode builds only):

fba_src_029671_ngcd.7z (http://fightercore.freepgs.com/files/fba_src_029671_ngcd.7z) [~1.22MB]

fba_mingw_bin_029671_ngcd.7z (http://fightercore.freepgs.com/files/fba_mingw_bin_029671_ngcd.7z) [~1.04MB]

fba_vc_bin_029671_ngcd.7z (http://fightercore.freepgs.com/files/fba_vc_bin_029671_ngcd.7z) [~1.25MB]

SeeYaa!
:biggrin:


Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: iq_132 on May 15, 2007, 05:57:00 PM
Nice work Cap! I did notice one thing, it does, in fact, require sdl.dll for me.  (mingw build)

oh, btw, please note that while the Assembly 68k Cpu core does function for NeoCD, it's not
extensively tested and probably will cause some bugs.
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: CaptainCPS on May 15, 2007, 07:43:24 PM
Oopps!! You're right IQ ^^u , the SDL.DLL is needed for both builds and must be placed in the root dir where fba.exe is located.

I've tested the builds on my other PC and there it gave me the SDL.DLL message, maybe here it doesn't show me the error because it find the sdl.dll in other place  :p.

SeeYaa!
 :biggrin:
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: lxd_bruce on May 15, 2007, 10:24:54 PM
How to use this to play NeoCD Games?

because I can't find any command to load NeoCD Iso/CD :confused:
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: iq_132 on May 15, 2007, 10:39:43 PM
You need the bios file for the neocd and then just run Neo Geo CD from the game select menu.
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: lxd_bruce on May 15, 2007, 11:33:27 PM
THX IQ  :cool:

But I find another problem. There is no sound effect :confused:
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: CaptainCPS on May 16, 2007, 12:34:13 AM
THX IQ  :cool:

But I find another problem. There is no sound effect :confused:

I mentioned it here...

http://neo-source.com/index.php?topic=571.msg5783#msg5783

, and to clear things, this build of FBA with support of NeoGeo CD doesn't emulate it 100%, that means there may be, bad GFX or bad FX Sounds in some games, its a WIP version and for now this is the best IQ and I could do, maybe Treble Winner, KEV or Jan can take a look to what needs fixing in the code, that btw I think most of the problems are related to Memory Mapping and the Memory Map Handlers, but Im not sure so I cant say it is because of those mentioned stuff.

@IQ_132: Now that I mentioned it here, I tried changing the following in 'neocdInit()'...

Quote
   if (nRet == 0) {

      SekMapHandler(4,  0xE00000, 0xFFFFFF, SM_WRITE);
      SekSetWriteWordHandler(4,       neocdWriteWord);
      SekSetWriteByteHandler(4,       neocdWriteByte);

      SekMapHandler(4,  0xE00000, 0xFFFFFF,  SM_READ);
      SekSetReadWordHandler(4,         neocdReadWord);
      SekSetReadByteHandler(4,         neocdReadByte);
   }


to this...

Quote
   if (nRet == 0) {

      SekMapHandler(4,  0x200000, 0x2FFFFF, SM_WRITE);
      SekSetWriteWordHandler(4,       neocdWriteWord);
      SekSetWriteByteHandler(4,       neocdWriteByte);

      SekMapHandler(4,  0x200000, 0x2FFFFF,  SM_READ);
      SekSetReadWordHandler(4,         neocdReadWord);
      SekSetReadByteHandler(4,         neocdReadByte);
   }


...and the FX sounds now play fine in Mslug1, 2 and Aero Fighters 2 (AF2 was not playing any FX sound and with the changes it does  :p), but then King of Fighter's are not working fine , and Mslug 1, 2 present GFX problems...thats why I think Memory Mapping and Handlers have to to with sound issues and GFX issues too.

IQ, Do you think this could be true?, I mean that GFX and FX sounds problems are related to what I mentioned?

SeeYaa!
 :biggrin:
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: lxd_bruce on May 16, 2007, 12:34:37 AM
 :redface:
another problem: last blade 2 can't be emulated.
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: Barry Harris on May 16, 2007, 02:01:08 AM
One is probably a mirror? Try using this and seeing what happens.

Code: [Select]
if (nRet == 0) {
      SekMapHandler(4,  0x200000, 0x2FFFFF, SM_RAM);
      SekSetWriteWordHandler(4,       neocdWriteWord);
      SekSetWriteByteHandler(4,       neocdWriteByte);
      SekSetReadWordHandler(4,         neocdReadWord);
      SekSetReadByteHandler(4,         neocdReadByte);

      SekMapHandler(5,  0xE00000, 0xFFFFFF, SM_RAM);
      SekSetWriteWordHandler(5,       neocdWriteWord);
      SekSetWriteByteHandler(5,       neocdWriteByte);
      SekSetReadWordHandler(5,         neocdReadWord);
      SekSetReadByteHandler(5,         neocdReadByte);
}
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: iq_132 on May 16, 2007, 06:40:23 AM
In any of the emulators I've seen the source for, none of them have a mirror located there. :S
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: KingHanco on May 16, 2007, 08:24:52 AM
View Point isn't playable and the speed is lagging. Use 50% of computer speed on the option to have normal speed. It might be an hack that I have. Jan said it probably bad anyway because the size.

Metal Slug have an cutting out sounds effects issue. I didn't mess with the mp3 tracks because it didn't come with a converter bat file. Also there wasn't a cue file with those. So I pass on this one. It probably bad too.

Jan told me that those dumps will not be 100% perfect.
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: KOF2112 on May 16, 2007, 11:08:33 AM
 :biggrin:
Thank CaptainCPS-X

NEO CD game does not have the background sound
 :confused:
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: CaptainCPS on May 16, 2007, 11:29:46 AM
View Point isn't playable and the speed is lagging. Use 50% of computer speed on the option to have normal speed. It might be an hack that I have. Jan said it probably bad anyway because the size.

Metal Slug have an cutting out sounds effects issue. I didn't mess with the mp3 tracks because it didn't come with a converter bat file. Also there wasn't a cue file with those. So I pass on this one. It probably bad too.

Jan told me that those dumps will not be 100% perfect.

The current FX sound problems are not related with the ROMs / Dumps, those problems are because of the way emulation is done, If the dump were bad they would not play fine in the other emulators  :rolleyes:,  please understand that this version of FBA with NeoGeo CD is WIP.

Btw, have you tried other NeoGeo CD emulators?... did you know that Sound FX like gunshots, explosions, etc...have nothing to do with the CDDA and audio tracks?

Quote
Metal Slug have an cutting out sounds effects issue. I didn't mess with the mp3 tracks because it didn't come with a converter bat file. Also there wasn't a cue file with those. So I pass on this one. It probably bad too.

You will not find any ROMs with a BAT converter, since a BAT is a text file with commands for some program to do something, like renaming, copying, deleting, etc..and MP3s cant be converted that way, you have to use an utility like 'Nero Burning ROM' to convert them to WAV, then to make the .CUE files there is a utility on the net called 'Sega Cue Maker'...(CUE files are not always inside the ROMs package, depending where you get the ROMs)

Quote
Sega Cue Maker (c) 2000 by Lodger

This is a little util that makes cue sheets for Sega Saturn / SegaCD CD's from
.iso/.raw/.wavs/.mp3s.  Just run the .exe and select the directory containing
the iso and audio files by double clicking on the folder (Note: the .wavs/.mp3s
names must be in the same order alphabetically as the order they appeared on the
disc).  Click on 'Generate Cue' to make the cue sheet, it will be displayed in
the text box.  Then click 'Save Cue' and type in the name you want to call it.

The utility was intended for Sega Saturn but CUE files are text files and it doesn't matter if you make them by hand with notepad or with this utility, I use this because its fast and easy.

SeeYaa!
 :biggrin:
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: iq_132 on May 16, 2007, 06:05:46 PM
View Point isn't playable and the speed is lagging. Use 50% of computer speed on the option to have normal speed. It might be an hack that I have. Jan said it probably bad anyway because the size.

Yes. There are lots and lots and lots of games that don't work.  Duh.
Quote
Metal Slug have an cutting out sounds effects issue. I didn't mess with the mp3 tracks because it didn't come with a converter bat file. Also there wasn't a cue file with those. So I pass on this one. It probably bad too.
I know you are incapable of reading, but give it a try.  This has been mentioned in this very thread.
Quote
those dumps will not be 100% perfect.
Whichever way you look at it, the only true, 100% perfect option is to buy an original disc (http://search.ebay.com/search/search.dll?from=R40&_trksid=m37&satitle=Neo-Geo+CD&category0=).  So instead of bitching about mp3 + iso not being 100% perfect, why don't you just look at it this way "you get what you pay for."
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: iq_132 on May 16, 2007, 07:07:08 PM
hey cap, I was looking at your source a bit (haven't gotten around to compiling it yet...


   if (cdrom_process_ipl())   // Process IPL.TXT
   {
>>      int neogeoReset();
>>      neogeoReset();

try removing those and see if the bios runs.
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: CaptainCPS on May 17, 2007, 12:59:40 AM
hey cap, I was looking at your source a bit (haven't gotten around to compiling it yet...


   if (cdrom_process_ipl())   // Process IPL.TXT
   {
>>      int neogeoReset();
>>      neogeoReset();

try removing those and see if the bios runs.

Changed the code but nothing, but hey, Im gonna do the import of code again from the original src and add CDDA support again step by step so I know where was the prob  :wink:

I was thinking too, that it would be easier to work with neogeo cd source code if it was apart from the neogeo mvs/aes src files, so maybe I will make a directory called 'src/burn/neogeocd/' and put there the files exclusive for neogeo cd emulation  :smilie:

what do you think IQ?

SeeYaa!
 :biggrin:
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: Leaf on May 17, 2007, 02:48:56 AM
Nice work.  I tried Samurai shodown and it works well. :>
BTW. Why use SDL in win32 build? :p
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: CaptainCPS on May 17, 2007, 11:13:29 AM
Nice work.  I tried Samurai shodown and it works well. :>
BTW. Why use SDL in win32 build? :p

Hi there Leaf, I explained why here  :smilie:  http://neo-source.com/index.php?topic=571.msg5768#msg5768

...btw, SDL was the best option I found because other C++ code I used for CDDA was not working with virtual drive and was making the emu run very slow, ...all the time I consulted IQ_132 via MSN while changes were made, from MP3 support, CDDA using win32,... until I removed that and added CDDA support using SDL.

SDL is a very good and portable library, I don't know what's wrong in using it :smilie:

If I find a way of adding CDDA support with good result and compatibility using win32, then I will release the code, but for now I think the best option is SDL.

SeeYaa!
:biggrin:
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: KingHanco on May 17, 2007, 11:10:25 PM
iq_132. I don't buy cds from ebay because those cds may be damage pretty bad. I don't trust ebay on cds and dvds anyway. I'm better off finding some in my area instead if I can find those not open.
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: FBA Fan on May 19, 2007, 09:32:55 AM
Thank CaptainCPS-X
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: J.A on May 20, 2007, 02:12:22 AM
Thank you for all the good stuff in your W.I.P, CaptainCPS-X very impressive.
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: Shoometsu on June 02, 2007, 09:28:17 PM
Jan told me that those dumps will not be 100% perfect.
"perfect dumps" are in bin+cue format, which have subchannel data. at least you can confirm japanese dumps with neocdz emulator. "bad" dumps won't boot with it.
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: CO9207 on December 07, 2008, 05:58:21 PM
Can anyone provide an alternate download to this Neo Geo CD Emulator? (FBA Alpha v0.2.96.71 with NGCD?)

The link's provider is expired.

Thank you for anyone who can provide me a download.

-Crash
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: darknior on September 02, 2011, 08:07:33 PM
Hi every body :D

CaptainCPS-X, is it possible you upload again your source code for NeoGeoCd please ... all the links over the web are down :(
We are really interesting on them to work on.

Thanks
Bye
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: iq_132 on September 03, 2011, 11:39:55 AM
Not the latest sources, but the best ones I could find.
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: darknior on September 03, 2011, 06:44:09 PM
Woaw ... kool ... really thanks a lot for it :D
We will maybe have NeogeoCD on xbox in a near future :p
Title: Re: FB Alpha v0.2.96.71 (with Neo-Geo CD)
Post by: papasi on March 19, 2014, 05:15:47 AM
Sorry to negro a 2007 thread.

Does anyone has a copy of the file fba_src_029671_ngcd.7z

This link is no longer valid
http://fightercore.freepgs.com/files/fba_src_029671_ngcd.7z

ggpo.net (a p2p client build on top of fba029671) is no longer being actively developed because the founders are busy with their startup.

We are a bunch of enthusiasts and want to update the source code to the latest fba.

However, since part of ggpo is closed source, we need the original  fba_src_029671 to diff with their release source to help migrate to the latest fba

More details are provided here

http://forums.shoryuken.com/discussion/184804/measuring-ggpofba-micro-stutter#latest

Many thanks