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

  • Thread starter Thread starter tranxuanthang
  • Start date Start date
  • Views Views 293,200
  • Replies Replies 578
  • Likes Likes 86
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.
 
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,
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.
 
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?
 
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.
 
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
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.
 
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
All the errors I kept getting with the latest version went away when I went back to the version before.
 
"Could not find the titlekey for the title you're trying to download. Please try deleting enctitlekeys.bin file in your base directory."
 
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,
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.
 
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