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

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
3.2GiB downloaded CIA installed and tested fine. I had no issues with it. For now this apps seems to be working perfectly fine on MacOS, only feature requested is a region filter.
Your internet connection must be good then. Still, it would be safer if we check the file size and hash of the content files after the download process is completed. Perhaps the tmd file from cdn already has the SHA-256 hash of each content files, but I still don't know how to access it.
Hi! thanks for the app. It works great. I have also made an .exe that goes well with villain 3ds. After generating the cia close villain3ds and open the .exe. This automatically deletes the raw files and open the CIA folder where the genereated one's are created. The reason why I made the script because the C: partition will soon be full of raw files from generated CIA. I hope this feature will be included in the future release
https://drive.google.com/file/d/0B_-Pud3uTCzod1FpSlVkRXZUUFk/view?usp=sharing
Thank you for making this tool. I'm still using linux so I'll try it later. The raw folder is still not deleted automatically for now because I think it will be easier to debug when something goes wrong, until the application is stable enough. And I think it's best to delete the folder after x days (by checking the folder's last modified date) but it takes some time to implement.
 
  • Like
Reactions: GnK23

GnK23

Well-Known Member
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
Thank you for making this tool. I'm still using linux so I'll try it later. The raw folder is still not deleted automatically for now because I think it will be easier to debug when something goes wrong, until the application is stable enough. And I think it's best to delete the folder after x days (by checking the folder's last modified date) but it takes some time to implement.

here is the script used in the exe in case you want to use it. I used a notepad to make the bat file then converted it using advance bat to exe pro to remove the CMD popup

start C:\Users\%username%\Villain3DS\cias
del C:\Users\%username%\Villain3DS\raw\* /S /Q
Robocopy C:\Users\%username%\Villain3DS\raw\ C:\Users\%username%\Villain3DS\raw\ /S /MOVE
mkdir C:\Users\%username%\Villain3DS\raw
 
Last edited by GnK23,
  • Like
Reactions: tranxuanthang

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Latest commits don't fix the issue. You were right, though. The binary placed in the home directory is 0 bytes. Also, I recommend having the program check to see if the binary is there, and if not place it rather than just indefinitely placing it there each time the downloader runs. Oh, could I also request that the "raw" directory be cleared upon closing the application (at least as an optional setting)? I honestly have no use for those files after the CIA is made, and they just take up space. I know manually clearing it is trivial, but I don't always remember to do so.

Edit: Just saw your post about the raw folder. I should read threads more thoroughly.
 
Last edited by Joom,
  • Like
Reactions: tranxuanthang

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
Latest commits don't fix the issue. You were right, though. The binary placed in the home directory is 0 bytes. Also, I recommend having the program check to see if the binary is there, and if not place it rather than just indefinitely placing it there each time the downloader runs. Oh, could I also request that the "raw" directory be cleared upon closing the application (at least as an optional setting)? I honestly have no use for those files after the CIA is made, and they just take up space. I know manually clearing it is trivial, but I don't always remember to do so.

Edit: Just saw your post about the raw folder. I should read threads more thoroughly.
About the make_cdn_cia, I'm gonna try to get it fixed for good tonight. It's too bad that I don't have any mac machine so all I can do is guess where the problem is. Then the next will be comparing files hash feature, the japanese characters, and auto-clean raw directory. So many things :rofl2:
Update: I have something for you. Check out latest commit. If this works then I will package this as a new official version.
Instead of reading make_cdn_cia from package then write it to the base directory ~/Villain3DS, now it will try to download make_cdn_cia from internet, which is this github. If make_cdn_cia is already exist then the app will skip the download and will not overwrite the old make_cdn_cia.
 
Last edited by tranxuanthang,
  • Like
Reactions: Joom

GnK23

Well-Known Member
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
Do you have any plans of supporting decTitlekey.bin in order to support more games in the future like ciaangel. Some early leaks of games use decTitlekey.bin instead of encTitleKeys.bin
 

sthetix

Well-Known Member
Newcomer
Joined
Dec 25, 2015
Messages
48
Trophies
0
Age
47
XP
879
Country
Indonesia
Great app (I am making a video tutorial about this)
But if I download a japanese game or app, it cannnot automatically convert to .cia.
maybe it is all because the japanese character.
 
  • Like
