|
Post by jarych on Jun 29, 2019 0:40:21 GMT
Can JustBASIC version 2 be put into a portable form after installing? With that done, put JB onto something like USB Flashdrive and work it from that?
If this is possible, how exactly?
|
|
|
Post by Rod on Jun 29, 2019 16:09:53 GMT
Not something I have fully tested with Just BASIC V2. V2 splits its files, system files are usually placed in program files x86 directory which is protected by Windows. User files are placed in the users %appdata% directory.
It is possible to choose to install to a USB drive. The system files will be placed there. However it appears the user files and all example programs are still placed in %appdata%.
There is also the .ini file to consider.
So it seems possible to install a working copy to a USB drive. You would need to copy the sample files manually if you needed them. I would just give it a go and check whether it works for you. The real test would be firing it up on a new PC that had not had Just BASIC installed previously.
|
|
|
Post by Stefan Pendl on Jul 7, 2019 7:16:02 GMT
Just BASIC can be copied to a USB drive after installing on the local disk. You only need to copy the entire contents of the installation folder to the USB drive. The INI file containing the JB preferences will be created automatically, so nothing to worry about. You may want to copy the example files from "%APPDATA%\Just BASIC ..." to the USB drive too.
|
|
|
Post by jarych on Jul 12, 2019 16:57:48 GMT
I am not sure about how or if the files to make the FreeForm designer also be included and to work in the portable form of JB. Those files seem to be in AppData\Roaming\Just BASIC v2.0\, but nowhere else in the installed form of JB.
|
|
|
Post by Rod on Jul 12, 2019 19:15:04 GMT
As Stefan said, if you copy the %appdata% files to the USB drive then you will have copied Freeform and it will be available from the USB drive.
|
|
|
Post by jarych on Jul 12, 2019 22:24:48 GMT
As Stefan said, if you copy the %appdata% files to the USB drive then you will have copied Freeform and it will be available from the USB drive. I do not know what path that is on the USB flash drive. What does $USERDATA*.tkn mean? I see that kind of arrangment when I look into External Programs through JB. Setup > External Programs > click one of the items and a textfield shows a directory path. This indicates for the installed JB2, $USERDATAfformj261006.tkn. I just wonder if the textbox allows the user to choose a path of his own using the Browse button? If I put the directory which contains all of FreeForm onto the USB Flashdrive, then would I simply be able to use External Programs in JB2 to tell JB2 WHERE FreeForm is?
|
|
|
Post by Rod on Jul 13, 2019 6:51:26 GMT
There is no path on the USB drive. You can copy the files to a new directory or simply into the directory that you copied the system files to. You don’t need to copy them all just those you will use, free form for example. You will need to copy any resource files that get used, bmps sounds etc. If you do so, preserve the relative path that they exist in now, bmp\ for example. If you don’t you would need to change the example code to point to where they are. You might just put them in one directory and use no path. But the examples are set to use bmp\abmp.bmp Replace bmp\ with your own choice of directory or remove it altogether and just use abmp.bmp if you have put the resource in the same directory as all other files.
|
|
|
Post by Stefan Pendl on Aug 3, 2019 5:51:29 GMT
$USERDATA is explained in the help file, see the whats new section. You can change the $USERDATA of the FreeForm entry to a relative path, so it will work on any system.
|
|