radioId2GD88 v 3.0
(c)2023 abt@75r.de
All rights reserved - This file is allowed to download from 75r.de/software only for no cost. If not, it could be manipulated with malware!
The genuine script v3.0 has a filesize of 8400 bytes and the SHA256 hash is 00d13de6dcb77c79499e923e8b746029cffdd57d0cbc6372e387e051050ea539
You can check this with the console commad
certutil -hashfile "C:\Temp\radioId2GD88V3.vbs" SHA256
if the script is located in C:\Temp for example.
If the has is not the sameDO NIOT USE IT (it could contain malware!!! (Please message me, if so!)
The author is not responsible for any damage this script ould cause. Use it on You own risk. It is not guartanteed to work 100% error free.

This script converts the drm userdatabase user.csv, which is downloaded by this script from https://radioid.net/database/dumps.
It will be convertedf into a format for AnyTone transceivers and for the radioddity GD-88 and GD-168 (similar to AT-168)
it Works with any windows version which supports vb script (Windows XP - Windows 11 as long as vb script is supported).
After the support for vb script the author will provide a new tool. Please check frequently on https://75r.de/software.
You can set a number of options (see below). 

Using this script
=================
- Unzip the archive to any destination
- Open the script radioId2GD88.vbs to edit it (not by double clicking it, but by doing a right-click and choose "open with..."
  and choose "Editor" or any text editor You have installed
- Change options between lines 16 and 42 AND NOTHING ELSE!
  Options with a default value "true" must only be set to true or false (means yes/no, on/off) as following:
  - download_userCSV: true or false, Decide, If You wish the script to download the actual user.csv from radioID.net (recommended!)
  - use_temp_dir : true or false, Should the download and the conversion be made in the TEMP dir (C:\users\USERNAME\APPDATA\local\Temp)? (recommended)
  - downloadpath : Needed, when download_userCSV = false. You can set an own download/working directory (without trailing '\', FQDNs like \\server\share are allowed)
  - csvfilename  : Name of downloadfile on Your PC. Should be left 'user.csv', but can be changed to keep different versions
  - makeGD88     : true or false, Decide to convert the csv into the GD-88 format (outputfile: user_xx.xx.xxxx_GD88.csv)
  - makeGD168    : true or false, Decide to convert the csv into the GD-168 format (and other Anytone radios) (outputfile: user_xx.xx.xxxx_GD168.csv)
  - deleteSourceFile: true or false, Should the sourcefile user.csv be deleted after processing? (recommended)
  - openExplorer :true or false, Should an explorer in the working dir be opened after work is done? (very much recommended!)
- Save radioId2GD88.vbs
- Doubleclick radioId2GD88.vbs
- It will take some seconds to convert the file
- When the process is finished, a notification sound is played, a windows explorer opens in the working-dir, if activated, or, if not, messagebox pops up
- Two new files user_xx.xx.20xx_GD88 user_12.xx.20xx_GD168 (date of last edit of user.csv) have been written in the same directory
- user_xx.xx.20xx_GD88 be used with the Radioddity GD-88
- user_12.xx.20xx_GD168 be used with the Radioddity GD-168/Anytone AT-168 and other Anytone dmr transceivers

NOTE:
The sourcefile user.csv and the converted files will be overwritten by the new versions.