Reactions: tranxuanthang

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
Great app (I am making a video tutorial about this)
But if I download a japanese game or app, it cannnot automatically convert to .cia.
maybe it is all because the japanese character.
Yeah, anything with Japanese characters can't build into cias somehow. Same as @driverdis's #68. But it's only failed to create cias on Windows. Linux and macOS are still fine. But I have some idea and will try to fix this very soon. Temporary fix is when you see something like this at the download screen:
C:\Users\trant\Villain3DS\make_cdn_cia.exe "C:\Users\trant\Villain3DS\raw\00040000000abd00" "C:\Users\trant\Villain3DS\cias\[E3 2012] New スーパーマリオブラザーズ 2 JPN (00040000000abd00).cia"
//Could not create...
Try to copy it, then delete the japanese character and manually run it with cmd:
C:\Users\trant\Villain3DS\make_cdn_cia.exe "C:\Users\trant\Villain3DS\raw\00040000000abd00" "C:\Users\trant\Villain3DS\cias\00040000000abd00.cia"
//...Generated Sucessfully

Do you have any plans of supporting decTitlekey.bin in order to support more games in the future like ciaangel. Some early leaks of games use decTitlekey.bin instead of encTitleKeys.bin
I don't, maybe in future. I don't even know what decTitleKeys.bin is for until you said:lol:
 
Last edited by tranxuanthang,

GnK23

Well-Known Member
Member
Joined
Apr 6, 2016
Messages
170
Trophies
0
Age
35
XP
671
Country
United States
I don't, maybe in future. I don't even know what decTitleKeys.bin is for until you said:lol:

if im not mistaken decTitleKeys.bin (somebody please correct me if im wrong) can be used to download games. These games are automatically cryptofixed.

Ciangels has this kind of feature wherein you simply place the titleid and dectitlekey of the game inside an input.txt and run the app then you can download the game stated inside the .txt.

sometimes I use ciaangel to download games that are leaked but not yet found on freeshop.

Both the encytitlekey and dectitlekeys are found on that titlekeywebsite
 
Last edited by GnK23,

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
About the make_cdn_cia, I'm gonna try to get it fixed for good tonight. It's too bad that I don't have any mac machine so all I can do is guess where the problem is. Then the next will be comparing files hash feature, the japanese characters, and auto-clean raw directory. So many things :rofl2:
Update: I have something for you. Check out latest commit. If this works then I will package this as a new official version.
Instead of reading make_cdn_cia from package then write it to the base directory ~/Villain3DS, now it will try to download make_cdn_cia from internet, which is this github. If make_cdn_cia is already exist then the app will skip the download and will not overwrite the old make_cdn_cia.
Latest commit compiles CIAs without issue now. Awesome.
 

sthetix

Well-Known Member
Newcomer
Joined
Dec 25, 2015
Messages
48
Trophies
0
Age
47
XP
879
Country
Indonesia
Another Bug

When downloading the game using IDM, it wont get converted to cia automatically. I have to get back to the game title and open it again then press keep it to solve it.

Anyway, Bitdefender will alert a false positive if it is not disabled.
 
  • Like
Reactions: tranxuanthang

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
Anyway, Bitdefender will alert a false positive if it is not disabled.
Probably because it downloads files from a remote location.

Also, with the latest commit, when downloading anything it says that the raw content downloaded is "somehow corrupted".
Content "whatever" is somehow corrupted when downloading.
 
Last edited by Joom,

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
Latest commit compiles CIAs without issue now. Awesome.
Nice. I'm still doing some small fixes then a new version will be out soon.
Another Bug

When downloading the game using IDM, it wont get converted to cia automatically. I have to get back to the game title and open it again then press keep it to solve it.

Anyway, Bitdefender will alert a false positive if it is not disabled.
It's hard to know when IDM will finish downloading, so I leaved another button named "I've downloaded it". If you click this button, it will check if that downloaded content's size is matched or not. If matched then the application will consider it downloaded successfully.
So you won't have to reopen the window and click "keep it", just click "I've downloaded it". Or after you started downloading with IDM, just close the window, or even the application, then come back later when it finished, isn't it feel good? :D

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

Probably because it downloads files from a remote location.

Also, with the latest commit, when downloading anything it says that the raw content downloaded is "somehow corrupted".
Yeah, it's what I'm trying to fix right now and even more. Next version will support calculate the speed as MB/s, remaining time,... with request-progress node module.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=KYZD7ykz9aQ