that is my file. so different to your file. Are you using the MASTER edition of the github? because its not recommended to do that
Im using this tool LINK HERE
you need to uncompress that with the 7zip, not with a Winrar, or trows an error.
note that doesn't have a password.
Also, If oyu re already using THAT version of the tool. check the previous comments. some ppl had your same issue.
Im using the same version of the tool as yours, and its path doesnt have any spaces or weird letters as Liz said, but i uncompressed it with winrar instead of 7zip, didnt know bout that, i guess that might be it, will try again with 7zip next time and see what happens, thanks
Now that config file is in check move back to root directory of tool and look if there is batch file named run.bat
If no just create one with those contents:
Code:
@echo off
cd /d PATH_TO_TOOL
grunt ACTION --stack --verbose & pause > nul
PATH_TO_TOOL will be your path to tool ofc
ACTION is thing you will replace with these in order when each is completed:
So first you will replace ACTION with build_preparer, save file, run as admin, wait for it to finish, replace with icon_dumper, etc till u reach end
easy right?
1. run build_preparer, it will get rid of old files
2. run icon_dumper
!!!IMPORTANT IF YOU WANT ICONS TO WORK!!!
Okay so after you icon_dumper is done navigate into \database\icon\png\ and copy all files into \database\icon\png-cps\
3. Before you run upk_preparer there is one extra step you have to do
After you extracted tool fetch xml.dat file from your game client and copy it in dedat folder
Edit translate.bat file so it looks like this:
Code:
@echo off
bnsdat.exe -x xml.dat
It will take a while for tool to decrypt xml.dat, after it's done all files will be decrypted into folder "xml.dat.file", just move all contents from this folder into \resouces\dedat\output
4. run upk_preparer
When it's done with upk_preparer you will probably see "dedat returned error 0" or something, don't worry it's fine at this point it should be decrypting xml.dat but since they changed the way xml is decrypted or something the included dedat doesn't work because it just keeps returning error "ENCRYPTION ERROR?"
5. Run upk_scanner this step might take A WHILE ~1h
6. Run upk_parser takes bout ~20min
7. Run shooter
Now at this point you don't want to be doing anything so it properly takes screenshots this one can take few hours too so better run it when you go to bed :')
8. png_optimizer (OPTIMAL)
9. Getting pictures to work
Open 2 windows, one in \database\ folder and the other inside \VS_GUI\BladeSoulTool\tmp
So if you didn't run png_optimizer you will be copying/moving files from "pics"
if you ran png_optimizer you will be copying/moving files from "pics-cps"
@echo off
:: README
:: Please follow https://www.bnsbuddy.com/threads/updating-one-click-tool-database.164/ to update your config file
:: Credit to the author of this tool and Wiper008 for the guide
:: For this to work, you first need to install nodejs, u can download from here https://nodejs.org/en/download/
:: Recommend install node to other driver then C: because adminstrator problems
:: Then run install.bat in your toolfolder/resources/nodejs/
::-----------------------------------------------------------------------------------------------------
:: Set environment variables
set SETTING=%cd%\config\setting.json
set GIT_PATCH=https://github.com/Mellowz/bnsdattools/releases/download/0.7.6/bnsdat_0.7.6_windows-portable_i686.zip
set GIT_PATCH_DES=%cd%\resources\dedat\bnsdat_0.7.6_windows-portable_i686.zip
set MAIN_DIR=%cd%
set XML_TRANS_BAT=%cd%\resources\dedat\bnsdat\bin
set DATABASE=%cd%\database
set des=%cd%\VS_GUI\BladeSoulTool\tmp
:: ----------------------------------------------------------------------------------------------------
:: Build preparer and icon dumper, no need extra step
call grunt build_preparer --stack --verbose
if %errorlevel% neq 0 exit /b %errorlevel%
call grunt icon_dumper --stack --verbose
if %errorlevel% neq 0 exit /b %errorlevel%
xcopy %DATABASE%\icon\png %DATABASE%\icon\png-cps\ /Y /I
rmdir /s /q %MAIN_DIR%\logs
:: ----------------------------------------------------------------------------------------------------
:: Download bnsdat from git
:: If you already have it or dont have window Powershell > 2.0 (Window 7), REM this section
:PowerShell
set PSScript=%temp%\~tmpDlFile.ps1
if exist "%PSScript%" del /Q /F "%PSScript%"
echo [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls">>"%PSScript%"
echo Invoke-WebRequest "%GIT_PATCH%" -OutFile "%GIT_PATCH_DES%">>"%PSScript%"
start /w powershell -ExecutionPolicy Bypass -Command "& '%PSScript%'"
REM pause
start /w powershell -nologo -noprofile -command "& { $shell = New-Object -COM Shell.Application; $target = $shell.NameSpace('%cd%\resources\dedat'); $zip = $shell.NameSpace('%GIT_PATCH_DES%'); $target.CopyHere($zip.Items(), 16); }"
REM pause
del "%GIT_PATCH_DES%"
::-----------------------------------------------------------------------------------------------------
::Copy xml.dat file from data and translate
:: Make it possible to read immediate value of variable using !variable! syntax.
setlocal enabledelayedexpansion
set game=
for /f "skip=2 delims=," %%x in (%SETTING%) do if not defined game set "game=%%x"
set data=
for /f "skip=3 delims=," %%i in (%SETTING%) do if not defined data set "data=%%i""
:: Remove quotes
set data=%data:"=%
:: Remove braces
REM set "data=%data:~2,-2%"
:: Change colon+space by equal-sign
set "data=%data:: ==%"
:: Separate parts at comma into individual assignments
set "%data:, =" & set "%"
:: Remove quotes
set game=%game:"=%
:: Remove braces
REM set "game=%game:~2,-2%"
:: Change colon+space by equal-sign
set "game=%game:: ==%"
:: Separate parts at comma into individual assignments
set "%game:, =" & set "%"
set xml_path=%game%\\%data%
xcopy "%xml_path%\..\..\data\xml.dat" "%XML_TRANS_BAT%" /Y /I
xcopy "%xml_path%\..\..\data\xml.dat" "%xml_path%" /Y /I
cd %XML_TRANS_BAT%
:: Overwrite translate.bat
del "translate.bat"
(
@echo off
@echo @echo off
@echo bnsdat.exe -x xml.dat
) > translate.bat
call translate.bat
xcopy "xml.dat.files\*" "%MAIN_DIR%\resources\dedat\output" /Y /S
rmdir /s /q xml.dat.files
cd %MAIN_DIR%
::------------------------------------------------------------------------------------------------------
call grunt upk_preparer --stack --verbose
if %errorlevel% neq 0 exit /b %errorlevel%
call grunt upk_scanner --stack --verbose
if %errorlevel% neq 0 exit /b %errorlevel%
call grunt upk_parser --stack --verbose
if %errorlevel% neq 0 exit /b %errorlevel%
call grunt shooter --stack --verbose
if %errorlevel% neq 0 exit /b %errorlevel%
call grunt png_optimizer --stack --verbose & pause > nul
if %errorlevel% neq 0 exit /b %errorlevel%
:: REM this if using png_optimizer
REM xcopy /s %DATABASE%\attach\pics %des%\attach /Y
REM xcopy /s %DATABASE%\costume\pics %des%\costume /Y
REM xcopy /s %DATABASE%\weapon\pics %des%\weapon /Y
REM xcopy /s %DATABASE%\icon\png %des%\icon /Y
:: REM this if not using png_optimizer
xcopy /s %DATABASE%\attach\pics-cps %des%\attach /Y
xcopy /s %DATABASE%\costume\pics-cps %des%\costume /Y
xcopy /s %DATABASE%\weapon\pics-cps %des%\weapon /Y
xcopy /s %DATABASE%\icon\png-cps %des%\icon /Y
rmdir /s /q %MAIN_DIR%\logs
Hey guys just write a small .bat script to do all the update, you still need to update your config file. Read README above. Copy this code and save it in your tool folder in .bat and run it.
set SETTING=%cd%\config\setting.json set GIT_PATCH=https://github.com/Mellowz/bnsdatto.../0.7.6/bnsdat_0.7.6_windows-portable_i686.zip set GIT_PATCH_DES=%cd%\resources\dedat\bnsdat_0.7.6_windows-portable_i686.zip set MAIN_DIR=%cd% set XML_TRANS_BAT=%cd%\resources\dedat\bnsdat\bin set DATABASE=%cd%\database set des=%cd%\VS_GUI\BladeSoulTool\tmp
set game= for /f "skip=2 delims=," %%x in (%SETTING%) do if not defined game set "game=%%x" set data= for /f "skip=3 delims=," %%i in (%SETTING%) do if not defined data set "data=%%i""
:: REM this if using png_optimizer REM xcopy /s %DATABASE%\attach\pics %des%\attach /Y REM xcopy /s %DATABASE%\costume\pics %des%\costume /Y REM xcopy /s %DATABASE%\weapon\pics %des%\weapon /Y REM xcopy /s %DATABASE%\icon\png %des%\icon /Y :: REM this if not using png_optimizer xcopy /s %DATABASE%\attach\pics-cps %des%\attach /Y xcopy /s %DATABASE%\costume\pics-cps %des%\costume /Y xcopy /s %DATABASE%\weapon\pics-cps %des%\weapon /Y xcopy /s %DATABASE%\icon\png-cps %des%\icon /Y
echo Do you use png_optimizer?
choice /c:ny /n /m "[Y]es | [N]o"
IF ERRORLEVEL 1 (
set "suffix=-cps"
)
for %%f in (attach costume weapon icon) do (
xcopy /s "%DATABASE%\%%f\png%suffix%" "%des%\%%f" /Y
)
Hi Cupid, thank you for for all the feedback and tips,i greatly appreciate it. It is my first time writing script like this, used to work in IT so i assumed that everybody can understand the stuff, my bad .
About this
Code:
call grunt build_preparer --stack --verbose
If not use "call" here, the script will just execute this line and then exit.
And this
Code:
if exist "%PSScript%" del /Q /F "%PSScript%" echo [Net.ServicePointManager]::SecurityProtocol = "tls12, tls11, tls">>"%PSScript%" echo Invoke-WebRequest "%GIT_PATCH%" -OutFile "%GIT_PATCH_DES%">>"%PSScript%"
Need to put it to .ps script because the security protocol on github is higher then window ( my computer (?) 1.0 vs 1.2 if i remember correctly ) so if call it directly, it gonna pull out some errror .
Need to put it to .ps script because the security protocol on github is higher then window ( my computer (?) 1.0 vs 1.2 if i remember correctly ) so if call it directly, it gonna pull out some errror
if possible, could someone please upload an updated version of this tool with the latest database for people who weren't able to update the tool themselves on the NA servers? like, all of the stuff for the updated database after warden's fury? thanks in advance, and happy holidays to whoever takes the time to read this!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.