Coder Social home page Coder Social logo

funkeycia's People

Contributors

llakssz avatar shinji257 avatar solo761 avatar wrsg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

funkeycia's Issues

python3

this program should be refactored in python3 just because official support for python2 is ending.

Error running on "Windoze"

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...

Set CIA name from commandline

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 ''

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.