Posts: 22
|
Post by rep on Jan 20, 2016 4:13:36 GMT 10
|
|
Posts: 1
|
Post by jfdhdh on Jan 20, 2016 8:04:18 GMT 10
Hey. I have a question. How can I open file with text? I would like start translate game.
File localize: Dragons Dogma Dark Arisen\nativePC\rom\title\id\DDN\localize\eng\ddn_word_ID_eng.241F5DEB
|
|
Posts: 4
|
Post by MadJack on Jan 22, 2016 9:35:54 GMT 10
Hey FluffyQuack, Thanks for the tool. I seem to have some problem with it though in DD. First, if I unpack and repack a .ARC file without modification to anything, I am getting a different file size. For example, using the original "game_main", file size is 22.3 MB, but the repacked version is 22.7 MB. Also, characters seem to lose their texturing as shown in the attached picture. I would imagine this isn't a normal behavior. Please advise.
|
|
✫Advanced Coder✫
First, I was known as Sectus. And then, well, I ended up here.
Posts: 2,811
Original Join Date: Aug 31 2009
|
Post by FluffyQuack on Jan 23, 2016 6:52:45 GMT 10
New version uploaded: www.tzarsectus.com/tools/ARCtool.rarwww.tzarsectus.com/tools/ARCtool-PC-batch.rarwww.tzarsectus.com/tools/ARCtool-PS3-batch.rarwww.tzarsectus.com/tools/ARCtool-XBOX-batch.rarv0-9-41 - Fixed a bug with XFS conversion where variable names with spaces would not get read correctly. (resulted in pawns becoming unresponsive when converting AI\PrioThink\cmc.prt with Dragon's Dogma) - Added partial extension list for RE0 HD. I noticed there's still one XFS file which isn't perfectly converted back and forth. It's "model\pl\m\m_base\m000\PlCnsIkArmL.ik" in game_main.arc. There's some information at the end of the file which is not written back the same way. If I understand it correctly, it's information about a variable which should have zero information anyway. I'll look into it some other time and see if I can fix it. It is possible it's a harmless bug. Either way, I recommend people try to convert only the specific files they need to convert (this is why I never included commands like -tex and -xfs as default into the batch files, in case there would be faulty conversions). I've heard reports of some people getting an error where a file path is not created properly by the tool when trying to convert files. I haven't been able to reproduce that bug on my end, so that might still happen for some people. When it happens, the tool will output an error message similar to this: "Warning: Could not open game_main\AI\AIPlayerActionParameter\AIPlActParamBow.AIPlActParamtxt for reading during TryToConvertFiles()" Hey FluffyQuack, Thanks for the tool. I seem to have some problem with it though in DD. First, if I unpack and repack a .ARC file without modification to anything, I am getting a different file size. For example, using the original "game_main", file size is 22.3 MB, but the repacked version is 22.7 MB. Also, characters seem to lose their texturing as shown in the attached picture. I would imagine this isn't a normal behavior. Please advise. I just tried repacking game_main.arc while converting all TEX files in it, and this did not happen to me. So I'm not sure why this is happening. You could make sure you're using latest version of arctool on an unmodded game_main.arc and see if it's still happening.
|
|
Posts: 4
|
Post by MadJack on Jan 23, 2016 19:37:17 GMT 10
I just tried repacking game_main.arc while converting all TEX files in it, and this did not happen to me. So I'm not sure why this is happening. You could make sure you're using latest version of arctool on an unmodded game_main.arc and see if it's still happening. I'm at a loss to explain this phenomenon then. I am using the latest version (before the above obviously), 9.40 and simply dragged & dropped the .ARC on the .BAT file, then DnD'ed the directory onto the .BAT file, as directed in the instructions. FWIW, my version is the Steam version. Note that I've never used ArcTool for the TEX files. Only for XFS or a simple unpack then repack w/o modification to anything... So... I'm lost. Here's the content of the .BAT file. Maybe there's something wrong in there. arctool -dd -texRE6 -alwayscomp -pc -xfs -v 7 %1 %2 %3 %4 %5 %6 %7 %8 %9 After seeing the result I tried to clean it completely with: arctool -dd -texRE6 -alwayscomp -pc -v 7 %1 %2 %3 %4 %5 %6 %7 %8 %9 but that gave the same result.
|
|
✫Advanced Coder✫
First, I was known as Sectus. And then, well, I ended up here.
Posts: 2,811
Original Join Date: Aug 31 2009
|
Post by FluffyQuack on Jan 24, 2016 15:38:04 GMT 10
I'm at a loss to explain this phenomenon then. I am using the latest version (before the above obviously), 9.40 and simply dragged & dropped the .ARC on the .BAT file, then DnD'ed the directory onto the .BAT file, as directed in the instructions. FWIW, my version is the Steam version. Note that I've never used ArcTool for the TEX files. Only for XFS or a simple unpack then repack w/o modification to anything... So... I'm lost. Here's the content of the .BAT file. Maybe there's something wrong in there. arctool -dd -texRE6 -alwayscomp -pc -xfs -v 7 %1 %2 %3 %4 %5 %6 %7 %8 %9 After seeing the result I tried to clean it completely with: arctool -dd -texRE6 -alwayscomp -pc -v 7 %1 %2 %3 %4 %5 %6 %7 %8 %9 but that gave the same result. That usage should work. I just tried again like this: clean game_main.arc, used the bat and exe from the latest release, dragged and dropped arc onto bat, and then dragged and dropped directory onto bat. And it works fine. So unfortunately, I don't know what's going wrong in your case.
|
|
Posts: 12
|
Post by vuze on Jan 25, 2016 6:15:14 GMT 10
Not faulty behavior or anything but I noticed a warning during repacking: "Warning: Compressed size and real size is the same for xy" and that arctool adds four nullbytes in this case. Why is that? I think compsize and realsize are the same in the original arc file?
|
|
Posts: 4
|
Post by MadJack on Jan 25, 2016 12:16:37 GMT 10
That usage should work. I just tried again like this: clean game_main.arc, used the bat and exe from the latest release, dragged and dropped arc onto bat, and then dragged and dropped directory onto bat. And it works fine. So unfortunately, I don't know what's going wrong in your case. Did a bit of investigation and found these: First, I dumped the output of unpacking and repacking to text files and opened those. Unpacking seems to be fine. The output for the repacking though gave a lot of warnings. (post above made me think about it as I had seen it before but forgot to post it) So, from both files I can easily see there's a discrepancy of 487 files from unpacking and repacking (2800 - 2313). As you can see above, the problem persist. Anything you'd want to try? Not sure what else I could do at this time... PS: I'll keep the full text output if you'd like to check them out. I could dump them on pastebin.
|
|
✫Advanced Coder✫
First, I was known as Sectus. And then, well, I ended up here.
Posts: 2,811
Original Join Date: Aug 31 2009
|
Post by FluffyQuack on Jan 25, 2016 16:14:31 GMT 10
Not faulty behavior or anything but I noticed a warning during repacking: "Warning: Compressed size and real size is the same for xy" and that arctool adds four nullbytes in this case. Why is that? I think compsize and realsize are the same in the original arc file? I'm not sure if MT Framework games always treats compSize == realSize as an uncompressed file, so I add padding to be completely sure it always treats a compressed file as compressed. I was gonna look more into this to confirm how MTF games handles this (hence arctool printing a warning). If you're completely sure how the games handle this, you could let me know. Did a bit of investigation and found these: First, I dumped the output of unpacking and repacking to text files and opened those. Unpacking seems to be fine. As you can see above, the problem persist. Anything you'd want to try? Not sure what else I could do at this time... PS: I'll keep the full text output if you'd like to check them out. I could dump them on pastebin. Okay, I think there's two things going on here. I just noticed the batch files you listed lack the "-txt" argument. You need this one as it means arctool will repack the same files as listed in game_main.txt in same order. The important thing is the order, as some MTF games won't work correctly unless files are loaded in a certain order. The TryToConvertFiles() warnings is an unrelated bug which only happens if you don't use -txt. I'll look into fixing that.
|
|
Posts: 4
|
Post by MadJack on Jan 27, 2016 2:00:32 GMT 10
Okay, I think there's two things going on here. I just noticed the batch files you listed lack the "-txt" argument. You need this one as it means arctool will repack the same files as listed in game_main.txt in same order. The important thing is the order, as some MTF games won't work correctly unless files are loaded in a certain order. The TryToConvertFiles() warnings is an unrelated bug which only happens if you don't use -txt. I'll look into fixing that. Just tested the -txt and it works. Unpack / repack (clean) gave the same size. That clean repack works without the missing texture and my mod also works fine. Thanks for the hand.
|
|
Posts: 2
|
Post by xethyn on Jan 29, 2016 9:04:09 GMT 10
Hello Fluffy & co.
Not sure if this is the right place to ask about modding Dragon's Dogma for PC, but I'm having trouble using your ArcTool.
DD has an archive named "romNoraPawnData.arc" which supposedly contains text files in XML format, but when I attempt to unpack the .arc with the following modified "pc-dd.bat":
arctool -dd -texRE6 -alwayscomp -pc -txt -v 7 %1 %2 %3 %4 %5 %6 %7 %8 %9 -lot -xfs -gmd -txt
...the resulting text files inside the unpacked archive all have weird extensions like ".rnp", ".rpn" etc. Opening them in Notepad only reveals gibberish, nothing like the expected XML.
Some modders on reddit and nexusmods talk about successfully extracting XML files to create *custom* hired pawns, but none of my extracted gibberish files match their XML templates.
Any ideas? Am I extracting the archive improperly?
|
|
✫Advanced Coder✫
First, I was known as Sectus. And then, well, I ended up here.
Posts: 2,811
Original Join Date: Aug 31 2009
|
Post by FluffyQuack on Jan 30, 2016 15:11:20 GMT 10
Hello Fluffy & co. Not sure if this is the right place to ask about modding Dragon's Dogma for PC, but I'm having trouble using your ArcTool. DD has an archive named "romNoraPawnData.arc" which supposedly contains text files in XML format, but when I attempt to unpack the .arc with the following modified "pc-dd.bat": arctool -dd -texRE6 -alwayscomp -pc -txt -v 7 %1 %2 %3 %4 %5 %6 %7 %8 %9 -lot -xfs -gmd -txt ...the resulting text files inside the unpacked archive all have weird extensions like ".rnp", ".rpn" etc. Opening them in Notepad only reveals gibberish, nothing like the expected XML. Some modders on reddit and nexusmods talk about successfully extracting XML files to create *custom* hired pawns, but none of my extracted gibberish files match their XML templates. Any ideas? Am I extracting the archive improperly? Tested that batch file (there are repeating options there, although they wouldn't cause any problems anyway), and it works for me. The RNP files are converted to xml. Are you using latest version of arctool?
|
|
Posts: 2
|
Post by xethyn on Jan 30, 2016 19:09:57 GMT 10
My apologies. It appears the ArcTool included with the DDDA Image Extractor had not been updated to your latest version, thus causing issues with LOT/XFS conversion.
I shall endeavor to read carefully and download from the correct thread from now on.
All issues have now been resolved; thank you very much for your prompt assistance.
|
|
✫Advanced Coder✫
First, I was known as Sectus. And then, well, I ended up here.
Posts: 2,811
Original Join Date: Aug 31 2009
|
Post by FluffyQuack on Feb 7, 2016 7:03:08 GMT 10
New version released: www.fluffyquack.com/tools/ARCtool.rarv0-9-42 - XFS conversion: Fixed handling of arrays with size 1, and removed debug comments when converting XFS to XML. - LOT conversion: Fixed a bug with type 19, added support for more LOT types, and added names for more enemy types when converting to text. - Updated single-file mode (note that you can't properly convert XFS and LOT files in that mode yet). - Fixed a bug with extension handling (caused a warning to sometimes appear when repacking arcs without using filelist from a text file). - Fixed a bug with GMD conversion.
|
|
Posts: 5
|
Post by damin72 on Feb 9, 2016 3:15:00 GMT 10
3DS TEX files support not yet? =(
|
|