RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Mon Jun 27, 2022 4:00 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: UTILITY: RomRaider XML Profile to Tactrix standalone logcfg
PostPosted: Sun May 03, 2020 2:14 pm 
Offline
Newbie
User avatar

Joined: Mon Apr 16, 2012 9:29 pm
Posts: 23
Location: Banana-Land
https://github.com/macedot/logcfg

Quick-n-dirty implementation of a python tool to convert a RomRaider XML profiles to Tactrix standalone logcfg.txt file.

Still on early stages (just a day of work so far) and some features like composite and conditional expressions are still missing.

Not much attention was given to comments on source code (should be clear to read as possible) neither on generated file ()

Kudos to hunterjm as this implementation is totally inspired by his OpenPort LogCfg Generator tool.

_________________
'02 WRX SW, VF24; Such fun, very wow
10 FXT (stock + cooler mod)
--
https://github.com/macedot/logcfg - RomRaider XML Profile To Tactrix Stand-alone logcfg converter tool


Top
 Profile  
 
 Post subject: Re: UTILITY: RomRaider XML Profile to Tactrix standalone log
PostPosted: Sun May 03, 2020 7:44 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 6991
Location: Canada eh!
Nice.
Does this online version not work for you?
http://romraider.com/logcfg/


Top
 Profile  
 
 Post subject: Re: UTILITY: RomRaider XML Profile to Tactrix standalone log
PostPosted: Sun May 03, 2020 9:55 pm 
Offline
Newbie
User avatar

Joined: Mon Apr 16, 2012 9:29 pm
Posts: 23
Location: Banana-Land
dschultz wrote:
Nice.
Does this online version not work for you?
http://romraider.com/logcfg/


Nope, it generates an "empty" response for the attached XML.

Maybe it's because my ecu (6CF2504007, '10 FXT ADM/SADM) isn't supported so I had to pick a similar one (62421A4007, '10 FXT USDM). It shouldn't be the case - I believe - since all parameters are from 32 bit base.

In the meantime, that's another limitation so far: my tool doesn't use the ECU ID so it would only work for base parameters.


Attachments:
RR_LOG.xml [9.4 KiB]
Downloaded 213 times

_________________
'02 WRX SW, VF24; Such fun, very wow
10 FXT (stock + cooler mod)
--
https://github.com/macedot/logcfg - RomRaider XML Profile To Tactrix Stand-alone logcfg converter tool
Top
 Profile  
 
 Post subject: Re: UTILITY: RomRaider XML Profile to Tactrix standalone log
PostPosted: Mon May 04, 2020 8:48 am 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 6991
Location: Canada eh!
If the ECU ID doesn't exist and you pick something similar, then it's possible your profile contains param IDs not valid for the "similar" ECU ID.
It should generate a more meaningful message, or skip incompatible parameters and at least generate a list of matches and a meaningful message.
And since your ECU ID is not in the Logger def any extended parameters will be missing.

BTW: the term 32 Bit Base is only valid for an ECU Definition, it has no relevance in a logger def.


Top
 Profile  
 
 Post subject: Re: UTILITY: RomRaider XML Profile to Tactrix standalone log
PostPosted: Mon May 04, 2020 12:41 pm 
Offline
Newbie
User avatar

Joined: Mon Apr 16, 2012 9:29 pm
Posts: 23
Location: Banana-Land
dschultz wrote:
(1)
if the ECU ID doesn't exist and you pick something similar, then it's possible your profile contains param IDs not valid for the "similar" ECU ID.
It should generate a more meaningful message, or skip incompatible parameters and at least generate a list of matches and a meaningful message.
And since your ECU ID is not in the Logger def any extended parameters will be missing.

(2)
BTW: the term 32 Bit Base is only valid for an ECU Definition, it has no relevance in a logger def.


1) Sure, but IMHO it should generate a file with anything it recognize and report - as you said - what's wrong.

2) Thx! That's something that still confuses me from time to time.

Cheers!

_________________
'02 WRX SW, VF24; Such fun, very wow
10 FXT (stock + cooler mod)
--
https://github.com/macedot/logcfg - RomRaider XML Profile To Tactrix Stand-alone logcfg converter tool


Top
 Profile  
 
 Post subject: Re: UTILITY: RomRaider XML Profile to Tactrix standalone log
PostPosted: Mon May 04, 2020 6:20 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 6991
Location: Canada eh!
tmacedo wrote:
1) Sure, but IMHO it should generate a file with anything it recognize and report - as you said - what's wrong.
It does, but the file is just an error message that a user won't understand.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl