ZenHAX https://zenhax.com/ |
|
I need help with scripting something very simple. (Maybe simple) https://zenhax.com/viewtopic.php?f=13&t=8997 |
Page 1 of 1 |
Author: | anime663 [ Thu Dec 06, 2018 12:42 pm ] | ||
Post subject: | I need help with scripting something very simple. (Maybe simple) | ||
'm a complete 100% idiot to scripting and this may just be a really simple thing. Also I don't know if this is the right topic. Plus maybe my question is answered elsewhere, or theres already tools for this. I did spend like 3 hours looking for a solution honestly, but its also 5:30AM. Anyways, I wanted to easily batch delete 2 lines of hex from files. Just the first 2 lines. But I can't get any luck trying to find programs to do it, scripts to do it, whatever it is. ANY way to do it. Without individually doing it for every file. Considering I have like 7000 files to go through. Since in each file, the first 2 lines are all different I can't simply find specific values, I need the length. I figured this would probably be a pretty easy thing to do in QuickBMS, or something. But like I have taken coding classes and let me just say, it was a disaster. If anyone could help my stupid ass I'd appreciate it! It'd save me lots of time and pain in my hands.
|
Author: | aluigi [ Thu Dec 06, 2018 1:00 pm ] |
Post subject: | Re: I need help with scripting something very simple. (Maybe simple) |
If you want to use quickbms try this script: Code: math OFFSET = 0x20 You must use quickbms with the -D option which will create the original relative folders, full example: Code: quickbms.exe -D script.bms c:\input_folder c:\output_folder |
Author: | anime663 [ Thu Dec 06, 2018 1:21 pm ] |
Post subject: | Re: I need help with scripting something very simple. (Maybe simple) |
Thank you!!!!! ![]() |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |