ROM Hack [Release] Villain3ds - Basically freeShop but runs on your PC

Match

Active Member
Newcomer
Joined
Jan 16, 2010
Messages
35
Trophies
1
XP
1,565
Country
Brazil
Try deleting etkCache.json somewhere in Villain3ds appdata directory I don't remember exactly, then try again. Or I think simply restarting the app will makes this file deleted too.
Tried that, placing the enctitlekeys.bin in the directory and i still get the error.
 

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
Tried that, placing the enctitlekeys.bin in the directory and i still get the error.
I thought I used the etkCache file to store the parsed titlekeys but I never did, so ignore that.
You have to have an enctitlekeys.bin URL in config section in order to download any titles. Put an enctitlekeys.bin file in its directory is not enough.
is villain affected by the 11.8?
also, using this, you can't get banned?
just wondering.
No, not yet.
You can't get your 3DS banned, it's an app runs on your PC.
 
Last edited by tranxuanthang,

Match

Active Member
Newcomer
Joined
Jan 16, 2010
Messages
35
Trophies
1
XP
1,565
Country
Brazil
I thought I used the etkCache file to store the parsed titlekeys but I never did, so ignore that.
You have to have an enctitlekeys.bin URL in config section in order to download any titles. Put an enctitlekeys.bin file in its directory is not enough.
Still get the error.
 

McMoofin

Member
Newcomer
Joined
Aug 1, 2018
Messages
19
Trophies
0
Age
27
XP
83
Country
United States
I'm having a strange problem, I put the same url for titlekeys as I did in freeshop, in the field for villain 3ds and it cant find the title keys. Should i be putting the actual .bin somewhere on my pc?
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,947
Country
United States
I'm having a strange problem, I put the same url for titlekeys as I did in freeshop, in the field for villain 3ds and it cant find the title keys. Should i be putting the actual .bin somewhere on my pc?

Put the encTitleKeys.bin file in the Villain3DS folder where you download stuff. It's the one that contains the cias and raw folders.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
I just tried it for the first time.
my firewall didn't prompt to allow network, so I had to enable it manually (pff, bad computer!)

I tried a small game and it worked fine.Too bad I can't test it.I'm still on 4.0.5 OFW. but it's offtopic.
I might take cia of 3DS files I have, so I won't need to convert them myself when dropping gateway. no freeshop or nnid required then, I never enabled online!
 
Last edited by Cyan,
  • Like
Reactions: tranxuanthang

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
I'm having a strange problem, I put the same url for titlekeys as I did in freeshop, in the field for villain 3ds and it cant find the title keys. Should i be putting the actual .bin somewhere on my pc?
Put the encTitleKeys.bin file in the Villain3DS folder where you download stuff. It's the one that contains the cias and raw folders.
If you put that file in its directory manually, it might work. But villain3ds will try to redownload encTitleKeys.bin each 2 days, so without a right URL in setting, it will be broken again shortly after.
You should make sure the URL was right. And if it fails to download the file (which I think rarely happens), it will leave a 0KB (or a very small size) enctitlekeys.bin in villain3ds user directory (default in Windows: %USERPROFILE%\Villain3DS). You should go there and just delete this file, and villain3ds will download it again.
 
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,947
Country
United States
If you put that file in its directory manually, it might work. But villain3ds will try to redownload encTitleKeys.bin each 2 days, so without a right URL in setting, it will be broken again shortly after.
You should make sure the URL was right. And if it fails to download the file (which I think rarely happens), it will leave a 0KB (or a very small size) enctitlekeys.bin in villain3ds user directory (default in Windows: %USERPROFILE%\Villain3DS). You should go there and just delete this file, and villain3ds will download it again.

I think some of us are more worried however long we have left before the clock runs down. If manually placing that *.bin file in the directory guarantees Villain3DS sees the title database, I don't think people will spend too much time trying to troubleshoot the web address issue if they can't get it to work.

Maybe some people can't find the right site? Look to this for a clue.
  • http : // [that title site] / [encTitleKeys identifier]
 
Last edited by TurdPooCharger,
  • Like
Reactions: tranxuanthang

NANASHI89

Well-Known Member
Member
Joined
May 3, 2012
Messages
2,475
Trophies
1
XP
5,367
Country
United States
"Could not find the titlekey for the title you're trying to download. Please try deleting enctitlekeys.bin file in your base directory."
 

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
I've released a quick update v0.2.1.

