Skip to content

Commit

Permalink
Added Lava's Viconia SoD alternate, v2 packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDawg committed Feb 6, 2022
1 parent c614ad7 commit 3b39d3a
Show file tree
Hide file tree
Showing 14 changed files with 151 additions and 20 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/InfinityAutoPackager.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Infinity Auto Packager by AL|EN ([email protected])
# A tool that automatically generates Infinity Engine mod packages when you publish a release.

on:
release:
types: [published]
jobs:
InfinityAutoPackager:
runs-on: ubuntu-latest
steps:

- name: Initial setup
run: |
git lfs uninstall
git config --global core.autocrlf false
git config --global core.ignorecase true
- name: Clone repository using 'github.ref' from release
uses: actions/checkout@master

- name: Create Infinity Engine Mod Packages (.iemod and .zip)
uses: ALIENQuake/CreateIEModZipPackage@master
id: CreateIEModZipPackage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload iemod package to latest release
uses: svenstaro/upload-release-action@v1-release
if: github.ref != 'refs/heads/master'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.iemod
asset_name: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.iemod
tag: ${{ github.ref }}
overwrite: true
Binary file added cdportraits/bmp/viconia_3_170.bmp
Binary file not shown.
Binary file added cdportraits/bmp/viconia_3_266.bmp
Binary file not shown.
Binary file added cdportraits/bmp/viconia_3_330.bmp
Binary file not shown.
Binary file added cdportraits/bmp/viconia_3_60.bmp
Binary file not shown.
Binary file added cdportraits/bmp/viconia_3_84.bmp
Binary file not shown.
39 changes: 39 additions & 0 deletions cdportraits/cdportraits.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Never copy this from other mod, always use https://github.com/ALIENQuake/ProjectInfinity/wiki/Adding-metadata-for-mod
# Filename must be the same as tp2 basename, placed at the same folder where
# .tp2 file is located, use UTF8 (without BOM) encoding, everything is optional

# ini section header is required to avoid false detection
[Metadata]

# Full name of the mod, without the version number, without the list of supported games
Name = Continuous NPC Portraits

# Author name or nick, don't use an email address
Author = CamDawg

