diff --git a/.github/workflows/InfinityAutoPackager.yaml b/.github/workflows/InfinityAutoPackager.yaml new file mode 100644 index 0000000..dd898db --- /dev/null +++ b/.github/workflows/InfinityAutoPackager.yaml @@ -0,0 +1,45 @@ +# Infinity Auto Packager by AL|EN (alienquake@hotmail.com) +# 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 + + - name: Upload zip 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 }}.zip + asset_name: ${{ steps.CreateIEModZipPackage.outputs.PackageBaseName }}.zip + tag: ${{ github.ref }} + overwrite: true diff --git a/MAINTENANCE-NOTICE.md b/MAINTENANCE-NOTICE.md new file mode 100644 index 0000000..bf8037f --- /dev/null +++ b/MAINTENANCE-NOTICE.md @@ -0,0 +1 @@ +This mod accepts bug fixes, compatibility fixes, and translation updates from the community. diff --git a/README.md b/README.md new file mode 100644 index 0000000..5ac23c4 --- /dev/null +++ b/README.md @@ -0,0 +1,237 @@ +![Latest Release](https://img.shields.io/github/v/release/SpellholdStudios/generalized_biffing?include_prereleases&color=darkred) +![Platform](https://img.shields.io/static/v1?label=platform&message=windows%20%7C%20Mac%20%7C%20linux&color=informational) +![Language](https://img.shields.io/static/v1?label=language&message=English%20%7C%20French%20%7C%20Italian&color=limegreen) + + +

Generalized Biffing

+ +

A Spellhold Studios mod for Infinity Engine games

+ +


