|
Post by Karnie on Oct 9, 2015 1:44:20 GMT 10
Well, I used to run these two tools finely in XP system years ago, until one day I changed my PC and they no longer work——extracting led to file missing and repacking could not make it. I tried a lot of methods then but all failed, and now I'm trying again, following the suggestions in the tutorial part, though some of them have been tested before. So I just want to confirm actually whether they can work well in win7. Thanks very much
|
|
Posts: 125
|
Post by LegalSoul on Oct 9, 2015 2:03:19 GMT 10
Are you talking about St. Vampyre's Dat extractor and repacker for the RE4 2007 port? Yes, I can confirm that is works very well on Win7 32bit. I also can advice you trying to install java runtime environment if you don't have it ( JRE7: www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html ). The dat programs may need it for their work. Actually the last version is jre8, but I had problems with dat repacker when I had jre8 and then I switched back to jre7 and it was working fine again.
|
|
|
Post by Karnie on Oct 9, 2015 23:47:21 GMT 10
It works! Really thanks a lot, buddy! Well, I set the system locale and managed to install jre 7u25, though at first with a little trouble in configuring the variables, which I searched on net and found a solution of myself. And then I downloaded the tools from here (http://residentevilmodding.boards.net/thread/2740/guide-tools-modding) to have a trial. and found that the problem had been basically solved. I really didn't expect that it would go so smoothly. The only problem remained is about the repacker (not a problem actually, for I have learned to use the injector to replace it, and that's why I said "basically solved"). I only found one exe programme in the repacker folder, and when I tried to open it the dos window (is that so called?) just flashed by and disappeared. I wonder whether it is a designing bug. Anyway you really do me a great favor! Thanks again!
|
|
|
Post by Karnie on Oct 10, 2015 0:21:58 GMT 10
Are you talking about St. Vampyre's Dat extractor and repacker for the RE4 2007 port? Yes, I can confirm that is works very well on Win7 32bit. I also can advice you trying to install java runtime environment if you don't have it ( JRE7: www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html ). The dat programs may need it for their work. Actually the last version is jre8, but I had problems with dat repacker when I had jre8 and then I switched back to jre7 and it was working fine again. forgot to quote… I‘m still a little unfamiliar with usage of the forum though- -
|
|
Posts: 125
|
Post by LegalSoul on Oct 10, 2015 1:03:12 GMT 10
No problem the dos window just flashed by and disappeared. I wonder whether it is a designing bug. About the window that disappears after you run the .exe, Yes it is supposed to be this way, cause the dat repacker program doesn't have any graphical user interface. You need to run these programs directly from command window (shift+right click on the empty space near the exe file, choose "Open command window here", it will open up that black cmd window). And then you usually need to type the name of the program with some needed parameters, St. Vampyre gives us the example of the usage if we write only the program name without the parametrs ( just type in the black window "datrepack" ). And it will show you what parameters it needs and an example of the usage. For convenience you can even write your own .bat file and type this command in it and you will be able to run it afterwards.
|
|
|
Post by Karnie on Oct 10, 2015 13:33:19 GMT 10
No problem the dos window just flashed by and disappeared. I wonder whether it is a designing bug. About the window that disappears after you run the .exe, Yes it is supposed to be this way, cause the dat repacker program doesn't have any graphical user interface. You need to run these programs directly from command window (shift+right click on the empty space near the exe file, choose "Open command window here", it will open up that black cmd window). And then you usually need to type the name of the program with some needed parameters, St. Vampyre gives us the example of the usage if we write only the program name without the parametrs ( just type in the black window "datrepack" ). And it will show you what parameters it needs and an example of the usage. For convenience you can even write your own .bat file and type this command in it and you will be able to run it afterwards. Yeah,that's cool! I repacked a file successfully with this method. But I'm almost totally green in programming. I tried to copy the full commands in the window into a .txt file like this: (eh…don't know how to insert local pictures-.-) C:\Users\Apple\Desktop\Resident Evil 4 Modding Tools\Resident Evil 4 Modding Tools\DAT Repacker>datrapack ============================================= RE4 DAT Datrepack 1.0 7/07/2007 <St.Vampyre> MarkGrass <THIA> ============================================= usage1: datrepack [index file] ex: datrepack Core\Core.index usage2: datrepack [index file] [output filename] ex: datrepack Core\Core.index NewCore.dat and made it .bat. But when I opened the .bat file it just did nothing but produced an unknown-type file named "datrepack". I think obviously I haven't made out what the "command" you said means. So would you please explain in a little more details? Thanks very much!
|
|
Posts: 125
|
Post by LegalSoul on Oct 10, 2015 16:30:40 GMT 10
Look, your .bat file should write this line (let's take title.dat for example ): datrepack title\title.index that's all, you can view title.index through a notepad and see that it is nothing but a list of all .eff and .uwf files contained in the .dat so after you run that bat (assuming that you have "title" folder in the location of datrepack.exe ) you will have a title.dat created from those files.
or if you want to keep title.dat original, you can repack the files into a new file, then you should have this line: datrepack title\title.index mynewdat.dat and it will create repacked file with mynewdat.date name.
|
|
|
Post by Karnie on Oct 10, 2015 17:56:46 GMT 10
Look, your .bat file should write this line (let's take title.dat for example ): datrepack title\title.index that's all, you can view title.index through a notepad and see that it is nothing but a list of all .eff and .uwf files contained in the .dat so after you run that bat (assuming that you have "title" folder in the location of datrepack.exe ) you will have a title.dat created from those files. or if you want to keep title.dat original, you can repack the files into a new file, then you should have this line: datrepack title\title.index mynewdat.dat and it will create repacked file with mynewdat.date name. I typed in "datrepack r100\r100.index" and made the r100 folder together with datrepak.exe. But it's strange that when I ran the bat it just kept telling me like this: FileHandle - File not found FileHandle - File not found FileHandle - File not found FileHandle - File not found FileHandle - File not found FileHandle - File not found …… (endless) don't know where's the problem 0_0
|
|
Posts: 125
|
Post by LegalSoul on Oct 10, 2015 18:07:58 GMT 10
Hmm, that's interesting, it really happens if you use usage1 method. Didn't know about it. If you look closely, it somewhy makes .index file really big.
Ok, to resolve it do this: Extract the .dat again with the datextractor, to fix the .index file cause it's messed now. Then write "datrepack r100\r100.index r100.dat" in your .bat file. ( this is usage2 when you put the output name in the end of the command, you can type your custom file name there )
Run it and it should repack it fine.
|
|
|
Post by Karnie on Oct 10, 2015 18:28:39 GMT 10
Hmm, that's interesting, it really happens if you use usage1 method. Didn't knew about it. If you look closely, it somewhy makes .index file really big. Ok, to resolve it do this: Extract the .dat again with the datextractor, to fix the .index file cause it's messed now. Then write "datrepack r100\r100.index r100.dat" in you .bat file. ( this is usage2 when you put the output name in the end of the command, you can type your custom file name there ) Run it and it should repack it fine. I got it! When the first time I applied usage1, it completed the work, but the r100.dat did not appear in the folder as expected. Then I ran the bat again and it told "file not found……" ……and the same when apply usage2 I then tried another r100 folder as you suggested and directly turned to usage2, and it was successfully repacked. Then I turned to usage1 again. The same situation occurred as the first time. So does it mean that usage1 is infeasible? for I still have the old version of this tool in my computer where only usage2 is suggested.
|
|
Posts: 125
|
Post by LegalSoul on Oct 10, 2015 19:13:12 GMT 10
Yes, it seems like usage1 is broken, or maybe there's something we don't know, But I've always did udage2 when I was modding RE4.
|
|
|
Post by Karnie on Oct 10, 2015 19:52:15 GMT 10
Yes, it seems like usage1 is broken, or maybe there's something we don't know, But I've always did udage2 when I was modding RE4. OK~ Actually I still regard it more convenient to just shift+rightclick. As a programming outsider, what interests me is how a single line of command can build a connection between the bat and exe. It looks amazing! Well, anyway thanks again~ you are really a big help~
|
|
Posts: 125
|
Post by LegalSoul on Oct 10, 2015 20:04:14 GMT 10
Yes, this is some interesting stuff indeed : ) You're welcome.
|
|