You are here

Arduino Portable 2.3.2 Dev Test 1

16 posts / 0 new
Last post
Peppernrino
Peppernrino's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2016-09-05 13:42
Arduino Portable 2.3.2 Dev Test 1

Application: Arduino
Category: Utilities
Description:

The Arduino IDE.

Features: Arduino is an open-source physical computing platform based on a simple I/O board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer (e.g. Flash, Processing and MaxMSP). The boards can be assembled by hand or purchased preassembled.

v2.3.2 - Windows 10+

Download Arduino 2.3.2 Portable Development Test 1 [135MB download / 508MB installed]
(MD5: 5ecc6431c5ce1e272720720be13f37e0)
(SHA256: 250db27b204199898bd48599d1823b03963dc7f6d92bf242389b02caceb46e02)
(SHA512: b1e087e3dabdff29747aebf4414aa08e3b5901c2d595a1986c031142efb514e572eb2d748fffa4af36f110985d8ec4ef7ea3edf49fbf8074419904121302e247)

v2.1.1 - Windows 7, 8, 8.1

Download Arduino 2.1.1 Portable Development Test 2 [144MB download / 590MB installed]
(MD5: 1d45ee2ddf4012d32d2496bc3f089d4b)
(SHA256: 7c0abc9215614dbc985730f6ce8709d48fa77b54938d5da5d5c70339e6463d5a)
(SHA512: 05335ed0d36e0fb4a66b29b8ecf77867929fa43d72ccba6f060c98acfb8014b8f471dc97ec3557e8a739140edda49717893eb77608faccc0e57800c306e69675)

Peppernrino
Peppernrino's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2016-09-05 13:42
The return of Arduino Portable?

Before you begin:

Open File -> Preferences, and change the sketch folder to be the portable folder in the 2.x.x directory of the ArduinoPortable program. Also turn off auto-save feature if you wish.

These are meant to be default settings, but I couldn't figure out how to send the saved settings back to .arduino directory in %HOMEPATH% upon startup. If anyone has an idea on how to do this effectively, please speak up Smile

Using: .arduino=%HOMEPATH%/.arduino saves the settings, but the folder repopulates with default settings upon opening the program a second time.

rdd
rdd's picture
Offline
Last seen: 2 days 11 hours ago
Translator
Joined: 2013-03-22 06:59
Try this

I've never used an Arduino, but I was interested in experimenting. This works for me on Win7. Because it is Electron I use CommandLineArguments=--user-data-dir="%PAL:DataDir%\arduino-ide"
Environment variables are from https://arduino.github.io/arduino-cli/0.28/configuration/#environment-va...

[Launch]
ProgramExecutable=2.1.1\Arduino IDE.exe
CommandLineArguments=--user-data-dir="%PAL:DataDir%\arduino-ide"
DirectoryMoveOK=yes
SupportsUNC=yes
RunAsAdmin=try

[Environment]
ARDUINO_DIRECTORIES_DATA=%PAL:DataDir%\Arduino15
ARDUINO_DIRECTORIES_DOWNLOADS=%PAL:DataDir%\Arduino15\staging
ARDUINO_DIRECTORIES_USER=%PAL:DataDir%\Sketchbook
ARDUINO_DIRECTORIES_BUILTIN_LIBRARIES=%PAL:DataDir%\Lib
ARDUINO_DIRECTORIES_BUILTIN_TOOLS=%PAL:DataDir%\Tools
ARDUINO_LOGGING_FILE=%PAL:DataDir%\logfile.txt

[DirectoriesMove]
settings\.arduinoIDE=%USERPROFILE%\.arduinoIDE
Arduino IDE=%APPDATA%\Arduino IDE

[FileWrite1]
Type=Replace
File=%PAL:DataDir%\settings\.arduinoIDE\arduino-cli.yaml
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite2]
Type=Replace
File=%PAL:DataDir%\settings\.arduinoIDE\arduino-cli.yaml
Find=%PAL:LastDrive%%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:Drive%%PAL:PortableAppsBaseDir%\

[FileWrite3]
Type=Replace
File=%PAL:DataDir%\settings\.arduinoIDE\arduino-cli.yaml
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\

Peppernrino
Peppernrino's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2016-09-05 13:42
nice!

thanks!

i'll try updating it tomorrow morning! i don't quite get electron yet. i'm having the same issue with the vscode just released. maybe you are able to help out with that one as well?

https://portableapps.com/node/68921

Unknown123
Offline
Last seen: 1 day 5 min ago
Joined: 2016-06-23 04:38
So when is the real tomorrow

So when is the real tomorrow morning? Wink

Peppernrino
Peppernrino's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2016-09-05 13:42
Today.

Had a lot of stuff on my plate. Time for my semi-monthly update sweep. Enjoy.

Unknown123
Offline
Last seen: 1 day 5 min ago
Joined: 2016-06-23 04:38
I'm not sure, just a

