sorry for the crappy formatting
function process(dir)
local a = dir:sub(1,1)
if a == "/" then
fPath="/emu"..dir
else
fPath="/emu/"..dir
end
return fPath
end
ofsopen = fs.open
pocket = true
ofsexists = fs.exists
ofsisDir = fs.isDir
ofsisReadOnly = fs.isReadOnly
ofsgetName = fs.getName
ofsgetDrive = fs.getDrive
ofsgetSize = fs.getSize
ofsgetFreeSpace = fs.getFreeSpace
ofsmakeDir = fs.makeDir
ofsmove = fs.move
ofscopy = fs.copy
ofsdelete = fs.delete
ofsopen = fs.open
ofsgetDir = fs.getDir
fs.open=function(fn,fm)
b = process(fn)
return ofsopen(b,fm)
end
shell.run("n")
edit: it says "file not found"and yes, the file is there, and is in the base directory, and ive also tried putting it in the only other dir on the computer
Edited by Creeper9207, 06 August 2015 - 06:19 PM.