+ + +**Author:** the bigg (Valerio Bigiani) +**Mod Website and Forum:** Generalized Biffing + + +[Read the mod's readme](http://spellholdstudios.github.io/readmes/generalized_biffing-readme-english.html). + +[Download the mod at Spellhold Studios](http://www.shsforums.net/files/file/741-generalized-biffing/).
+ +  + +
+OverviewCompatibilityInstallationComponentsCredits and AcknowledgementsVersion History
+
+ +
+ + +## Overview + +This WeiDU mod allows you to biff the content of the override folder for improved performance, that means the files are converted into the BIF file format and moved into the data folder. This works natively under OSX and Linux (if you use the correct executable) and is compatible with the common WeiDU stack un-install operation. The game thereby loads much faster again and the performance is running pretty smoothly without jerking. + +**Note:** Recent user reports have indicated that Generalized Biffing is unnecessary for Enhanced Edition games. + +
Back to top
+ + +
+ + +## Compatibility + +This mod is designed to work on all Infinity Engine games. + +Generalized Biffing is a WeiDU mod, and therefore should be compatible with all WeiDU mods. It must be installed after all other mods. If you encounter any bugs, please report them on the forum! + +
Back to top
+ + +
+ + +## Installation + +#### Notes + +*If you've previously installed the mod, remove it before extracting the new version. To do this, run **`setup-generalized_biffing.exe`**, un-install all previously installed components and delete the :file_folder: **generalized_biffing** folder.* + +*When installing or un-installing, **do not close the DOS window** by clicking on the **X** button! Instead, press the **Enter** key whenever instructed to do so.* + +*__Disable any antivirus__ or other memory-resident software before installing this or any other mod. Some (particularly avast and Norton!) have a tendency to report false positives with mod activity, resulting in failed installs.* + +## + +#### Windows + +Generalized Biffing for Windows is distributed as an extractable compressed archive and includes a WeiDU installer. + +Extract the contents of the mod archive into the folder of the game you wish to modify (*the folder which contains the "CHITIN.KEY" file*), using 7zip, WinRAR, or another file compression utility that handles .zip files. On successful extraction, there should be a :file_folder: generalized_biffing folder and a setup-generalized_biffing.exe file in your game folder. To install, simply double-click **`setup-generalized_biffing.exe`** and follow the instructions on screen. + +Run **`setup-generalized_biffing.exe`** in your game folder to reinstall, un-install or otherwise change the components settings. + +## + +#### Mac OS X + +Generalized Biffing for Mac OS X is distributed is distributed in the same compressed archive and includes a WeiDU installer. + +First, extract the files from the archive into your game directory. On successful extraction, there should be a :file_folder: generalized_biffing folder, setup-generalized_biffing and setup-generalized_biffing.command files in your game folder. To install, simply double-click **`setup-generalized_biffing.command`** and follow the instructions on screen. + +Run **`setup-generalized_biffing.command`** in your game folder to reinstall, un-install or otherwise change the components settings. + +## + +#### Linux + +Generalized Biffing for Linux is distributed in the same archive and does not include a WeiDU installer. + +Extract the contents of the mod to the folder of the game you wish to modify. + +Download the latest version of WeiDU for Linux from WeiDU.org 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. + +To install, run **`WeInstall setup-generalized_biffing`** in your game folder. Then run **`wine BGMain.exe`** and start playing. + +## + +#### Note for Complete Un-installation + +In addition to the methods above for removing individual components, you can completely un-install the mod using **`setup-generalized_biffing --uninstall`** at the command line to remove all components without wading through prompts.
+
Back to top
+ + +
+ + +## Components + +As of v2.3, the installer splits main component into two sub components, letting the player decide if he wants to biff all files or only .wav, .tis and .bam files. +The number of each is the component *DESIGNATED* number which gives it a fixed install position, lets other components and mods detect it and allows automated installers to specify component choices.

+ + +#### 0. Biff only .wav, .tis and .bam files + +This component might be enough for installations with few mods (recommended by The Bigg and other "*Small World Dudes*").
+ +## + +#### 1. Biff all files + +This component is recommended by the "*Big World Dudes*" (practically essential for installations with many mods). + +
Back to top
+ + +
+ + +## Credits and Acknowledgements + +**Original author:** the bigg + +#### Special Acknowledgements to: + +- Spellhold Studios team for hosting the mod (Forums). +- French translation: Isaya. +- Argent77: BG:EE compatibility patch. +- Everyone else from the The Gibberlings Three, Spellhold Studios forums, and the other Infinity Engine gaming and modding communities who offered their help and support. + +## + +#### Programs/tools used in creation: + +- WeiDU, by Wes Weimer, the bigg and Wisp. +- IESDP, maintained by igi and lynx. +- Notepad++, by the Notepad++ team, Don Ho, and the spellcheck plug-in. +- WeiDU Notepad++ Highlighters , by Argent77. +- Infinity Auto Packager, by AL|EN. + +## + +#### Copyright Information + +###### Generalized Biffing is not developed, supported, or endorsed by BioWare™ or Interplay/BlackIsle, Overhaul, Beamdog or the Wizards of the Coast. It was developed by the bigg. +###### All mod content is ©the bigg. +###### Baldur's Gate II: Shadows of Amn and Baldur's Gate II: Throne of Bhaal © TSR, Inc. The BioWare Infinity Engine is © BioWare Corp. All other trademarks and copyrights are property of their respective owners. + +###### This mod was created to be freely enjoyed by all Baldur's Gate II players, and its content is free of rights. However, it should not be sold, published, compiled or redistributed in any form without the consent of the author. +###### Please note that any and all redistribution and/or hosting of this mod is prohibited without permission from the author. + +###### The modding community for the Infinity Engine has been going strong for more than 10 years now, and is the culmination of thousands of unpaid modding hours by fellow fans of the game. Modders produce their best work and players get the best, well-supported mods when we all work together. +###### There are two big ways to upset this harmony. One is to claim someone else's work as your own. The second is to host and redistribute a mod without permission from the author(s). +###### Be kind to your fellow players and modders. Don't do either.

+
Back to top
+ + +
+ + +## Version History + +#### Version 2.3 (February 24, 2020) + +- Added *generalized_biffing.ini* metadata file to support AL|EN's "Project Infinity". +- Added `DESIGNATED` numbers and "*generalized_biffing_min*" and "*generalized_biffing_all_files*" component `LABELS`. +- Replaced `READLN` actions with `SUBCOMPONENTS` to support AL|EN's "Project Infinity". +- Externalized tp2 code into *main_component.tpa* library for more comfortable readability and maintenance. +- Included BWP Fixpack (Argent77's BG:EE compatibility patch). +- Added `README` command in tp2. +- Wrote a new *generalized_biffing-readme-english.html* readme file. +- Removed useless backup folder. +- Updated WeiDU installer to v246. +- Included Linux and Mac Os X versions in the same package (thanks AL|EN's Infinity Auto Packager tool!). +- Uploaded mod to official SpellHold Studios GitHub mirror account. + +## + +#### Version 2.2 (April 18, 2011) + +- Used a better algorithm for listing and moving files. + +#### Version 2.1 (January 4, 2011) + +- Unknown modifications. + +## + +#### Version 2.0 (November 30, 2010) + +- Added French translation (thanks Isaya). + +## + +#### Version ?.? (November 13, 2010) + +- Files whose names don't fit in 8.3 characters aren't biffed. + +## + +#### Versions ?.? (July 23, 2010 - January 8, 2010) + +- Unknown modifications. + +## + +#### Version ?.? (September 16, 2009) + +- Only for Linux users. + +## + +#### Version ?.? (August 3, 2009) + +- Unknown modifications. + +## + +#### Version ??? (April 6, 2009) + +- Tightened regexp to ensure only valid files will be biffed anyhow. + +## + +#### Version 1.0 (March 10, 2009) + +- Initial release. +
Back to top
diff --git a/generalized_biffing/generalized_biffing.ini b/generalized_biffing/generalized_biffing.ini new file mode 100644 index 0000000..9083b4c --- /dev/null +++ b/generalized_biffing/generalized_biffing.ini @@ -0,0 +1,38 @@ +# File encoding: preferred UTF8 (no BOM) if unicode characters are present, it can be ANSI for English-only +# File format: ini as default and then HJSON/JSON5/JSONC/JSON (JSON doesn't allow comments) for advanced modders who want to use benefits of those file formats +# File name: it must be the same as tp2 name: MyMod.tp2 => MyMod.ini (.hjson/.json5/.jsonc/.json) +# File location: the same folder where .tp2 file is present +# File content: every key=value pair is optional, key names are case insensitive + +# ini section header is required to avoid false detection +[Metadata] + +# Full name of the mod, without version number +Name = Generalized Biffing + +# Author name or nick, don't use email address +Author = the bigg + +# Short description of the mod, main goals, features etc +Description = This WeiDU mod allows you to biff the content of the override folder for improved performance, that means the files are converted into the BIF file format and moved into the data folder. This is compatible with the common WeiDU stack un-install operation. The game thereby loads much faster again and the performance is running pretty smoothly without jerking. + +# Web address of mod readme file (filename is case-sensitive!) +Readme = http://spellholdstudios.github.io/readmes/generalized_biffing-readme-english.html, http://spellholdstudios.github.io/readmes/generalized_biffing-readme-%LANGUAGE%.html + +# Web address of mod Homepage +Homepage = http://www.shsforums.net/topic/39238-generalized-biffing/ + +# Web address of mod dedicated forum or forum thread +Forum = http://www.shsforums.net/topic/39238-generalized-biffing/ + +# if you use Github.com (preferred hosting site), simply use github.com/AccountOrOrgName/RepositoryName +# If you use other hosting sites, please check requirements and put direct download link +Download = https://github.com/SpellholdStudios/generalized_biffing + +# Requirements for other hosting sites: +# - forum attachments won't work because the download links will be changed every time when you update mod package +# - mod package should be downloaded using 'wget' commandline tool: wget.exe --no-check-certificate 'link' +# - it's possible to preform file size check using 'wget' commandline tool: wget.exe --no-check-certificate --spider 'link' +# - links do not expire after 30 or more days without download (speeedyshare, mediafire etc has forced expiration dates) +# - hosting site won't require user interaction or captcha (googledrive, mediafire etc require user interaction) +# - hosting site don't advertise any kind of adware/crapware etc \ No newline at end of file diff --git a/generalized_biffing/generalized_biffing.tp2 b/generalized_biffing/generalized_biffing.tp2 index 7060a4d..958c150 100755 --- a/generalized_biffing/generalized_biffing.tp2 +++ b/generalized_biffing/generalized_biffing.tp2 @@ -1,13 +1,17 @@ BACKUP ~generalized_biffing/backup~ AUTHOR ~the bigg~ +//SUPPORT ~Spellhold Studios at http://www.shsforums.net/topic/39238-generalized-biffing/~ + +VERSION ~v2.3~ + +README ~generalized_biffing/readme/generalized_biffing-readme-%LANGUAGE%.html~ ~generalized_biffing/readme/generalized_biffing-readme-english.html~ -VERSION ~v2.2~ LANGUAGE ~English~ ~English~ ~generalized_biffing/tra/english/setup.tra~ -LANGUAGE ~French (By Isaya)~ +LANGUAGE ~French (Traduction : Isaya)~ ~french~ ~generalized_biffing/tra/french/setup.tra~ @@ -15,64 +19,24 @@ LANGUAGE ~Italiano~ ~italian~ ~generalized_biffing/tra/italian/setup.tra~ -BEGIN @1 - -ACTION_IF ~%WEIDU_OS%~ STRING_COMPARE_CASE ~WIN32~ THEN BEGIN - AT_UNINSTALL ~rm -rf generalized_biffing/prod/0~ -END ELSE BEGIN - AT_UNINSTALL ~del /q /f generalized_biffing\prod\0~ EXACT -END - -<<<<<<<< .../list-of-files ->>>>>>>> - -PRINT @2 - -ACTION_READLN selection - -OUTER_WHILE (~%selection%~ STRING_COMPARE 1) && (~%selection%~ STRING_COMPARE 0) BEGIN -PRINT @3 - -ACTION_READLN selection -END -// this defines a one to eight character regular expression for matching resrefs -OUTER_TEXT_SPRINT ~char~ ~[^ %TAB%%WNL%]~ -OUTER_TEXT_SPRINT ~8char~ ~%char%%char%?%char%?%char%?%char%?%char%?%char%?%char%?~ -OUTER_TEXT_SPRINT ~9char~ ~%char%%char%%char%%char%%char%%char%%char%%char%%char%%char%*~ -OUTER_TEXT_SPRINT ~ext~ ~\(wav\|tis\|bam\)~ -ACTION_IF selection THEN BEGIN - OUTER_TEXT_SPRINT ext ~\(bmp\|mve\|wav\|wac\|plt\|bam\|wed\|chu\|tis\|mos\|itm\|spl\|bcs\|ids\|cre\|are\|dlg\|2da\|gam\|sto\|wmp\|chr\|eff\|vvc\|vef\|pro\)~ -END +/* ===================================== * + * Biff only .wav, .tis and .bam files * + * ===================================== */ +BEGIN @10 +DESIGNATED 0 LABEL "generalized_biffing_min" +SUBCOMPONENT @1 -OUTER_TEXT_SPRINT ~myRegExp~ ~^%8char%\.%ext%$~ +OUTER_SET biffing_all = 0 +INCLUDE ~%MOD_FOLDER%/lib/main_component.tpa~ -MKDIR ~generalized_biffing/prod/0/biffs/0~ -MKDIR ~generalized_biffing/prod/0/rej~ -OUTER_SET currentTotal = 0 -OUTER_SET currentFile = 0 -ACTION_BASH_FOR ~override~ ~%myRegExp%~ BEGIN - ACTION_IF %BASH_FOR_SIZE% + currentTotal > 30000000 /* 30M */ && currentTotal > 0 BEGIN - MAKE_BIFF ~tb#gen%currentFile%~ BEGIN ~generalized_biffing/prod/0/biffs/%currentFile%~ ~^.*$~ END - OUTER_SET currentFile = currentFile + 1 - OUTER_SET currentTotal = 0 - MKDIR ~generalized_biffing/prod/0/biffs/%currentFile%~ - END - MOVE ~override/%BASH_FOR_FILE%~ ~generalized_biffing/prod/0/biffs/%currentFile%/%BASH_FOR_FILE%~ - OUTER_SET currentTotal += BASH_FOR_SIZE -END - -ACTION_IF currentTotal > 0 BEGIN - MAKE_BIFF ~tb#gen%currentFile%~ BEGIN ~generalized_biffing/prod/0/biffs/%currentFile%~ ~^.*$~ END -END +/* ================ * + * Biff all files * + * ================ */ +BEGIN @11 +DESIGNATED 1 LABEL "generalized_biffing_all_files" +SUBCOMPONENT @1 -OUTER_TEXT_SPRINT ~myRegExp~ ~^%9char%.%ext%$~ -ACTION_BASH_FOR ~override~ ~%myRegExp%~ BEGIN - OUTER_PATCH_SAVE ~8name~ ~%BASH_FOR_FILE%~ BEGIN - DELETE_BYTES 8 (INDEX_BUFFER (EXACT_MATCH ~.~) - 8) - END - ACTION_IF FILE_EXISTS_IN_GAME ~%8name%~ THEN BEGIN - MOVE ~override/%BASH_FOR_FILE%~ ~generalized_biffing/prod/0/rej/%BASH_FOR_FILE%~ - END -END +OUTER_SET biffing_all = 1 +INCLUDE ~%MOD_FOLDER%/lib/main_component.tpa~ diff --git a/generalized_biffing/lib/main_component.tpa b/generalized_biffing/lib/main_component.tpa new file mode 100644 index 0000000..a542fd8 --- /dev/null +++ b/generalized_biffing/lib/main_component.tpa @@ -0,0 +1,62 @@ +/* ====================================== * + * COMPONENT INSTALLATION * + * ====================================== */ + + +/* --------------------------------------------------------- * + * biffing_all = 0 ==> Biff only .wav, .tis and .bam files * + * biffing_all = 1 ==> Biff all files * + * --------------------------------------------------------- */ + +ACTION_IF ~%WEIDU_OS%~ STRING_COMPARE_CASE ~WIN32~ THEN BEGIN + AT_UNINSTALL ~rm -rf generalized_biffing/prod/0~ +END ELSE BEGIN + AT_UNINSTALL ~del /q /f generalized_biffing\prod\0~ EXACT +END + +<<<<<<<< .../list-of-files +>>>>>>>> + +// this defines a one to eight character regular expression for matching resrefs +// ----------------------------------------------------------------------------- +OUTER_TEXT_SPRINT ~char~ ~[^ %TAB%%WNL%]~ +OUTER_TEXT_SPRINT ~8char~ ~%char%%char%?%char%?%char%?%char%?%char%?%char%?%char%?~ +OUTER_TEXT_SPRINT ~9char~ ~%char%%char%%char%%char%%char%%char%%char%%char%%char%%char%*~ +OUTER_TEXT_SPRINT ~ext~ ~\(wav\|tis\|bam\)~ +ACTION_IF biffing_all BEGIN + OUTER_TEXT_SPRINT ext ~\(bmp\|mve\|wav\|wfx\|plt\|bam\|wed\|chu\|tis\|mos\|itm\|spl\|bcs\|ids\|cre\|are\|dlg\|2da\|gam\|sto\|wmp\|eff\|chr\|vvc\|vef\|pro\|wbm\|fnt\|gui\|sql\|pvrz\|glsl\|ini\)~ +END + +OUTER_TEXT_SPRINT ~myRegExp~ ~^%8char%\.%ext%$~ + +// WeiDU biffing magic +// ------------------- +MKDIR ~generalized_biffing/prod/0/biffs/0~ +MKDIR ~generalized_biffing/prod/0/rej~ + +OUTER_SET currentTotal = 0 +OUTER_SET currentFile = 0 +ACTION_BASH_FOR ~override~ ~%myRegExp%~ BEGIN + ACTION_IF %BASH_FOR_SIZE% + currentTotal > 30000000 /* 30M */ && currentTotal > 0 BEGIN + MAKE_BIFF ~tb#gen%currentFile%~ BEGIN ~generalized_biffing/prod/0/biffs/%currentFile%~ ~^.*$~ END + OUTER_SET currentFile = currentFile + 1 + OUTER_SET currentTotal = 0 + MKDIR ~generalized_biffing/prod/0/biffs/%currentFile%~ + END + MOVE ~override/%BASH_FOR_FILE%~ ~generalized_biffing/prod/0/biffs/%currentFile%/%BASH_FOR_FILE%~ + OUTER_SET currentTotal += BASH_FOR_SIZE +END + +ACTION_IF currentTotal > 0 BEGIN + MAKE_BIFF ~tb#gen%currentFile%~ BEGIN ~generalized_biffing/prod/0/biffs/%currentFile%~ ~^.*$~ END +END + +OUTER_TEXT_SPRINT ~myRegExp~ ~^%9char%.%ext%$~ +ACTION_BASH_FOR ~override~ ~%myRegExp%~ BEGIN + OUTER_PATCH_SAVE ~8name~ ~%BASH_FOR_FILE%~ BEGIN + DELETE_BYTES 8 (INDEX_BUFFER (EXACT_MATCH ~.~) - 8) + END + ACTION_IF FILE_EXISTS_IN_GAME ~%8name%~ THEN BEGIN + MOVE ~override/%BASH_FOR_FILE%~ ~generalized_biffing/prod/0/rej/%BASH_FOR_FILE%~ + END +END diff --git a/generalized_biffing/readme/generalized_biffing-readme-english.html b/generalized_biffing/readme/generalized_biffing-readme-english.html new file mode 100644 index 0000000..dee7249 --- /dev/null +++ b/generalized_biffing/readme/generalized_biffing-readme-english.html @@ -0,0 +1,708 @@ + + + + + + + Spellhold Studios - Generalized Biffing + + + + + + + +
+ + + +
+ + +
+ +

Overview


+ +

+ This WeiDU mod allows you to biff the content of the override folder for improved performance, that means the files are converted into the BIF file format and moved into the data folder. This works natively under OSX and Linux (if you use the correct executable) and is compatible with the common WeiDU stack un-install operation. The game thereby loads much faster again and the performance is running pretty smoothly without jerking. +

+ +

+ Note: Recent user reports have indicated that Generalized Biffing is unnecessary for Enhanced Edition games. +


+ + +
+ Generalized Biffing > OverviewBACK TO TOP +
+
+ + + +
+ +

Compatibility


+ +

+ Generalized Biffing is designed to work on all Infinity Engine games. +

+ +

+ This mod is a WeiDU mod, and therefore should be compatible with all WeiDU mods. It must be installed after all other mods. If you encounter any bugs, please report them on the forum! +


+ +
+ Generalized Biffing > CompatibilityBACK TO TOP +
+
+ + + +
+ +

Installation


+ +

Notes

+ +

+ If you've previously installed the mod, remove it before extracting the new version. To do this, run  setup-generalized_biffing.exe , un-install all previously installed components and delete the generalized_biffing folder. +

+

+ When installing or un-installing, do not close the DOS window by clicking on the X button! Instead, press the Enter key whenever instructed to do so. +

+

+ Disable any antivirus or other memory-resident software before installing this or any other mod. Some (particularly avast and Norton!) have a tendency to report false positives with mod activity, resulting in failed installs. +

+

+ You can extract files from the archive using WinRAR, ZipGenius or another file compression utility that handles .zip files. +


+ + +

+ + +

Enhanced Editions Note

+ +

+ 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. +


+ + +

+ + +

Windows

+ +

+ Extract the contents of the mod to the folder of the game you wish to modify (the folder which contains the "CHITIN.KEY" file). On successful extraction, there should be a generalized_biffing folder and a setup-generalized_biffing.exe file in your game folder. To install, simply double-click  setup-generalized_biffing.exe  and follow the instructions on screen. +

+

+ Run  setup-generalized_biffing.exe  in your game folder to reinstall, un-install or otherwise change components. +


+ + +

+ + +

Mac OS X

+ +

+ Generalized Biffing for Mac OS X distributed in the same compressed archive and includes a WeiDU installer. +

+

+ First, extract the files from the archive into your game directory. On successful extraction, there should be a generalized_biffing folder, setup-generalized_biffing and setup-generalized_biffing.command files in your game folder. To install, double-click  setup-generalized_biffing.command  and follow the instructions on screen. +

+

+ You can run  setup-generalized_biffing.command  in your game folder to reinstall, un-install or otherwise the components settings. +


+ + +

+ + +

Linux

+ +

+ Extract the contents of the mod to the folder of the game you wish to modify. +

+

+ Download the latest Linux version of WeiDU and copy WeiDU and WeInstall to /usr/bin. Then open a terminal and cd to your game installation directory. +

+

+ Optional: 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 unsure, running tolower and choosing both options is the safe bet. +

+

+ Run  WeInstall setup-generalized_biffing  in your game folder to install the mod. Then run  wine BGMain.exe  and start playing. +


+ + +

+ + +

Note for Complete Un-installation

+ +

+ In addition to the methods above for removing individual components, you can completely un-install the mod using  setup-generalized_biffing --uninstall  at the command line to remove all components without wading through prompts. +


+ + +
+ Generalized Biffing > InstallationBACK TO TOP +
+
+ + + +
+ +

Components


+ +

As of v2.3, the installer splits main component into two sub components, letting the player decide if he wants to biff all files or only .wav, .tis and .bam files.

+

The number of each is the component DESIGNATED number which gives it a fixed install position, lets other components and mods detect it and allows automated installers to specify component choices.


+ +

0. Biff only .wav, .tis and .bam files.
+

+

+ This component might be enough for installations with few mods (recommended by The Bigg and other "Small World Dudes"). +


+ +

+ +

1. Biff all files.
+

+

+ This component is recommended by the "Big World Dudes" (practically essential for installations with many mods). +


+ + +
+ Generalized Biffing > ComponentsBACK TO TOP +
+
+ + + +
+ +

Troubleshooting


+ +

+ These are some general tips if you have problems getting the game working, with or without this or other mods. Many times, errors have to do with the game engine itself or the manner of installation or gameplay. The game recommends deleting all files out of the /cache, /temp and /tempsave sub-folders in your game folder to see if that resolves the problem before any further troubleshooting. +


+ +

+ Symptom: Game freezes or crashes to desktop (CTDs) +

+

+ Sometimes the game displays an "assertion error" in a pop-up window when this happens, but often times it doesn't. To enable the full error message, open the file baldur.ini in your me folder with a text editor (such as Notepad). If you find you can't edit it or save changes in Windows Vista or 7, see this topic for assistance. +

+

+ Under the [Program Options] section in the file, type Logging On=1 (unless it's already there). While you're there, you may also want to make sure Debug Mode=1 is there to enable the CLUA Console for debugging and testing. Save the file and exit. Now go back into the game and try to reproduce the crash. Then look in your game folder again for the Baldur.err file and open it with a text editor to analyse its contents. +


+ +

+ Symptom: Game crashes with no Baldur.err log and shows either a black screen or a pop-up window indicating an error at offset 005ca8a8 +

+

+ This usually indicates an animation-related issue. Make sure you have the latest version of the mod. If you've installed other mods after it and have this issue, install the fix available here. +


+ +

+ Symptom: +

+
+

+ ERROR: error copying [infinityanimations/content/somefile.bam]
+ ERROR: [SOMEFILE.CRE] -> [override/SOMEFILE.CRE] Patching failed (COPY)
+ Stopping installation because of error.
(with no other error message)
+

+
+

+ Less-than-informative messages like these may indicate you're installing to a hard drive with a low data transfer rate or an antivirus program is active during installation (which can also affect data transfer). Try installing to an internal drive with antivirus protection disabled during the install. If unsure, disconnect from the Internet (either unplug your network cable or disable your wireless adaptor) and turn off all memory-resident programs during the install. To get a list of these, go to Start > Run and type msconfig where it says "Open:" then click OK. When the System Configuration Utility appears, click on the Startup tab. The only really necessary programs that need to be loaded in memory at startup are those related to your graphics chip (typically ATI or NVIDIA). Uncheck everything else, reboot and try installing the mod again. There are well-documented issues with installing mods while Avast antivirus is running, so make absolutely sure all components of Avast are completely disabled. +


+ +

+ Other issues +

+

+ If you have more than one large mod installed, please refer to the Megamod FAQ for more troubleshooting tips. +


+

+ If none of this resolves your issue, or you have mod-specific issues, please report the problem in the mod's forum. Include the contents of your WeiDU.log file in the post, or attach it if it's large. +


+ +
+ Generalized Biffing > TroubleshootingBACK TO TOP +
+
+ + + +
+ +

Credits


+ + Author: the bigg
+ Support: SHS Staff
+ +

+ +

+ +
Special Acknowledgements to:
+ +
+ +

+ +
Programs/tools used in creation:
+ +
+ +

+ +
Copyrights
+ +
+

Generalized Biffing is not developed, supported, or endorsed by BioWare™ or Interplay/BlackIsle, Overhaul, Beamdog or the Wizards of the Coast. It was developed by The Bigg.

+

All mod content is ©The Bigg.

+

Baldur's Gate II: Shadows of Amn and Baldur's Gate II: Throne of Bhaal © TSR, Inc. The BioWare Infinity Engine is © BioWare Corp. All other trademarks and copyrights are property of their respective owners.

+
+

This mod was created to be freely enjoyed by all Baldur's Gate II players, and its content is free of rights. However, it should not be sold, published, compiled or redistributed in any form without the consent of the author.

+

Please note that any and all redistribution and/or hosting of this mod is prohibited without permission from the author.

+

+ +

+ The modding community for the Infinity Engine has been going strong for more than 10 years now, and is the culmination of thousands of unpaid modding hours by fellow fans of the game. Modders produce their best work and players get the best, well-supported mods when we all work together. +

+

+ There are two big ways to upset this harmony. One is to claim someone else's work as your own. The second is to host and redistribute a mod without permission from the author(s). +

+

+ Be kind to your fellow players and modders. Don't do either. +


+ + +
+ Generalized Biffing > CreditsBACK TO TOP +
+
+ + + +
+ +

Version History


+ +
Version 2.3 (February 24, 2020)
+ +
    +
  • Added generalized_biffing.ini metadata file to support AL|EN's "Project Infinity".
  • +
  • Added DESIGNATED numbers and "generalized_biffing_min" and "generalized_biffing_all_files" component LABELS.
  • +
  • Replaced READLN actions with SUBCOMPONENTS to support AL|EN's "Project Infinity".
  • +
  • Externalized tp2 code into *main_component.tpa* library for more comfortable readability and maintenance.
  • +
  • Integrated BWP Fixpack (Argent77's BG:EE compatibility patch).
  • +
  • Added README command in tp2.
  • +
  • Wrote a new generalized_biffing-readme-english.html readme file.
  • +
  • Removed useless backup folder.
  • +
  • Updated WeiDU installer to v246.
  • +
  • Included Linux and Mac Os X versions in the same package (thanks AL|EN's Infinity Auto Packager tool!).
  • +
  • Uploaded mod to official SpellHold Studios GitHub mirror account.
  • +

+ +
Version 2.2 (April 13, 2018)
+ +
    +
  • Used a better algorithm for listing and moving files.
  • +

+ +
Version 2.1 (January 4, 2011)
+ +
    +
  • Unknown modifications.
  • +

+ +
Version 2.0 (November 30, 2010)
+ +
    +
  • Added French translation (thanks Isaya).
  • +

+ +
Version ?.? (November 13, 2010)
+ +
    +
  • Files whose names don't fit in 8.3 characters aren't biffed.
  • +

+ +
Versions ?.? (July 23, 2010 - January 8, 2010)
+ +
    +
  • Unknown modifications.
  • +

+ +
Version ?.? (September 16, 2009)
+ +
    +
  • Only for Linux users.
  • +

+ +
Version ?.? (August 3, 2009)
+ +
    +
  • Unknown modifications.
  • +

+ +
Version ??? (April 6, 2009)
+ +
    +
  • Tightened regexp to ensure only valid files will be biffed anyhow.
  • +

+ +
Version 1.0
+ +
    +
  • Initial release.
  • +

+ +
+ Generalized Biffing > Version HistoryBACK TO TOP +
+
+ +
+ + diff --git a/generalized_biffing/tra/english/setup.tra b/generalized_biffing/tra/english/setup.tra index c3be8bb..bffc1a1 100755 --- a/generalized_biffing/tra/english/setup.tra +++ b/generalized_biffing/tra/english/setup.tra @@ -7,3 +7,6 @@ Would you like to biff only wav&tis files, or all files found? 0] only wav&tis&bam (recommended by The Bigg and other Small World Dudes) 1] all files (recommended by the Big World Dudes)~ + +@10 = ~Biff only wav, tis & bam files (recommended by The Bigg and Small World Dudes)~ +@11 = ~Biff all files (recommended by the Big World Dudes)~ diff --git a/generalized_biffing/tra/french/setup.tra b/generalized_biffing/tra/french/setup.tra index 9fdbf45..cabad27 100755 --- a/generalized_biffing/tra/french/setup.tra +++ b/generalized_biffing/tra/french/setup.tra @@ -4,6 +4,9 @@ 1] Tous les fichiers (recommande par les createurs du Big World Project)~ @3 = ~Probleme d'interface chaise/clavier. Veuillez taper 0 ou 1. -Desirez-vous uniquement archiver les fichiers wav, tis et bam, ou tous les fichiers trouves ? +Desirez-vous archiver uniquement les fichiers wav, tis et bam, ou tous les fichiers trouves ? 0] Les fichiers wav, tis et bam (recommande par The Bigg et les joueurs de mini-modifications) 1] Tous les fichiers (recommande par les createurs du Big World Project)~ + +@10 = ~Archiver uniquement les fichiers wav, tis et bam (recommande par The Bigg et les joueurs de mini-modifications)~ +@11 = ~Archiver tous les fichiers (recommande par les createurs du Big World Project)~ diff --git a/generalized_biffing/tra/italian/setup.tra b/generalized_biffing/tra/italian/setup.tra index a76324b..7703fef 100755 --- a/generalized_biffing/tra/italian/setup.tra +++ b/generalized_biffing/tra/italian/setup.tra @@ -7,3 +7,6 @@ Vuoi biffare solo i file Wav, Tis e Bam o tutti i file possibili? 0] solo Wav, Tis e Bam (suggerito da The Bigg e chi installa pochi mod) 1] tutti i file (suggerito da chi installa MegaMod)~ + +@10 = ~Biffare solo i file wav, tis e bam (suggerito da The Bigg e chi installa pochi mod)~ +@11 = ~Biffare tutti i file (suggerito da chi installa MegaMod))~