# Short description of the mod, main goals, features etc
Description = There are five NPCs in the Baldur's Gate series who have multiple official portraits. Edwin, Imoen, Jaheira, Minsc, and Viconia all have different portraits for the BG and BG2 games; Imoen and Viconia have a third official portrait from Siege of Dragonspear. This mod will allow you to use any of these official portraits for them on any given game, e.g. you can use Imoen's BG portrait in BG2, or Viconia's SoD portrait in BG. The original and Enhanced Editions of Baldur's Gate and Baldur's Gate II are supported, as is Siege of Dragonspear and the various conversion projects involving these NPCs (EET, BGT, and Tutu).
# Web address of mod readme file (filename is case-sensitive!) You can link to txt, md, html, pdf etc.
Readme = https://gibberlings3.github.io/Documentation/readmes/readme-cdportraits.html
# Web address of mod dedicated forum or forum thread
Forum = https://www.gibberlings3.net/forums/forum/28-miscellaneous-released-mods/
# Web address of mod personal Homepage, no need to duplicate with a mod dedicated forum
Homepage = https://www.gibberlings3.net/mods/other/portraitpacks/
# if you use GitHub.com, simply use https://github.com/AccountOrOrgName/RepositoryName
# read more about Delta Updates https://github.com/ALIENQuake/ProjectInfinity/wiki/Delta-Updates-for-mods-hosted-at-Github
Download = https://github.com/Gibberlings3/Continuous_NPC_Portraits
# Type of LABELs used by the mod, read more here https://www.gibberlings3.net/forums/topic/32516-tutorial-what-is-label
LabelType = GloballyUnique
# Dynamic Install Order, use mod ID as tp2 name without file extension and `setup-` prefix
# This mod must be installed *before* the mods listed after the keyword
Before =
# This mod must be installed *after* the mods listed after the keyword
After = bg2fixpack
5 changes: 4 additions & 1 deletion cdportraits/languages/english/setup.tra
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
@0 = ~Modmerge is required before mods can be installed on this game. Check the readme for more information and a link to download Modmerge.~
@0 = ~DLC Merger is required before mods can be installed on this game. Check the readme for more information and a link to download DLC Merger.~
@1 = ~%portrait%.bmp is an unknown size and will not be overridden.~
@2 = ~Replaced %replacements% portrait(s) of this NPC.~
@3 = ~Use BG portrait~
@4 = ~Use SoD portrait~
@5 = ~Use BG2 portrait~
@6 = ~Only available for the BG series.~
@7 = ~Use Lava's alternative SoD portrait~
@8 = ~Only replace Viconia's SoD portrait with Lava's alternative~
@9 = ~Only available for Siege of Dragonspear.~
@100 = ~Edwin~
@200 = ~Imoen~
@300 = ~Jaheira~
Expand Down
37 changes: 21 additions & 16 deletions cdportraits/readme-cdportraits.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ <h1>Continuous NPC Portraits</h1>
<div class="section">
<p><strong><a href="http://www.gibberlings3.net/">A Gibberlings Three Mod</a><br />
Author: </strong><a href="http://www.gibberlings3.net/forums/index.php?showuser=8">CamDawg</a></p>
<p><strong> Version 1</strong><br />
<p><strong> Version 2</strong><br />
<strong> Languages:</strong> English<br />
<strong>Platforms: </strong>Windows, Mac OS X, Linux<br />
<strong>Platforms: </strong>Windows, macOS, Linux<br />
<strong>GitHub: </strong><a href="https://github.com/Gibberlings3/Continuous_NPC_Portraits">Gibberlings3/Continuous_NPC_Portraits</a></p>
</div>
<div class="ribbon_rectangle_h2"><a id="Overview" name="Overview"></a>
Expand Down Expand Up @@ -66,25 +66,24 @@ <h2>Installation</h2>
<div class="ribbon_triangle_h2-l"></div>
<div class="ribbon_triangle_h2-r"></div>
<div class="section">
<p>First time installing a mod? Check out G3's comprehensive tutorial: <a href="https://www.gibberlings3.net/forums/topic/33164-a-new-player&rsquo;s-guide-to-installing-and-playing-mods/">A New Player&rsquo;s Guide to Installing and Playing Mods</a>. </p>
<p><strong>Special Note for Siege of Dragonspear from Steam/GOG<br />
</strong>Good Old Games (GOG) and Steam both package the additional content for Siege of Dragonspear in a method that WeiDU, the tool used to install this mod, cannot access. You must run a program called <a href="https://forums.beamdog.com/discussion/50441/modmerge-merge-your-steam-gog-zip-based-dlc-into-something-weidu-nearinfinity-dltcep-can-use/p1">Modmerge</a> on your SoD installation before you can install this or any other WeiDU-based mod. </p>
</strong>Good Old Games (GOG) and Steam both package the additional content for Siege of Dragonspear in a method that WeiDU, the tool used to install this mod, cannot access. You must run a program called <a href="https://github.com/Argent77/A7-DlcMerger/releases">DLC Merger</a> on your SoD installation before you can install this or any other WeiDU-based mod. </p>
<p><strong>Enhanced Editions Note</strong><br />
The Enhanced Editions are actively supported games. Please note that every patch update will wipe your current mod setup! If in the middle of a modded game you might want to delay the patch update (if possible) as even after reinstalling the mods, you might not be able to continue with your old savegames. Alternatively, copy the whole game's folder into a new one that can be modded and will stay untouched by game patches. For BG:EE it is important that you install the mod to the language version you are playing the game in. Otherwise, the dialogues of the mod will not show but give error messages. </p>
The Enhanced Editions are actively supported games. Please note that every patch update will wipe your current mod setup! If in the middle of a modded game you might want to delay the patch update (if possible) as even after reinstalling the mods, you might not be able to continue with your old savegames. Alternatively, copy the whole game's folder into a new one that can be modded and will stay untouched by game patches. It is important that you install the mod to the language version you are playing the game in. Otherwise, the dialogues of the mod will not show but give error messages. </p>
<p><strong>Windows</strong><br />
Continuous NPC Portraits for Windows is distributed as a self-extracting archive and includes a WeiDU installer. To install, simply double-click the archive and follow the instructions on screen.</p>
Continuous NPC Portraits for Windows is distributed as a self-extracting archive and includes a WeiDU installer. To install, simply double-click the archive and follow the instructions on screen.</p>
<p>Alternatively, the files can be extracted into your game directory using <a href="http://www.7-zip.org/download.html">7zip</a> or <a href="http://www.rarlab.com/download.htm">WinRAR</a>. When properly extracted, your game directory will contain <strong>setup-cdportraits.exe</strong> and the folder <strong>cdportraits</strong>. To install, double-click <strong>setup-cdportraits.exe</strong> and follow the instructions on screen.</p>
<p>You can run <strong>setup-cdportraits.exe</strong> in your game folder to reinstall, uninstall or otherwise change components.</p>
<p><strong>Mac OS X</strong><br />
The Continuous NPC Portraits for Mac OS X is distributed as a compressed tarball and includes a WeiDU installer.</p>
<p><strong>macOS</strong><br />
Continuous NPC Portraits for macOS is distributed as a compressed tarball and includes a WeiDU installer.</p>
<p>First, extract the files from the tarball into your game directory. When properly extracted, your game directory will contain <strong>setup-cdportraits</strong>, <strong>setup-cdportraits.command</strong>, and the folder <strong>cdportraits</strong>. To install, double-click <strong>setup-cdportraits.command</strong> and follow the instructions on screen.</p>
<p>You can run <strong>setup-cdportraits.command</strong> in your game folder to reinstall, uninstall or otherwise change components.</p>
<p><strong>Linux</strong><br />
The Continuous NPC Portraits for Linux is distributed as a compressed tarball and does not include a WeiDU installer.</p>
<p>Extract the contents of the mod to the folder of the game you wish to modify.</p>
<p>Download the latest version of WeiDU for Linux from <a href="http://www.weidu.org/%7Ethebigg/">WeiDU.org</a> and copy WeiDU and WeInstall to /usr/bin. Following that, open a terminal, cd to your game installation directory, run tolower and answer Y to both queries. You can avoid running the second option (linux.ini) if you've already ran it once in the same directory. To save time, the archive is already tolowered, so there's no need to run the first option (lowercasing file names) either if you've extracted only this mod since the last time you lowercased file names. If you're unsure, running tolower and choosing both options is the safe bet.</p>
<p>To install, run WeInstall cdportraits in your game folder. Then run wine BGMain.exe and start playing. </p>
Continuous NPC Portraits for Linux is distributed as a compressed tarball and does not include a WeiDU installer. Linux users will need to do a one-time install of <abbr title="Weimer Dialogue Utility"><abbr title="Weimer Dialogue Utility">WeiDU</abbr></abbr> (and a few other adjustments) as described in <a href="https://moebiusproject.gitlab.io/mods_on_linux" rel="external nofollow noopener" target="_blank">this great writeup</a>. </p>
<p>To install, run 'WeInstall cdportraits in your game folder. </p>
<p><strong> Note for Complete Uninstallation</strong><br />
In addition to the methods above for removing individual components, you can completely uninstall the mod using setup-cdportraits --uninstall at the command line to remove all components without wading through prompts. . </p>
In addition to the methods above for removing individual components, you can completely uninstall the mod using setup-cdportraits --uninstall at the command line to remove all components without wading through prompts. </p>
</div>
<div class="ribbon_rectangle_h2"><a id="Contents" name="Contents"></a>
<h2>Contents</h2>
Expand All @@ -108,8 +107,8 @@ <h2>Contents</h2>
<p>Minsc has two options:</p>
<p><img src="style/minsc.jpg" alt="Minsc" width="422" height="350" /></p>
<p><strong>Viconia</strong></p>
<p>Viconia has three options:</p>
<p><img src="style/viconia.jpg" alt="Viconia" width="634" height="350" /></p>
<p>Viconia has four options, shown below. Three are her official portraits from BG, BG2, and Siege of Dragonspear, and a fourth option created by Lava, which is a sharpened alternate of her Siege of Dragonspear portrait. You can choose to install any of these four to replace all of her portraits, or you can choose to just update Viconia's SoD portrait with Lava's alternate. </p>
<p><img src="style/viconia.jpg" alt="Viconia" width="846" height="350" /></p>
</div>
<div class="ribbon_rectangle_h2"><a id="Contact" name="Contact"></a>
<h2>Contact Information</h2>
Expand All @@ -127,13 +126,14 @@ <h2>Thanks and Acknowledgements</h2>
<div class="ribbon_triangle_h2-r"></div>
<div class="section">
<p>The idea from the mod came from a suggestion from Luke93 to AstroBryGuy on the Beamdog forums for the BG1 NPC Project, and it was subsequently handed off to me. Thanks to both Luke93 for the idea, and for AstroBryGuy for alerting me to it. </p>
<p>Thank you to Lava, of <a href="https://weaselmods.net/">Weasel Mods</a>, for the great Viconia alternate. </p>
<p>As always, a big thanks to the wonderful community at <a href="http://www.gibberlings3.net/">The
Gibberlings Three</a>. It's easy to keep working when we have such great players and modders. </p>
<p><strong>Tools Used in Creation</strong></p>
<ul>
<li><a href="http://www.weidu.org/">WeiDU</a> by
Wes Weimer, the bigg, and Wisp</li>
<li> <a href="http://www.idi.ntnu.no/~joh/ni/">Near Infinity</a> by Jon Olav Hauglid, FredSRichardson, and argent77</li>
<li> <a href="https://github.com/NearInfinityBrowser/NearInfinity/wiki">Near Infinity</a> by Jon Olav Hauglid, FredSRichardson, and argent77</li>
<li><a href="https://notepad-plus-plus.org/">Notepad++</a>, by the Notepad++ team</li>
<li><a href="http://www.gibberlings3.net/tools/weidu.php">WeiDU Notepad++
Highlighters</a> by cmorgan, updated by argent77 </li>
Expand Down Expand Up @@ -162,9 +162,14 @@ <h2>Version History</h2>
<div class="ribbon_triangle_h2-l"></div>
<div class="ribbon_triangle_h2-r"></div>
<div class="section">
<p><strong>Version 2 - February 5, 2022</strong></p>
<ul>
<li>Added Lava's Viconia alternate portrait</li>
<li>Added hooks for Project Infinity</li>
</ul>
<p><strong>Version 1 - October 12, 2018</strong></p>
<ul>
<li>Initial release</li></ul></div>
<li>Initial release</li></ul></div>
</div>
</div>
</body>
Expand Down
Loading

0 comments on commit 3b39d3a

Please sign in to comment.