Skip to content

Instantly share code, notes, and snippets.

View sidekickDan's full-sized avatar

Danny Leary sidekickDan

View GitHub Profile
@sidekickDan
sidekickDan / mooer.php
Created January 5, 2022 08:28 — forked from sonnm/mooer.php
Convert GE200 preset file to GE 150
<?php
if (isset($_POST["submit"])) {
$content = file_get_contents($_FILES["file"]["tmp_name"]);
$array = unpack("C*", $content);
//print_r($array);
$effectModule = [];
//FX/COMP 541 - 548
$effectModule['FX/COMP']['TYPE'] = $array[541] - 1;
$effectModule['FX/COMP']['SWITCH'] = $array[542];