Jump to content


Photo

Scaling BAMs


4 replies to this topic

#1 Aquadrizzt

Aquadrizzt
  • Modders
  • 107 posts
  • Gender:Male

Posted 22 November 2017 - 12:33 AM

I need to take some of the existing creature animations and scale them by about 0.7 in the vertical direction, without any rescaling in the x direction.

 

NearInfinity seems to only allow scaling that keeps aspect ratios, and BAMWorkshop2 would require me to scale each of several hundred frames manually. Is there any way to do this programatically and avoid six hours of tedious manual rescaling? 


Tome and Blood: Expanded Options for Arcane Spellcasters 

Monastic Orders of Faerun: Expanded Options for Monks 

Multiclass Kits(macro): Enabling Multiclass Kits in EEv2.0+

The Power of Belief: Allowing TNO to Become a Priest 

Undivided: Traveling With All Companions in PSTEE

 


#2 lynx

lynx
  • Modders
  • 3031 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 22 November 2017 - 12:53 AM

you could adapt the bam composer in iesh or it's base format handler:

https://github.com/g...bam_composer.py

https://github.com/g.../formats/bam.py

 

it's already using PIL (python imaging library), so it should be that hard to extend it to do arbitrary scaling.


GemRB - IE anywhere.
Mages needed! Looking for Planescape: Torment testers
Market android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored! Still looking for builders ...

#3 Gwendolyne

Gwendolyne
  • Members
  • 157 posts
  • Gender:Male
  • Location:France

Posted 22 November 2017 - 04:34 AM

Or you can use Sam's tool BAM Resizer.


CARPE DIEM...



In progress : Menace sur le Royaume de Diamant Éternel

#4 Aquadrizzt

Aquadrizzt
  • Modders
  • 107 posts
  • Gender:Male

Posted 22 November 2017 - 12:24 PM

Fantastic, thank you. 


Tome and Blood: Expanded Options for Arcane Spellcasters 

Monastic Orders of Faerun: Expanded Options for Monks 

Multiclass Kits(macro): Enabling Multiclass Kits in EEv2.0+

The Power of Belief: Allowing TNO to Become a Priest 

Undivided: Traveling With All Companions in PSTEE

 


#5 Sam.

Sam.
  • Modders
  • 120 posts
  • Gender:Male
  • Location:USA

Posted 27 November 2017 - 06:22 PM

If you need any help figuring out BAM Resizer, just let me know.


"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

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

Posted Image
___________Old pen and paper modules of the 70s and 80s.___________

CA Forums CA Homepage




Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users