diff --git a/ddt4all.py b/ddt4all.py
index 576541b7..07d2f0b8 100644
--- a/ddt4all.py
+++ b/ddt4all.py
@@ -384,6 +384,8 @@ def launchPlugin(self, pim):
if self.paramview:
self.paramview.init('')
pim()
+ if self.paramview:
+ self.paramview.initELM()
def screenRename(self):
item = self.treeview_params.currentItem()
diff --git a/ecu.py b/ecu.py
index 49017d9d..4f1244ec 100644
--- a/ecu.py
+++ b/ecu.py
@@ -734,6 +734,13 @@ def __init__(self, data, isfile=False):
if os.path.exists("./ecus/" + data + ".xml"):
data = "./ecus/" + data + ".xml"
+ if isfile and ".xml" not in data[-4:] and ".json" not in data[-5:]:
+ xmlname = data + ".xml"
+ if os.path.exists(xmlname):
+ data = xmlname
+ else:
+ data += ".json"
+
if isfile and '.json' in data:
data2 = "./json/" + data
if os.path.exists(data):
@@ -752,6 +759,7 @@ def __init__(self, data, isfile=False):
jsdata = zf.read(data)
else:
print "Cannot found file ", data
+ return
ecudict = json.loads(jsdata)
diff --git a/package.py b/package.py
old mode 100644
new mode 100755
diff --git a/plugins/card_programming.py b/plugins/card_programming.py
index 19d271b7..b9f806fe 100644
--- a/plugins/card_programming.py
+++ b/plugins/card_programming.py
@@ -19,7 +19,7 @@ def get_isk(ecu, ecu_response):
def plugin_entry():
- megane_ecu = ecu.Ecu_file("UCH_84_J84_03_60.json", True)
+ megane_ecu = ecu.Ecu_file("UCH_84_J84_03_60", True)
# Request gathering
start_session_request = megane_ecu.requests[u'Start Diagnostic Session']
diff --git a/plugins/clio3_eps_reset.py b/plugins/clio3_eps_reset.py
index 785fb5fb..a30c74e8 100644
--- a/plugins/clio3_eps_reset.py
+++ b/plugins/clio3_eps_reset.py
@@ -17,7 +17,7 @@
class Virginizer(gui.QDialog):
def __init__(self):
super(Virginizer, self).__init__()
- self.clio_eps = ecu.Ecu_file("DAE_J77_X85_Gen2___v3.7.json", True)
+ self.clio_eps = ecu.Ecu_file("DAE_J77_X85_Gen2___v3.7", True)
layout = gui.QVBoxLayout()
infos = gui.QLabel("Modus/Clio III EPS VIRGINIZER
THIS PLUGIN WILL RESET EPS IMMO DATA
GO AWAY IF YOU HAVE NO IDEA OF WHAT IT MEANSTHIS PLUGIN WILL RESET EPS IMMO DATA
GO AWAY IF YOU HAVE NO IDEA OF WHAT IT MEANSTHIS PLUGIN WILL ERASE YOUR UCH
GO AWAY IF YOU HAVE NO IDEA OF WHAT IT MEANSTHIS PLUGIN WILL ERASE YOUR UCH
GO AWAY IF YOU HAVE NO IDEA OF WHAT IT MEANSTHIS PLUGIN WILL ERASE YOUR UCH
GO AWAY IF YOU HAVE NO IDEA OF WHAT IT MEANSTHIS PLUGIN WILL RESET EPS IMMO DATA
GO AWAY IF YOU HAVE NO IDEA OF WHAT IT MEANSTHIS PLUGIN WILL ERASE YOUR UCH
GO AWAY IF YOU HAVE NO IDEA OF WHAT IT MEANS"
"AIRBAG VIRGINIZER
THIS PLUGIN WILL UNLOCK AIRBAG CRASH DATA
"
diff --git a/sniffer.py b/sniffer.py
index 2840a904..8f55ea60 100644
--- a/sniffer.py
+++ b/sniffer.py
@@ -191,7 +191,8 @@ def init(self):
return False
for req in sorted(self.ecurequests.requests.keys()):
- self.framecombo.addItem(req)
+ if 'DTOOL' not in req.upper():
+ self.framecombo.addItem(req)
self.oktostart = True
self.startbutton.setEnabled(True)