Soso, dann hätten wir also ein Konkurrenz-Sabotabe-Modul eingefügt ...
Vielleicht solltest Du auch mal eine andere Varioskin-Version nehmen. Welche hast Du eigentlich drauf?
Das Script sokobana_auto_restart.mscr führt das Herunterfahren von Gopal "schonend" durch:
- Wenn Koord-Server läuft, wird er beendet.
- dann wird geprüft, ob bestimmte Programme im Hintergrund laufen. Wenn ja, werden diese beendet:
If ProcExists ("poiwarner.exe")
kill ("poiwarner.exe")
EndIf
If ProcExists ("poi-warner.exe")
kill ("poi-warner.exe")
Endif
If ProcExists ("MP3Player.exe")
kill ("MP3Player.exe")
EndIf
If WndExists ("GoPal Navigator")
KillScript ("run_nogyro.mscr")
Close ("GoPal Navigator")
If WndExists ("Settings")
Close ( "Settings" )
EndIf
- dann wird geprüft, ob sich der Hauptspeicher tatsächlich genügend geleert hat:
If WndExists ("GoPal Navigator")
KillScript ("run_nogyro.mscr")
Close ("GoPal Navigator")
If WndExists ("Settings")
Close ( "Settings" )
EndIf
Speicher=FreeMemory()
While (Speicher < 32000)
Speicher=FreeMemory()
Sleep ( 1000 )
EndWhile
Endif
- dann wird eine Datei gelöscht, die das BT-Verhalten stört:
# --- verbessert das BT-Verhalten (für alle Geräte richtig?) --- sokobana ----------------
If FileExists ("\windows\localdevice.ini")
Delete ("\windows\localdevice.ini")
Endif
- dann werden verschiedene Dateien gesichert:
# --- automatische Speicherung der Favoriten --- PrinzEmu --------------------------------
If DirExists ("\Storage Card")
If ( RegValueExists ("HKCU", "Software\sokobana", "AUTOBACKUP"))
If FileExists ("\My Flash Disk\settings\Navigation\pf.cdb")
ZipFile("\My Flash Disk\settings\Navigation\pf.cdb", "\Temp\fav.zip","\My Flash Disk\settings\Navigation\pf.cdb",8 )
If (fileExists("\Storage Card\BackupV3\fav.zip"))
Rename("\Storage Card\BackupV3\fav.zip","\Storage Card\BackupV3\fav.zip" & ".old",1)
Endif
Rename ("\Temp\fav.zip","\Storage Card\BackupV3\fav.zip")
EndIf
If FileExists ("\My Flash Disk\settings\Navigation\tourplan.xml")
Copy ("\My Flash Disk\settings\Navigation\tourplan.xml","\Storage Card\BackupV3\tourplan.xml",1)
EndIf
Endif
# --- DRM | automatische Speicherung Pathfinder.reg --- sokobana --------------------------------
# --- Variante I -----------------------------------------------------------
If FileExists ("\My Flash Disk\settings\Navigation\Pathfinder.reg")
Copy ("\My Flash Disk\settings\Navigation\Pathfinder.reg","\Storage Card\BackupV3\Pathfinder.reg",1)
EndIf
EndIf
- dann wird noch der genaue Zeitpunkt des Herunterfahrens notiert (wird für intelligenten Sat-Turbo benötigt.
- dann wird der Reset ausgeführt. Das wars dann schon.
Gruß sokobana
PS: Anscheinend bist Du der einzige, der das Konkurrenzprodukt nutzt. Jedenfalls hat sich bei uns sonst noch niemand beschwert ...