Jump to content


Photo

Generalized Biffing


  • Please log in to reply
69 replies to this topic

#1 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 10 March 2009 - 01:49 PM

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.

 

Download | Readme | GitHub

 



:excl: Warning: It is recommended to install Generalized Biffing with WeiDU v246 to avoid issues related to the unsupported character encoding used by other mods. WeiDU v247 and up deprecated functions operating on the Latin-1 character set and now the installation requires only US-ASCII characters.


Read this to prevent game crashes if you want to play with Infinity Animations and Generalized Biffing.



 

Changelog:
 
Version 2.6:
 
- Added ini settings to enable globally unique labels for PI.
- Remove outdated information from readme.
- Cosmetic corrections.
 
Version 2.5:
 
- Added Dynamic Install Syntax in "generalized_biffing.ini" metadata file to support AL|EN's "Project Infinity".
- Added Brazilian-Portuguese translation (thanks Felipe).
- Re-format generalized_biffing-readme-english.html with new SHS readme template.
 
Version 2.4:
 
- Added missing EE-specific resource types: LUA, MENU, PNG and TTF.
- EE-specific resource types are only considered for EE games.
- Sorted resource type list alphabetically.
 
Version 2.3:
 
- 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.


Edited by skellytz, 12 October 2022 - 01:56 PM.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#2 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 10 March 2009 - 01:55 PM

Refer to this topic if you want to help test this.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#3 prowler

prowler

    Translator

  • Member
  • 425 posts

Posted 13 December 2009 - 06:58 AM

Can it be used on other Infinity games?
Can I install Generalized Biffing on Icewind Dale HoW for example?

Murloc-translator
Coordinator of the Russian BWP Translation Team - Arcanecoast.ru
Work with SHS, PPG, G3, CoM, Dragon's Hoard, Sorcerer's Place, RPG Dungeon


#4 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 13 December 2009 - 07:13 AM

I think so.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#5 -Fennek-

-Fennek-
  • Guest

Posted 17 January 2010 - 04:46 AM

I got this error during a megamod installation:

[Setup-generalized_biffing.exe] WeiDU version 21200
[Setup-generalized_biffing.exe] Using scripting style "BG2"
In state 376, I expected one of these tokens:
[0] EOF
[3] <<<<<<<<
[10] EXTEND_TOP_REGEXP
[13] GET_DIRECTORY_ARRAY
[15] REQUIRE_FILE
[16] DEFINE_ACTION_MACRO
[18] ADD_MUSIC
[26] EXTEND_TOP
[27] VERBOSE
[29] APPEND_COL
[30] ADD_PROJECTILE
[36] ELSE
[41] DEFINE_PATCH_MACRO
[44] LOAD_TRA
[50] ALTER_TLK_LIST
[53] LAUNCH_ACTION_FUNCTION
[74] CLEAR_MEMORY
[76] AT_INTERACTIVE_NOW
[77] DEFINE_ACTION_FUNCTION
[81] COPY
[83] OUTER_PATCH
[91] UNINSTALL
[93] GET_FILE_ARRAY
[97] PRINT
[102] ACTION_DEFINE_ASSOCIATIVE_ARRAY
[104] ADD_KIT
[106] FAIL
[107] MKDIR
[111] BEGIN
[112] COPY_EXISTING_REGEXP
[113] COPY_LARGE
[117] ACTION_READLN
[120] ACTION_DEFINE_ARRAY
[122] AT_UNINSTALL
[127] AT_INTERACTIVE_UNINSTALL
[133] STRING_SET_RANGE
[134] OUTER_SPRINT
[135] CLEAR_IDS_MAP
[137] STRING_SET
[138] COPY_KIT
[141] AT_EXIT
[142] COPY_ALL_GAM_FILES
[143] END
[148] ALTER_TLK
[152] LAUNCH_ACTION_MACRO
[160] DEFINE_PATCH_FUNCTION
[162] COMPILE
[167] OUTER_WHILE
[171] APPEND
[176] RANDOM_SEED
[207] REINCLUDE
[208] EXTEND_BOTTOM
[221] SILENT
[225] COPY_EXISTING
[229] ALTER_TLK_RANGE
[231] ACTION_PHP_EACH
[240] AT_NOW
[241] FORBID_FILE
[242] STRING_SET_EVALUATE
[248] EXTEND_BOTTOM_REGEXP
[254] AT_INTERACTIVE_EXIT
[257] OUTER_SET
[262] APPEND_OUTER
[264] OUTER_FOR
[269] INCLUDE
[272] OUTER_PATCH_SAVE
[274] OUTER_TEXT_SPRINT
[287] ACTION_FOR_EACH
[289] COPY_RANDOM
[291] ACTION_CLEAR_ARRAY
[303] BIFF
[306] ACTION_IF
[318] ACTION_BASH_FOR
[322] ADD_SPELL
Parse error (state 376) at ~~

[GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2] PARSE ERROR at line 52 column 24-27
Near Text: MOVE
GLR parse error

[GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2] ERROR at line 52 column 24-27
Near Text: MOVE
Parsing.Parse_error
ERROR: parsing [GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2]: Parsing.Parse_error
ERROR: problem parsing TP file [GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2]: Parsing.Parse_error

FATAL ERROR: Parsing.Parse_error
1 Datei(en) kopiert.


Any idea what has happened?

#6 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 17 January 2010 - 05:12 AM

Gen_Biff requires WeiDU v213 (which the 'official' archive contains). To install Gen_Biff, simply download it from the first post, extract it to your game folder, and run setup-generalized_biffing.exe.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#7 -Fennek-

-Fennek-
  • Guest

Posted 28 March 2010 - 03:45 AM

Once again:

Installing [generalized biffing]

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)
Creating 1 directory
Copying and patching 1 file ...
Stopping installation because of error.
ERROR: [.../list-of-files] -> [generalized_biffing/prod/0/list-of-files] Patching Failed (COPY) (Unix.Unix_error(20, "stat", "generalized_biffing/prod/0/biffs/0/ØDVG26.BAM"))
Stopping installation because of error.

ERROR Installing [generalized biffing], rolling back to previous state
[generalized_biffing/backup/0/UNSETSTR.0] SET_STRING uninstall info not found
Will uninstall 0 files for [GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2] component 0.
Uninstalled 0 files for [GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2] component 0.

...
...

ERROR: Unix.Unix_error(20, "stat", "generalized_biffing/prod/0/biffs/0/ØDVG26.BAM")
PLEASE email the file SETUP-GENERALIZED_BIFFING.DEBUG to the bigg
Automatically Skipping [generalized biffing] because of error.

...
...

NOT INSTALLED DUE TO ERRORS generalized biffing

Is this linked with the update of weidu?

#8 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 28 March 2010 - 05:30 AM

Yes, it's a bug in WeiDU 214. Use WeiDU 215 instead.

Edited by the bigg, 28 March 2010 - 07:50 AM.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#9 neutrowave

neutrowave

    Hast'fyr

  • Member
  • 103 posts

Posted 28 March 2010 - 09:56 AM

Hello,

Can someone help me with a problem ... I need to know how to make only a *.bif file (with a manually selection of various files) to put it in my data directory from BGII - SoA because a certain *.bif file I think is damaged and I want to replace it with the files from generalized bif mod folder.
Solved it!:D
Thank you!

Edited by neutrowave, 29 March 2010 - 02:48 AM.


#10 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 13 November 2010 - 02:16 AM

New version uploaded; files whose names don't fit in 8.3 characters aren't biffed.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#11 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 30 November 2010 - 04:29 AM

And updated with the French translation.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#12 Graoumf

Graoumf
  • Member
  • 594 posts

Posted 01 December 2010 - 03:51 PM

Thanks thebigg!

#13 goshko

goshko
  • Member
  • 14 posts

Posted 20 February 2011 - 06:50 AM

Hey there Bigg. First to say thanks for all you awesome mods :)

I'm having an issue with Generalized Biffing. I can't seem to uninstall it correctly, when I uninstall the game gets corrupted and bgmain.exe crashes on start. I have changed laptops and have to change the widescreen setup for a different resolution, but when I try to reinstall it the setup first uninstalls Generalized Biffing which in turn corrupts the game. I'm not really sure how to solve this and would really like some help with it. Thanks in advance!

#14 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 20 February 2011 - 06:56 AM

It's not something I caused or I can help you solve without access to your computer.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#15 goshko

goshko
  • Member
  • 14 posts

Posted 20 February 2011 - 07:14 AM

is there nothing that i can do to maybe alter the install order or something like that? i only need to change the resolution on the widescreen mod..

#16 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 20 February 2011 - 08:26 AM

It might be possible to restore your game to a working condition, but I have no intention of playing Twenty Questions with you to figure out exactly what you did to break your game.

Edited by the bigg, 20 February 2011 - 08:27 AM.

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#17 goshko

goshko
  • Member
  • 14 posts

Posted 20 February 2011 - 11:18 AM

maybe there is some other manual way to change the resolution (otherwise there aren't any problems), i'm willing to try anything to get it to work. unfortunately my old laptop has some problems with the screen and the game is unplayable on it :(

#18 ghostdog

ghostdog
  • Modder
  • 556 posts

Posted 02 December 2011 - 04:12 PM

I had installed BGT and near the end of BG2 the game started stuttering. Probably due to the shitload of things it had to keep track of, mainly due to the many items and the numerous containers I carried and possibly due to the fact I was playing it at 1920x1080 with a new rig. I used this little mod and with the second option (Biff all files) the stuttering was fixed ! Thanks Bigg !

Since a lot of players are facing this stutter problem recently with IE games, this mod might be a pretty good solution.

#19 -Nomblecronch-

-Nomblecronch-
  • Guest

Posted 02 December 2011 - 11:46 PM

Salutations.

I've spent the past couple days attempting to get Generalized Biffing installed in the dim hope that it will solve the achingly long savegame times in BG2 that seem to be a rare reaction between Macs and the G3 fixpack. It has fought me more or less every step of the way on this; the current version of WeiDu has vanished from the internet, previous versions have refused to accept my admin password for install, the whole nine yards. I've spend around three times longer trying to get this game playable than I have spent playing it in the past week.

Finally, I figured I'd gotten it figured out. Up, running, good to go. What happens?

Parse error (state 1146) at LPAREN

[GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2] PARSE ERROR at line 74 column 1-34
Near Text: (
GLR parse error

[GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2] ERROR at line 74 column 1-34
Near Text: (
Parsing.Parse_error
ERROR: parsing [GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2]: Parsing.Parse_error
ERROR: problem parsing TP file [GENERALIZED_BIFFING/GENERALIZED_BIFFING.TP2]: Parsing.Parse_error

FATAL ERROR: Parsing.Parse_error

I'm running WeiDu 222, the latest version I could get that would work, on a duo Snow Leopard, and I am pretty certain that if this beats me I will have to become a luddite. Help, please.

#20 hook71

hook71
  • Member
  • 280 posts

Posted 03 December 2011 - 10:28 AM

the current version of WeiDu has vanished from the internet

Don't know about your problem, but the Mac version of WeiDu can be downloaded from:
http://www.weidu.org...iDU-Mac-230.zip

Version 231 has been released but isn't compiled for the Mac yet.