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
<?php | |
$ur_skill_reversemap=[ | |
"Princess" => "Smile", | |
"Angel" => "Pure", | |
"Empress" => "Cool" | |
]; | |
// It expects English center skill. | |
function generate_center_description($str) { | |
global $ur_skill_reversemap; |
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
# CardInstall.ps1 | |
<# | |
Script to add all cards to database as .card files. | |
The specification of the .card file can be found here: | |
(some_link) | |
#> | |
# Enumeration definition | |
$rarityEnum=@{N=0;R=1;SR=2;UR=3} | |
$attributeEnum=@{Smile=0;Pure=1;Cool=2;All=3} |
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
__unused = #string -- This is a Makefile which is also executable by Lua | |
__unused = #string --[[ | |
#Your Makefile script starts here | |
default: | |
@echo "Hello!" | |
#Your Makefile script ends here | |
ifeq (0,1) | |
__unused = #string ]]-- | |
-- Your lua script starts here |
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
-- Playground FLSH asset dumper. | |
-- It does not allow you to make new FLSH file!!! | |
local arg = {...} | |
local target_input = arg[1] | |
if target_input == nil then | |
print("Usage: lua flsh_dumper.lua <flsh path>") | |
print("It does not allow you to make new FLSH file!!!") | |
return 1 |
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
#include <cassert> | |
#include <cstdlib> | |
#include <cstdio> | |
#include <exception> | |
#include <stdexcept> | |
#include "HonokaMiku-4.0.2/DecrypterContext.h" | |
using namespace HonokaMiku; | |
class asteria_decrypter: public V2_Dctx |
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
// Show current playing user tracks when F7 is pressed | |
// Miku AuahDark <auahdark687291@gmail.com> | |
{$CLEO .cs3} | |
{$VERSION 3.1.0027} | |
{ | |
Reserved Variables: | |
0@ = LoadLibrary("msvcrt") | |
1@ = GetProcAddress(0@,"calloc") |
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
<?php | |
// login/authkey | |
return new class implements NPPS\ActionHandler | |
{ | |
private $NPPSDB = NULL; | |
function __construct() | |
{ | |
$NPPSDB = NPPS\GetMainDatabase(); | |
} | |
function __destruct() {} |
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
-- Playground FLSH asset dumper. | |
-- It does not allow you to make new FLSH file!!! | |
local arg = {...} | |
local target_input = arg[1] | |
if target_input == nil then | |
print("Usage: lua flsh_dumper.lua <flsh path>") | |
print("It does not allow you to make new FLSH file!!!") | |
return 1 |
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
#include <iostream> | |
#include <string> | |
#include <cstdarg> | |
#include <png.h> | |
using namespace std; | |
// Prints message in stderr and exit program in release build. | |
// In debug build, it trigger debug breakpoint instead. | |
void failexit(const char* file,const char* msg) { |
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
<?php | |
// Example NPPS3 module action handler | |
return new class implements NPPS\ActionHandler | |
{ | |
// You can add your variables in here. | |
private $YourVariables; | |
// Constructor must be public. One-time initialization can be done here. | |
public function __construct() {} | |
// Destructor must be public too. Do cleanup in here | |
public function __destruct() {} |
OlderNewer