jimmyH / mypois

Build POIs for Skoda MIB2 (Columbus & Amundsen) SatNavs
GNU General Public License v2.0
20 stars 5 forks source link

MIB2 STD Delphi units #15

Open chefranov opened 7 months ago

chefranov commented 7 months ago

@jimmyH thank you for your project. Currently I am trying to make own POI Builder also with Python and faced with one issue. My POI everywhere (Audi MIB1/MIB2, VW MIB2 High, VW MIB2 TSD) work fine except of MIB2 TSD Delphi units. During installation I got -1% progress bar and error about can't install. I think issue in MIB2DE/metainfo2.txt file. Every file I create from zero so I generate it programatically. What can be wrong? Maybe some files have something like digital signature and Delphi units check it?

If I take POI from poibase, make changes (add translations) and run your scripts for generating hashes it will work fine. When I do it from zero with my POI I get error.

image

image image

MIB2DE/metainfo2.txt

# 
# This is the description file for the Software Update of Volkswagen components
# 
#################################################################################

[common]
skipSaveTrainName = "true"
vendor = "Delphi"
skipCheckSignatureAndVariant = "true"
region = "Europe"
region2 = "RoW"
region3 = "USA"
variant = "17245"
variant2 = "17246"
variant3 = "17250"
variant4 = "17251"
variant5 = "17247"
variant6 = "17252"
variant7 = "17254"
variant8 = "17255"
variant9 = "17268"
variant10 = "17269"
variant11 = "17270"
variant12 = "17271"
release = "2012/2013"
UserSWDL = "true"
skipMetaCRC = "true"
MetafileChecksum = "ab9032783ae6739433a0103b691a02a99f73cc95"
skipFileCopyCrc = "true"

[PersonalPOI]
VendorInfo = "Delphi"
DeviceDescription = "Personal POI Packages"

ConfigComponent = "PersonalPOI"
PacketName = "Package"
ConfigCheckPath = "../MIB2HIGH/PersonalPOI/Package/0/default"
ConfigFinalizePath = "/media/swdl/packages/PersonalPOI/Package"
IncludeModules = ",Package,"

[PersonalPOI\Package\0\default\Dir]
CheckSumSize = "524288"
CheckSum = "6184f75a6cc47d07d6dee27ff63b5b6d40340fa9"
FileSize = "7836017"
CheckType = "CheckReadData"
DeleteDestinationDirBeforeCopy = "true"
Version = "1"
UpdateOnlyExisting = "false"
IsDestinationInFFS = "false"
Source = "../../../../../MIB2HIGH/PersonalPOI/Package/0/default/"
Destination = "/media/swdl/packages/PersonalPOI/Package"
DisplayName = "Personal POIs"

[PersonalPOI\InfoFile\0\default\File]
CheckSumSize = "524288"
CheckSum = "3c52c35208731962315e14a939c031742dd90a27"
FileSize = "713"
Version = "3"
Source = "../../../../../MIB2HIGH/PersonalPOI/InfoFile/0/default/Update.txt"
Destination = "/media/swdl/packages/PersonalPOI/"
DisplayName = "Database Information"
DeleteDestinationDirBeforeCopy = "false"
UpdateOnlyExisting = "false"
jimmyH commented 7 months ago

There are a lot of things that the delphi unit may not like, even though it's working on other MIB2TSD units. Maybe it's case sensitive?

You will probably have to start from a package which works on the delphi unit, and slowly add all the changes from your config, until you find out what causes it to fail.

Good luck :)

chefranov commented 7 months ago

There are a lot of things that the delphi unit may not like, even though it's working on other MIB2TSD units. Maybe it's case sensitive?

I checked. Case is the same.

Before I had issue when delphi unit is not find POI on SD card. Issue was with CF and CRLF of files. And now I can't understand what wrong. I don't have Delphi unit. Each time I ask user of my POI to test it.