Why won't this stupid script work….
-
Ok, so here are the things I’ve tried, and the results that followed.
<data file="EXE\Freelancer.exe" method="replace"><dest> Freelancer.exe </dest> <source> Freelancer.exe</data> ```Error: Unable to find dest 'Freelancer.exe' (#1) in 'G:\Program Files\Freelancer\EXE\Freelancer.exe
<data file=“EXE\Freelancer.exe” method=“replace”><dest>EXE\Freelancer.exe</dest>
<source>
EXE\Freelancer.exe</data><data file=“EXE\Freelancer.exe” method=“append”><dest>EXE\Freelancer.exe</dest>
<source>
EXE\Freelancer.exe</data>![](http://i42.tinypic.com/6qipz8.jpg). What have I/am I doing wrong? EDIT: I havent added the entire script, because only the section above is causing problems.
-
okay, first of all you cannot edit content of the exe file. data tags have no other purpose than editing contents without replacing a whole file and this way wasting hard disc space.
second, it is not “replace” but “filereplace”.
third, there is no sense in replacing something with the same text. in first example the mod manager searches for the string “Freelancer.exe” within the freelancer.exe file and tries to replace it with the very same text.
it seems that you tried to replace the vanilla exe with the one you have in your mod. the simpliest way to do this is to create a folder in your mod called exe, just like the ingame folder and put in there the file you wanted the vanilla one to be replaced with.
at last: do never ever try to change anything in an exe or a dll without you do entirely know what you are doing. -
First Point: Woops
Second Point: My Bad
Third Point: Thanks to you guys, I know how to edit dll’s and exe’s.Conclusion: Once again, I have made a stupid error, simply doing what you suggested (creating and EXE\ folder) worked a tweat. thanks.