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

alevan

Well-Known Member
Newcomer
Joined
Dec 22, 2014
Messages
69
Trophies
0
Age
32
XP
999
Country
Romania
How exactly is it compressing files already compressed? :P (in response to "videos and audio files")

If your file is a zip (or other popular format) without a password or encryption, google servers will analyse it, decompress and compress it again, with a more powerful method, while still retraining the original format, linux permissions, etc.
 

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
If your file is a zip (or other popular format) without a password or encryption, google servers will analyse it, decompress and compress it again, with a more powerful method, while still retraining the original format, linux permissions, etc.
Except for whatever reason it breaks symlinks for Electron applications on macOS. According to Google I'm not the only one with this problem, and extracting the content of the archive with the native ZIP tool is the only workaround. Unfortunately, though, the OP can't compress the release as a ZIP. I'm gonna try the build he uploaded last night when I get home. I fell asleep before I could last night.
 

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
  • Like
Reactions: cearp and Joom

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Edit: Someone says that it'll work for mac if run build/package script on linux, so try this:
http://upload.basementla.bz/index.php?file=3241_Villain3DS-darwin-x64.zip

Thanks :yay3ds: It's gonna work on mac but there are still some trouble.

Not yet, maybe the future or someone will do, because I don't a wii u :mellow:

This version worked fine for me on macOS High Sierra with a make_cdn_cia compiled from this source here: https://github.com/skyerday/ctr_toolkit/tree/master/make_cdn_cia

Great job!
 

driverdis

I am Justice
Member
Joined
Sep 21, 2011
Messages
2,867
Trophies
2
Age
31
Location
1.048596β
XP
2,838
Country
United States
this app has problems with any games that use Japanese characters, it fails to create the CIA since the directory it is trying to create is all ? marks, which are not valid characters for the NTFS File System.
 
  • 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
You put a macOS version of make_cdn_cia in this zip, right?
https://gbatemp.net/threads/release...ds-fw-contents-create-installable-cia.375993/
Assuming that's right, I've uploaded my source code with this make_cdn_cia included. So @Joom you can try to clone and run this directly on your mac and see if it works or not.
https://github.com/tranxuanthang/villain3ds
I'll try it out when I get home from work. Thanks so much for your work. I'm so glad people are starting to release multiplatform tools.
 

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
This version worked fine for me on macOS High Sierra with a make_cdn_cia compiled from this source here: https://github.com/skyerday/ctr_toolkit/tree/master/make_cdn_cia

Great job!
Nice, so this app can really run on mac :grog: Thanks for doing the test. If you can let's try to install the generated .cia on a 3ds just to make sure.
this app has problems with any games that use Japanese characters, it fails to create the CIA since the directory it is trying to create is all ? marks, which are not valid characters for the NTFS File System.
I will check this later. Could be something wrong with the sanitize-filename module that i'm using.
 

DocKlokMan

Plugin Dev
Member
Joined
Apr 20, 2007
Messages
3,009
Trophies
2
Age
36
XP
4,571
Country
United States
Nice, so this app can really run on mac :grog: Thanks for doing the test. If you can let's try to install the generated .cia on a 3ds just to make sure.
Installed just fine, CIA version number was accurate and was able to remove and re-download off the eShop no troubles.

I'm also able to download files with Japanese characters and have the CIA compile just fine, but macOS is a Unicode OS so it has no troubles using those characters in the filename.

Here is the Make_CDN_CIA for macOS I'm using:
 

Attachments

  • make_cdn_cia.zip
    9 KB · Views: 145
  • Like
Reactions: tranxuanthang

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,905
Country
United States
A nice feature request would be to automatically install games to the SD if the SD filesystem is mounted to the system and if movable.sed and 0x35keyX are provided.
The ticket(s) would be in a separate folder for FBI to mass-install them, since it is not possible to install tickets (currently) with just the SD card.
 
  • 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

Joom

 ❤❤❤
Member
Joined
Jan 8, 2016
Messages
6,067
Trophies
1
Location
US
Website
mogbox.net
XP
6,077
Country
United States
So @Joom you can try to clone and run this directly on your mac and see if it works or not.
https://github.com/tranxuanthang/villain3ds
The make_cdn_macos binary you're providing is either broken or not meant for macOS. Use the one @AnalogMan attached.
Edit: Never mind. The program is breaking it somehow. I tried replacing the binary in the build directory with one I know that works, compiled it, ran it, and when it places it in ~/Villain3DS it's broken. I get this error when trying to run the dropped binary from a terminal.
~/Villain3ds

▶ ./make_cdn_cia_macos

zsh: exec format error: ./make_cdn_cia_macos

Manually replacing the dropped binary doesn't help either because I guess the application force drops the bundled binary every time.
 
Last edited by Joom,

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
The make_cdn_macos binary you're providing is either broken or not meant for macOS. Use the one @AnalogMan attached.
Edit: Never mind. The program is breaking it somehow. I tried replacing the binary in the build directory with one I know that works, compiled it, ran it, and when it places it in ~/Villain3DS it's broken. I get this error when trying to run the dropped binary from a terminal.


Manually replacing the dropped binary doesn't help either because I guess the application force drops the bundled binary every time.
The source code at github is modified to automatically copy make_cdn_cia (including the _macos version) to ~/villain3ds each time when the download window just opened. So you can manually overwrite it safety afterwards, whenever before the download process finishes.
So only the zip version I uploaded on your website that requires manually copy make_cdn_cia is working then.
Is the github version output a 0kB make_cdn_cia_macos at ~/villain3ds? Or it could be related to the file permission. On linux, the app will chmod 755 for the make_cdn_cia file to make it executable. I might forgot to do the same for macos. Update: I made some changes so when you can please reclone github version and try to run it again.
 
Last edited by tranxuanthang,

tranxuanthang

Well-Known Member
OP
Member
Joined
Jul 6, 2015
Messages
289
Trophies
0
Age
26
XP
605
Country
A nice feature request would be to automatically install games to the SD if the SD filesystem is mounted to the system and if movable.sed and 0x35keyX are provided.
The ticket(s) would be in a separate folder for FBI to mass-install them, since it is not possible to install tickets (currently) with just the SD card.
It sounds pretty hard. Is it related to a tool named fuse-3ds?
Does not work for me on windows 7 x86. Stucks on Tmd status: Fetching... Raw and CIA folders are empty
Did the "encTitleKey" field show up your game's titlekey or it was "fetching..." too? And is it happen with every other titles?
 
Last edited by tranxuanthang,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    bassviolet @ bassviolet: uwu