Page 67 of 68

Re: Segment Swap utility

Posted: Sun Dec 12, 2021 8:16 pm
by Tre-Cool
Duke, what software are you using to pull t43 bin files?

Re: Segment Swap utility

Posted: Sun Dec 12, 2021 9:59 pm
by joukoy
ironduke wrote:When trying to extract segments from a bunch of files it stops to seek tables... Makes it take a long time.. Is seeking tables required to extract segments?

Seems to be missing some T43 files still.. If I turn off autodetect and point it at the T43.xml it reads them fine.. sample below..
Kind of funny how every t43 seems to have GM_T43 in the bin.. makes it easy for me, lol..
3GTU2VEC0EG128088.t43.BIN
Great work!!!! Many Thanks!!!
kur4o fixed autodetect, new XML included in 0.18.76
Now tableseek is disabled for segment extract.

Added also "Sort files", if you want to organize bin library based on platform and/or OS.

Re: Segment Swap utility

Posted: Mon Dec 13, 2021 1:11 am
by ironduke
Tre-Cool wrote:Duke, what software are you using to pull t43 bin files?
Some software I wrote, but it "borrows" a kernel from someone.. Write using sps kernel..

Re: Segment Swap utility

Posted: Mon Dec 13, 2021 1:27 am
by ironduke
joukoy wrote:
ironduke wrote:When trying to extract segments from a bunch of files it stops to seek tables... Makes it take a long time.. Is seeking tables required to extract segments?

Seems to be missing some T43 files still.. If I turn off autodetect and point it at the T43.xml it reads them fine.. sample below..
Kind of funny how every t43 seems to have GM_T43 in the bin.. makes it easy for me, lol..


Great work!!!! Many Thanks!!!
kur4o fixed autodetect, new XML included in 0.18.76
Now tableseek is disabled for segment extract.

Added also "Sort files", if you want to organize bin library based on platform and/or OS.
Thanks!!!! I've been trying to find a way to organize them. right now it's just a big list of numbered cals. organize by ecu maybe? then OS? This is with the segments.. Right now I have complete bins sorted by ecu..
Adding an E38 file that it didn't recognize.. Don't know why... it's labelled export and I'm sorry to say I have no idea where I found it.. If I see a gm bin I grab it, lol.. looks good though..


I did modify your code to save the files as a .bin instead of binsegment. Saves me from renaming it.. Any chance of making that an option? a program I use occasionally likes them as .bin files only

I just typed out an issue with duplicates but I see there's a skip selection.. Doh!!! lol, I'm learning.. slowly, but I'm learning.. I didn't see that before.. I'll have to try that..

If I deselect eeprom and boot block and then exract it still extracts those segments. Not a big deal, especially if we can get rid of the extra copies of the same file but if i read 30 files then I have 30 copies of the same thing every single time, lol.. >>> yeah, I'm gonna give that skipa try.. don't mind 1 copy of the boot block and eeprom, just didn't want ALL of them..

Please don't push another version just because of my suggestions.. Absolutely no rush, just trying to clean up the mess of a database I have.. be cool to add it and wait for a big change.. Thanks!!!
The attachment 3GTU2VEC0EG128088.t43.BIN is no longer available

Re: Segment Swap utility

Posted: Mon Dec 13, 2021 2:36 am
by kur4o
What you ask for is already there, with some advanced features.

Here is how to use it.
Click extract segment tab -> extract all segments from files-> Than select custom destination[a folder where the file will be extracted]
Than there is some custom script you can use to modify the file name the way you want it[adding various info to the file name].


Than click extract and enjoy.

Also some option to rebuild the split file back to full bin. Click rebuild button and select the csv file that was created on extraction.

Maybe we can add an segments extraction only without any addon files, and only on segments that are stock. It definitely can get improved over time.

Re: Segment Swap utility

Posted: Mon Dec 13, 2021 2:46 am
by ironduke
kur4o wrote:What you ask for is already there, with some advanced features.

Here is how to use it.
Click extract segment tab -> extract all segments from files-> Than select custom destination[a folder where the file will be extracted]
Than there is some custom script you can use to modify the file name the way you want it[adding various info to the file name].


Than click extract and enjoy.

Also some option to rebuild the split file back to full bin. Click rebuild button and select the csv file that was created on extraction.

Maybe we can add an segments extraction only without any addon files, and only on segments that are stock. It definitely can get improved over time.
Thanks!!! Just started using the extract segment part of this.. Patcher does so much!!!!! is there any info on the custom script to modify the file name the way I want it?? Segment ID(OS) and cal number is great, I'll do some digging but it'll be a little bit..

Re: Segment Swap utility

Posted: Mon Dec 13, 2021 2:55 am
by joukoy
ironduke wrote:
Thanks!!! Just started using the extract segment part of this.. Patcher does so much!!!!! is there any info on the custom script to modify the file name the way I want it?? Segment ID(OS) and cal number is great, I'll do some digging but it'll be a little bit..
All possible variables are used in default filenames: $Nr, $Ver, $cvn, they are replaced with values from bin-file.
You can also supply other text, which is included to filename without conversion.

Re: Segment Swap utility

Posted: Mon Dec 13, 2021 2:56 am
by kur4o
Some more details.

First box is info added infront of pn, second box is info added after pn.

You can add $Nr will add the segment numerical number
$Ver will add the segment version
$Cvn will add the cvn to the file name.

You can combine them with custom text or leave only what you need.

$Nr- in the first box will give you

1-192837465.bin file name

Re: Segment Swap utility

Posted: Mon Dec 13, 2021 3:02 am
by ironduke
2 more t43 files not recognized.. they seem to be good files, read the same way. Open fine when T43 xml is pointed at..
2009.T43.Silverado.3GCEK33M09G187295.bin
(2 MiB) Downloaded 286 times
2009.Tahoe.T43.read.bin
(2 MiB) Downloaded 275 times
Got to find out what you mean by first box, second box.. etc... lol.. I'm in extract segment.. I'll get there.. too much going on at the moment, keep running over and taking a peek.. Will spend some time later today.. thanks!!

Re: Segment Swap utility

Posted: Mon Dec 13, 2021 3:20 am
by kur4o
It loads fine with me. Maybe you are missing the extra t43-0.xml. Copy it to the xml folder.