Page 1 of 1
Comparing bin files
Posted: Wed Mar 18, 2020 3:08 pm
by 749006
What is the easiest way of comparing bin files?
I have tried copying the xml data of two similar files and pasting in to excel
But with over 4000 lines I wondered if could it be easier?
Any thoughts?
Peter
Re: Comparing bin files
Posted: Wed Mar 18, 2020 8:03 pm
by alanch
A quick search found this comparison plugin for Notepad ++
https://sourceforge.net/projects/npp-compare/ , plus plenty of online file comparison sites.
I've quite often extracted the .bin to xml and viewed side by side in a text editor (Context usually) to check for differences, but that's when I know roughly what I'm looking for - the plugin looks useful, but I haven't tried it yet.
Re: Comparing bin files
Posted: Wed Mar 18, 2020 8:07 pm
by alanch
alanch wrote:A quick search found this comparison plugin for Notepad ++
https://sourceforge.net/projects/npp-compare/ , plus plenty of online file comparison sites.
I've quite often extracted the .bin to xml and viewed side by side in a text editor (Context usually) to check for differences, but that's when I know roughly what I'm looking for - the plugin looks useful, but I haven't tried it yet.
EDIT
I forgot that Context has a build in file comparison tool, so that gives you two options.
Re: Comparing bin files
Posted: Wed Mar 18, 2020 10:12 pm
by mikesimpson
Notepad++ is free and has a file compare plug-in.
Ultra-Edit is a great editor and has a compare option, however it is not free. There is also ultra-compare but it is expensive.
The Notepad++ option should however be fine for the simple checking of 2 .xml files.
Mike
Re: Comparing bin files
Posted: Wed Mar 18, 2020 11:45 pm
by johnrossetti
a program i keep baging on about "folermatch" will compare and highlight any amount of .bin files you then click on the one you want to look at and RW_Tools will show it too, you, I have seen a program that will actually scroll the two files on a split screen, cant remember the name of it but Ill try and find it, this is what my current way of doing it looks like on two screens side by side.
Cheers john
Re: Comparing bin files
Posted: Wed Mar 18, 2020 11:59 pm
by johnrossetti
Re: Comparing bin files
Posted: Thu Mar 19, 2020 9:27 am
by jalmar
You could try Beyond Compare, not only compares files, also directories.
Free trial, the best program for comparing.
Re: Comparing bin files
Posted: Thu Mar 19, 2020 1:32 pm
by 749006
Thanks Gents,
I'm going to look at Notepad++ to try.
I already have that installed and it might help
Peter
Re: Comparing bin files
Posted: Thu Mar 19, 2020 3:19 pm
by gptech
4,000 lines is rather a lot....just which .bin files are you looking at?
Re: Comparing bin files
Posted: Thu Mar 19, 2020 3:31 pm
by 749006
gptech wrote:4,000 lines is rather a lot....just which .bin files are you looking at?
I have the RSSLO 193 Vectron and a reskin in to CD Blue livery but the reskin is for the Advanced version which I don't have so I'm getting errors
There is a lot of code which is not required where the section
Code: Select all
<LocalisedControlName>
<Localisation-cUserLocalisedString>
<English d:type="cDeltaString"></English>
<French d:type="cDeltaString"></French>
<Italian d:type="cDeltaString"></Italian>
<German d:type="cDeltaString"></German>
<Spanish d:type="cDeltaString"></Spanish>
<Dutch d:type="cDeltaString"></Dutch>
<Polish d:type="cDeltaString"></Polish>
<Russian d:type="cDeltaString"></Russian>
<Other/>
<Key d:type="cDeltaString"></Key>
</Localisation-cUserLocalisedString>
</LocalisedControlName>
is repeated many times but is not used apart from the initial section giving the loco name
Peter
Re: Comparing bin files
Posted: Thu Mar 19, 2020 10:54 pm
by gptech
749006 wrote:I have the RSSLO 193 Vectron and a reskin in to CD Blue livery but the reskin is for the Advanced version which I don't have so I'm getting errors
Can't you use the textures with the simpler model's .bin file?.... very much akin to how we'd apply an AP enable reskin to a simpler model, or just what you've been doing with the S&C class 37.
The empty bits in the .bin file are unlikely to be th cause of your woes; it's the calls for files/features you don't have that cause bother.
Re: Comparing bin files
Posted: Fri Mar 20, 2020 6:51 pm
by 749006
gptech wrote:749006 wrote:I have the RSSLO 193 Vectron and a reskin in to CD Blue livery but the reskin is for the Advanced version which I don't have so I'm getting errors
Can't you use the textures with the simpler model's .bin file?.... very much akin to how we'd apply an AP enable reskin to a simpler model, or just what you've been doing with the S&C class 37.
The empty bits in the .bin file are unlikely to be th cause of your woes; it's the calls for files/features you don't have that cause bother.
I keep trying to starts with the default loco - the Green one in the picture - and change the bin file to the new name and copy the texture files across but it still does not seem to work
Either it does not appear - just the couplings or there is no cab view or the controls don't work
And I cannot get rid of the white patches where the loco number should be on the cab roof.
Peter
Re: Comparing bin files
Posted: Mon Mar 23, 2020 4:21 pm
by 749006
gptech wrote:Can't you use the textures with the simpler model's .bin file?.... very much akin to how we'd apply an AP enable reskin to a simpler model, or just what you've been doing with the S&C class 37.
I took your advice and deleted the repaint.
Then I started again by just copying a default AC/DC loco and renaming that to CD 193 ELL and then copying all the files except the ELL.bin from the repaint.
I amended the ELL bin and just changed about 4 lines to read for the new name and it worked
Pleasing when you change something and it works
Peter