Coder Social home page Coder Social logo

vitasmith / cdecrypt Goto Github PK

View Code? Open in Web Editor NEW
302.0 8.0 22.0 148 KB

Decrypt Wii U NUS content — Forked from: https://code.google.com/archive/p/cdecrypt/

License: Other

Batchfile 0.72% C 98.49% Makefile 0.79%
wiiu wiiu-emulation wiiu-hacking decryption aes sha1sum cemu windows linux macos

cdecrypt's Introduction

CDecrypt

Windows Build Linux Build Github stats Latest release

Description

A utility that decrypts Wii U NUS content files.

Details

This is a fork of https://code.google.com/p/cdecrypt intended for modders who want to explore or modify the content of the Wii U applications they own.

Unlike other clones, this version of cdecrypt has no external dependencies such as OpenSSL libraries and whatnot: A single executable file is all you need. It also supports international characters, does not need to reside in the same directory as the NUS content, and can be compiled for Linux or macOS.

Usage

cdecrypt <NUS file or directory> [<target directory or existing file>]

If only one parameter is specified, the content is extracted into the same directory where the NUS files reside. If an existing file is provided as the second parameter, it is ignored (to preserve compatibility with the previous versions of CDecrypt). If the second parameter is not an existing file, then it is used as the target directory to extract files in, with any intermediate directories created if needed.

Note that on Windows, you can drag and drop a directory/file directly onto cdecrypt.exe.

cdecrypt's People

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

cdecrypt's Issues

Error when decrypting Splatoon

I wanted to decrypt Splatoon, because I used JNUSTool and didn't get the code and content folders. I ran CDecrypt, but got this error halfway through:

ERROR: Could not read 65536 bytes from 'splatoon/content/Pack/ObjSmall.pack'

Does anyone know what that means and how to fix it (if possible)?

Unable to Compile - "bash: make: command not found"

Compiling on Steam Deck fails with this message. The cdecrypt folder is downloaded. When using the cdecrypt command, it returns "bash: cdecrypt: command not found". I tried again after following pineguy-64's comment on JSaterdalen's issue but nothing seems to change. I'm new to this so I might just be doing it wrong but I'd appreciate any help.

Cannot decrypt files randomly

On windows it looks like randomly it will fail to decrypt files, I integrated this cdecrypt fork into my WiiUDownloader program and it has random issues when decrypting on windows for some users, it sometimes work, it sometimes doesn’t

96B12DEF-44FD-493E-A47F-425F07B61023

Batch (multiple) NUS folders

Do you have plans to add batch support, perhaps the ability to specify a source folder containing any number of NUS folders and a destination folder to write all the decrypted folders?

Or alternatively, do you have an external script that can batch process as above with your decrypt exe?

The only tool I know of that can handle batch decryption (without downloading) is USB Helper - but that's a little heavy on the UI and database files, plus all the source folders have to be put into its expected locations before they can be used.

Remaining case sensitivity issues on Linux

See attached. If the hex value in the filename before the extension is a letter, the program assumes it will be uppercase and fails. I manually renamed 0000000d.app to 0000000D.app etc and the program ran successfully.

Thanks for keeping Linux users in mind! The program works great otherwise.

Edit: I saw a similar report on gbatemp and you reported this fixed. Just to be clear, I hit this problem on a fresh git pull this afternoon (Jan 1st). Seems like a lingering bug remains.

Screenshot_20210101_142416

Include binaries in the release

Could you add a binary version of cdecrypt for Linux and Windows in the release page? It would helpful to avoid setting up a development environment and going straight to the decrypt.

Cant extract: Permission denied

Running as admin, while extracting BOTW
Could not create "C:\Users\caleb\Documents\Games\CEMU\gamefiles\BOTW\content\Movie\Demo101_0.mp4"
Permission denied

Tried both this one and the older one (original)

FYI: Added NixOS Package

Just FYI, I've added a build file for NixOS for cdecrypt. PR here.

Thank you for making it so easy to build!

(not a real issue so just close)

Feature Request: The ability to decrypt No-Intro releases.

According to Putnam, all the files to decrypt are there. V10lator/NUSspli#210

"The TMD is present in the No-Intro sets. The files look a little bit different to the way custom apps are renaming the downloads, though. There is no .app extension on the content files. The h3 files are present where applicable. tmd's are versioned (tmd, tmd.0, tmd.xx) as opposed to just being "tmd" or "title.tmd". And if a cetk is present it may also be versioned in a similar way (cetk.XX)."

Program has issues decrypting following titles

Child of Light [0005000E1015B200] (Wii U Download Only) (TITLE v0010) (UPDATE v16)
China Warrior [0005000010165500] (TurboGrafx16)
Darts Up [0005000010135100] (Wii U Download Only) (TITLE v0000)
Devil's Third [0005000E10177600] (Wii U Retail & Download) (TITLE v0010) (UPDATE v16)
Kirby and the Rainbow Curse [0005000E101ABC00] (Wii U Retail & Download) (TITLE v0010) (UPDATE v16)
Mario & Sonic at the Rio 2016 Olympic Games [0005000E101E5300] (Wii U Retail & Download) (TITLE v0010) (UPDATE v16)
Mario Party 10 [0005000E10162D00] (Wii U Retail & Download) (TITLE v0010) (UPDATE v16)
Shockman [0005000010165D00] (TurboGrafx16)
Star Fox Guard [0005000E101BEC00] (Wii U Retail & Download) (TITLE v0010) (UPDATE v16)
Star Fox Zero [0005000E101B0400] (Wii U Retail & Download) (TITLE v0010) (UPDATE v16)
TEKKEN TAG TOURNAMENT 2 Wii U EDITION [0005000E10110000] (Wii U Retail & Download) (TITLE v0020) (UPDATE v32)
The Legend of Zelda Twilight Princess HD [0005000E1019E500] (Wii U Retail & Download) (TITLE v0051) (UPDATE v81)
Tokyo Mirage Sessions #FE [0005000E101ED800] (Wii U Retail & Download) (TITLE v0010) (UPDATE v16)
Wii Karaoke U [000500001010B800] (TITLE v0001)
Zumba Fitness World Party [0005000E10142A00] (Wii U Retail & Download) (TITLE v0010) (UPDATE v16)

Content that doesnt decrypt at alll

Fatal Frame Maiden Black Water eshop Game and DLC (these one is detected by cemu even though there are some meta files not decrypted by the tool and causes a crash in the game selection mode)
Tekken Tag 2 Update
Twilight Princess Update
image
image
image
image
After these it crashes

Compiling for Mac gives error [-Werror,-Wunused-but-set-variable]

When running make in the cdecrypt folder I get the following errors:

[C] cdecrypt.c
cdecrypt.c:220:14: error: variable 'written' set but not used [-Werror,-Wunused-but-set-variable]
    uint64_t written = 0;
             ^
cdecrypt.c:304:14: error: variable 'written' set but not used [-Werror,-Wunused-but-set-variable]
    uint64_t written = 0;
             ^
2 errors generated.
make: *** [cdecrypt.o] Error 1

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.