2018-03-10 12:22:10 +01:00
|
|
|
/****************************************************************************
|
|
|
|
* Copyright (C) 2017-2018 Maschell
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
****************************************************************************/
|
2017-05-17 19:20:42 +02:00
|
|
|
package de.mas.wiiu.jnus;
|
2016-12-12 21:01:12 +01:00
|
|
|
|
|
|
|
public class Settings {
|
2017-05-17 19:20:42 +02:00
|
|
|
public static String URL_BASE = "http://ccs.cdn.c.shop.nintendowifi.net/ccs/download";
|
2018-12-06 15:31:48 +01:00
|
|
|
public static final int LATEST_TMD_VERSION = -1;
|
2016-12-12 21:01:12 +01:00
|
|
|
public static final String TMD_FILENAME = "title.tmd";
|
|
|
|
public static final String TICKET_FILENAME = "title.tik";
|
|
|
|
public static final String CERT_FILENAME = "title.cert";
|
|
|
|
|
|
|
|
public static final String ENCRYPTED_CONTENT_EXTENTION = ".app";
|
|
|
|
public static final String DECRYPTED_CONTENT_EXTENTION = ".dec";
|
|
|
|
public static final String WUD_KEY_FILENAME = "game.key";
|
|
|
|
public static final String WOOMY_METADATA_FILENAME = "metadata.xml";
|
|
|
|
public static final String H3_EXTENTION = ".h3";
|
2018-12-06 15:28:25 +01:00
|
|
|
public static final String USER_AGENT = "Mozilla/5.0 (Nintendo WiiU) AppleWebKit/536.28 (KHTML, like Gecko) NX/3.0.3.12.12 NintendoBrowser/3.0.0.9561.US";
|
2018-12-06 17:10:15 +01:00
|
|
|
public static final boolean ALLOW_PARALLELISATION = true;
|
2016-12-12 21:01:12 +01:00
|
|
|
|
|
|
|
public static byte[] commonKey = new byte[0x10];
|
|
|
|
public static int WIIU_DECRYPTED_AREA_OFFSET = 0x18000;
|
|
|
|
}
|