Hello,
ive been trying to rip audio from Ratchet and Clank Into the nexus lately..
but the problem is most of the files are with the same name and its kinda frustrating viewing all the files and searching for the file name in the hex editor, to know the file name or what it is used for..
So my question is...
Is there is a script that can Rename all files to the Hex name, (View samples to understand).
Please help
Thanks,
Last edited by Flamingspaz on Tue Jun 24, 2014 3:12 pm, edited 2 times in total.
Corvidae:myscripts markgrandi$ python3 rename-file-to-parent-folder.py --help
usage: rename-file-to-parent-folder.py [-h] [--verbose]
inputFolder fileToRenameRegex
renames files to include the parent folder's name
positional arguments:
inputFolder the folder that contains the files to rename
fileToRenameRegex the regex to use to figure out what files to rename, if
unsure just type the entire name (like
'resident_sound.dat')
optional arguments:
-h, --help show this help message and exit
--verbose use this to increase verbosity
so basically, just open up cmd.exe or whatever and run
Hello ,
Thanks for your Reply .. but you still didn't get my point
What I meant was :
If you open file "resident_sound.dat" in a hex editor
you can find at 0x100 to 0x118 the file name
so what I'm seeking is something that can actually rename resident_sound.dat to prop_museum_doors_open_dj
or whatever name is in the file ,
thank you and Please help!
Last edited by Flamingspaz on Tue Jun 24, 2014 3:12 pm, edited 1 time in total.
Corvidae:myscripts markgrandi$ python3 ratchet_and_clank_nexus_rename_soundfiles.py --help
usage: ratchet_and_clank_nexus_rename_soundfiles.py [-h] [--verbose]
inputFolder outputFolder
fileToRenameRegex
script to name audio files from 'ratchet and clank into the nexus' to human
readable names
positional arguments:
inputFolder the folder that contains the files to rename
outputFolder Where to output the resulting files
fileToRenameRegex the regex to use to figure out what files to rename, if
unsure just type the entire name (like
'resident_sound.dat')
optional arguments:
-h, --help show this help message and exit
--verbose use this to increase verbosity
Copyright Jun 23, 2014 Mark Grandi
/Users/markgrandi/Temp/3a/3a03cbb4/resident_sound.dat renamed to /Users/markgrandi/Temp/3atest/cha_clank_voc_tossspecialb_mdc.dat
/Users/markgrandi/Temp/3a/3a1c603a/resident_sound.dat renamed to /Users/markgrandi/Temp/3atest/prop_museum_doors_open_dj.dat
/Users/markgrandi/Temp/3a/3a2b289a/resident_sound.dat renamed to /Users/markgrandi/Temp/3atest/cha_thugbrawler_gethit_large.dat
done!