| Versions |
 |
|
| Author |
Topic  |
|
dumpper
Canada
118 Posts |
Posted - 29 mai 2005 : 12:37:34
|
Follow the success of hacking methods on iGuidance, I've been asking myself "Why not on S & T ?", so below are some of the leads that I found:
(before trying any of the below, BACKUP your original file !)
S&T seems to put all the cosmetic icons, dialogues etc. & all other the interface-related items in the file called "MSM10USA.dll", not the main program "Streets.exe". If you have read the iGuidance hack (in the "Feedback" section), I was able to customize the GPS panel in my S&T in similar way:
BEFORE:

AFTER:

Note that in the above picture, I was using "GPSGate" to simulate myself moving at a speed of 900 km/h somewhere in Russia, and for some reason, S & T wasn't able to display this fast speed correctly (can't use it on a plane ?!!?). This is just a rough idea to show you what can be done ...
The below image shows the hacking location which gives the above result (under Dialog, branch #31500):

You can pretty much move things around, change your own texts etc., even insert additional images, but DON'T DELETE anything that is already there since it will likely cause S&T to crash !
The following are useful stuffs that you can definitely check out for customization ideas:
* Font Size in the GPS panel: Dialog > branch #31500
* GPS Signal Strength: Bitmap > 31520
* GPS Panel Background: Bitmap > 31521 & 31522
* Compass 1: Bitmap > 31523, for animating the compass when rotating up to 180 degrees COUNTERCLOCKWISE from N, consisting of 24 adjacent images of 87 pixels x 87 pixels (2088 x 87 px)
* Compass 2: Bitmap > 31524, for animating the compass when rotating up to 180 degrees CLOCKWISE from N, consisting of 24 adjacent images of 87 pixels x 87 pixels (2088 x 87 px)
* Compass 3: Bitmap > 31525, no GPS signal received
* Car icon - with GPS signal: Icon > 63 (linked to "Icon Groups > 5704")
* Car icon - no GPS signal: Icon > 64 (linked to "Icon Groups > 5705")
Tons of things you can play with .... Have fun & enjoy ! (post your results here if possible)
Next, I'd need Marvin's help to incorporate a 1-key shortcut in his "S&TKeys" program to make all 3 of my frequently-used checkboxes (under GPS Tracking) being "checked" AT ONCE on the GPS Panel (just like you did with the "F" for "Full Screen" in iGuidance). I think this may be possible since there's also an "Accelerators" field in the "MSM10USA.dll" file.
MapPoint logo embeded in S&T (!):
 |
Edited by - dumpper on 29 mai 2005 20:51:07
|
|
|
Ads
|
|
|
Marvin Hlavac
Canada
6838 Posts |
Posted - 29 mai 2005 : 14:46:17
|
If you do not feel comfortable doing any of the above, please do not do it. All the above information is provided without warranty and on a 'use at your own risk' basis
I guess the disclaimer should be there... And not just for what is above, but for everything that will likely follow in this thread.
For people who haven't followed the Interface Customization Ideas thread in iGuidance forums, the utility software Dumpper used to change the car icon in his S&T and to customize his GPS Task pane is ResourceHacker (ResHacker) dowloadale from: http://www.users.on.net/johnson/resourcehacker/
Dumpper that is an excellent find! I only looked into the EXE, I never bothered checking what was hidden in DLL's. I think we are going to have some more fun now with S&T!   
Marvin Hlavac - Toronto, Canada |
 |
|
|
dumpper
Canada
118 Posts |
Posted - 29 mai 2005 : 19:56:50
|
(Thank you for the "Disclaimer", Marvin)
Here's another idea to help you with the customization:
If you don't want to use the keyboard shortcuts to activate the "GPS Tracking" & wish that there's something else that's easier to click than the current checkbox, how about a button ?

Go back to the "Dialog > 31500" branch (assuming you've already read the beginning of this thread & MADE A BACKUP OF THE ORIGINAL DLL):
1. Highlight the "1033" 2. Right-click on the "Track position" (or just "Position" in my example) & select "Edit control"

3. You should see the "BS_AUTOCHECKBOX" being highlighted in yellow:

4. Now click the "BS_PUSHBUTTON" instead & hit "OK":

5. It becomes a WORKING button, behaving like a switch:

6. Finally, "Compile Script" & "Save" the DLL as usual, then run "Streets.exe" to see your result ...
Enjoy ! |
 |
|
|
Marvin Hlavac
Canada
6838 Posts |
Posted - 29 mai 2005 : 21:49:03
|
That's excellent, and actually it could possibly be taken even one step further by creating a toolbar with important buttons. CarPC enthusiasts with their touch screens could like that.
P.S. Dumpper I'm going to look again at the idea you suggested in your first post.
Marvin Hlavac - Toronto, Canada |
 |
|
|
dumpper
Canada
118 Posts |
Posted - 29 mai 2005 : 22:25:17
|
| Unfortunately, ResHack can only go as far as the "interface" goes, and you cannot really change the "program logics" with this tools (there is, but it's beyond the scope of this forum) ... This means that you CANNOT bring buttons from one menu to another (I've tried: the buttons appeared but don't work due to variables not being loaded properly) & you can only play with whatever pre-existed buttons available there on the "cosmetic level": resize, change styles, fonts, bitmaps, icons etc. ... |
Edited by - dumpper on 29 mai 2005 22:27:06 |
 |
|
|
Marvin Hlavac
Canada
6838 Posts |
Posted - 31 mai 2005 : 15:27:28
|

;-) Actually it is possible to "bring buttons from one menu to another". The above picture shows I added "Find Nearby Places" button, which actually works, to the bottom of GPS Task pane. That way, for example, you could keep all toolbars closed to maximize visible map space, and still retain the ability to access POI's. It could be useful in situations where only touch screen is being used with no keyboard.
The above is just a prove of concept and it is not something I'm going to now implement in my setup. But when I have some more time I will surely play around this idea ;-)
Marvin Hlavac - Toronto, Canada |
Edited by - Marvin Hlavac on 31 mai 2005 15:30:20 |
 |
|
|
HyperSprite
USA
4 Posts |
Posted - 01 juin 2005 : 16:29:28
|
Thanks for the info, I rebuilt my 31500 dialog box so the check box areas are larger, so it is easier to tap with the touchscreen. If it is allowed on this board, I will post the code from that if anyone wants it.
Anyone know how to change the menu bar sizes? I would love to triple the size of the various buttons on the top. I tried just resizing the image for it but then it just showed up black. Another thing that would be nice is a button on the GPS pane to reveal and hide the "Directions" pane.
Chris |
Edited by - HyperSprite on 01 juin 2005 16:31:45 |
 |
|
|
dumpper
Canada
118 Posts |
Posted - 01 juin 2005 : 18:46:54
|
Marvin,
I've tried bringing out the "Shortest" & "Quickest" buttons from the "Segments" tab (in "More Route Options" dialog) without success. I'll check it again ...
On another front, I was looking at codes of the "Streets.exe" last night & saw that the version of the "Microsoft GPS Module" is already "8.0", and that it's capable of producing a file called "GPSLog.txt" at "C:\" while it's running ... |
 |
|
|
Marvin Hlavac
Canada
6838 Posts |
Posted - 02 juin 2005 : 03:57:32
|
Hi Chris, Welcome to GpsPasSion Forums! Yes, please share with us your creations, so others can learn. I myself don't use a touch screen, but I realize this does have a potential to make S&T more touch screen friendly. I haven't had much free time last few days, but I'm looking forward to spending some quality time with this perhaps in a week or so ;-)
But so far I know of no way to do anything to the actual tool bars :-( Perhaps the "only hope" I see is in adding some useful buttons into GPS Task pane. I wish we could get rid off the overview map in GPS Task pane to recover some space that could be used better. I personally have no use for the overview map. To add the Directions pane, if that's what you want, I think that should be no problem, just give me a few days (this is a very bad week for me).
Dumpper, I'm not sure about the Shortest & Quickest buttons, but I'll look at it. We need to get rid of the darn overview map so we have more space for more buttons ;-)
Marvin Hlavac - Toronto, Canada |
 |
|
|
HyperSprite
USA
4 Posts |
Posted - 02 juin 2005 : 08:25:17
|
This is what I got for the 31500
31500 DIALOGEX 0, 0, 158, 249 STYLE WS_CHILD CAPTION "" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "Tahoma" { CONTROL "", 31504, STATIC, SS_GRAYRECT | WS_CHILD | WS_VISIBLE, 0, 0, 158, 65 CONTROL "GPS Tracking", 31531, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 234, 66, 8 CONTROL "Track", 31513, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 3, 68, 60, 22 , 0x00020000 CONTROL "Centered", 31502, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 64, 68, 60, 22 , 0x00020000 CONTROL "Rotate", 31501, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 3, 90, 60, 22 , 0x00020000 CONTROL "Trail", 31514, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 64, 90, 60, 22 , 0x00020000 CONTROL "", 31518, STATIC, SS_SIMPLE | SS_SUNKEN | WS_CHILD | WS_VISIBLE | WS_DISABLED, 0, 115, 158, 1 CONTROL "Routing", 31528, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 82, 235, 48, 8 CONTROL "Recalculate route from current location to:", 31529, STATIC, SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 3, 119, 200, 8 CONTROL "", 31526, COMBOBOX, CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 4, 129, 123, 71 CONTROL "Go", 31525, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 129, 129, 24, 30 CONTROL "Route Planner", 31527, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 3, 147, 50, 13 CONTROL "", 31516, STATIC, SS_SIMPLE | SS_SUNKEN | WS_CHILD | WS_VISIBLE | WS_DISABLED, 0, 162, 158, 1 CONTROL "Config GPS...", 31503, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 3, 165, 50, 13 }
Chris
PS, I agree 100% on the overview map, dumping or at least resizing to as small as possible would be great. |
 |
|
|
Marvin Hlavac
Canada
6838 Posts |
Posted - 02 juin 2005 : 12:03:49
|
Thanks Chris. Here is a picture to show what your code does to the GPS Task pane:
I resized the overview map to the minimum possible size. That's all we can do for now to reclaim some lost real-estate ;-)
I do like your idea of saving space by putting the "Centered" and "Trail" functions to the right of the other two functions rather than below them as it is in the original S&T 05. It is just a "little thing" but it saves a lot of space for more buttons which will follow ;-)
The size of the "Go" button and other features is now definitely more touch screen friendly (and also it is easier to hit with a mouse ;-)
Marvin Hlavac - Toronto, Canada |
 |
|
|
Marvin Hlavac
Canada
6838 Posts |
Posted - 03 juin 2005 : 19:55:29
|
Here is another possible design of GPS Task pane ;-)

31500 DIALOGEX 0, 0, 158, 249 STYLE WS_CHILD CAPTION "" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US FONT 8, "Tahoma" { CONTROL "", 31504, STATIC, SS_GRAYRECT | WS_CHILD | WS_VISIBLE, 0, 0, 158, 65 CONTROL "Track", 31513, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 3, 68, 60, 22 , 0x00020000 CONTROL "Centered", 31502, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 64, 68, 60, 22 , 0x00020000 CONTROL "Rotate", 31501, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 3, 90, 60, 22 , 0x00020000 CONTROL "Trail", 31514, BUTTON, BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 64, 90, 60, 22 , 0x00020000 CONTROL "", 31518, STATIC, SS_SIMPLE | SS_SUNKEN | WS_CHILD | WS_VISIBLE | WS_DISABLED, 0, 115, 158, 1 CONTROL "Recalculate route from current location to:", 31529, STATIC, SS_LEFTNOWORDWRAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 3, 119, 200, 8 CONTROL "", 31526, COMBOBOX, CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 4, 129, 123, 71 CONTROL "Go", 31525, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 129, 129, 24, 36 CONTROL "Route Options", -30153, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 3, 148, 65, 18 CONTROL "", 31516, STATIC, SS_SIMPLE | SS_SUNKEN | WS_CHILD | WS_VISIBLE | WS_DISABLED, 0, 170, 158, 1 CONTROL "Route Planner", -30500, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 3, 175, 65, 18 CONTROL "Find Nearby Places", -30225, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 3, 195, 65, 18 }
Since we don't know at the moment how to eliminate the overview map I would just recommend to resize it by dragging its borders and then save it as template.
Marvin Hlavac - Toronto, Canada |
Edited by - Marvin Hlavac on 04 juin 2005 00:54:39 |
 |
|
|
HyperSprite
USA
4 Posts |
Posted - 03 juin 2005 : 22:58:12
|
Good information Marvin, I had no idea I could save it as a template. Now I have it starting without all the extra tool bars as well. I tried dragging the overview map smaller and that worked but when I save the template and restart Streets it comes back with the same old size.
On another note, I am working on a skin for Road Runner (a car pc project over at MP3car.com (here http://www.mp3car.com/vbulletin/forumdisplay.php?f=72 ). I have been able to use RR's "sendkeys" command to zoom the map in/out and open and close various panes in Streets, I should have a working model in about two more days. The combination of your tricks and Road Runner, Streets might just work well enough.
Chris |
 |
|
|
Marvin Hlavac
Canada
6838 Posts |
Posted - 04 juin 2005 : 00:49:59
|
Yes, saving as a template is very useful because this way S&T will retain some (not all) of our preferred settings, for example map may be zoomed into a specific area, or it will remember which pane you want to see when you open S&T. It will even remember the size of Direction pane, GPS Task pane, or Route Planner. But yes, I was wrong in assuming we could resize the overview map inside GPS Task pane and save it as a template. I tried it now, but the overview map always shows up in its default size. If there is anyone out there who will come up with an idea how we can get rid of the overview map I will pay for his/her next version of S&T 2006 ;-)
Chris good luck with the skin for RR. Keep up posted on your progress. I personally don't use a touch screen in my setup. I use a plain inexpensive 15" (!) desktop LCD monitor and I have a small keyboard attached to my dashboard. I created S&Tkeys to solve most of my problems. But of course exploring other possibilities, at least in this thread, is always fun ;-)
Marvin Hlavac - Toronto, Canada |
 |
|
|
hapymudy
USA
7 Posts |
Posted - 27 juil. 2005 : 04:28:34
|
All good stuff! Makes S&T all the more enjoyable. I have a gps carputer set up with an Innovatek touch screen .. LOVE the hacks that are touch screen (big button!) friendly! Anyone who has code that I can review and possibly snag would be appreciated.
My question is likely a very noob kind of question ... I have the dll editor program and have had success making edits, but how do I have the track position, rotate and centered buttons begin as checked? I turn on the PC and want to have GPS functionality asap. Thanks for the tips! |
 |
|
|
Marvin Hlavac
Canada
6838 Posts |
Posted - 28 juil. 2005 : 03:46:16
|
;-) Such a basic think, but S&T cannot do it yet (out of the box). Let's see if the upcoming 06 version improves on this. You could perhaps achieve it by sending key strokes automatically.
Marvin Hlavac - Toronto, Canada |
 |
|
Topic  |
|
|
|
| This page was generated in 0,91 seconds. |
 |
|