"---4a) Optional: Download JSON Viewer from the Notepad++ Plugin Manager (highlight the entire document before using) for easier reading" Having a little trouble with this step, Can anyone help break this down? I downloaded JSON Viewer, but I'm not not sure what I'm doing wrong. Every time I select all and then click Format JSON, I get an error.
"There was an error while parsing JSON. Refer to the current selection for possible problematic erea.
"3) Extract the .lua files from data0.dat and 00.dat. Run the following in the command prompt and make sure to include the -r flag, as it decrypts the .lua: MGSV_QAR_TOOL.exe 01.dat -r or MGSV_QAR_Tool data1.dat -r"
For people who don't know how to get the command prompt: hold down shift, press the right mouse button some where on an empty space in the folder (not highlighting a file) and then select "Open command window here" from the popup menu. When the prompt pops up type in MGSV_QAR_TOOL.exe 01.dat -r then press enter to execute. Now you are able to read the lua files in notepad ++
Can you go over that again, it seems to me like your skipping the difficult steps and explaining with great detail easy steps
1. Open Command Prompt (I'm on Window 7) - If I Hold Shift-L + Right-Click on Empty Space in Folder = I don't get "Open command window here" (Arrange by, View, Group by, etc) - If I Hold Shift-L + Right-Click on data1.dat = I get "Copy Filepath" - If I Hold Shift-L + Right-Click on MGSV_QAR_Tool.exe = I get "Copy Filepath" - If I Hold Shift-L + Right-Click on QAR Tool's Folder = I get "Open command window here" - If I Hold Shift-L + Right-Click on master's Folder = I get "Open command window here" (So I think your using a different OS or made a mistake on your steps)
UPDATE: SO I TRIED OPEN CMD ON data1.dat & Type in QAR Tools = Couldn't find QAR Tools (OF COURSE CAUSE AUTHOR DOESN'T SAY TO PUT IN INSTRUCTIONS) UPDATE: SO I TRIED OPEN CMD ON QAR TOOLS & TYPE IN TOOL's Name & data1.dat Filepath + "-r" = STOP WORKING
2. Both you and author mention to Open Command Window Here, but on what? A. Both the Tool and .Dat file B. on .Dat File & Type in Tool -r C. on Tool, with -r & Type in .Dat Filepath
To all those having trouble with Step 3, follow the steps below also I put instructions in Images...Author please Update Tool (Add .Bat to QAR Tool's Folder and simply have people run it)
1. Go to MGSV QAR Tool's Folder (Where MGSV_QAR_Tool.exe is) > Right-Click on any Empty Space > New > Text Document 2. Change the Name & Extension from "Text Document.txt" to "MGS5 - Easier LUA Extract.bat" 3. Right-Click on MGS5 - Easier LUA Extract.bat file > Edit (Opening in Notepad) 4. Copy & Paste the Script (@echo off... ...GOTO start) into Notepad > Ctrl + S to Save
@echo off echo I would make it so the Master Folder open, but it opens a useless CMD echo Makes Step 3 of Sergeanur's (Vazeron1 on NexusMod) QAR Tool easier echo. echo To find data1.dat... echo ...Look in C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master echo. echo To find 00.dat or 01.dat... echo ...Look in C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master\0 SET filepath=%~dp0 echo. :start echo Use Hold Shift + Right-Click on File (.dat) to 'Copy as Path' echo then Come back here, Right-Click here and Paste the set /P filepath= Full File (.dat) & Path: echo. echo The Author of QAR Tool says to use -r to Decrypt .dat Files set /P suffix= Input -r, -u or -eX as instructed by author: echo. Start "" MGSV_QAR_Tool.exe %filepath% %suffix% pause GOTO start
4. Double-Click on MGS5 - Easier LUA Extract.bat to Run > Read & Follow (For more Info their is a Readme.txt in QAR Tools Folder)
"1) Download the MGSV QAR Tool from the files section. 2) Update your dictionary.txt file from the files section. 3) Extract the .lua files from data0.dat and 00.dat. Run the following in the command prompt and make sure to include the -r flag, as it decrypts the .lua: MGSV_QAR_TOOL.exe 01.dat -r or MGSV_QAR_Tool data1.dat -r 4) Use Notepad++ to make your changes ---4a) Optional: Download JSON Viewer from the Notepad++ Plugin Manager (highlight the entire document before using) for easier reading ---4b) Required if you have followed step 4a: If you have formatted the .lua, use regex to revert back to unformatted .lua. You don't need to do this if you have not formatted the .lua."
Hold on there, friend. It says here it's for beginners, and I'm one myself.. Where on earth is the data0.dat and 00.dat?? Like, the instructions went from okay to where-the-hell-am-i step? I've been trying to work this out for hours now. Someone please help.
Instead of assuming good sir maybe people don't actually know...your instructions aren't completely clear or thorough...even took me while to realize that 00.dat isn't in the same folder as data1.dat also their is no data0.dat (Unless that was an example).
C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master\0 = 00.dat & 01.dat...which to use?
C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master\1\MGSVTUPDATEV0110\0 = 00.dat & 01.dat...which to use?
I extract and update dictonary and try to edit lua files with Notepadd ++ but instead of something clear when I open LUA file I get messy strange letters and numbers and symbol without sense... Why is that?
Here is how it looks like: http://imgur.com/b1pyczY
I'm going through the process myself right now. I noticed that if you useMGS_TPP\master\0 you get a variety of file types including .lua files. If you use 01.dat from MGS_TPP\master\1\MGSVTUPDATEV0110\0 you only get .ftexs that are unreadable. Hope that helps. Sorry I'm here a year too late xP
34 comments
Having a little trouble with this step, Can anyone help break this down?
I downloaded JSON Viewer, but I'm not not sure what I'm doing wrong.
Every time I select all and then click Format JSON, I get an error.
"There was an error while parsing JSON. Refer to the current selection for possible problematic erea.
Error: (3 : Invalid value.)"
For people who don't know how to get the command prompt: hold down shift, press the right mouse button some where on an empty space in the folder (not highlighting a file) and then select "Open command window here" from the popup menu. When the prompt pops up type in MGSV_QAR_TOOL.exe 01.dat -r then press enter to execute. Now you are able to read the lua files in notepad ++
1. Open Command Prompt (I'm on Window 7)
- If I Hold Shift-L + Right-Click on Empty Space in Folder = I don't get "Open command window here" (Arrange by, View, Group by, etc)
- If I Hold Shift-L + Right-Click on data1.dat = I get "Copy Filepath"
- If I Hold Shift-L + Right-Click on MGSV_QAR_Tool.exe = I get "Copy Filepath"
- If I Hold Shift-L + Right-Click on QAR Tool's Folder = I get "Open command window here"
- If I Hold Shift-L + Right-Click on master's Folder = I get "Open command window here"
(So I think your using a different OS or made a mistake on your steps)
UPDATE: SO I TRIED OPEN CMD ON data1.dat & Type in QAR Tools = Couldn't find QAR Tools (OF COURSE CAUSE AUTHOR DOESN'T SAY TO PUT IN INSTRUCTIONS)
UPDATE: SO I TRIED OPEN CMD ON QAR TOOLS & TYPE IN TOOL's Name & data1.dat Filepath + "-r" = STOP WORKING
2. Both you and author mention to Open Command Window Here, but on what?
A. Both the Tool and .Dat file
B. on .Dat File & Type in Tool -r
C. on Tool, with -r & Type in .Dat Filepath
I can see other LUA accounted for, but not TPPClock.lua
also I put instructions in Images...Author please Update Tool (Add .Bat to QAR Tool's Folder and simply have people run it)
1. Go to MGSV QAR Tool's Folder (Where MGSV_QAR_Tool.exe is) > Right-Click on any Empty Space > New > Text Document
2. Change the Name & Extension from "Text Document.txt" to "MGS5 - Easier LUA Extract.bat"
3. Right-Click on MGS5 - Easier LUA Extract.bat file > Edit (Opening in Notepad)
4. Copy & Paste the Script (@echo off... ...GOTO start) into Notepad > Ctrl + S to Save
@echo off
echo I would make it so the Master Folder open, but it opens a useless CMD
echo Makes Step 3 of Sergeanur's (Vazeron1 on NexusMod) QAR Tool easier
echo.
echo To find data1.dat...
echo ...Look in C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master
echo.
echo To find 00.dat or 01.dat...
echo ...Look in C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master\0
SET filepath=%~dp0
echo.
:start
echo Use Hold Shift + Right-Click on File (.dat) to 'Copy as Path'
echo then Come back here, Right-Click here and Paste the
set /P filepath= Full File (.dat) & Path:
echo.
echo The Author of QAR Tool says to use -r to Decrypt .dat Files
set /P suffix= Input -r, -u or -eX as instructed by author:
echo.
Start "" MGSV_QAR_Tool.exe %filepath% %suffix%
pause
GOTO start
4. Double-Click on MGS5 - Easier LUA Extract.bat to Run > Read & Follow (For more Info their is a Readme.txt in QAR Tools Folder)
2) Update your dictionary.txt file from the files section.
3) Extract the .lua files from data0.dat and 00.dat. Run the following in the command prompt and make sure to include the -r flag, as it decrypts the .lua: MGSV_QAR_TOOL.exe 01.dat -r or MGSV_QAR_Tool data1.dat -r
4) Use Notepad++ to make your changes
---4a) Optional: Download JSON Viewer from the Notepad++ Plugin Manager (highlight the entire document before using) for easier reading
---4b) Required if you have followed step 4a: If you have formatted the .lua, use regex to revert back to unformatted .lua. You don't need to do this if you have not formatted the .lua."
Hold on there, friend. It says here it's for beginners, and I'm one myself.. Where on earth is the data0.dat and 00.dat?? Like, the instructions went from okay to where-the-hell-am-i step? I've been trying to work this out for hours now. Someone please help.
C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master\0 = 00.dat & 01.dat...which to use?
C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master\1\MGSVTUPDATEV0110\0 = 00.dat & 01.dat...which to use?
Also I have a .modded & .original?
Here is how it looks like: http://imgur.com/b1pyczY
Help please