Homebrew [Release] VirtuaNES for 3DS

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
@bubble2k16, it seems I don't have the required privilege to PM you, so here's a quick upload of the dbg.txt I just generated:

https://mega.nz/#!rg4mzQ4C!nn9UF7K536QRhRffAFX4v4XMCgA5QYkmujr7AU_uQNs

Hi @SG6000, that was very helpful; it helped to narrow down the places that the crash happened, but I still need more information. So we may have to do this a few times if you don't mind. :) I uploaded another debug build.

virtuanes_3ds_dbg.3dsx

Please remove the original dbg.txt file from your folder. Then load a few ROMS again, and then post the dbg.txt file to me again.

Thanks!
 

Krem Quay

Well-Known Member
Newcomer
Joined
Aug 24, 2014
Messages
89
Trophies
0
Age
26
XP
231
Country
United States
Well there are developer notes and tools here, if that helps: https://archive.org/details/VRTfiles-nesdev

And vrt.com.tw did release an emulator for testing/development purposes, known as the EmuVT. Sadly, its source code was not released. It does support bin files, VT02, VT03 emulation, as far as I know.

Hoping I don't go off-topic here.
 

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
Well there are developer notes and tools here, if that helps: https://archive.org/details/VRTfiles-nesdev

And vrt.com.tw did release an emulator for testing/development purposes, known as the EmuVT. Sadly, its source code was not released. It does support bin files, VT02, VT03 emulation, as far as I know.

Hoping I don't go off-topic here.

Yup. My stand stays. It's not likely to be implemented, at least not by me. :) I've only been porting emulators so far, not creating a new one from scratch. Besides, it seems like VT03/VT09 is not just a "mapper". It seems like a clone of NES but with different hardware specifications.
 
  • Like
Reactions: Krem Quay

Krem Quay

Well-Known Member
Newcomer
Joined
Aug 24, 2014
Messages
89
Trophies
0
Age
26
XP
231
Country
United States
Well I have been trying to get the word out there about VT emulation because many of those games cannot be emulated and are usually dumps of plug'n'plays.
 

SG6000

Well-Known Member
Member
Joined
Nov 2, 2015
Messages
392
Trophies
0
XP
1,409
Country
United Kingdom
Thank you so much! Seems like the problem happened when resetting the PPU. I fixed something, and added more logs. Hopefully this is the last:
virtuanes_3ds_dbg.3dsx

Wow. This one loads ROMs. Lots of them. In my cursory check on FDS game combatibility I haven't had any load, but its just amazing to see these (few) games work and look so great.
 

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
Wow. This one loads ROMs. Lots of them. In my cursory check on FDS game combatibility I haven't had any load, but its just amazing to see these (few) games work and look so great.

Ok great! Looks like that was the bug that I fixed.

With this fix, I can publish the latest version soon! Thank you so much for your help!
 
  • Like
Reactions: BL4Z3D247

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
Wow. This one loads ROMs. Lots of them. In my cursory check on FDS game combatibility I haven't had any load, but its just amazing to see these (few) games work and look so great.

Hi @SG6000, I've pushed the latest dev builds to Github now.
virtuanes_3ds.3dsx
virtuanes_3ds.cia

This one doesn't have those debug stuff. Try to see if these now boots your NES ROMs properly. Thanks again for the great help!
 

Shin Akuma

Well-Known Member
Member
Joined
Sep 29, 2006
Messages
206
Trophies
1
XP
665
Country
Greece
Hey @Shin Akuma, @SG6000. I am not sure what's the problem, but I've uploaded a debug .3dsx build that writes a log to a file.
virtuanes_3ds_dbg.3dsx

Please do me a favor and put this 3dsx file in your /3ds/virtuanes_3ds_dbg folder and launch it with the Home-brew Launcher.

When you load a new ROM, it will log to a dbg.txt in the same folder. Please try doing it for a few ROMs, then please PM me that file.

Thanks!

--------------------- MERGED ---------------------------




As what @Robz8 mentioned. I included the dev build for .3dsx link here:
virtuanes_3ds.cia
virtuanes_3ds.3dsx


I cant find the option so pm you :s i did what you asked me. The best part is that the 3dsx version works flawlessly...whats wrong with the cia version andmy n3ds :s
 

frobinson54

Member
Newcomer
Joined
Oct 26, 2016
Messages
23
Trophies
0
Age
45
XP
80
Country
United States
Hi @SG6000, I've pushed the latest dev builds to Github now.
virtuanes_3ds.3dsx
virtuanes_3ds.cia

This one doesn't have those debug stuff. Try to see if these now boots your NES ROMs properly. Thanks again for the great help!

