In Windows, how do i replace multiple files with one file?

Deleted member 386356

Well-Known Member
OP
Member
Joined
Mar 18, 2016
Messages
161
Trophies
0
Age
33
XP
570
Country
I'm editing a game's texture files and i want a bunch of the textures to be the same as 1 texture, although renaming one texture to all of the textures will take way too long.
I once heard of a method where you can replace multiple files with one specific file, does it indeed exist and how do i do it?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,403
Country
United Kingdom
Personally I would make a batch file, I don't know of any way you would be able to do it with the plain windows GUI.
If you need a list of file names to start with go to the command line and point it at the folder in question and run dir /b

After that I would use a spreadsheet to make the batch file
Copy /y yourfileyouwant.file filetobereplaced1.file
Copy /y yourfileyouwant.file filetobereplaced2.file
Copy /y yourfileyouwant.file filetobereplacedn.file

Option 2.
Relinking
In your game will be some files and a nice file system for you to do all this. Replace one texture and find the pointer and size thing for it. Copy that and paste that pointer and size value over everything else (hopefully it is not relative or offset or something silly).
 

Deleted member 386356

Well-Known Member
OP
Member
Joined
Mar 18, 2016
Messages
161
Trophies
0
Age
33
XP
570
Country
Personally I would make a batch file, I don't know of any way you would be able to do it with the plain windows GUI.
If you need a list of file names to start with go to the command line and point it at the folder in question and run dir /b

After that I would use a spreadsheet to make the batch file
Copy /y yourfileyouwant.file filetobereplaced1.file
Copy /y yourfileyouwant.file filetobereplaced2.file
Copy /y yourfileyouwant.file filetobereplacedn.file

Option 2.
Relinking
In your game will be some files and a nice file system for you to do all this. Replace one texture and find the pointer and size thing for it. Copy that and paste that pointer and size value over everything else (hopefully it is not relative or offset or something silly).
I tried out the Windows Command Prompt method and it worked like a charm!
Thanks a bunch!
 

Fawfulthegreat

Well-Known Member
Newcomer
Joined
Sep 20, 2014
Messages
66
Trophies
0
XP
270
Country
United States
I made an app a few years back that supports drag & drop with multi-file replacement (PSP days) to make things a lot easier.
Hi so, i just used this program to replace every NPC in a game with one specific NPC, and it just replaced them with something that the game can't read and crashes. The hex data of the file is not that of the file I'm trying to replace them with, any reason for that? Thanks

edit: nvm i was just being an idiot. -_-
 
Last edited by Fawfulthegreat,

Xii-Nyth

New Member
Newbie
Joined
Oct 13, 2022
Messages
1
Trophies
0
Age
23
XP
14
Country
Canada
if you are missing comdlg32. ocx download the latest version from online (160 kb) and place it in system32/syswow64
then run replace o matic as admin one time and it should open, and then to be able to drag in files dont run it as admin (idk why)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    hell no
  • K3Nv2 @ K3Nv2:
    Looks like a brown recluse
  • Psionic Roshambo @ Psionic Roshambo:
    Fun times lol
  • K3Nv2 @ K3Nv2:
    Property management just be like stop being a little bitch and get bit
  • Psionic Roshambo @ Psionic Roshambo:
    Step one: Put it in the microwave. Step two: get it to bite you. Step three: gain spiderman powers!
  • K3Nv2 @ K3Nv2:
    Swing from the penis
    +1
  • light27 @ light27:
    what
  • K3Nv2 @ K3Nv2:
    Mike Jones
  • light27 @ light27:
    someone take away that spider
  • light27 @ light27:
    call sps
  • Psionic Roshambo @ Psionic Roshambo:
    Hey mine helps me in the shower lol
  • Xdqwerty @ Xdqwerty:
    We went to a place in a mall where they let you play with some consoles for like an hour
  • Xdqwerty @ Xdqwerty:
    I choose the nintendo switch and I played smash ultimate and Mario wonder
  • Xdqwerty @ Xdqwerty:
    It was fun
    +1
  • Xdqwerty @ Xdqwerty:
    Also i'm back at my house
  • Psionic Roshambo @ Psionic Roshambo:
    Smash bros sounds like gay incest lol
    +1
  • BigOnYa @ BigOnYa:
    And Mario Wonder sounds like a Mario with old timers disease walking the streets lost.
    +1
  • K3Nv2 @ K3Nv2:
    Shove a gerbil through a tube
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Warp pipe Ken lol
    +1
  • K3Nv2 @ K3Nv2:
    Ring actually helped and I didn't have to cuss out the guy in arabic
  • BigOnYa @ BigOnYa:
    They help you delete some incriminating videos?
  • K3Nv2 @ K3Nv2:
    No you asked for proof that your wife was finally leaving
    +1
  • BigOnYa @ BigOnYa:
    Nuh I had her chipped, I always know where she is.
  • K3Nv2 @ K3Nv2:
    I found where it was
    +1
    K3Nv2 @ K3Nv2: I found where it was +1