Segment Swap utility

They go by many names, P01, P59, VPW, '0411 etc . Circa 1999 to 2006. All VPW OBD2 PCMs.
User avatar
Posts: 291
Joined: Tue Dec 17, 2019 3:27 am

Re: Segment Swap utility

Postby joukoy » Sun Nov 22, 2020 9:49 pm

0.15.18

Initial Table Editor:
You can now edit 3D table with decimal values by clicking "Edit table" in "Table Seek" tab.
Support for other data types coming later (hope so)

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

Re: Segment Swap utility

Postby kur4o » Mon Nov 23, 2020 11:47 pm

That sounds awesome. I will test rigth away.

I found some bug at the table-seek. If the conditional offset is not checked you can`t search split addresses as e38. It could be something else but when I check the conditional offset it finds e38 table, when not checked it doesn`t find it [same bin same search string]

It happened once that I saved changes to table seek and they didn`t save. I suspect that not all fields were filled with data upon saving.

Almost figured some strings for hi octane table search for e38.

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

Re: Segment Swap utility

Postby kur4o » Tue Nov 24, 2020 12:10 am

Got

Could not load file or assembly 'MathParserTK, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


error on clicking edit.
I guess an easy fix.

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

Re: Segment Swap utility

Postby joukoy » Tue Nov 24, 2020 12:41 am

kur4o wrote:Got

Could not load file or assembly 'MathParserTK, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


error on clicking edit.
I guess an easy fix.


Missing file added to github and latest .zip
Put to same folder with UniversalPatcher.exe and restart program.

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

Re: Segment Swap utility

Postby kur4o » Tue Nov 24, 2020 12:58 am

Now I get this

Input array is longer than the number of columns in this table.

I tried on mbt spark table for ls1 it is 20x15, I put that into in the table-seek, also tried with zero values for row and column. Same error.

Should I configure anything else at the table-seek.

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

Re: Segment Swap utility

Postby joukoy » Tue Nov 24, 2020 1:36 am

kur4o wrote:Now I get this

Input array is longer than the number of columns in this table.

I tried on mbt spark table for ls1 it is 20x15, I put that into in the table-seek, also tried with zero values for row and column. Same error.

Should I configure anything else at the table-seek.


Sorry, I dont understand. Is this error message: "Input array is longer than the number of columns in this table." ?

This is what I get:
Attachments
uvp-tbseek-mbtspark.jpg
uvp-tbseek-mbtspark.jpg (76.71 KiB) Viewed 203 times

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

Re: Segment Swap utility

Postby kur4o » Tue Nov 24, 2020 2:18 am

Yes this in the main log window. It pops up when I hit edit.

I guess something in the dtcseek is not configured properly.

Can you post the file you are using.

I can take it from git if it is there.

Edit: I got it working. It needs all of the fields configured with proper data in the table-seek xml.
Last edited by kur4o on Tue Nov 24, 2020 2:33 am, edited 1 time in total.

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

Re: Segment Swap utility

Postby joukoy » Tue Nov 24, 2020 2:33 am

kur4o wrote:Yes this in the main log window. It pops up when I hit edit.

I guess something in the dtcseek is not configured properly.

Can you post the file you are using.

I can take it from git if it is there.

File is in github:
https://github.com/joukoy/UniversalPatc ... 01-p59.xml

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

Re: Segment Swap utility

Postby joukoy » Tue Nov 24, 2020 2:57 am

0.15.19

MathParserTK.dll no longer required, functions included in project.

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

Re: Segment Swap utility

Postby kur4o » Tue Nov 24, 2020 6:02 am

I did some tests to configure more spark tables. Run into some issues.

Still not sure what is the correct meaning of the value we take as a row[after 74 *] It however match the lenght of the first row or column before next is switched. The way universal patcher is set now seems to draw column first.

Now we need to make a settings that specify the drawing orientation. Does it draw first X vector[column] or it draws first Y vector[row].
I think there is similar value in tunerpro[major order=column or row].

It will add some versatility and also xdf.

I guess some setting to draw column or row will do the job.

Another issue is that spark tables take some signed values. Negative spark is something that is not displayed correctly. You may look into that.

PreviousNext

Return to GM LS1 512Kbyte and 1Mbyte

Who is online

Users browsing this forum: No registered users and 1 guest