Sorry for the delayed response. I've been busy and replying to this kept getting bumped down the queue.
@Sam.
It did help with the icon size and offset. Now scroll is resized and positioned well. But second problem is still left: spell scrolls are displayed as generic scrolls. Problem is that those BAMs from DSotSC contain two DIFFERENT frames. frame 0 contains classic icon and frame 1 contains image of the generic scroll (which offset was wrong and now it is fixed). My classic game uses second frame as icon. First frame containing correct icon is ignored and all DSotSC spell scrolls have visually identical view of generic scrolls and are different by the name only.
Anyway, thank you, Sam. Your solution can fix glitched view of the bunch of icons, not only spells. 'Generic' view of spell scrolls is just a minor issue.
Maybe the frames are assigned to the wrong sequences? If you're feeling a bit more ambitious, you can try switching them yourself.
"PS BAM.exe" --CompressionProfile Recommended --AdvancedFLTCompression 0 --AdvancedZlibCompress 0 --IntelligentRLE 0 --Compress 1 --OrderOfOperations PCE --LogFile "PS BAM Log.txt" --OutPath "C:\Path\To\Save\BAMDs" --Save BAMD *.bam
Then in the BAMD files, switch which frames are assigned to each sequence and then recompile them to BAMs via something like:
"PS BAM.exe" --ItemIcon2EE 1 --CompressionProfile Recommended --Compress 1 --OrderOfOperations PCE --LogFile "PS BAM Log.txt" --OutPath "C:\Path\To\Save\BAMs" --Save BAM "C:\Path\To\Save\BAMDs\*.bamd"
Alternatively, you could extract the frames as sequences of images using:
"PS BAM.exe" --CompressionProfile Recommended --AdvancedFLTCompression 0 --AdvancedZlibCompress 0 --IntelligentRLE 0 --Compress 1 --ExportFramesAsSequences 1 --ExportFrames "BMP,32V5" --OrderOfOperations PCE --LogFile "PS BAM Log.txt" --OutPath "C:\Path\To\Save" --Save "" *.bam
Then rename them (essentially swapping Sequence_0000 with Sequence_0001 and vice versa). Then recompile them to BAMs with something like
"PS BAM.exe" --ItemIcon2EE 1 --CompressionProfile Recommended --Compress 1 --OrderOfOperations PCE --LogFile "PS BAM Log.txt" --OutPath "C:\Path\To\Save\BAMs" --Save BAM "C:\Path\To\Save\*_Sequence_0000_Frame_0000.bmp"
Note that I strung these together from memory and haven't actually tested them, and you will need to adjust the paths to whatever is appropriate for you.
"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?!"
--<CHARNAME> to Portalbendarwinden
--------------------
___________Old pen and paper modules of the 70s and 80s.___________
CA Forums CA Homepage