2020-11-06 17:44:34 +01:00
|
|
|
#ifndef _FSB_KEYS_H_
|
|
|
|
#define _FSB_KEYS_H_
|
2023-01-23 00:52:58 +01:00
|
|
|
#include <stdint.h>
|
2020-11-06 17:44:34 +01:00
|
|
|
|
2023-01-23 00:52:58 +01:00
|
|
|
/*
|
2020-11-06 17:44:34 +01:00
|
|
|
* List of known keys, found in aluigi's site (http://aluigi.altervista.org), forums, guessfsb.exe or manually.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Unknown:
|
|
|
|
// - Battle: Los Angeles
|
|
|
|
// - Guitar Hero: Warriors of Rock, DJ hero FSB
|
|
|
|
// - Longmenkezhan
|
|
|
|
// - Gas Guzzlers: Combat Carnage (PC?) "C5FA83EA64B34EC2BFE" hex or text? [FSB5]
|
|
|
|
|
|
|
|
typedef struct {
|
2023-01-23 00:52:58 +01:00
|
|
|
uint8_t flags;
|
|
|
|
const char* key;
|
|
|
|
size_t key_size; /* precalc'd for speed */
|
2020-11-06 17:44:34 +01:00
|
|
|
} fsbkey_info;
|
|
|
|
|
2023-01-23 00:52:58 +01:00
|
|
|
#define FLAG_FSB4 (1 << 0) /* key is valid for FSB4/3 */
|
|
|
|
#define FLAG_FSB5 (1 << 1) /* key is valid for FSB5 */
|
|
|
|
#define FLAG_STD (1 << 2) /* regular XOR mode */
|
|
|
|
#define FLAG_ALT (1 << 3) /* alt XOR mode (seemingly not tied to FSB version or anything, maybe wrong key) */
|
|
|
|
|
|
|
|
#define MODE_FSB4_STD (FLAG_FSB4 | FLAG_STD)
|
|
|
|
#define MODE_FSB4_ALT (FLAG_FSB4 | FLAG_ALT)
|
2023-06-03 17:57:46 +02:00
|
|
|
#define MODE_FSB4_ALL (FLAG_FSB4 | FLAG_STD | FLAG_ALT)
|
2023-01-23 00:52:58 +01:00
|
|
|
#define MODE_FSB5_STD (FLAG_FSB5 | FLAG_STD)
|
|
|
|
#define MODE_FSB5_ALT (FLAG_FSB5 | FLAG_STD)
|
|
|
|
#define MODE_FSB5_ALL (FLAG_FSB5 | FLAG_STD | FLAG_ALT)
|
|
|
|
#define MODE_FSBS_STD (FLAG_FSB4 | FLAG_FSB5 | FLAG_STD)
|
|
|
|
#define MODE_FSBS_ALL (FLAG_FSB4 | FLAG_FSB5 | FLAG_STD | FLAG_ALT)
|
|
|
|
|
|
|
|
/* ugly macro for string + precomputed len (removing string's extra NULL)*/
|
|
|
|
#define FSBKEY_ADD(key) key, sizeof(key) - 1
|
|
|
|
|
2020-11-06 17:44:34 +01:00
|
|
|
static const fsbkey_info fsbkey_list[] = {
|
2023-01-23 00:52:58 +01:00
|
|
|
{ MODE_FSBS_STD, FSBKEY_ADD("DFm3t4lFTW") }, // Double Fine Productions: Brutal Legend, Massive Chalice, etc (multi)
|
|
|
|
{ MODE_FSB4_STD, FSBKEY_ADD("nos71RiT") }, // DJ Hero 2 (X360)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("H$#FJa%7gRZZOlxLiN50&g5Q") }, // N++ (PC?)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("sTOoeJXI2LjK8jBMOk8h5IDRNZl3jq3I") }, // Slightly Mad Studios: Project CARS (PC?), World of Speed (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("%lAn2{Pi*Lhw3T}@7*!kV=?qS$@iNlJ") }, // Ghost in the Shell: First Assault (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("1^7%82#&5$~/8sz") }, // RevHeadz Engine Sounds (Mobile)
|
2023-06-03 17:57:46 +02:00
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("FDPrVuT4fAFvdHJYAgyMzRF4EcBAnKg") }, // Dark Souls 3 (PC)
|
|
|
|
{ MODE_FSB4_STD, FSBKEY_ADD("p&oACY^c4LK5C2v^x5nIO6kg5vNH$tlj") }, // Need for Speed Shift 2 Unleashed (PC)
|
2023-01-23 00:52:58 +01:00
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("996164B5FC0F402983F61F220BB51DC6") }, // Mortal Kombat X/XL (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("logicsounddesignmwsdev") }, // Mirror War: Reincarnation of Holiness (PC)
|
|
|
|
{ MODE_FSBS_ALL, FSBKEY_ADD("gat@tcqs2010") }, // Xian Xia Chuan (PC) [untested]
|
|
|
|
{ MODE_FSBS_ALL, FSBKEY_ADD("j1$Mk0Libg3#apEr42mo") }, // Critter Crunch (PC), Superbrothers: Sword & Sworcery (PC) [untested]
|
|
|
|
{ MODE_FSBS_ALL, FSBKEY_ADD("@kdj43nKDN^k*kj3ndf02hd95nsl(NJG") }, // Cyphers [untested]
|
|
|
|
{ MODE_FSBS_ALL, FSBKEY_ADD("Xiayuwu69252.Sonicli81223#$*@*0") }, // Xuan Dou Zhi Wang / King of Combat [untested]
|
|
|
|
{ MODE_FSBS_ALL, FSBKEY_ADD("kri_tika_5050_") }, // Ji Feng Zhi Ren / Kritika Online [untested]
|
|
|
|
{ MODE_FSBS_ALL, FSBKEY_ADD("mint78run52") }, // Invisible Inc. (PC?) [untested]
|
|
|
|
{ MODE_FSBS_ALL, FSBKEY_ADD("5atu6w4zaw") }, // Guitar Hero 3 [untested]
|
|
|
|
{ MODE_FSBS_ALL, FSBKEY_ADD("B2A7BB00") }, // Supreme Commander 2 [untested]
|
|
|
|
{ MODE_FSB4_STD, FSBKEY_ADD("ghfxhslrghfxhslr") }, // Cookie Run: Ovenbreak
|
|
|
|
{ MODE_FSB4_ALT, FSBKEY_ADD("truck/impact/carbody") },// Monster Jam (PS2) [FSB3]
|
2023-06-03 17:57:46 +02:00
|
|
|
{ MODE_FSB4_ALT, FSBKEY_ADD("\xFC\xF9\xE4\xB3\xF5\x57\x5C\xA5\xAC\x13\xEC\x4A\x43\x19\x58\xEB\x4E\xF3\x84\x0B\x8B\x78\xFA\xFD\xBB\x18\x46\x7E\x31\xFB\xD0") }, // Guitar Hero 5 (X360)
|
|
|
|
{ MODE_FSB4_ALT, FSBKEY_ADD("\x8C\xFA\xF3\x14\xB1\x53\xDA\xAB\x2B\x82\x6B\xD5\x55\x16\xCF\x01\x90\x20\x28\x14\xB1\x53\xD8") }, // Guitar Hero: Metallica (X360)
|
2023-01-23 00:52:58 +01:00
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("G0KTrWjS9syqF7vVD6RaVXlFD91gMgkC") }, // Sekiro: Shadows Die Twice (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("BasicEncryptionKey") }, // SCP: Unity (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("FXnTffGJ9LS855Gc") }, // Worms Rumble Beta (PC)
|
|
|
|
{ MODE_FSB4_STD, FSBKEY_ADD("qjvkeoqkrdhkdckd") }, // Bubble Fighter (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("p@4_ih*srN:UJk&8") }, // Fall Guys (PC) update ~2021-11
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD(",&.XZ8]fLu%caPF+") }, // Fall Guys (PC) update ~2022-07
|
2023-05-10 14:05:10 +02:00
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("^*4[hE>K]x90Vj") }, // Fall Guys (PC) update ~2023-05
|
2023-01-23 00:52:58 +01:00
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("Achilles_0_15_DpG") }, // Achilles: Legends Untold (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("4FB8CC894515617939F4E1B7D50972D27213B8E6") }, // Cult of the Lamb Demo (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("X3EK%Bbga-%Y9HZZ%gkc*C512*$$DhRxWTGgjUG@=rUD") }, // Signalis (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("281ad163160cfc16f9a22c6755a64fad") }, // Ash Echoes beta (Android)
|
2023-02-17 01:03:42 +01:00
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("Aurogon666") }, // Afterimage demo (PC)
|
|
|
|
{ MODE_FSB5_STD, FSBKEY_ADD("IfYouLikeThosesSoundsWhyNotRenumerateTheir2Authors?") }, // Blanc (PC/Switch)
|
2020-11-06 17:44:34 +01:00
|
|
|
};
|
|
|
|
static const int fsbkey_list_count = sizeof(fsbkey_list) / sizeof(fsbkey_list[0]);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _FSB_KEYS_H_ */
|