RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 11:09 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Table Naming Enhancement
PostPosted: Tue May 24, 2022 8:02 pm 
Offline
RomRaider Donator
User avatar

Joined: Fri Jul 26, 2019 3:35 am
Posts: 789
Location: United States of America
So an area that table names could be improved upon is with referencing. Currently, if you want to change the name of a table, you have to change it within the table template file alongside every single definition file that uses that table template. And if you accidentally forget to do so, you can't use that table until you fix it.

I'm not sure how subaru defs are setup, but Nissan defs are based entirely on a2l provided tables. Just about every single table has a unique abbreviation, such as "mQTBL", "mAFBTP", "mTQH0L", etc. These table abbreviations even line up with Nissan patents! So they're the most accurate identifiers you could use for each table. But they don't exactly mean anything to humans when looking at them. Hence why all the tables have normal, non-abbreviated, names.

So I was thinking that using these abbreviations within the definition files, but having RomRaider Editor display a separate name would allow for the display name to be updated JUST inside the table template, while the individual ROM definition files would provide the address for the abbreviation name.

Example:
Code:
Current RomRaider Formatting: (mCSTQA is the a2l abbreviation name)
Definition File:
<table name="MAF Characteristic Coefficient" storageaddress="0x7C76"/>

Table Template File:
   <table type="1D" name="MAF Characteristic Coefficient" category="Airflow//Main" storagetype="uint8" userlevel="1">
      <scaling base="- (x)"/>
      <description><!--mCSTQA-->Sample Text</description>
   </table>


Potential Future RomRaider Formatting:
Definition File:
<table name="mCSTQA" storageaddress="0x7C76"/>

Table Template File:
   <table type="1D" name="mCSTQA" displayname="MAF Characteristic Coefficient" category="Airflow//Main" storagetype="uint8" userlevel="1">
      <scaling base="- (x)"/>
      <description>Sample Text</description>
   </table>

Another option could be copying the subcategories formatting and using "//" to separate them. Such as "mCSTQA//MAF Characteristic Coefficient".

_________________
NissanDefinitions Repository


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 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