This file contains hidden or 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
<?php | |
function downloadFromApi($endpointUrl) { | |
if (!is_dir('./apicache')) | |
mkdir('./apicache'); | |
if (file_exists('./apicache/' . md5($endpointUrl))) { | |
$content = file_get_contents('./apicache/' . md5($endpointUrl)); | |
} else { | |
$baseApiUrl = 'https://flyff-api.sniegu.fr'; | |
$retryCount = 0; | |
$downloadSuccess = false; |
This file contains hidden or 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
@mixin generateColumnBreakpoints($elemMinWidth, $columnSpacing, $windowMinWidth, $windowMaxWidth) { | |
$currentWidth: $windowMinWidth; | |
@media (max-width: $windowMinWidth) { | |
width: 100%; | |
margin-left: 0; | |
margin-right: 0; | |
} | |
@while $currentWidth < $windowMaxWidth { |
This file contains hidden or 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
<?php | |
//movable.sed_bak is the movable of the old/source 3ds extracted from a backup or wherever | |
$fileContentOriginal = file_get_contents('movable.sed'); | |
$keyYOriginal = substr($fileContentOriginal, 0x110, 16); | |
//id0 of the new system that you want to find keyY for | |
$targetId0 = "ID0 here"; | |
function getId0($keyY) { | |
$sha = hex2bin(hash("sha256", $keyY)); |
This file contains hidden or 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
<?php | |
//movable.sed_bak is the movable of the old/donor 3ds extracted from a backup or wherever | |
$fileContentOriginal = file_get_contents('movable.sed_bak'); | |
$keyYOriginal = substr($fileContentOriginal, 0x110, 16); | |
//movable.sed is the movable.sed_bak from the old/donor 3ds with the LFCS changed to the new dumped one | |
$fileContentNewLFCS = file_get_contents('movable.sed'); | |
$keyYNewLFCS = substr($fileContentNewLFCS, 0x110, 16); |