Jump to content


Photo

[RELEASE] BAM Batcher


75 replies to this topic

#61 Creepin

Creepin
  • Coordinator
  • 917 posts

Posted 15 May 2017 - 01:04 AM

Thanks a lot Sam., the update is much appreciated.

#62 Gwendolyne

Gwendolyne
  • Member
  • 240 posts

Posted 15 May 2017 - 06:32 AM

Hi, Sam.

 

Nice update. :shifty: :new_thumbs:

 

Many years go, I wrote a French translation for BAM batcher. Are you interested? If yes, I could dig up my old DDs, look for it and update it to this new version.


CARPE DIEM ....



In progress : Menace sur le Royaume de Diamant Éternel there.

#63 Sam.

Sam.
  • Modder
  • 1002 posts

Posted 15 May 2017 - 01:28 PM

Hi, Sam.

 

Nice update. :shifty: :new_thumbs:

 

Many years go, I wrote a French translation for BAM batcher. Are you interested? If yes, I could dig up my old DDs, look for it and update it to this new version.

Sure :).  I'm not particularly experienced with this sort of thing, so if you see anything I've messed up or that could be improved, please speak up.

 

Here's the English TRA for comparison:

setup.tra


"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"

-- to Portalbendarwinden

--------------------

post-10485-0-15080600-1348188745.jpg
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage


#64 Gwendolyne

Gwendolyne
  • Member
  • 240 posts

Posted 16 May 2017 - 12:00 AM

Thanks. But the longest part will be the readme, even If I have already translated the previous technical section. ;)

 

Do you want that I add the Languages selection to the tp2 and traify it?


CARPE DIEM ....



In progress : Menace sur le Royaume de Diamant Éternel there.

#65 Sam.

Sam.
  • Modder
  • 1002 posts

Posted 16 May 2017 - 08:16 AM

Thanks. But the longest part will be the readme, even If I have already translated the previous technical section. ;)

Wow, that's more ambition than I expected, but I am pleasantly surprised :).

 

Do you want that I add the Languages selection to the tp2 and traify it?

The TP2 has already been traified, it (the TRA linked to above) just needs to be translated, added to the bambatch/translations folder, and another LANGUAGE line added to the TP2 (unless I'm missing something?). Once the Readme has been translated, the README line in the TP2 can be updated using the %LANGUAGE% variable also.  You are welcome to do this and make a pull request with Git if you want.


"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"

-- to Portalbendarwinden

--------------------

post-10485-0-15080600-1348188745.jpg
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage


#66 Gwendolyne

Gwendolyne
  • Member
  • 240 posts

Posted 16 May 2017 - 09:27 AM

The readme is done and is proofread by new French modders : if they understand the technical parts, my job will be OK. ;)

I am an old bear and did not learn how to use github (despite I signed in and open an account many years ago). So I will PM you the files.

I added the readme line : to make it work, you will have to rename your English readme file to bambatch-readme-english.html. Another tip is to move all the readme files into their respectives folders.

With these changes in the tp2 file, you must modify the line numbers noticed in the readme : line 10 becomes line 16 (component 1) and line #127 becomes line #133 (FAQ : Can I get that in-game background look like the icons below?).

Last, I noticed two glitches in your setup :

1. If I well understood your coding, line 284 (my updated tp2 file) or 280 (v2.2.1), @11 = ~Bitmap %bs% is not 8-bit or is compressed - check the file.~ should be @11 = ~Bitmap %bf%s is not 8-bit or is compressed - check the file.~

2. in the Fix spell BAM coordinates and Fix description BAM coordinates components, you use the same reference string (@23 = ~%SOURCE_FILE% has %fc% frames (spell BAMs need 1) - check source file.~). I think you might add a new one for component 7 (@nn = ~%SOURCE_FILE% has %fc% frames (description BAMs need 1) - check source file.~)
 


Edited by Gwendolyne, 16 May 2017 - 06:10 PM.

CARPE DIEM ....



In progress : Menace sur le Royaume de Diamant Éternel there.

#67 Sam.

Sam.
  • Modder
  • 1002 posts

Posted 16 May 2017 - 01:36 PM

Lastly, I noticed two glitches in your setup :

1. If I well understood your coding, line 284 (my updated tp2 file) or 280 (v2.2.1), @11 = ~Bitmap %bs% is not 8-bit or is compressed - check the file.~ should be @11 = ~Bitmap ¿%s is not 8-bit or is compressed - check the file.~

2. in the Fix spell BAM coordinates and Fix description BAM coordinates components, you use the same reference string (@23 = ~%SOURCE_FILE% has ü% frames (spell BAMs need 1) - check source file.~). I think you mifgt add a new one for component 7 (@nn = ~%SOURCE_FILE% has ü% frames (description BAMs need 1) - check source file.~)

Fixed in local repo, thanks!

 

Another tip is to move all the readme files into their respective folders.

