Quote:
Originally Posted by DNSB
Under Windows, I am using a batch file to transfer the books from Bluestack's storage to a Windows directory. You do need to set the config file location and Bluestacks instance in the batch file and have installed the Android SDK Platform Tools to have adb. The rem before the @ECHO OFF can be removed once you have the file running happily.
Code:
rem @ECHO OFF
CLS
rmdir %userprofile%\BS_Export /S /Q
mkdir %userprofile%\BS_Export
REM Extracting all books from a Bluestacks instance with unknown port
REM Edit the following SET commands with your own file location and
REM BlueStacks instance name
SET BS_config_file=C:\ProgramData\Bluestacks_nxt\bluestacks.conf
SET BS_instance=Pie64_1
FOR /F "tokens=2 delims==" %%F IN ('findstr ".%BS_instance%.status.adb_port=" %BS_config_file%') DO SET ADB_PORT=%%F
C:\platform-tools\adb connect localhost:%ADB_PORT%
C:\platform-tools\adb -s localhost:%ADB_PORT% -a pull /sdcard/Android/data/com.amazon.kindle/files %userprofile%/BS_Export
C:\platform-tools\adb disconnect localhost:%ADB_PORT%
@PAUSE
Edit: I've attached the batch file to this message. Rename to remove the .txt before using.
|
tried but the only thing iam getting is 3 kfx files and calibre tells me it's a kfx-zip flie and after i try to convert it, it says cannot convert cr, this book is blocked by drm.
what am i doing wrong?