GPSFileDepot.com
 

getting a gmapsupp.img file into Mapsource - error message

Started by GPSdeveloper, August 24, 2009, 01:45:06 AM

Previous topic - Next topic

GPSdeveloper

Having read about four tutorials including:
http://www.gpsfiledepot.com/tutorials/how-to-load-.img-files-into-mapsource-with-mapsettoolkit/

I am stumped.
For this example I am using Mexico .img file.

I use gmaptool to verify the file and get:


====================================================================
Input file: C:/Newmap/gmapsupp.img.
Reading file C:/Newmap/gmapsupp.img.


File: C:/Newmap/gmapsupp.img, length 80683008
Header: 29.11.2007 07:50:20, DSKIMG, xor 00h
Mapset: City Navigator Mexico NT 2008 ALL (20.08)
fat: 1000h - 1200h - D000h, block 4096
maps: 10, sub-files 11

Sub-file         fat     length
00000278 MDR   1200h   9215499
00000278 SRT   2600h       968
I0764A30 GMP   2800h   4192406
map 764a30 (7752240)
PID 1, FID 278, region 1,1
date 27.11.2007 14:14:41
priority 30, parameters 1 3 17, locked
N: 18.855329, S: 14.532037, W: -105.112553, E: -97.984872
City Navigator Mexico NT 2008
Copyright 1995-2007 by GARMIN Corporation.
CP 1252, Western European
I0764A33 GMP   3200h  10577932
map 764a33 (7752243)
PID 1, FID 278, region 1,1
date 27.11.2007 14:23:29
priority 30, parameters 1 3 17, locked
N: 31.784348, S: 24.877725, W: -107.457061, E: -96.331944
City Navigator Mexico NT 2008
Copyright 1995-2007 by GARMIN Corporation.
CP 1252, Western European
I0764A36 GMP   4800h   6780428
map 764a36 (7752246)
PID 1, FID 278, region 1,1
date 27.11.2007 14:17:56
priority 30, parameters 1 3 17, locked
N: 24.877768, S: 21.754603, W: -107.457061, E: -96.331944
City Navigator Mexico NT 2008
Copyright 1995-2007 by GARMIN Corporation.
CP 1252, Western European
I0764A39 GMP   5600h  13775493
map 764a39 (7752249)
PID 1, FID 278, region 1,1
date 27.11.2007 14:24:40
priority 30, parameters 1 3 17, locked
N: 21.754646, S: 14.532037, W: -97.984872, E: -86.239414
City Navigator Mexico NT 2008
Copyright 1995-2007 by GARMIN Corporation.
CP 1252, Western European
I0764A3C GMP   7400h   6116860
map 764a3c (7752252)
PID 1, FID 278, region 1,1
date 27.11.2007 14:16:53
priority 30, parameters 1 3 17, locked
N: 32.718658, S: 22.264094, W: -117.560620, E: -107.457018
City Navigator Mexico NT 2008
Copyright 1995-2007 by GARMIN Corporation.
CP 1252, Western European
I0764A4D GMP   8200h  12487628
map 764a4d (7752269)
PID 1, FID 278, region 1,1
date 27.11.2007 14:23:47
priority 30, parameters 1 3 17, locked
N: 21.754646, S: 18.855286, W: -107.457061, E: -100.352898
City Navigator Mexico NT 2008
Copyright 1995-2007 by GARMIN Corporation.
CP 1252, Western European
I0764A50 GMP   9C00h   2702607
map 764a50 (7752272)
PID 1, FID 278, region 1,1
date 27.11.2007 14:14:12
priority 30, parameters 1 3 17, locked
N: 21.754646, S: 19.806633, W: -100.352941, E: -97.984872
City Navigator Mexico NT 2008
Copyright 1995-2007 by GARMIN Corporation.
CP 1252, Western European
I0764A52 GMP   A200h  14755776
map 764a52 (7752274)
PID 1, FID 278, region 1,1
date 27.11.2007 14:26:25
priority 30, parameters 1 3 17, locked
N: 19.806676, S: 18.855286, W: -100.352941, E: -97.984872
City Navigator Mexico NT 2008
Copyright 1995-2007 by GARMIN Corporation.
CP 1252, Western European
MAPSOURC MPS   C200h       926