Done on local repo.

 

So I will PM you the files.
[...]
With these changes in the tp2 file, you must modify the line numbers noticed in the readme : line 10 becomes line 16 (component 1) and line #127 becomes line #133 (FAQ : Can I get that in-game background look like the icons below?).

Awaiting PM :)


"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"

-- to Portalbendarwinden

--------------------

post-10485-0-15080600-1348188745.jpg
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage


#68 Sam.

Sam.
  • Modder
  • 1002 posts

Posted 18 May 2017 - 08:22 AM

Readme [English] [French]
 
Version 2.2.2: 18 May 2017

  • Add French translation

Version 2.2.1: 15 May 2017

  • Traify setup-bambatch.tp2

Download from GitHub


"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"

-- to Portalbendarwinden

--------------------

post-10485-0-15080600-1348188745.jpg
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage


#69 Creepin

Creepin
  • Coordinator
  • 917 posts

Posted 21 May 2017 - 12:38 PM

Here's an visual demonstration

I've spent a good part of today trying to figure out why Mazzy looks nothing like CIFF1INV.BAM until I finally realised to check CIFF1INV.PLT :crazy:

Sadly, NI doesn't tell me what are X/Y offsets of PLT paperdoll, is there any way I could check it?


Edited by Creepin, 21 May 2017 - 01:20 PM.


#70 Sam.

Sam.
  • Modder
  • 1002 posts

Posted 21 May 2017 - 02:19 PM

Here's an visual demonstration

I've spent a good part of today trying to figure out why Mazzy looks nothing like CIFF1INV.BAM until I finally realised to check CIFF1INV.PLT :crazy:

Sadly, NI doesn't tell me what are X/Y offsets of PLT paperdoll, is there any way I could check it?

A quick look indicated that PLTs don't have offsets:  every one has a width of 128 pixels and a height of 160 pixels.  IIRC, 1PP forces the game to use the BAM paperdolls by adding a zero-byte file to the override folder that has the same name as the PLT file you do NOT want to use.  Basically overwriting the PLT file with a blank file forces the engine to skip it and use the corresponding BAM instead.  I recommend this since working with BAMs is generally much easier than working with PLTs, largely due to the availability of tools involved.


"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"

-- to Portalbendarwinden

--------------------

post-10485-0-15080600-1348188745.jpg
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage


#71 Fiann of the Silver Hand

Fiann of the Silver Hand
  • Member
  • 286 posts

Posted 25 May 2017 - 11:27 PM

A bit of an aside here, but if a bam for this is functionally the same as plt, why did Bioware invent this file type?



#72 Sam.

Sam.
  • Modder
  • 1002 posts

Posted 26 May 2017 - 03:17 AM

A bit of an aside here, but if a bam for this is functionally the same as plt, why did Bioware invent this file type?

If Bardez's postulations about the PLT file format are correct (and I believe they are), the PLT file format has a built-in layer of obfuscation that allow them to reference something like 65,281 different colors, compared to the 256 color limitation of the BAM format.


"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"

-- to Portalbendarwinden

--------------------

post-10485-0-15080600-1348188745.jpg
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage


#73 Fiann of the Silver Hand

Fiann of the Silver Hand
  • Member
  • 286 posts

Posted 27 May 2017 - 01:20 PM

Thanks.  I wonder how much of a difference that made back on my 800x600 CRT back in '98.



#74 Sam.

Sam.
  • Modder
  • 1002 posts

Posted 30 June 2017 - 07:25 AM

Readme [English] [French]

Version 2.3: 30 June 2017
  • Added "Convert inventory BAMs to EE" component (special thanks to Gwendolyne)
  • Update Readme
  • Update WeiDU
Download from GitHub

"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"

-- to Portalbendarwinden

--------------------

post-10485-0-15080600-1348188745.jpg
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage


#75 Sam.

Sam.
  • Modder
  • 1002 posts

Posted 22 October 2017 - 05:13 PM

Readme [English] [French]

Version 2.4: 22 October 2017

  • Modify "Convert BMPs to inventory BAMs" to no longer require identical palettes in small and large frames
  • Modify "Convert BAMs to BMPs" to properly handle multiple BAMs
  • Added 'Fix BAMWorkshop colors' component
  • Fix 'Convert BMPs to description BAMs' to properly handle multiple images at a time
  • Update Readme

Download from GitHub


"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"

-- to Portalbendarwinden

--------------------

post-10485-0-15080600-1348188745.jpg
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage


#76 Miloch

Miloch

    Barbarian

  • Modder
  • 6440 posts

Posted 31 October 2017 - 09:08 AM

Modify "Convert BMPs to inventory BAMs" to no longer require identical palettes in small and large frames

What black magic is this? He's a witch! Burn him!


Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"My definition of an intellectual is someone who can listen to the William Tell Overture without thinking of the Lone Ranger." -Billy Connolly




Reply to this topic