ariscop / battlespire-tools

Tools for decoding battlespire files (and possibly other xl engine games)
The Unlicense
6 stars 3 forks source link

I'm having trouble getting bsitools to output anything. #3

Open W-E-R-D-N-A opened 2 years ago

W-E-R-D-N-A commented 2 years ago

` 7 7 8

6 6 7
            <colour id="124">6 6 7</colour>
            <colour id="125">6 5 6</colour>
    </CMAP>
    <DATA _length="4096"/>
    <END _length="0"/>

Traceback (most recent call last): File "C:\Users\xxxx\Downloads\battlespire-tools-master\bsitool\bsitool.py", line 213, in out.save(sys.argv[2] % name) TypeError: not all arguments converted during string formatting

C:\Users\xxxx\Downloads\battlespire-tools-master\bsitool>python3 bsitool.py E:\SpireImages\CAND1.BSI png`

I am not getting any output. Below are my arguments, I am probably wrong: python3 bsitool.py E:\SpireImages\CAND1.BSI png

Also tried: python3 bsitool.py E:\SpireImages\CAND1.BSI E:\SpireImages\OUT

ariscop commented 2 years ago

Try use bsi.py instead of bsitool.py

W-E-R-D-N-A commented 2 years ago

Thanks, how do I get the colors right if I can?