How do I get cheats to work? I have some .cht files in my roms folder that are named exactly the same as my roms. However, when I load the rom and then go back to the menu to look at the cheats, it says that no cheats are available for this game. I know the first public release didn't have cheat support, but I'm using the latest dev build, and it looked like you may have implemented cheats based on previous discussion. Are .cht files supported? Do I need to put them somewhere else?
Thanks in advance!
 

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
I cant find the option so pm you :s i did what you asked me. The best part is that the 3dsx version works flawlessly...whats wrong with the cia version andmy n3ds :s

Hi Shin, I think I solved the problem after working with @SG6000. The latest dev build for the CIA should now work too.

Do download it and let me know if you still face problems.

How do I get cheats to work? I have some .cht files in my roms folder that are named exactly the same as my roms. However, when I load the rom and then go back to the menu to look at the cheats, it says that no cheats are available for this game. I know the first public release didn't have cheat support, but I'm using the latest dev build, and it looked like you may have implemented cheats based on previous discussion. Are .cht files supported? Do I need to put them somewhere else?
Thanks in advance!

You need to create a text file format, and name it "MyRom.chx".

Now this cheat file format is a text file. Each line in the file is 1 cheat, and each cheat has the following format:

<enabled>,<game-genie 6 or 8 character code>,<description of cheat>

Example:
File Name = 8 eyes.chx

Contents:
Y,GXOUSUSE,Most attacks won't damage Orin
Y,GXNGNOSE,Most attacks won't damage Cutrus
 

bubble2k16

Well-Known Member
OP
Member
Joined
Jul 25, 2016
Messages
467
Trophies
0
XP
2,118
Country
Senegal
YEP it finally worked!! :D
Just out of curiosity ,what was the problem man?

Well, it's was just the screen buffer that was not properly initialised. As a result, when a ROM was loaded, the PPU reset tried to clear this buffer, it ended up clearing invalid parts of the 3DS memory, causing the crash. If that makes any sense to you... :)

With that fixed, I think I can finally publish the latest version live, like soon. :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • B @ BigArnold:
    Can you guys help with my problem concerning my Switch?
  • K3Nv2 @ K3Nv2:
    Did you switch it up
  • B @ BigArnold:
    Switch what up?
  • K3Nv2 @ K3Nv2:
    Switch the switch to resolve your issue
  • Xdqwerty @ Xdqwerty:
    @BigArnold, sorry but i cant, i dont have a switch. also what k3nv2 says is a joke
  • B @ BigArnold:
    That's what I figured. I put a post up in a forum but no one seems to replying to posts there. I also don't what this chat is attached to.
  • K3Nv2 @ K3Nv2:
    General chat as it implies
  • Xdqwerty @ Xdqwerty:
    @BigArnold, try posting in the "switch noob paradise" thread
  • B @ BigArnold:
    That's where I put it. But like I said other people's posts from a day or two ago have no responses. I'm not sure if the chat is part of the Nintendo forum that I'm on or a part of the website as a whole.
  • Xdqwerty @ Xdqwerty:
    @BigArnold, part of the website as a whole
  • Xdqwerty @ Xdqwerty:
    then try making a thread
  • Xdqwerty @ Xdqwerty:
    wait you are too new to be able to do that
  • B @ BigArnold:
    That's fine. I'll find my way.
    +1
  • BigOnYa @ BigOnYa:
    @BigArnold you put the fusee or hekate.bin in the hekate/ payloads folder, or use app to push the payload to switch while its in rcm mode
    +1
  • B @ BigArnold:
    The problem is is that TegraGUI isn't detecting my Switch despite it being plugged in and in RCM or maintenance mode.
    +1
  • BigOnYa @ BigOnYa:
    Did you click install driver inside the tegra app.
  • B @ BigArnold:
    I did all of that stuff and it seemed successful but still nothing. The only thing different from the guide I used was that my device wasn't showing up as APX but rather Nintendo Switch.
  • B @ BigArnold:
    I did it inside the Tegra app and Zadig.
  • BigOnYa @ BigOnYa:
    Try a different USB c cable, or different USB port on your pc.
  • B @ BigArnold:
    I tried a different port and don't have another cable. I'm fairly certain there's no issue with the equipment I'm using.
  • BigOnYa @ BigOnYa:
    Some cheap USB c cables don't send data, they only charge
  • B @ BigArnold:
    The cable is usually used to connect my controller to my switch's dock.
  • BigOnYa @ BigOnYa:
    Only other thing Id suggest is using a phone/tablet and use the Rekato app, or different pc
  • B @ BigArnold:
    Okay then.
    Thanks for your help.
    +2
  • S @ salazarcosplay:
    @Xdqwerty how are you doing!?
    S @ salazarcosplay: @Xdqwerty how are you doing!?