by spillpot » Thu Oct 07, 2010 2:48 pm
After a bit more fiddling I've managed to make some progress, but still don't have a working solution. For reference I'm using the version of TomTom referenced in Fatboyfun's tutorial (that starts TomTom in French when maps aren't activated), and map 'Euorpe_2GB_850_2801', but I doubt this actually matters much.
Taking Fatboyfun's latest advise I loaded mortscript into the navigator folder along with setmem.exe and a file called TT7BOT.exe that I found in a separate download. I then created a mortscript containing the following:
----------
Errorlevel ("off")
Delete ("\SDMMC\Europe_2GB_850_2801\MapSettings.cfg")
sleep 100
Delete ("\SDMMC\Navigator\CurrentMap.dat")
Delete ("\SDMMC\Navigator\UserPatch.dat")
sleep 100
XCopy("\SDMMC\Navigator\MapSettings\*.*","\SDMMC\Europe_2GB_850_2801\")
sleep 100
SET SETMEM, "\SDMMC\Navigator\SetMem.exe"
Run (%SETMEM%, "70000")
sleep 100
RunWait ("\SDMMC\Navigator\TTN7BOT.EXE")
sleep 100
Exit
---------
When running the mortscript I am now able to get TomTom to load and have been able to change the settings to English, locate my home etc. etc. and exit the application to create a new mapsettings.cfg (which I saved before adding the part about deleting it in the script above). I then configured the GPS to the correct baud and port and managed to get a satelite lock. However, within seconds of getting a lock, everything grinds to a halt and the program either locks up, or crashes with the "out of memory" error. Before the satelites lock I can use TomTom OK, including setting advanced routes and running a demo. I've even installed speedcams and 7-digit postcodes no problem. But as I say, it's still unusable as soon as I get a satelite lock.
I'm not convinced re-using a saved mapsettings.cfg file makes any difference, but have read in many threads this helps to get a working solution, hence why in the script.
I don't really understand the setmem.exe parameters. I've tried increasing and decreasing the value. Increasing it to 10000 seems to stop TomTom loading (get the out of memory error) and reducing to 6000 causes TomTom to hang on loading. 7000 and 8000 seem to get me to what I describe above.
Anyone have any suggestions?