Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --THIS IS A TEMPORARY INSTALLER
- --shell.run"delete testgame"
- print"bear with the craploads of crap being outputted to the screen"
- automated = true
- fs.makeDir"Game-Engine"
- shell.run"rom/programs/http/pastebin run 6aMMzdwd AI221 Game-Engine master Game-Engine"
- fs.move("Game-Engine/testgame","testgame")
- --fs.move("Game-Engine/secondTown","secondTown")
- --instal redirect
- shell.run"rom/programs/http/pastebin get fU9Kj9zr Game-Engine/redirect"
- --load game-engine
- os.loadAPI"Game-Engine/redirect"
- os.loadAPI"Game-Engine/game"
- --load the map
- local f=fs.open("Game-Engine/stOld","r")
- local a=f.readAll()
- f.close()
- if a then print"good" end
- a = textutils.unserialize(a)
- --print(textutils.serialize(a))
- --save it
- game.save("secondTown",a)
- --delete the stOld
- fs.delete("Game-Engine/stOld")
- fs.delete("json")
Advertisement
Add Comment
Please, Sign In to add comment