[Release] VirtuaNES for 3DS

Discussion in '3DS - Homebrew Development and Emulators' started by bubble2k16, Mar 23, 2017.

  1. lone_wolf323

    lone_wolf323 GBAtemp Regular

    Member
    270
    76
    May 27, 2011
    Canada
    Ive seen in the emu for PSP that their nes emu had a rewind mode. which made the game undo up to a certain amount of frames and input. Would anything like that be possible for the 3ds nes emu?
     


  2. bubble2k16
    OP

    bubble2k16 GBAtemp Fan

    Member
    310
    1,102
    Jul 25, 2016
    Senegal
    Yup got it to work:
    (removed)....
    [edit: Oops... I realised I forgot to test it on the real device before releasing... my bad. There were some problems, and I need to fix it first before re-releasing again!) :blush:

    Since it shares similar behaviour with some other mappers, now Shin Samurai Spirits 2 also work.


    Not likely for now. :)

    — Posts automatically merged - Please don't double post! —

    I could... but didn't really want to make things too complicated for the average user. Keep it easy for myself too. :) But is the full clock speed causing battery drain for you?
     

    Attached Files:

    Last edited by bubble2k16, Jun 4, 2017
    BL4Z3D247 and Billy Acuña like this.
  3. Billy Acuña

    Billy Acuña GBAtemp Advanced Maniac

    Member
    1,777
    1,023
    Oct 10, 2015
    Mexico
    @bubble2k16
    Sorry if this is getting annoying but, how about move the alreally ported retroarch's picodrive 3ds to emus3ds and just add frameskip?
    With that most of us will be happy, no need of hardcoded optimitations.
     
  4. bubble2k16
    OP

    bubble2k16 GBAtemp Fan

    Member
    310
    1,102
    Jul 25, 2016
    Senegal
    :rofl: Actually... I didn't spend any time on Picodrive. But I spent some time on Turbografx-16 instead... It's not quite ready for release, but I'd say progress is pretty good.

    As for Picodrive, that's probably something I'll do after I get Turbografx running stable.
     
  5. bubble2k16
    OP

    bubble2k16 GBAtemp Fan

    Member
    310
    1,102
    Jul 25, 2016
    Senegal
    Apologies for the screw up. :shy:

    Here's v0.92b1:
    virtuanes-v0.92b1.zip

    This one plays Donkey Kong Country 4 and Shin Samurai Spirits 2.
     

    Attached Files:

  6. Canzah

    Canzah GBAtemp Fan

    Member
    345
    228
    Jul 8, 2012
    Poland
    I have to say I played FF7 Demake, DBZ RPG2 and 3 all for a while and so far all three seem to work great, you have my sincere thanks for making them work with this.
    Now I'm wondering, any chance you could add cropping options only for top and bottom parts where garbage data can be seen?
    As well as TV-mode like the one in your SNES9x port (preferably with option for cropping out the garbage data as well)? I found that one the most to my liking in terms of aspect ratio.
    Sorry for requesting so much and no problem if you can't do that, you already did a lot.
     
    BL4Z3D247 likes this.
  7. kane159

    kane159 GBAtemp Regular

    Member
    139
    27
    May 28, 2013
    Taiwan
    @bubble2k16 is it possible to make Bio Hazard work?
    BTW how can i sent u the file bro! theres many unofficial good games that is not supported :)
    the fixed rom is named Bio Hazard (No-Bug) (Unl)
     
  8. Krem Quay

    Krem Quay Advanced Member

    Newcomer
    52
    7
    Aug 24, 2014
    United States
    Awesome, thank you bubble2k16. DKC4 NES actually runs perfectly now! :)

    What other unlicensed mappers still need to be added, @bubble2k16 ? I did supply CaH4e3's website--I know that VirtuaNES is a popular emulator on the Chinese web, and I think they've made plugins to get games with certain mappers to work.
     
  9. lone_wolf323

    lone_wolf323 GBAtemp Regular

    Member
    270
    76
    May 27, 2011
    Canada
    ok, this has been bugging me for a bit now. How the heck do you add cheats to this properly so it recognizes them. I got the file as .chx but it still never sees it.
     
  10. bubble2k16
    OP

    bubble2k16 GBAtemp Fan

    Member
    310
    1,102
    Jul 25, 2016
    Senegal
    It's strange. It seems to be using mapper 4, a commonly implemented mapper. But it doesn't run in FCEUX as VirtuaNES either.

    I've merged some mappers from VirtuaNES Up + VirtuaNES Ex into the latest beta release. But currently don't support UNIF ROMs.

    If you can point me to the source codes for the latest chinese versions of VirtuaNES, I'll be happy to have a look at it.

    First you have the make sure the file name is the same as the game. For e.g., if your ROM is Gradius.nes, your cheat file should be Gradius.chx.

    And then the cheats can be added using any text editor, and has to be in a certain format, as described here: https://github.com/bubble2k16/emus3ds.

    If you still have problems, can you post the contents of the cheat file here.
     
  11. Krem Quay

    Krem Quay Advanced Member

    Newcomer
    52
    7
    Aug 24, 2014
    United States
    Last edited by Krem Quay, Jun 6, 2017
  12. bubble2k16
    OP

    bubble2k16 GBAtemp Fan

    Member
    310
    1,102
    Jul 25, 2016
    Senegal
    Thanks. Did a compare... Not much difference from the VirtuaNesUp version I have now. It made some changes to the way the VRC4 mapper is implemented with some hacks for Teenage Mutant Ninja Turtle, although the new implementation is not right based on docs I've read (the original in VirtuaNES for 3DS is better, but not totally right either!)

    Right now the only mappers I did not implement from VirtuaNesUp are those UNIF format mappers.

    I don't think I'll implement all mappers that is available in FCEUX/FCEUMM. :) But if you do find games that have problems, and suspect is a mapper problem. Do let me know; I'll see if the mapper implementation is available in FCEUX and I will try translate its implementation to VirtuaNES. And I'll let you people know if I can't do it.
     
    Last edited by bubble2k16, Jun 7, 2017
    Krem Quay likes this.
  13. Krem Quay

    Krem Quay Advanced Member

    Newcomer
    52
    7
    Aug 24, 2014
    United States
    Is it too hard to implement FCEU mappers?
     
  14. lone_wolf323

    lone_wolf323 GBAtemp Regular

    Member
    270
    76
    May 27, 2011
    Canada
    It was just that I was having issues with getting this to see I had a .chx file. I wasnt sure where to place the actual chx file within the folders. I got it to see I had a chx for gyruss but the unlimited lives game genie code didnt work.
     
  15. Robz8

    Robz8 Coolest of TWL

    Member
    6,211
    2,549
    Oct 1, 2010
    United States
    @bubble2k16 Can you move the .3dsx, .cia, .elf, and .smdh files into a new repo specifically for built versions of emus3ds?
    I want to merge your recent changes into my 2player fork, but the .elf file in your repo is causing a conflict.
     
  16. bubble2k16
    OP

    bubble2k16 GBAtemp Fan

    Member
    310
    1,102
    Jul 25, 2016
    Senegal
    Hey Robz, did you try any methods to resolve conflict of binary files?

    In the meanwhile I removed the 3dsx, cia and elf files. And also excluded it in .gitignore. See if you pull the latest without conflicts.
     
  17. Robz8

    Robz8 Coolest of TWL

    Member
    6,211
    2,549
    Oct 1, 2010
    United States
    Looked like the only method was to use command line, which I'm not familiar with.
    Thanks! I was able to merge now.
     
  18. Tutimane

    Tutimane Member

    Newcomer
    45
    6
    Feb 19, 2017
    United States
    Are you going to make this for gb/gba/snes?
    You saved NES on 3ds for me this is the must have homebrew app
     
  19. Batin

    Batin Newbie

    Newcomer
    2
    0
    Jun 9, 2017
    Venezuela
    @bubble2k16 Friend, thanks you for this great emulator, i love the NES! You have plans to add multiplayer with 2 3ds on download play on the future? (sorry 4 my bad english) i wanna play some games with my sister (we have 2 o3ds) like Monster in my pocket , contra or Trog!

    Thanks you too much c:
     
  20. CaptainHIT

    CaptainHIT Advanced Member

    Newcomer
    93
    25
    Mar 2, 2011
    Bursa
    No zip support? :(