Hello! Need community help.
How do I move the block and purse directories from the default user profile to another directory (OS Windows)?
I think that the paths to directories are set in init.bat:
SET kotodir=%appdata%\Koto
SET kotoconf=%kotodir%\koto.conf
SET sproutdir=%appdata%\ZcashParams
SET sprout-proving_url=http://d.koto.cash/sprout-proving.key?a=.js
SET sprout-verifying_url=http://d.koto.cash/sprout-verifying.key?a=.js
SET sprout-proving=%sproutdir%\sprout-proving.key
SET sprout-verifying=%sproutdir%\sprout-verifying.key
SET sprout-proving-hash=8bc20a7f013b2b58970cddd2e7ea028975c88ae7ceb9259a5344a16bc2c0eef7
SET sprout-verifying-hash=4bd498dae0aacfd8e98dc306338d017d9c08dd0918ead18172bd0aec2fc5df82
I change the default settings to custom:
SET kotodir=%appdata%\Koto
SET sproutdir=%appdata%\ZcashParams
SET kotodir=D:\CoinBase\Data\Koto
SET sproutdir=D:\CoinBase\Data\ZcashParams
After starting init.bat I get the files of the blockbuster and wallet in the necessary directories.
But, the start of the java-applet KotoSwingWalletUI.jar ends with an error:
D:\CoinBase\Apps\171224_koto1.0.13_win_64bit>java -jar KotoSwingWalletUI.jar
[main] [Tue Jan 23 13:49:28 YAKT 2018] [INFO] Starting Koto Swing Wallet ...
[main] [Tue Jan 23 13:49:28 YAKT 2018] [INFO] OS: Windows 10 = WINDOWS
[main] [Tue Jan 23 13:49:28 YAKT 2018] [INFO] Current directory: D:\CoinBase\Apps\171224_koto1.0.13_win_64bit
[main] [Tue Jan 23 13:49:28 YAKT 2018] [INFO] Class path: KotoSwingWalletUI.jar
[main] [Tue Jan 23 13:49:28 YAKT 2018] [INFO] Environment PATH: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Apps\jdk-8u73\bin;C:\Users\adm\AppData\Local\Microsoft\WindowsApps;
[main] [Tue Jan 23 13:49:28 YAKT 2018] [INFO] Using Koto utilities: kotod: D:\CoinBase\Apps\171224_koto1.0.13_win_64bit\kotod.exe, koto-cli: D:\CoinBase\Apps\171224_koto1.0.13_win_64bit\koto-cli.exe
[main] [Tue Jan 23 13:49:29 YAKT 2018] [INFO] kotod is not runing at the moment or has not started/synchronized 100% - showing splash...
[main] [Tue Jan 23 13:49:29 YAKT 2018] [INFO] Splash: checking if kotod is already running...
[main] [Tue Jan 23 13:49:29 YAKT 2018] [INFO] unexpected daemon info: Error reading configuration file: Missing koto.conf
[main] [Tue Jan 23 13:49:29 YAKT 2018] [INFO] Splash: kotod already running...
[main] [Tue Jan 23 13:49:32 YAKT 2018] [INFO] unexpected daemon info: Error reading configuration file: Missing koto.conf
[main] [Tue Jan 23 13:49:34 YAKT 2018] [INFO] unexpected daemon info: Error reading configuration file: Missing koto.conf
[main] [Tue Jan 23 13:49:36 YAKT 2018] [INFO] unexpected daemon info: Error reading configuration file: Missing koto.conf
[main] [Tue Jan 23 13:49:37 YAKT 2018] [INFO] unexpected daemon info: Error reading configuration file: Missing koto.conf
[main] [Tue Jan 23 13:49:39 YAKT 2018] [INFO] unexpected daemon info: Error reading configuration file: Missing koto.conf
[main] [Tue Jan 23 13:49:39 YAKT 2018] [ERROR] Unexpected error:
java.io.IOException: com.eclipsesource.json.ParseException: Expected value at 1:1
at com.vaklinov.zcashui.ZCashClientCaller.getDaemonRawRuntimeInfo(ZCashClientCaller.java:198)
at com.vaklinov.zcashui.StartupProgressDialog.waitForStartup(StartupProgressDialog.java:133)
at com.vaklinov.zcashui.ZCashUI.main(ZCashUI.java:439)
Caused by: com.eclipsesource.json.ParseException: Expected value at 1:1
at com.eclipsesource.json.JsonParser.error(JsonParser.java:490)
at com.eclipsesource.json.JsonParser.expected(JsonParser.java:486)
at com.eclipsesource.json.JsonParser.readValue(JsonParser.java:193)
at com.eclipsesource.json.JsonParser.parse(JsonParser.java:152)
at com.eclipsesource.json.JsonParser.parse(JsonParser.java:91)
at com.eclipsesource.json.Json.parse(Json.java:295)
at com.vaklinov.zcashui.ZCashClientCaller.getDaemonRawRuntimeInfo(ZCashClientCaller.java:194)
I think the reason is "Missing koto.conf". Also, in the user profile after launching the java-applet an empty directory "Koto" is created, which should not be there.
How to get the desired result? It is desirable without using hard links in the user profile.
And further. Running batfile:
koto-cli.exe -conf="D:\CoinBase\Data\Koto\koto.conf" -datadir="D:\CoinBase\Data\Koto"
The error ends: too few parameters.
What parameters are required to receive a working KOTO purse?
Sincerely.