Segment Swap utility

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
User avatar
joukoy
Posts: 392
Joined: Tue Dec 17, 2019 3:27 am
cars: --
Contact:

Re: Segment Swap utility

Post by joukoy »

Gampy wrote:Thank you joukoy.

Can you do two more things please ...
1. Clean up the eeprom_data row so it's valid csv. (add fields)
2. Change the format of the Address field on the OS row, it is currently,

Code: Select all

0 - 1279, 1280 - 16383, 131072 - 1048573
Maybe to

Code: Select all

0:1279 - 1280:16383 - 131072:1048573
The comma's are challenging Excels intelligence. (meaning it's breaking the csv import.)

Number 1 cannot be easily worked around, Number 2 can easily be worked around with a copy/paste technique, it just can't be directly imported.

Thanks
Fixed in 0.12.39
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: Segment Swap utility

Post by Gampy »

Awesome joukoy,

Paste's into excel sweet now, still can't import, I missed pointing out a Comma between the Seed and Key in the eeprom_data row.

Thank you!
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
User avatar
joukoy
Posts: 392
Joined: Tue Dec 17, 2019 3:27 am
cars: --
Contact:

Re: Segment Swap utility

Post by joukoy »

Gampy wrote:Awesome joukoy,

Paste's into excel sweet now, still can't import, I missed pointing out a Comma between the Seed and Key in the eeprom_data row.

Thank you!
Version 0.12.40, replacing all commas with spaces
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: Segment Swap utility

Post by Gampy »

Whoops, something went wrong ... looks like all fields are duplicated.
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
User avatar
joukoy
Posts: 392
Joined: Tue Dec 17, 2019 3:27 am
cars: --
Contact:

Re: Segment Swap utility

Post by joukoy »

Gampy wrote:Whoops, something went wrong ... looks like all fields are duplicated.
:oops:
0.12.41 is better
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: Segment Swap utility

Post by Gampy »

Hi joukoy

Is 0.12.41 available yet??
The repository is still 0.12.40.
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
User avatar
joukoy
Posts: 392
Joined: Tue Dec 17, 2019 3:27 am
cars: --
Contact:

Re: Segment Swap utility

Post by joukoy »

Gampy wrote:Hi joukoy

Is 0.12.41 available yet??
The repository is still 0.12.40.
Sorry, github push was interrupted.
Now it is available.
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: Segment Swap utility

Post by Gampy »

Awesome, Thank you!
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: Segment Swap utility

Post by Gampy »

Attempting to open a read only file causes crash.
System.UnauthorizedAccessException: Access to the path '12587603_SvN12586243.bin' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.Open(String path, FileMode mode)
at upatcher.ReadBin(String FileName, UInt32 FileOffset, UInt32 Length)
at UniversalPatcher.PcmFile..ctor(String FName)
at UniversalPatcher.FrmPatcher.btnOrgFile_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
ironduke
Posts: 582
Joined: Thu Feb 13, 2020 11:32 pm
cars: Mainly GM trucks, a Cruze and an Equinox for dailys..

Re: Segment Swap utility

Post by ironduke »

I get that error when I try to open a file I have open in something else already like a hex editor.. figured it was my fault, lol..
Post Reply