I'm not sure, just a suggestion, perhaps a combination of [FilesMove], [DirectoriesMove], or [DirectoriesCleanupForce] within the launcher.ini might help?

Peppernrino
Peppernrino's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2016-09-05 13:42
lol, not quite...

none of those commands are working properly, hence the comment. the directoriesmove command is what i was using on the .arduino folder...

the most luck i had, it created another folder alongside the original .arduino folder in %HOMEPATH% called .arduino.BackupCreatedByArduinoPortable or similar.

try it yourself and see... Smile

Unknown123
Offline
Last seen: 1 day 5 min ago
Joined: 2016-06-23 04:38
Hmm

Symbolic link is not an option, since it's not portable enough.

Since the path is hardcoded and the program is open source, how about modify its source code to make it compatible with .paf format and then recompile it?

Peppernrino
Peppernrino's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2016-09-05 13:42
not as an official option

we aren't allowed to change any of the program's code. like, as developers for portableapps. it's a no-no.

i bit my nails for weeks over the inclusion of a portable folder in this release. lol. decided ultimately it wasn't changing anything about how the program operates, so it's ok.

Peppernrino
Peppernrino's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2016-09-05 13:42
Updated to Development Test 2

Applied changes discussed in forum. Everything seems to be working correctly now.

v2.2.1 is Win10+, so expect a seperate release on this page. i.e. 2 download links. Smile

Unknown123
Offline
Last seen: 1 day 5 min ago
Joined: 2016-06-23 04:38
Multiple version of Arduino for compatibility?

I've tried to install this one, but the installer overwrites the folder of ArduinoPortable that I've installed previously from Arduino Portable 1.8.19 Dev Test 1

What are your suggestions?
Should we rename the folder before install the newer one?

There could be multiple version of it:

  • Arduino IDE 2.2.0 and newer for 64-bit Windows 10 and newer
  • Arduino IDE 2.1.1 for 64-bit Windows 7 and newer
  • Arduino IDE 1.8.19 for 64-bit/32-bit Windows 7 and newer
  • Arduino IDE 1.8.11 for 64-bit/32-bit Windows Vista and newer
  • Arduino IDE 1.8.9 for 64-bit/32-bit Windows XP and newer

Someone on Vista was able to use 1.8.12 with arduino-builder from 1.8.11, https://forum.arduino.cc/t/arduino-1-8-12-broken-on-windows-vista-arduin...
Perhaps a user could modify 1.8.19 manually with 1.8.9 arduino-builder to maximize compatibility for either 32-bit or 64-bit of XP and newer. I don't know whether it'll works or not.

-------------

As a fun fact, since the java 8 of 1.8.19 is way too old, I've tried to replace the java folder with the latest Liberica Standard JRE 21.0.1+12 x86 32 for Windows, scroll down to the bottom of the page to download, extract the zip file, delete the old folder files and copy the new. I was able to run it just fine.
The other distribution such as Adoptium has dropped support for 32-bit with the latest one is either jdk-17.0.9+9.1 or jdk-19.0.2+7, I'm lucky to find other distribution that still release java 21 for 32-bit, not sure for the future of java 23 though.
In my case, I didn't notice any significant improvement, the boards and libraries manager still slow and lags. But it was fun to tweak, lol.

Peppernrino
Peppernrino's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2016-09-05 13:42
probably nah.

Why would you have both installed..? Is there a benefit to using them at the same time?

Seeing as Win7 is basically EOL now, I don't think supporting Vista should be on the list. Maybe I'm wrong, but that's how I see things trending in development world at large, as well as on this site.

Unknown123
Offline
Last seen: 1 day 5 min ago
Joined: 2016-06-23 04:38
Just for the sake of compatibility.

So yeah you just need to rename the folder to prevent it being overwritten.
Run only one instance of it, I don't recommend to run multiple version together

For example, there's legacy integrated tool named ArduBlock by taweili that works for v1.6.x
https://web.archive.org/web/20221014213739/http://blog.ardublock.com/eng...
https://sourceforge.net/projects/ardublock/

But then it was forked by stfc to be run on v1.8.x
https://github.com/stfc/ardublock

It won't work anymore on v2, since Java was replaced.

Just for the sake of compatibility.

Peppernrino
Peppernrino's picture
Offline
Last seen: 1 month 1 week ago
Joined: 2016-09-05 13:42
OK

I could do the next release as Arduino2Portable for folder name. That should clear things up easily enough. Smile

Or even better... change the v1.8.19 to Arduino1Portable, which would help distinguish it as the "not under development" version.

Unknown123
Offline
Last seen: 1 day 5 min ago
Joined: 2016-06-23 04:38
Installer couldn't extract if the destination path is too long.

Found a trivial issue.
Installer couldn't extract if the destination path is too long.

One workaround is to extract it on the root directory first, then move it to the destined path.
Just extract it manually with 7-Zip also works.

Log in or register to post comments