Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building ArmorPaint From Source

#1
Building ArmorPaint From Source

<div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2020/01/building-armorpaint-from-source.png" width="505" height="215" title="" alt="" /></div><div><p><a href="https://armorpaint.org">ArmorPaint</a> is an open source competitor to Substance Painter, from the creator of the Armory game engine (tutorial series <a href="https://www.gamefromscratch.com/post/2018/06/12/Armory-Game-Engine-Tutorial-Series.aspx">available here</a>).&nbsp; It is available for just 16 Euro in binary form, but can also be built from source code.&nbsp; This guide walks you step by step through the process of building ArmorPaint from source.</p>
<p>There are a few requirements before you can build.&nbsp; Download and install the following programs if not already installed:</p>
<p>First step, we clone the repository.&nbsp; Make sure to add the –recursive flag(that’s two ‘-‘ by the way).</p>
<p>Open a command prompt, cd to the directory where you want to install ArmorPaint’s source code and run the command:</p>
<p><strong>git clone –recursive <a title="https://github.com/armory3d/armorpaint.git" href="https://github.com/armory3d/armorpaint.git">https://github.com/armory3d/armorpaint.git</a></strong></p>
<p>Depending on your internet speed this could take a minute to several minutes while all of the files are downloaded.&nbsp; </p>
<p>In Explorer, go the installation directory, then navigate to <strong>armorpaint\Kromx\V8\Libraries\win32\release </strong>and using 7zip extract <strong>v8_monolith.7z</strong> to the same directory as the .7z file.</p>
<p>Next in the command prompt run the following commands</p>
<p>(Assuming you are reusing the same CMD that you did the git clone from)</p>
<p><strong>cd armorpaint</strong></p>
<p><strong>node Kromx/make –g direct3d11</strong></p>
<p><strong>cd Kromx</strong></p>
<p><strong>node Kinc/make –g direct3d11</strong></p>
<p><strong>explorer .</strong></p>
<p>If you receive any errors above, the most likely cause is node not being installed.&nbsp; The final command will now open a Windows Explorer window in the Kromx subdirectory.&nbsp; Open the build directory and load the file <strong>Krom.sln</strong>.</p>
<p><a href="https://www.gamefromscratch.com/image.axd?picture=image_3476.png"><img width="505" height="215" title="image" alt="image" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/01/building-armorpaint-from-source.png" border="0"></a></p>
<p>This will open the project in Visual Studio.&nbsp; If you haven’t run VS yet,you may have to do some initial installation steps.&nbsp; Worst case scenario run through the initial install, close and double click <strong>Krom.sln</strong> again.</p>
<p>First make sure that you are building for x64 and Release mode at the top:</p>
<p><a href="https://www.gamefromscratch.com/image.axd?picture=image_3473.png"><img width="349" height="74" title="image" alt="image" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/01/building-armorpaint-from-source-1.png" border="0"></a></p>
<p>In the Solution Explorer, select Krom then hit <strong>ALT + ENTER</strong> or right click and select Properties.</p>
<p>Then select Debugging, in Command Arguments enter <strong>..\..\build.krom</strong> then click Apply.</p>
<p><a href="https://www.gamefromscratch.com/image.axd?picture=image_3474.png"><img width="704" height="491" title="image" alt="image" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/01/building-armorpaint-from-source-2.png" border="0"></a></p>
<p>You are now ready to build ArmorPaint.&nbsp; Select <strong>Ctrl + SHIFT + B</strong> or select Build-&gt;Build Solution.</p>
<p><a href="https://www.gamefromscratch.com/image.axd?picture=image_3475.png"><img width="570" height="128" title="image" alt="image" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/01/building-armorpaint-from-source-3.png" border="0"></a></p>
<p>Assuming no errors, are exe should be built.&nbsp; Now go to the folder <strong>armorpaint\Kromx\build\x64\Release</strong> and copy the file <strong>Krom.exe</strong>, then copy to<strong> armorpaint\build\krom</strong>.&nbsp; You can now run <strong>Krom.exe</strong> and you’re good to go.&nbsp; </p>
<p><a href="https://www.gamefromscratch.com/image.axd?picture=image_3477.png"><img width="704" height="412" title="image" alt="image" src="https://www.sickgaming.net/blog/wp-content/uploads/2020/01/building-armorpaint-from-source-4.png" border="0"></a></p>
<p>Step by step instructions are available in the <a href="https://youtu.be/y6h2KOP47ZY">video</a> below.</p>
<p align="center"><iframe class='youtube-player' type='text/html' width='853' height='480' src='https://www.youtube.com/embed/y6h2KOP47ZY?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent' allowfullscreen='true' style='border:0;'></iframe></p>
<p class="under"> <span class="categories"><a href="https://www.gamefromscratch.com/category/Art.aspx">Art</a> <a href="https://www.gamefromscratch.com/category/Programming.aspx">Programming</a></span> <span class="tags"><a href="https://www.gamefromscratch.com/?tag=/3D" rel="tag">3D</a> <a href="https://www.gamefromscratch.com/?tag=/Applications" rel="tag">Applications</a></span> </p>
<hr>
<p> &lt;!–</p>
<p>–&gt;</p>
</div>


https://www.sickgaming.net/blog/2020/01/...om-source/
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016