FBA4DSTWO

Discussion in 'NDS - Emulation and Homebrew' started by Indy13, Feb 13, 2017.

  1. Indy13
    OP

    Indy13 Member

    Newcomer
    25
    8
    Jan 26, 2017
    France
    Hi friends,

    just find a port of Final Burn Alpha on scds2 forum, it works fine with cps1 games (better than mame4ll for some games), Taito and SEGA games (except for somes games like space harrier, after burner 2, enduro racer or chase hq, the games works fine but the problem comes from the controls), cps2 games works but only roms under 8mo, most of the Konami, DATA EAST and Irem games are not recognized, some Banpresto roms runs fine but most of them have gfx problems, most of NeoGeo games have creepy gfx too except prehistoric isle (this game runs perfectly), for some games (generally old games like commando or black tiger) the sound is buzzy, switch the sound from stereo to mono to fix the problem, it seems to be new (only one month I think) so if you try it, you have to know that it's at your own risk (I have to tell), bioses need to be placed in roms folder, big roms can be a little bit longer to load but it's ok, beware of the cache files there are very big (especially for PGM roms), if you don't have too much space on your sd, it will be better to clean the cache folder regulary, you can find FBA4DSTWO here :

    http://forum.supercard.sc/thread-12987-1-1.html

    The + :
    1. a new and great emulator for nds
    2. easy to install
    3. faster than mame4all for the big cps1 games
    4. easy menu
    5. intuitive gameplay
    6. maybe a bigger compatibility list than mame4all
    7. soft reset to return to the dstwo menu
    8. with mame4all and neoDS, fba is a great way to complete a little bit more the mame catalog

    The - :
    1. no settings for vertical scale or zoom view for shoot them up
    2. no settings for controls
    3. no automatic bottom black screen off when you play
    4. compatibility list has to be defined (it will comes with the time)
    5. Konami, DATA EAST, Irem games & cps2 roms over 8mo doesn't seems to work.
    6. roms are listed by adds and not in the alphabetical order
    7. roms are listed by zip name, it's not a big deal and of course you can read the title of the game you play at the bottom of the screen but a list system like mame4all should be better.


    Note : There is a graphical bug with the roms tmnt.zip series and mia.zip series (Konami roms), to fix it, I use gberet.zip, mia.zip and toppyrap.zip (SemiCom rom) here is the procedure to follow:

    1.run tmnt.zip, then once the rom is loaded, press select + start to return to the menu (gfx bad)
    2.run gberet.zip, then once the rom is loaded, press select + start to return to the menu (gfx ok)
    3.run mia.zip, then once the rom is loaded, press select + start to return to the menu (gfx bad)
    4.run toppyrap.zip, once the rom is loaded, press select + start to return to the menu (gfx ok)
    5.run tmnt.zip, now, normally gfx must be ok

    Same method for mia.zip, in the same order (1.mia.zip, 2.gberet.zip, 3.mia.zip, 4.toppyrap.zip, and 5.mia.zip)

    Here is the list of the working roms I've tested (275 games + 2 bioses):

    [​IMG]
     
    Last edited by Indy13, Mar 10, 2017
    dsionr4, reprep, xfxmrl and 3 others like this.
  2. KlasseyKreations

    KlasseyKreations photon readings negative

    Member
    196
    152
    Feb 20, 2017
    Portugal
    Hyrule
    Nice work, this is pretty cool! :D
     
  3. CoolKill3r

    CoolKill3r GBAtemp Regular

    Member
    284
    40
    Oct 12, 2009
    Saw ur recomendation, are there any plans to make it support over other flachards or will lit stay dstwo limited?
     
  4. reprep

    reprep GBAtemp Advanced Fan

    Member
    914
    272
    Jul 5, 2012
    Anyone interested in better scaling for CPS core? Right now FBA4DSTWO scales preserving the aspect ratio 12:7 (384:224 is resolution for CPS games), this results in black borders on upper and lower parts of the screen. These games are meant to be played on 4:3 aspect ratio though (non-square pixels), which is native AR for DS/DSi (256:192). I edited it so that it scales the width from 384 to 256 (same as before), but cuts the upper and lower 16 pixels to make the height 224-32=192 to fit DS screen. Scaling might be tried too, but this way is faster and probably cleaner instead of scaling height from 256 to 192. A picture is worth thousand words i guess.

    BTW this emu is much, much faster than the mame emu for DSTWO, thanks a lot crazii.
    image.jpg image2.jpg

    Here is the video in action:


    The binary and the only changed file (SwapBuffer.S), compiled for CPS1 and CPS2 cores since the AR changes are hardcoded and will break scaling of other cores.

    Use the Performance mode to see the new scaling method, you can change to Quality mode to see what was it like before i edited.

    https://transfer.sh/Wz1cB/fba4dstwocps.zip

    EDIT: New binary which will turn off lower screen when not in use. again only cps core but i created a pull request with the changes to author, so he/she might include them in main branch.

    https://transfer.sh/qB7QW/fba4dstwo.plg

    EDIT2: Sleep mode added and both the lower screen turn off patch and the sleep mode patch have been submitted to original author. Feel free to DM me if you want to test some binaries.

    EDIT3: Getting the binary size reduced makes more games boot, for example i can boot Alien vs Predator CPS2 game with CPS core. There are a few more things to reduce the binary size. Hmm, let me see. BTW any devs/testers can contact me, i am not a great coder but at least i got a Supercard DSTWO sdk installed on my pc and i can mess with a few things.

    EDIT4: Did a few more edits to my fork, i will also deliver binaries if asked. https://github.com/rereprep/fba4dstwo

    EDIT5: Finally added the fast, purely in MIPS A68K core. CPS1/CPS2/neo geo games are already full speed. A caching mechanism for CPS2 and neo geo games is what this emu needs. unfortunately it is beyond my ability to add caching. I will still work on this emu some more though.
     
    Last edited by reprep, Jun 30, 2017
  5. Boriar

    Boriar GBAtemp Fan

    Member
    314
    35
    Sep 22, 2008
    Spain
    Please, can you reupload the .nds and .plg?
    Thanks in advance
     
  6. HK$

    HK$ Newbie

    Newcomer
    5
    1
    May 21, 2015
    Switzerland
    CPS1 games can run at full speed without frameskip? Can you please upload the binary file, Thanks for the great work.
     
  7. reprep

    reprep GBAtemp Advanced Fan

    Member
    914
    272
    Jul 5, 2012
    It has some frameskip but as supercard dstwo screen update speed is the bottleneck, it plays great as it is. Much, much better than mame4dstwo. I will upload the cps1 spesific plg here, give me some time though. Also please give feedback, i can modify and recompile the source
     
    Billy Acuña and dsionr4 like this.
  8. reprep

    reprep GBAtemp Advanced Fan

    Member
    914
    272
    Jul 5, 2012
    Here is the promised compiled versions for CPS1/CPS2. Unfortunately only small CPS2 games will work as there is no caching mechanism yet (and there will probably never be), anyone interested to add one please contact me and i can share my working dev environment.

    Zip file contains two versions one with C68K engine and the other with A68K engine. A68K is written in MIPS assembly, it is faster but buggy in some games. All CPS1 games should work good but vertical screen games aren't rotated properly. Please give feedback. Also if someone uploads files into a more permanent filehoster, i will be glad.

    https://transfer.sh/ZxXfX/fba4dstwocps.zip
     
    Last edited by reprep, Jul 22, 2017 at 1:53 PM
    Billy Acuña likes this.
  9. HK$

    HK$ Newbie

    Newcomer
    5
    1
    May 21, 2015
    Switzerland
    HI, I've done some test with your builds. The A68K version seems it's faster than the original version. And I like the fullscreen dispaly.

    I think you dont have to cut upper and lower pixels, just scales the height from 224 to 192 to keep the right 4:3 aspect ratio. Because the DS screen's resolution is much smaller than CPS, you have to scale the width, the game can't be displayed pixel to pixel anyway. So why not keep the right aspect ratio at least?

    I've noticed with the A68K version in some games like Tenchi wo Kurau II: Sekiheki no Tatakai (wofj.zip) you can't insert coin with select key. And Knights of the Round (knights.zip) keeps going into the dipswitch screen.

    With the C68K version,CPS1 games there is no display on the top screen (When you press select key you can hear the insert coin sound so the game is running, it just don't display anything).

    Thanks for the great work and the builds :)
     
    Last edited by HK$, Jul 23, 2017 at 3:41 AM