Map              length s-f  CP    prio  PID   FID  name
00000278 IDX   9216467  2
I0764A30 NT    4192406  1  1252   30 L    1   278  ACAPULCO DE JUAREZ, MEXICO  >City Navigator Mexico NT 2008
I0764A33 NT   10577932  1  1252   30 L    1   278  MONTERREY, MEXICO  >City Navigator Mexico NT 2008
I0764A36 NT    6780428  1  1252   30 L    1   278  SAN LUIS POTOSI, MEXICO  >City Navigator Mexico NT 2008
I0764A39 NT   13775493  1  1252   30 L    1   278  COATZACOALCOS, MEXICO  >City Navigator Mexico NT 2008
I0764A3C NT    6116860  1  1252   30 L    1   278  TIJUANA, MEXICO  >City Navigator Mexico NT 2008
I0764A4D NT   12487628  1  1252   30 L    1   278  GUADALAJARA, MEXICO  >City Navigator Mexico NT 2008
I0764A50 NT    2702607  1  1252   30 L    1   278  SAN JUAN DEL RIO, MEXICO  >City Navigator Mexico NT 2008
I0764A52 NT   14755776  1  1252   30 L    1   278  CIUDAD DE MEXICO, MEXICO  >City Navigator Mexico NT 2008
MAPSOURC MPS       926  1

Data MPS
L: PID 1, FID 278, map 764A30, (211809 0),  ACAPULCO DE JUAREZ, MEXICO  >City Navigator Mexico NT 2008
L: PID 1, FID 278, map 764A33, (211796 0),  MONTERREY, MEXICO  >City Navigator Mexico NT 2008
L: PID 1, FID 278, map 764A36, (211808 0),  SAN LUIS POTOSI, MEXICO  >City Navigator Mexico NT 2008
L: PID 1, FID 278, map 764A39, (211810 0),  COATZACOALCOS, MEXICO  >City Navigator Mexico NT 2008
L: PID 1, FID 278, map 764A3C, (211790 0),  TIJUANA, MEXICO  >City Navigator Mexico NT 2008
L: PID 1, FID 278, map 764A4D, (211811 0),  GUADALAJARA, MEXICO  >City Navigator Mexico NT 2008
L: PID 1, FID 278, map 764A50, (211833 0),  SAN JUAN DEL RIO, MEXICO  >City Navigator Mexico NT 2008
L: PID 1, FID 278, map 764A52, (211834 0),  CIUDAD DE MEXICO, MEXICO  >City Navigator Mexico NT 2008
P: PID 1, FID 278, (5 1 0)
V: City Navigator Mexico NT 2008 ALL (0)
U: Q3FB7-8L7Y4-U8DF2-HN66H-FP2W3
F: PID 1, FID 278, City Navigator Mexico NT 2008


Then I hit Split and i get

Split selected maps.
Input file: C:/Newmap/gmapsupp.img.
Reading file C:/Newmap/gmapsupp.img.
Split map C:/Newmap/gmapsupp.img.
Write map  00000278 ->     0278_mdr.img, file   9232384, header   2000h, block 8192
Write map  I0764A30 ->     07752240.img, file   4202496, header   2000h, block 8192
Write map  I0764A33 ->     07752243.img, file  10592256, header   2000h, block 8192
Write map  I0764A36 ->     07752246.img, file   6791168, header   2000h, block 8192
Write map  I0764A39 ->     07752249.img, file  13791232, header   3000h, block 4096
Write map  I0764A3C ->     07752252.img, file   6127616, header   2000h, block 8192
Write map  I0764A4D ->     07752269.img, file  12500992, header   2000h, block 8192
Write map  I0764A50 ->     07752272.img, file   2711552, header   2000h, block 4096
Write map  I0764A52 ->     07752274.img, file  14774272, header   4000h, block 4096
Write unl  gmaptool00.unl, codes 1
Write file mapset00.mp
Write file mapset00.tdb
Write file mapset00.mdx
Running compiler for preview map compilation.
""cgpsmapper.exe" -l "C:/Garmin/Mexico/mapset00.mp""


Looks good so far.

Next I run MapSetToolkit as in the tutorial and I get the error message:
Input data ERROR:
ERROR PE05: Could not open index file. Check if you are using compatible cGPSmapper version.
C:\Garmin\Mexico\07752274.img.idx

This file does not exist. In fact there are no .idx files.
I am puzzled why this fails.

If I select a single .img file in MapSetToolkit, it finishes without error, but when I open mapsource and select the map, nothing is there.

What am I missing here?

Added:
If you want to test this d/l the gmapsupp.img file here:
http://www.garmin.com/garmin/cms/site/us/cache/offonce/us/samsung/overview#fragment-3
(change the extension to .zip and extract the file)


maps4gps

I am not sure about the issues, but from the Garmin website, it would appear s/he is downloading a trial version and trying to convert it for someother use - I would say a clear violation of copywright.

Indrid Cold

Hi, at the bottom of this page is our Usage Policy, please read it. What you are attempting to do seems to violate it. Sorry but we're going to lock this down.

GPSdeveloper

>What you are attempting to do seems to violate it. Sorry but we're going to lock this down.

Hmmm not sure about that. There is nothing on that page to restrict or limit the use of those publicly available files. Just because they are labelled for another system doesn't seem relevant. I use Qtips labellled for ear canal use all day long to clean parts, is that a use violation too?

