-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable long paths and fill version data in .exe
- Loading branch information
Showing
8 changed files
with
151 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,28 @@ | ||
# cdecrypt | ||
# CDecrypt | ||
|
||
[![Build status](https://img.shields.io/appveyor/ci/VitaSmith/cdecrypt.svg?style=flat-square)](https://ci.appveyor.com/project/VitaSmith/cdecrypt) | ||
[![Github stats](https://img.shields.io/github/downloads/VitaSmith/cdecrypt/total.svg?style=flat-square)](https://github.com/VitaSmith/cdecrypt/releases) | ||
[![Latest release](https://img.shields.io/github/release-pre/VitaSmith/cdecrypt?style=flat-square)](https://github.com/VitaSmith/cdecrypt/releases) | ||
|
||
A commandline utility that can be used to decrypt Wii U NUS content files. | ||
### Description | ||
|
||
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. | ||
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. | ||
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. | ||
|
||
### Usage | ||
|
||
``` | ||
cdecrypt <NUS file or directory> | ||
``` | ||
|
||
The content is extracted into the same directory where the NUS files reside. | ||
On Windows, you can also drag and drop a directory/file directly onto `cdecrypt.exe`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#pragma code_page(65001) | ||
|
||
#include <winver.h> | ||
#include <ntdef.h> | ||
|
||
#ifdef RC_INVOKED | ||
|
||
#define _TO_STRING(x) #x | ||
#define TO_STRING(x) _TO_STRING(x) | ||
|
||
#ifndef APP_DESC | ||
#define APP_DESC "" | ||
#endif | ||
|
||
#ifndef APP_MAJOR | ||
#define APP_MAJOR 0 | ||
#endif | ||
|
||
#ifndef APP_MINOR | ||
#define APP_MINOR 0 | ||
#endif | ||
|
||
#ifndef APP_NAME | ||
#define APP_NAME "" | ||
#endif | ||
|
||
#ifndef EXE_NAME | ||
#define EXE_NAME "" | ||
#endif | ||
|
||
VS_VERSION_INFO VERSIONINFO | ||
FILEFLAGS 0x0L | ||
FILEFLAGSMASK 0x3FL | ||
FILEOS 0x40004L | ||
FILESUBTYPE 0x0L | ||
FILETYPE 0x1L | ||
FILEVERSION APP_MAJOR,APP_MINOR,0,0 | ||
PRODUCTVERSION APP_MAJOR,APP_MINOR,0,0 | ||
BEGIN | ||
BLOCK "StringFileInfo" | ||
BEGIN | ||
BLOCK "040904b0" | ||
BEGIN | ||
VALUE "FileDescription", APP_DESC | ||
VALUE "FileVersion", TO_STRING(APP_MAJOR) "," TO_STRING(APP_MINOR) ",0,0" | ||
VALUE "InternalName", APP_NAME | ||
VALUE "LegalCopyright", "Copyright © 2020 VitaSmith, Copyright © 2013-2015 crediar" | ||
VALUE "OriginalFilename", EXE_NAME | ||
VALUE "ProductName", APP_NAME | ||
VALUE "ProductVersion", TO_STRING(APP_MAJOR) "," TO_STRING(APP_MINOR) ",0,0" | ||
END | ||
END | ||
BLOCK "VarFileInfo" | ||
BEGIN | ||
VALUE "Translation", 0x9, 1200 | ||
END | ||
END | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" > | ||
<asmv3:application> | ||
<asmv3:windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings"> | ||
<ws2:longPathAware>true</ws2:longPathAware> | ||
</asmv3:windowsSettings> | ||
</asmv3:application> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters