Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB

Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB (https://www.ft86club.com/forums/index.php)
-   Electronics | Audio | NAV | Infotainment (https://www.ft86club.com/forums/forumdisplay.php?f=27)
-   -   Decoding the SpeedcamUpdates.spud file (https://www.ft86club.com/forums/showthread.php?t=7952)

blalor 06-06-2012 07:50 AM

Decoding the SpeedcamUpdates.spud file
 
I saw @PERRIN_Jeff's post on modifying the nav's startup screen and the "speedcam" folder and got curious. I was able to create a speed cam entry manually in the nav interface; it writes a "SpeedcamUpdates.spud" file to the SD card. But that's boring. It seemed like the kind of thing that should be hackable. And it is.

I found a post (partially) detailing the format of that file on the GpsPasSion forums. I'm fluent with Python, so I threw a little something together on GitHub. It's rough, only decoding the one point I put in (which isn't even a camera, it's a fixed "you're going too fast" sign). If you're into that sort of thing, you can play along, too!

Let me know what you think. :)

NRGBalanced 06-06-2012 01:38 PM

Is it possible to do this in reverse? Say you got a dump of speed camera locations from a place like http://www.poi-factory.com. Once you formatted them correctly, is it possible to create a new SpeedcamUpdates.spud that the nav unit will read?

blalor 06-06-2012 01:43 PM

Absolutely. I'll have to do a little more noodling to figure out what if anything changes in the header, but then it's just a matter of re-packing the source file into the binary "spud" format.

Seems that I heard that they're illegal in Massachusetts (yay!), but known speed traps could be used, too.

Symbiont 06-06-2012 02:02 PM

I'm curious as to what this functionality was even designed for. Insurance?

blalor 06-06-2012 02:07 PM

Quote:

Originally Posted by Symbiont (Post 244599)
I'm curious as to what this functionality was even designed for. Insurance?

I guess you could call it that. With a list of speed cameras in the nav, it'll alert you when you're getting close to one (optionally only if you're speeding).

Oriental Life 06-06-2012 04:01 PM

In some countries disclosure of speedcam locations is required by law. I think UK is one of them.

Being a global vehicle, they saved on one version of firmware for all regions. Apparently, US data is missing.

Keep up the good work! Simple py converter from poi-factory (e.g.csv) to spud format would be super useful! Make sure it runs on py 2.6.1 :)

blalor 06-09-2012 09:28 AM

I created a sample set of points last night with some combinations of the various types of alerts, directions, etc. I've now decoded most of the file (and found that the original format I found was only partly applicable), but there are still four bytes I don't know what to do with. They could be a checksum, or additional information that's not visible from the nav UI… Can't build a new file from scratch until that stuff can be decoded.

The GitHub project's been updated accordingly.

Turbowned 06-10-2012 05:04 PM

Quote:

Originally Posted by blalor (Post 244556)
Seems that I heard that they're illegal in Massachusetts (yay!), but known speed traps could be used, too.

If that's true than a cop blatantly lied to me about being caught speeding on camera. I should've known he was bull$#!tting when I never got a ticket in the mail. I think he was just too lazy to run my license and reg, which was just as well!

Either way, this thread is very interesting! You could perhaps program known speed traps from here:

http://www.speedtrap.org/

OrbitalEllipses 06-10-2012 05:25 PM

Quote:

Originally Posted by NRGBalanced (Post 244543)
Is it possible to do this in reverse? Say you got a dump of speed camera locations from a place like http://www.poi-factory.com. Once you formatted them correctly, is it possible to create a new SpeedcamUpdates.spud that the nav unit will read?

Quote:

Originally Posted by blalor (Post 244556)
Absolutely. I'll have to do a little more noodling to figure out what if anything changes in the header, but then it's just a matter of re-packing the source file into the binary "spud" format.

I would love you forever.

blalor 06-11-2012 10:11 AM

Quote:

Originally Posted by Turbowned (Post 251340)
If that's true than a cop blatantly lied to me about being caught speeding on camera. I should've known he was bull$#!tting when I never got a ticket in the mail. I think he was just too lazy to run my license and reg, which was just as well!

According to this, tickets must be hand-delivered to the offender. Wow, that's like totally anti-nanny-state! Go Mass!

faz1 06-16-2012 12:46 PM

Quote:

Originally Posted by Oriental Life (Post 244840)
In some countries disclosure of speedcam locations is required by law. I think UK is one of them.


Yep. You're correct.

MrBodyMassage 07-03-2012 02:06 PM

Any update on this?

Hawaiian 07-03-2012 02:58 PM

Try using the waze app?

blalor 07-03-2012 05:45 PM

Quote:

Originally Posted by MrBodyMassage (Post 294008)
Any update on this?

No. Haven't had time to work on it. If anyone else wanted to play with creating some sample files via the nav, however, that'd perhaps be helpful in figuring out what some of these mystery fields are.


All times are GMT -4. The time now is 04:45 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging v3.3.0 (Lite) - vBulletin Mods & Addons Copyright © 2026 DragonByte Technologies Ltd.


Garage vBulletin Plugins by Drive Thru Online, Inc.