Thread: [TEC] Let's grab the ID's
View Single Post
Old 12-17-21, 06:17 AM   #6
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 771
Downloads: 1110
Uploads: 10


Default

Quote:
Originally Posted by Jeff-Groves View Post
A BIG problem has always been ID conflicts when doing ANY mod!
Sure. There's a small chance for duplicate ID's but it DOES and HAS happened!
I'm going to tell you how to get the ID's and put them into a SEARCHABLE data base! Then any new Unit or whatever can be checked against that to reduce conflicts.

I only work with 010 Editor so it's based off that. It's only a few bucks and any serious Modder needs it in their tool as I'll be writing Scripts and such to assist.

Step 1 in the process......
Run IDduplicatefinder and index a folder.
Minimize That.
Open 010 and under FILE, Open Process.
Scroll untill you find IDduplcatefinder and click on it. Open as read only.
Save that as a hex document like process(0).dat.

Step 2 in the process......
Now open IDduplicate finder and get the first ID in the scrollable list.
If its say 199D6FC7A8007495 (May be different!) that needs to be typed into a txt document for further use.
Go to the LAST ID and do the same.

Step 3 in the process......
Go ahead and close 010 at this time and close IDdulpicatefinder. You have the file save of course so we will work with that until I write scripts for you lazy Gits.

Step 4 in the process......
Open your browser (And if you are wondering what that is? STOP NOW!)
Go to https://www.browserling.com/tools/text-to-hex
Pasted your 1st and last saved ID's into that converter to get the hex values. (One at a time! That's one ID complete. Not one entry at a time!)
Copy and save the output of each!

Step 5 in the process......
If you've made it this far? Congratulations! You should have something like below saved.
31 39 39 44 36 46 43 37 41 38 30 30 37 34 39 35
You need to modify that like below.
31 00 39 00 39 00 44 00 36 00 46 00 43 00 37 00 41 00 38 00 30 00 30 00 37 00 34 00 39 00 35
Those will be our search strings in 010.

(I know at this point your saying " This all seems pretty complected!" Suck it up ButterCup! I'll write scripts for you when I get the time. So pull your diapers up and put Big Boy boots on and stop the whimpering.)

Step 6 in the process......
Using 010, open the saved process file. (You did save one right?)
Select Search, find and paste in the first of those strings you saved and make sure your set for Hex Bytes.
Delete everything above that!
Do the same for the last string and delete EVERYTHING below that!

You should end up with all ID's now. Save the file!

Step 7 in the process......
Time to start making this into a usable and searchable data base.

In 010 Select Search, Replace. Options needs to be set for Match Whole Word, Maximum WildCard length 2.
Find Hex Bytes 00
Leave Replace blank. Once the Replace is done? Select ALL then Copy As Text Area.
Make a new text document and paste into that. Now that IS searchable. But.......

Step 8 in the process......
Let's cut this file down and get rid of the Hex notions shall We?
I use open Office so here's what I do.
Open a new Spreed Sheet. Go to Insert, Sheet From File, select your save and make sure spaces is your delimiter.
Delete all columns except the full ID and save as a cvs.
Once saved? Rename it to whateverYouwant.txt

Step 9 in the process......
Pop the Top off your favorite Beer and enjoy the fact you actually made it this far!!!

Step 10 in the process......
Start posting about how the instructions confused you because you used Step 9 (Multiple times!) before Step 2!
Then post about how I should have written the Scripts before hand so you could have skipped Steps 2 through 8.
Never admitting You used Step 9 multiple times before ever really trying this.


(Admittedly posted after practicing Step 9 multiple times. Maybe I should make that Step 1?)
Hello Jeff,

This is a very good guide, I have followed it using StocksH4 Air folder as a test bed.



First ID
Step 2 = AA0295AC084117E7
Step 4 = 41 41 30 32 39 35 41 43 30 38 34 31 31 37 45 37
Step 5 = 41 00 41 00 30 00 32 00 39 00 35 00 41 00 43 00 30 00 38 00 34 00 31 00 31 00 37 00 45 00 37

Last ID
Step 2 = 1AFSE4D85F2070E9
Step 4 = 31 41 46 53 45 34 44 38 35 46 32 30 37 30 45 39
Step 5 = 31 00 41 00 46 00 53 00 45 00 34 00 44 00 38 00 35 00 46 00 32 00 30 00 37 00 30 00 45 00 39

Step 7:
https://1drv.ms/t/s!AsNqeJIusLGBnBV1...01tUX?e=kJJlhi

Step 8:
https://1drv.ms/x/s!AsNqeJIusLGBnBJcPyDIN13u9DET?e=ybSUaF

------------------------
Step 8 Addtion for MS Office 365 users.

Open new spreadsheet, go to Data tab, select “From Text/CSV” tab, select your save, make sure spaces is your delimiter, select “load”
Delete all columns except the full ID and save as a cvs.
Once saved? Rename it to whateverYouwant.txt
__________________
s7rikeback is offline   Reply With Quote