llakssz / funkeycia Goto Github PK
View Code? Open in Web Editor NEWPython tool for downloading content from CDN, uses only a title id and title key, or keyfile, to make a good cia.
License: GNU General Public License v3.0
Python tool for downloading content from CDN, uses only a title id and title key, or keyfile, to make a good cia.
License: GNU General Public License v3.0
Using Python for Windows 2.7.11 on Win7 64-bit
C:\temp\FunKeyCIA-master>FunKeyCIA.py -title xxxxxx -key xxxxxx
bf7ec474e251e7925bb
*******
FunKeyCIA by cearp
*******
Downloading TMD...
Downloaded TMD OK!
Downloading Contents...
0
Downloading 1 of 2. This file is 1.57 GB
Downloaded 1689489408 of 1689489408 bytes (100.00%)
1
Downloading 2 of 2. This file is 1004.00 KB
Downloaded 1028096 of 1028096 bytes (100.00%)
Title download complete
'make_cdn_cia.exe' is not recognized as an internal or external command,
operable program or batch file.
CIA not created...
this program should be refactored in python3 just because official support for python2 is ending.
For example, v16 (original) instead of v32 (revision 1/latest) of Super Mario Land (USA).
Already worked on it on my own time
can't be fucked with git though
parser.add_argument('-cianame', action='store', dest='cianame', help='Name of cia output')
def processContent(titleid, key):
if(len(arguments.cianame) is 0) or (arguments.cianame is None):
cianame = titleid
else:
cianame = arguments.cianame
if(arguments.ticketsonly):
if not os.path.exists('tickets'):
os.makedirs(os.path.join('tickets'))
else:
if(arguments.output_dir is not None):
rawdir = os.path.join(arguments.output_dir, 'raw', titleid)
ciadir = os.path.join(arguments.output_dir, 'cia', titleid)
else:
rawdir = os.path.join('raw', titleid)
ciadir = os.path.join('cia', titleid)
if not os.path.exists(rawdir):
os.makedirs(os.path.join(rawdir))
{ETC}
#cia generation
if(arguments.build):
if not os.path.exists(ciadir):
os.makedirs(ciadir)
makecommand = ' ' + os.path.join(rawdir) + ' ' + os.path.join(ciadir, cianame) + '.cia'
os.system(execname + makecommand)
if(os.path.isfile(os.path.join(ciadir, cianame) + '.cia')):
print 'CIA created ok!'
else:
print 'CIA not created...'
print ''
print ''
Colon is missing on line 277 resulting in syntax error and failure to run
if arguments.all
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.