Regardless, thanks for the tip. It now works... of course if I didn't own 5 GARMIN DEVICES I wouldn't be able to use anything anyway, and since I purchased every map they sell, I doubt they care either.


Indrid Cold

http://www.garmin.com/garmin/cms/site/us/lang/en/install_instr_en

QuoteSoftware License Agreement

By downloading, installing, or using this software, you agree to be bound by the terms and conditions of the following license agreement. Please read this agreement carefully.

Garmin Corporation ("Garmin") grants you a limited, non-exclusive license to use the upgrade software ("Software") in binary executable form in the normal operation of the applicable Garmin products. Title, ownership rights, and intellectual property rights in and to the Software remain in Garmin. This license is personal to you and you may make copies of the software only for your personal use. You agree that this license agreement does not need to be signed for it to take effect.

The software is provided on an "as is" basis without warranty of any kind — either expressed or implied — including, without limitation, any implied warranties of merchantability or fitness for a particular purpose. Garmin does not warrant the performance of the software or that the software will meet your requirements or operate error free.

You acknowledge that this Software is the property of Garmin and is protected under United States of America copyright laws and international copyright treaties. You further acknowledge that the structure, organization, and code of the Software are valuable trade secrets of Garmin and that the Software in source code form remains a valuable trade secret of Garmin. You agree not to decompile, disassemble, modify, reverse assemble, reverse engineer, or reduce to human readable form the Software or any part thereof or create any derivative works based on the Software.

You agree not to export or re-export the Software to any country in violation of the export control laws of the United States of America
So what part do you not understand?

GPSdeveloper

Oh Jeeze, Its amazing how the preachers come out when it suits.
Excuse me but arn't ALL the garmin file formats propietary formats?
Yet many developers "reverse engineer" them to be able to save files in those formats. Are you preaching at the guys that created these tools?

given half a chance, I would actually like to contribute something to this forum, unfortunatly, like most, you are very quick to slaughter the new guy it seems.

GPSdeveloper

Oh what rubbish. I have spoken to Garmin on several occasions about their file formats and they have assured me they are proprietary and may not be reverse engineered. How can any of these tools work without reading and writing these file formats.

Im not going to trade insults with you but this is just self serving nonsense.

GPSdeveloper

I am not just talking about the .img file sir.

GPSdeveloper

Pls pay attention. You all fall over yourselves to condem me for the very thing that you honor others for doing. If you want to strictly apply the garmin copyright boilerplate to everything then recognize that their file formats are covered also... ALL of them. You can't have it both ways.

So while you're busy "roasting the new guy" to earn your brown nose points, remember that you are also embarrasing some good developers... you know who you are.

-Oz-

#9
Well this is very interesting.

GPSDeveloper: As much as we'd love to help you take Garmin's maps and use them on all of your devices it would be illegal for us to do so.  gmaptool is flirting with the boundaries of legality as is because it has the ability to take maps that are on SD cards and break them apart so you can use them in MapSource and then streching it further; on other GPS units.

I also own a great many Garmin units and it sucks to have to pay to upgrade their autonav maps separately but cracking them (albeit not super difficult) is very illegal.

So GPSDeveloper, I have spoken but have not yet banned you.  I understand what it is you want to do; but to help you do it would put this site in jeapordy.  The goal here is to provide maps that augment what is currently available and make it easy to people to use them.  I have no desire to decompile other commercially available maps.
Dan Blomberg
Administrator - GPSFileDepot
GPS Units: Garmin Dakota 20, Garmin GPSMap 60csx, Nuvi 255W, Nuvi 250W, ForeRunner 110, Fenix 2, Tactix Bravo, Foretrex 401
See/Download My Maps!

GPSdeveloper

Oh for goodness sake, do you really think Garmin cares? They would have gone after many tool developers and implemented strong protection if that were the case.
They have a perfectly sound unlock process for protecting things they do care about. No one can make any use of these maps without owning a unit and unlocking them.

Do you think they are going to put stuff on their web site that can be downloaded by anyone if their sole protection is Mutt and Jeff on this website?

They know that 99% of their user base is a) not interested and b) incapable of completing the steps required. They also know that even if they are, they have purchased a unit which the bulk of thier profit anyway.

But none of this is relevant. You are all over my case for doing the something that many others have done (you even link to their tools) So if you are going to refer to that as "flirting with the boundaries of legality" then you should probably use the same language to describe my activity. Fair enough?

-Oz-

#11
Fair enough; but not here.

Banned
Dan Blomberg
Administrator - GPSFileDepot
GPS Units: Garmin Dakota 20, Garmin GPSMap 60csx, Nuvi 255W, Nuvi 250W, ForeRunner 110, Fenix 2, Tactix Bravo, Foretrex 401
See/Download My Maps!