After taking a few corrupted files to compare with original files, turns out those files is not actually corrupted. Those files are all downloaded completely, exactly bits by bits, but failed to truncate somehow. It sometimes happens, and more likely when you download it to slower drive (like usb) or download multiple titles at once.

It looks like a windows specific bug, I've tested downloading multiple time on Linux and never encounter a failure.

In this v0.2.1 update, I added some delay to truncation process, so this bug will less likely to happen. My ocd hurts a bit, but if nintendo is going to prevent unauthorized access to CDN then it'll be fine.

https://github.com/tranxuanthang/villain3ds/releases

Changelog:
  • Add some quick & dirty fixes to mitigate the rate of file corruption errors (SHA-256 hash mismatch).
  • Stop proceeding if the content file size is not a multiple of 16 (bytes) (potentially corrupted file).
  • Automatically delete the enctitlekeys.bin file when there is error: "Could not find the title key for the title you're trying to download".

The download library used in villain3ds (zeltice-mt-downloader) first generates the file.ext.mtd file. This file has the file size = original file size + some extra bytes for metadata. After completed downloading, it will truncate the file to the original file's size, and finally rename it (remove .mtd in file name).
Code:
File when downloading: file.ext.mtd
|--------- file ---------|-- metadata --|
Download completed, after truncation: file.ext (metadata is removed)
|--------- file ---------|

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

"Could not find the titlekey for the title you're trying to download. Please try deleting enctitlekeys.bin file in your base directory."
Try reading a few previous pages, or try my new version. It'll delete the enctitlekeys.bin file once getting that error, so next time you open the download window, it'll redownload the file again.

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

All the errors I kept getting with the latest version went away when I went back to the version before.
Be careful, any versions lower than 0.2.0 don't have the SHA-256 check ability.
 
Last edited by tranxuanthang,
Joined
Jan 1, 2018
Messages
7,292
Trophies
2
XP
5,947
Country
United States
I've released a quick update v0.2.1.

After taking a few corrupted files to compare with original files, turns out those files is not actually corrupted. Those files are all downloaded completely, exactly bits by bits, but failed to truncate somehow. It sometimes happens, and more likely when you download it to slower drive (like usb) or download multiple titles at once.

It looks like a windows specific bug, I've tested downloading multiple time on Linux and never encounter a failure.

In this v0.2.1 update, I added some delay to truncation process, so this bug will less likely to happen. My ocd hurts a bit, but if nintendo is going to prevent unauthorized access to CDN then it'll be fine.

https://github.com/tranxuanthang/villain3ds/releases

Thank you so much! I was sad when I tried to complete the DSiWare collection and half of them failed their hash checks. I thought Nintendo had bit rot with their dainty titles. This seems to have fixed this.

We must not forget to archive these for future 3DS retro gamers.
 

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
Another quick update v0.2.2.
Some bugfixes and a very minimal queue feature. It's a bit late but I hope it'll be helpful for someone.

https://github.com/tranxuanthang/villain3ds/releases/
Changelog:

  • Fix "path is invalid..." bug when redownload a content after stop downloading by clicking small [x] button (a windows-specific bug). Also fix some weird bugs around small "stop download" [x] button.
  • An experimental queue feature. You just need to download any titles by clicking "Download" button like normal, they will be put in download queue in existing download window. Screenshot.
 
  • Like
Reactions: juniorcba

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
  • DinohScene @ DinohScene:
    Better start running in your hamster wheel
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Meth addicts on a treadmill connected to a generator "Unlimited POWER!!!'
  • Veho @ Veho:
    Before or after a hit?
  • Veho @ Veho:
    Do you dangle a baggie in front of them, like a carrot?
  • The Real Jdbye @ The Real Jdbye:
    they're the same thing
  • The Real Jdbye @ The Real Jdbye:
    i like that idea
  • Veho @ Veho:
    What's the same thing?
  • The Real Jdbye @ The Real Jdbye:
    before or after a hit
  • Veho @ Veho:
    Nah, a hit gives them mad meth powers, but makes them more difficult to control.
  • Veho @ Veho:
    Before a hit they're like zombies, persistent but slow.
  • Veho @ Veho:
    It's a tradeoff.
    Veho @ Veho: It's a tradeoff.