Segment Swap utility

They go by many names, P01, P59, VPW, '0411 etc . Circa 1999 to 2006. All VPW OBD2 PCMs.
Posts: 315
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Postby kur4o » Sun Dec 06, 2020 6:58 am

Looking very good. It will need some further polishing, just take your time.

Some small bugs I noticed. In the editor the dtc address is not the status address but the dtc table address. When i try to import seektable it throughs a crash error. On hitting import DTC it imports all the suff seek tables and DTC.

Some more ideas. It will be nice if you can open more than 1 bin. It is already sorted by OS. List tables for each os for cross comparing. When you open a table it will print file name OS, and p/n of segment and address of table, the table is read from, somewhere in the header. Different modes can be added too. Single file edit, multiple files edit. You can cross search tables from all years, and compare with ease. Not sure if you plan to add more editor features like copy paste tables, import,export and so on. Opening more than 1 table will be nice too.

Here is the beta ls1 seek tables. Some tables are found on 99-00, and all from 01-07 if the tables are present since not all tables are present accross years.
Attachments
table-seek.rar
(4.97 KiB) Downloaded 28 times

User avatar
Posts: 306
Joined: Tue Dec 17, 2019 3:27 am

Re: Segment Swap utility

Postby joukoy » Sun Dec 06, 2020 9:48 pm

0.15.52

Known bugs fixed.
Added copy/paste and csv export to Tuner and Table Editor
Allow opening multiple tables.
xdf imported flags are using "Units" for storing mask, i leave it this way if it's not too confusig?
For example: Units: "Mask: 0x1"
This can be used too, if you add manually flags to tuner table list.

Editing multiple files same time requires massive rewrite of program.
It is possible, but don't know when have time for it.
As a workaround you can run multiple copies of UniversalPatcher.

Posts: 315
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Postby kur4o » Mon Dec 07, 2020 7:46 pm

Great work so far.
I found some bug in the x/y swap in the tuner editor. Sometimes it gets weird when you hit it more than once.
Can we add an external checkbox for it, for easy access.

If it is possible to display raw hex values in the tables, It will be really good for debugging conversion factor and confirm tables addresses. Maybe switchable with checkbox.

User avatar
Posts: 306
Joined: Tue Dec 17, 2019 3:27 am

Re: Segment Swap utility

Postby joukoy » Tue Dec 08, 2020 3:41 am

0.15.53

Raw hex display added to Table editor.
xdf import bugs fixed.
If table have description, it will show as tooltip when moving mouse cursor over table data. Can be disabled by menu.

Removed "datatype", added "Floating" and "outputtype" to TableData definition.
Now handling is like this:
Read from binary:
- 1, 2, 4 or 8 bytes integer or unsigned integer, or
- 4 or 8 bytes Floating point
And show as (using Math):
- Floating, integer, hex or text, or
- Raw hex if selected from menu.

Data is assumed to be Big Endian always...

Posts: 188
Joined: Thu Feb 13, 2020 11:32 pm

Re: Segment Swap utility

Postby ironduke » Tue Dec 08, 2020 4:42 am

version info is wrong, shows 15.3 instead of 15.53 .. Great work though!!!

Posts: 18
Joined: Thu Jan 19, 2017 11:09 pm

Re: Segment Swap utility

Postby Stokes1114 » Tue Dec 08, 2020 5:33 am

This is just awesome. Can't believe how great this has become! Thanks for the hard work guys..I'll have some UNLOCKED xdf's to contribute very soon thanks to this tool.

User avatar
Posts: 306
Joined: Tue Dec 17, 2019 3:27 am

Re: Segment Swap utility

Postby joukoy » Tue Dec 08, 2020 5:49 am

0.15.54

Version number fix :)
Fix for tooltip disable
Support for saving 8 byte values and fix for floating point saving. (Is there any floating points used?)

User avatar
Posts: 306
Joined: Tue Dec 17, 2019 3:27 am

Re: Segment Swap utility

Postby joukoy » Tue Dec 08, 2020 11:29 pm

0.15.55

Now Table Editor will not lose data when switching between calculated/raw data or swapping x/y

More xdf import bugs fixed, but it can only convert from "Conversion" (Math) to "SavingMath" when conversion is simple, starting with x*, x/, x+ or x-

If someone can create better functions for this, plase send copy/link.
For example: 0.12345*x-40
Yes, I know how to convert THIS, but how to create function for all possible variations?

There may still be conversions using other tables etc, in this case better to use TunerPro.

User avatar
Posts: 306
Joined: Tue Dec 17, 2019 3:27 am

Re: Segment Swap utility

Postby joukoy » Wed Dec 09, 2020 7:16 pm

0.15.56

Min/Max to TableSeek & TableData
Currently used only for xdf export

Posts: 315
Joined: Sun Apr 10, 2016 9:20 pm

Re: Segment Swap utility

Postby kur4o » Thu Dec 10, 2020 7:46 am

I tried the xdf import on a full blown xdf that have almost anything you can imagine. It is still far from perfect but I really don`t care much for it. I guess it will take tons of work to fully support all the features.

As for the saving math can you just put in brackets and reverse the equation. For example {x*1.25}+40 = displayvalue, and reversed {displayvalue-40}/1.25

There is much more complex stuff with linked output for example [{x*1.25}+{y*1.25}]/2 y=linked object from the xdf, it can be value taken from raw location or converted from other scalar.

Here is some xdf if you want to play with it more. There is presets, bitmasks,patches, All kind of linked math.
Attachments
EEXTRA v0[1].001[MOD_V0005_03_02]V9.xdf
(1 MiB) Downloaded 23 times

PreviousNext

Return to GM LS1 512Kbyte and 1Mbyte

Who is online

Users browsing this forum: No registered users and 4 guests