Version updated, fixed index range bug on http install, this was an error in the code from Atmo-XL where it would join your http address to the download link - doh, no wonder people were having issues with the http servers - sorry about that.
Plus added to url install to remember the last url you typed.
You can use the index.php in the attached zip file - on raspberry pi or whatever.
Change these lines:
$Host = "http://192.168.0.51:80/"; //use your http servers own ip address or dns address
$rootFolder = $_SERVER['DOCUMENT_ROOT'] . "/";
$Folder = "nsp"; //Where the games file are stored, can contain subfolders
$cacheFolder = "cache/"; //the cache Folder where to store the cache file. MUST Have write permission.
$cacheFile = "cache.json"; //the cache File MUST Have write permission.
Also currently NSP/XCI files stored on the server should not have spaces in the file names - (I'll fix this later).
Plus added to url install to remember the last url you typed.
You can use the index.php in the attached zip file - on raspberry pi or whatever.
Change these lines:
$Host = "http://192.168.0.51:80/"; //use your http servers own ip address or dns address
$rootFolder = $_SERVER['DOCUMENT_ROOT'] . "/";
$Folder = "nsp"; //Where the games file are stored, can contain subfolders
$cacheFolder = "cache/"; //the cache Folder where to store the cache file. MUST Have write permission.
$cacheFile = "cache.json"; //the cache File MUST Have write permission.
Also currently NSP/XCI files stored on the server should not have spaces in the file names - (I'll fix this later).
Attachments
Last edited by mrdude,