https://wiki.freepascal.org/index.php?title=LazPaint_Make_it_portable&feed=atom&action=historyLazPaint Make it portable - Revision history2024-03-29T07:03:26ZRevision history for this page on the wikiMediaWiki 1.35.6https://wiki.freepascal.org/index.php?title=LazPaint_Make_it_portable&diff=92697&oldid=prevFTurtle at 20:44, 10 July 20152015-07-10T20:44:03Z<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:44, 10 July 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l33" >Line 33:</td>
<td colspan="2" class="diff-lineno">Line 33:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You may want to create a shortcut to the binary file. This will depend on your desktop environment.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You may want to create a shortcut to the binary file. This will depend on your desktop environment.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:LazPaint]]</ins></div></td></tr>
</table>FTurtlehttps://wiki.freepascal.org/index.php?title=LazPaint_Make_it_portable&diff=82482&oldid=prevCircular: created2014-08-19T09:28:29Z<p>created</p>
<p><b>New page</b></p><div>Go [[LazPaint|back]]<br />
<br />
By default, LazPaint stores its configuration on the hard drive using the mechanism provided by the operating system to keep a unique configuration. It is however easy to make a portable version of LazPaint. Here are the steps.<br />
<br />
=== 1. Download binaries ===<br />
<br />
Download the compressed binaries for a 32-bit or 64-bit version of LazPaint. Do not use the installer because this will definitely install it on your computer. Instead, you want to put it on a USB key for example.<br />
<br />
=== 2. Decompress ===<br />
<br />
Decompress it in a folder on a portable device such as a USB key. Alternatively you can do this on your hard drive and at the end copy the whole thing on another device.<br />
<br />
On Windows and Linux, you get a directory containing the executable binary file, some example of 3d object files (.obj) and a folder with translations (i18n).<br />
<br />
On MacOS, the structure is a bit different in order to be interpreted as an application.<br />
<br />
=== 3. Configure ===<br />
<br />
Using a plain text editor like Notepad or Gedit, create a text file called ''lazpaint.ini'' in the same directory as the binary file.<br />
<br />
Inside write the following:<br />
<br />
[General]<br />
ConfigFile=LazPaint.cfg<br />
<br />
On MacOS, the binary file is in the MacOS subdirectory. You will need to write a relative path to the Resources directory:<br />
<br />
ConfigFile=../Resources/LazPaint.cfg<br />
<br />
=== 4. Create a link ===<br />
<br />
That's it. If you run the program now, it will write its configuration with the binaries. <br />
<br />
You may want to create a shortcut to the binary file. This will depend on your desktop environment.</div>Circular