Ok, so im writing an installer for Dark_Alexs timemachine, and Im trying to figure out how to find the correct files and the copy them into where they need to be on the PSP. Heres the code so far----
;Time Machine Installer!!!!!!!!!!!
;Written by Angelsniper45
;===========================================================================================================================================================
;Start up the app and initialize the setup process
Global window=CreateWindow("Time Machine Installer!",0,0,800,600)
timemachinedir=RequestDir("Where do you want to create a time machine folder?")
If folderlist$>"" And Right$(folderlist$,1)="\" Then
folderlist$=Left$(folderlist$,Len(folderlist$)-1)
EndIf
If $101(1) Then InstallTimeMachine()
Const TPM_RETURNCMD = $100
;Create window
win = CreateWindow("TimeMachine Options",100,100,400,300)
txt = CreateLabel("Right-click anywhere to open popupmenu",10,10,250,50,win)
mnuFile = CreateMenu("&File",0,WindowMenu(win))
whatfwuserhas = CreateMenu("&What firmware do you want?",1,mnuFile)
savetheoptionscontinueinstallation = CreateMenu("&Save and continue installation",1,mnuFile)
escape= CreateMenu("&Exit",1,mnuFile)
mnuEdit = CreateMenu("&Edit",0,WindowMenu(win))
daxswebsitelink = CreateMenu("&Go to Dark_Alex.org", 1,mnuEdit)
includedextras = CreateMenu("&What extras do you want to include?", 2,mnuEdit)
restartinstallationincaseofmistake = CreateMenu("&Restart installation",3,mnuEdit)
mnuEditMore = CreateMenu("PSP stats",4,mnuEdit)
mnuEditMoreStuff = CreateMenu("Stuff",5,mnuEditMore)
UpdateWindowMenu(win)
;Find the timemachine core files and install on PSPs root folder
;Functions
;InstallTimeMachine() - install time machine
Function InstallTimeMachine()
Its still in the VERY VERY early stages of developement so any help would be greatly appreciated. Peace!
;Time Machine Installer!!!!!!!!!!!
;Written by Angelsniper45
;===========================================================================================================================================================
;Start up the app and initialize the setup process
Global window=CreateWindow("Time Machine Installer!",0,0,800,600)
timemachinedir=RequestDir("Where do you want to create a time machine folder?")
If folderlist$>"" And Right$(folderlist$,1)="\" Then
folderlist$=Left$(folderlist$,Len(folderlist$)-1)
EndIf
If $101(1) Then InstallTimeMachine()
Const TPM_RETURNCMD = $100
;Create window
win = CreateWindow("TimeMachine Options",100,100,400,300)
txt = CreateLabel("Right-click anywhere to open popupmenu",10,10,250,50,win)
mnuFile = CreateMenu("&File",0,WindowMenu(win))
whatfwuserhas = CreateMenu("&What firmware do you want?",1,mnuFile)
savetheoptionscontinueinstallation = CreateMenu("&Save and continue installation",1,mnuFile)
escape= CreateMenu("&Exit",1,mnuFile)
mnuEdit = CreateMenu("&Edit",0,WindowMenu(win))
daxswebsitelink = CreateMenu("&Go to Dark_Alex.org", 1,mnuEdit)
includedextras = CreateMenu("&What extras do you want to include?", 2,mnuEdit)
restartinstallationincaseofmistake = CreateMenu("&Restart installation",3,mnuEdit)
mnuEditMore = CreateMenu("PSP stats",4,mnuEdit)
mnuEditMoreStuff = CreateMenu("Stuff",5,mnuEditMore)
UpdateWindowMenu(win)
;Find the timemachine core files and install on PSPs root folder
;Functions
;InstallTimeMachine() - install time machine
Function InstallTimeMachine()
Its still in the VERY VERY early stages of developement so any help would be greatly appreciated. Peace!