View Full Version : DivX Media subtitle creation (xsub)
borntobealive
6th December 2005, 21:21
Ummm...Excuse me..
Any link to download bmptoxsub ,cause I only have srttobmp?
:thanks:
marcellus
6th December 2005, 23:30
Ummm...Excuse me..
Any link to download bmptoxsub ,cause I only have srttobmp?
:thanks:
How about the first post in this thread?
borntobealive
7th December 2005, 13:44
The link doesn't work :(
marcellus
7th December 2005, 15:20
You mean this link: ftp://zhnujm.dyndns.org/bmptoxsub.zip ?
It works perfectly for me.
borntobealive
7th December 2005, 17:49
It doesn't work neither on I.E nor on Mozilla..
Any alternative? :(
thefluffy
7th December 2005, 18:16
Has anyone tried DivXMux's subtitle muxing abilities ?
It appears it depreciates most of the functionality of srttobmp since it accepts .srt files and .idx/.sub files as input.
marcellus
7th December 2005, 20:31
@borntobealive
Try this (http://www.freedownloadmanager.org/)
@thefluffy
With srttobmp one can control the apearance of the subtitle (size, font, position) very easy and with visual feedback. I don't see such thing yet with DivXMux. I tried to mux a srt file with DivxMux and I got an error. With srttobmp it worked flawlessly.
BTW, Fuse can mux srt's too but the result is ugly, I tried once and forgot about it.
For now I make xsub with srttobmp+bmp2xsub and mux it with DivXMux manually, I hope a new version of srttobmp that support DivxMux instead of fuse will be released. I tried to rename DivxMux to fuse but it didn't work.
thefluffy
7th December 2005, 20:35
@borntobealive
Try this (http://www.freedownloadmanager.org/)
@thefluffy
With srttobmp one can control the apearance of the subtitle (size, font, position) very easy and with visual feedback. I don't see such thing yet with DivXMux. I tried to mux a srt file with DivxMux and I got an error. With srttobmp it worked flawlessly.
BTW, Fuse can mux srt's too but the result is ugly, I tried once and forgot about it.
For now I make xsub with srttobmp+bmp2xsub and mux it with DivXMux manually, I hope a new version of srttobmp that support DivxMux instead of fuse will be released. I tried to rename DivxMux to fuse but it didn't work.
Try saving the .srt as UTF8 before passing it in.
The DivXMux actually does a LOT to ensure a great experience with subtitles. It positions them in the safe-viewing area, which ensures they will not "fall off the screen". It also makes sure they are not too high and cover important action going on in the video.
And the DivXMux in general will ensure every file it puts out meets the DivX specifications and will play on DivX Certified and DivX Ultra Certified devices.
marcellus
7th December 2005, 20:44
Try saving the .srt as UTF8 before passing it in.
Thanks, didn't know that, I will try.
The DivXMux actually does a LOT to ensure a great experience with subtitles. It positions them in the safe-viewing area, which ensures they will not "fall off the screen". It also makes sure they are not too high and cover important action going on in the video.
Sounds great, let's see that. But I doubt that will get srttobmp "out of business" as it has so little control (font, size,etc).
borntobealive
8th December 2005, 00:00
All I get is "server does not respond" no matter what I use to download the file...
:confused: :confused:
I don't get it!
vsr
8th December 2005, 13:11
Has anyone tried DivXMux's subtitle muxing abilities ?
Yes, a lot better of fuse but, you always have point to audio source or you get a mute movie ;). The "strn data" seems not work but maybe I don't understand well the docs after all, English is not my natural language. I tryed the "Subtitle Linker Text File" also (after some changes in srttobmp to save in format) and works well. One question, the subtitle resolution must be 640x480? even I generate bmps in movie resolution (640x272) the DivXMux report the size of subs as 640 x480.
It appears it depreciates most of the functionality of srttobmp since it accepts .srt files and .idx/.sub files as input.
"depreciates?" at least in Portuguese I don't use similar word (keep in mind that English is not my natural language and I may misunderstand) after all srttobmp is only a "simple GUI", to "Fuse" and "bmptoxsub", that allow you to choose position and font of subs (some people need it, like me) you may say there are a lot of tools that do it but none fit in my needs. .idx/.sub files in some situations like mine don't exist, I put subs with short descriptions in my personal videos (I don't like hardsubbed video).
DivXMux seems to be faster than fuse. I'm thinking to "permit" srttobmp to "evolve" and make use of all new functionalities of DivXMux.
Thanks DivXTeam, nice tool
vsr
PS @borntobealive
Try download bmptoxsub here (http://polo.faenquil.br/~valerio/srt2bmp/bmptoxsub.zip) if don't work is possible that you have a firewall issue.
borntobealive
8th December 2005, 15:10
This link works fine :p
Thanks! :thanks:
borntobealive
9th December 2005, 20:17
Ok..I have the same problem miras19 has in #87 (http://forum.doom9.org/showthread.php?p=635339#post635339)
I used VirtualdubMod as vsr suggests in #89
When I load the movie I get a "VBR audio stream detected"message
Then I open video->direct stream copy and then file->save as AVi and I use the new AVI movie to mux,but I still get the "error opening AVI file >C:\"movie path"< for reading" etc etc message..
Any suggestions?
kitsaros2000
13th December 2005, 14:54
what does this error mean ?
429
PAL 576
critical......end
00:00:28:320 00:00:30:440
196 502 328 44
502
Converted00001.bmp
Converted00001.bmp
00:00:28.320 00:00:30.440
196 502 523 545
---------
critical......end
00:00:32:670 00:00:35:790
172 472 378 74
472
Converted00002.bmp
Converted00002.bmp
00:00:32.670 00:00:35.790
172 472 549 545
---------
critical......end
00:00:35:860 00:00:37:220
212 502 296 44
502
Converted00003.bmp
Converted00003.bmp
00:00:35.860 00:00:37.220
212 502 507 545
Ok i fixed that . I made an small aplication that muxes the avi+srt and generates an *.divx with subtitles . Take a look here :
http://www.trustfm.net/divx/SoftwareAviSub.html
Pls tell me if works well ! Thx !
TjokkePrii
16th December 2005, 14:33
Hi,
I tried to add subtitles to a Divx movie to play it on my hardware divx player but my audio got out of sync.
I used srttobmp to create the xsub file and then I used fuse. It gave me some error about QPEL or something, maybe it has to do with that ? Anyway, the subtitles play fine but the audio is seconds out of sync ?
kitsaros2000
16th December 2005, 15:13
hmmm try the new version of mine tool [the 1.2 ] uses the newer 'fuse' called divxmux which looks a lot stabler ...
The avisub 1.2 supports son an vobsub inputs ...
Tell me what happened now .
If the problem insists try another avi ... ;)
RogerioMK
17th December 2005, 21:34
hmm... first i wanna say thnx cuz this tool is amazing...
my problem is when i try to mux more than one title to the video... with just one, it works fine 4 me and i can clearly see the titles on playback. But no matter how many times i try, when i try to playback the video when i muxed more than 1, i can see only the first. I mean, if i use the titles button on remote control i can see 2/3 or 3/3 on screen, but i can see nothin on video. Dunno if i made myself clear. Can some1 tell me what could be goin on ?
borntobealive
18th December 2005, 04:05
All problems solved. :rolleyes:
Congratulations to everyone for this amazing tool :thanks:
marcellus
18th December 2005, 17:16
Hi kitsaros2000, thanks for your program.
I tried Avisub 1.4 and there is a problem. I noticed it is taking very long for a muxing to take place and I discovered that during the time divxmux it is doing its job avisub.exe is hogging the CPU. I killed avisub.exe from task manager and the mux continued with normal speed.
Other complaints ;) :
*The generated subs have some strange blue shadow when rendered in player (I checked for now only with software divx player - that BTW does a very poor job in rendering subs comparing to my standalone divx player - but anyway, I don't have this problem with srt2bmp).
*When there are 2 or more lines they are not centered, the longest is centered and the rest are aligned to its left.
*The <i> comments are rendered on screen and not used to make the sub italic.
One more thing: I think the program should be able to load .divx files too, not only .avi files.
Anyway, thanks for your work !
kitsaros2000
19th December 2005, 01:44
marcellus
1) seems like that but you do not gain on speed. In fact the divxmux process occupies alwas 20-30% of the cpu even when avisub is no loaded. Seems that avimux has 70% but has low priority, has simply an while cycle to check out the output . To mine pc avisub open or closed the mux takes always 3 minutes . How many time you spent ?
2)the quality and the blue border is correct but i cannot do something seems that its an divx6.1 bug maybe im wrong . Avisub has blue as default background color thats why you si little blue even if it is setted on transparent ! BOH :(
3) i will try to enable the tags ... right now are not supported ...
;)
marcellus
19th December 2005, 09:57
1) To mine pc avisub open or closed the mux takes always 3 minutes . How many time you spent ? I don't really know, after 10-11 minutes (when it muxed about 200 megs out of 700) I was already impatient (because I know the mux suppose to take about a couple of minutes) so I killed avisub to see what happens and then divxmux finished in 1-2 minutes after. So on my computer (Athlon XP 2600+) avisub takes CPU from divxmux and doesn't let it do its job. It might also interfere with the nforce2 IDE drivers that I know they have too much CPU demand (and muxing is a HDD intensive operation).
2)the quality and the blue border is correct but i cannot do something seems that its an divx6.1 bug maybe im wrong . I suspected that. Try to make the background colour RGB 32 32 32 (#202020) instead of blue, I think I had this issue at some point with srt2bmp when I changed its default colors. The bug is quite nasty because the blue shadow (and a double vision kind effect) shows on my standalone too, so a new release of Divx Player would do nothing for me - and a new firmware for my standalone is beyond my expectations. With font colour set to default in srt2sub I have no problem on the standalone, the subs are rendered corectly.
3)i will try to enable the tags ... right now are not supported ... Thanks, thanks, thanks !
kitsaros2000
20th December 2005, 01:16
ok in the 1.5 version i fixed the bug with the cpu utilization !
Pls tell me if at least this bug is solced [it is the bigger one...]
:thanks:
I also made an small guide on how and when to use txt2vobsub,avisub and when leave the srt on an divx file
Guide here (http://www.trustfm.net/divx/GuideAddDivxSubs.html)
:thanks:
Slitheen
20th December 2005, 13:12
As a newbie, can somebody direct me to the right links for what I need to download to use this app. Thanks!
marcellus
21st December 2005, 11:09
ok in the 1.5 version i fixed the bug with the cpu utilization !
Pls tell me if at least this bug is solced [it is the bigger one...]
The CPU utilization issue is gone now. Many thanks!
ricardo.santos
24th December 2005, 14:48
As a newbie, can somebody direct me to the right links for what I need to download to use this app. Thanks!
to have a go with srt2bmp (my favourite)
download srt2bmp from here
srt2bmp (http://polo.faenquil.br/~valerio/srt2bmp/srttobmp.rar)
download the fuse tool from here:
Fuse (http://download.divx.com/labs/Fuse02182005.zip)
read the guide here:
guide (http://projects.gdion.biz/guides/dmfwithxsub.html)
TjokkePrii
27th December 2005, 09:41
Hey, I also used your tool and my subtitles played fine. But I have another problem now. I have the movie that cannot be muxed for some reason. When I use your program it says immediately that it's done but there's no divx file created. When I use divxmux manually it gives an error that it cannot open the file. When I use fuse it also crashes. Anyone know what the problem is ? I really need the subs on my hardware player because the audio is portuguese and I'm not ;)
kitsaros2000
27th December 2005, 18:10
divxmux does not support all kinds of avis {the program used to mux the avi with the subs done by divx networks} so you cannot process all kinds of avis ... :(
TjokkePrii
27th December 2005, 20:30
That sucks.. any other ideas how to get the subs into the avi ?
kitsaros2000
28th December 2005, 00:35
your player supports vobsub ?
you cannot see srt files ?
TjokkePrii
28th December 2005, 17:01
No it only displays the subtitles when I use avisub. :(
Pink Panther
4th January 2006, 02:54
I did everything like you said with SRT TO BMP, but every time I got few error messages with FUSE:
VBV TEST FAILED
max underflow was ..... bits
0 VBV TEST failed
1 MPEG quantization not supported
2 UN COMPRESSED CHUNK TYPE Present
Result: FAIL
or, somethin' else!!!
Then, when it's done, I burn that .divx file on my cd, and try it on my SHARP's DVD player - audio is ok, picture is good, but there is no subtitles.
I press the SUBTITLES button, but it says SUBTITLE OFF.
Please help me -what's the problem???
I have so many .avi movies I want to watch on my DVD player, but I can't!!!
HEEEELP!!!
I don't want to use Virtual Dub or somethin like, because it takes so looong.
westgroveg
5th January 2006, 01:02
Pink Panther,
The video you encoded is invalid, are your sure it's a DivX5+ file & not something else like XviD?
BTW I tried to make a frontend for this program but with only basic programming skills I couldn't find out how to call external applications.
Is anyone going to make a frontend for this program?
Pink Panther
5th January 2006, 01:57
Pink Panther,
The video you encoded is invalid, are your sure it's a DivX5+ file & not something else like XviD?
BTW I tried to make a frontend for this program but with only basic programming skills I couldn't find out how to call external applications.
Is anyone going to make a frontend for this program?
I don't know, it's .avi movie.
But, yesterday I tried another movie, and it passed the test, but when I tried it on my DVD player, I didn't have the subtitles, again.
SUBTITLES OFF, he shows on TV screen.
kitsaros2000
10th January 2006, 03:53
if avisub produces no output files, seems just divxmux does not support this kind of avi. I can not do something about that.
An smart option is someone to buy an really cheap player that supports vobsubs like the H&B DX-3255 . You can find it at 45$ !!!
In order to convert an srt file to vobsub i use txt2vobsub but there are several other ways like son2vobsub ...
Gej
24th March 2006, 23:43
Yesterday we release a new version of the DivX Media Tools, with a GUI for DivX Mux and a easy way to create menus !
http://labs.divx.com/node/169
http://labs.divx.com/DivXMediaTool
Star-Blazer
28th April 2006, 14:10
Hello,
I'm trying to mux a movie using the SRT2BMP program, how ever I get a failure massage (See attachment). Please, can any one help with this problem?
I also attached the video file details from GSPOT.
TNX
ricardo.santos
28th April 2006, 17:28
try changing the fourcc code to divx(mpeg4 modifier)
if your file has gmc/Qpel it wont mux the subs
you mightwanna try avisub it uses the DivxMux.exe(newer), srt2bmp uses the old Fuse.exe.
Nikos
29th April 2006, 03:24
Try a remux with AvimuxGui or Avidemux2 and try again.
From my experience changing the fourCC from xvid to divx
don't help.
Download the latest gspot 2.52 for more accurate info.
Star-Blazer
29th April 2006, 20:26
1. The file is not gmc/Qpel
2. I would have tried the Avisub but it causes the second line not to be centered according to the first.
3. I tried Avimuxgui...... doesnt help
Tnx a lot for the response.
nickolasemp
30th April 2006, 10:22
Hello everybody!
I'm using quite a long time now srt2bmp and i'm quite happy with the results. By the way, could someone tell me what to write in fuse's command line in order to name my subs? When i insert my movie in the divx standalone player, all I can see (when i choose a sub) is just "1: ", "2: " and nothing else but blank after each number. I would like it to show 1:en, 2:fr, 3:it, 4:el and so on... Any ideas?
You can create the Xsub with srt2bmp and mux the files with DivXMuxGui and adding country code for the subs.
I was trying to make a DMF, but I found some strange things after testing in 3 players. Regarding Xsub subtitles:
a.) - if I play the Revelations divx, the subtitles are displayed at the bottom at the same (approx) position.
b.) - if I make custom DMF with srt2bmp, srt2divx, DivXMuxGui ori AviSub in 2 players (one certified and one not) the subtitles are in the center (aprox.) of the movie and in another player (the third) is at the bottom as desired by me in the srt2bmp, srt2divx or avisub settings.
c.) - if I make my custom DMF (not the bat file for creating Revelations.divx) with DivXMuxGui using the file "Feature_s.avi" from revelations package as subtitle file, the resulted subititles from my cusom DMF are displayed like at b.)
DivXMuxGui was tested with 2 versions of divxmux.exe.
Movie resolution: 672x288.
But if I use the same programs with feature.avi (640x352) with those programs, the subtitles are dispalyed correctly at the bottom of TV Screen in all standalone players.
If some of you are made some tests with DMF, try to make another test with a movie with 672x288 resolution and look if the subtitles are displayed like in your previous test with another movies.
enjoy,
Mtz
After few months I'm back with a "new" version of srt2bmp tool. Now mux with new divxmux tool. Subtitles are rendered now in The "DivX Subtitle Linker Text" format. If you wish to try this "new" tool click here (http://www.polo.faenquil.br/~valerio/srt2bmp/srttobmp-1.0.4.21.rar).
vsr
ricardo.santos
5th May 2006, 11:34
Hi vsr!
Thanks for the new version
heres some feedback:
-Subtitles are not centered, too much to the right onscreen
-cannot set 16:9 aspect ratio
-cannot use make "xsub" button after i render srt subs
-whem muxing subs, it says"jobs ended" but nothing is created
Ricardo
Thanks for feedback ricardo.
-Subtitles are not centered, too much to the right onscreen
Weird, in my tests, when I play the .divx in software player (divx player 6.2) subtitles are correctly centered. In my hardware player (Philips dvp642) are showed to left and small. Some players are not fully compatible with last divx specifications, I think, at least the older ones.
After some simple tests last night I found that my hardware player requires subtitles position in a 720x480 resolution "window" for NTSC (and 720x576 for PAL). In documentation of DivXMux tool says that subtitles must be in a "Safe Viewing area" in a 640x480 pixels (as described in page 11 of DivXMux Command Line Reference Guide) and srt2bmp render subs folowing divx specifications. But some players spects (like mine) a viewing area in 720x480(576) pixels (older specs? who knows?).
-cannot set 16:9 aspect ratio
Disabled in this version.
-cannot use make "xsub" button after i render srt subs
Try to uncheck the "Save DivX Subtitle Linker file" option.
-whem muxing subs, it says"jobs ended" but nothing is created
hummm, here works fine. I'll test in other computer.
vsr
In some standalones the subtitle is displayed a little lower or moved a little to the right or left. The problem is in the firmware (ARM Code).
I think is OK to use 720x576 or 720x480.
Now regarding the latest version:
1.
Still the height of bmp is not correspondent with the number of lines:
Exampe: font size 26 > 2 lines height: 88, one line height 46. I don't know why is this but, seems to be OK, because is better to have small height when we have more than 1 line. No needed to change this.
2. Jumping subtitles: subtitles with "abc" are displayed in a lower position than with "pqy". I think the best reference is to align the subtiles from the bottom and correspond with the subtiles with "pqy". In the program preview and in rendered bmp, everything is OK.
3. The bmps are not deleted.
4. Strn. In the DivX Muxer option, when selecting Language Tag, pop up a window with this message: "Invalid pointer operation". But after pressing OK, everything is fine.
Regarding strn, can you make some default settings?
Video: English, USA, Movie
Audio: English, USA, Primary Feature
Subtitles: To remember the latest option used.
Also I cannot use anymore the option "Srt2DivX" from DivXMediaBuilder: the xsub cannot be created. In the older Srt2Bmp I still can create Xsub.
enjoy,
Mtz
@Mtz
In some standalones the subtitle is displayed a little lower or moved a little to the right or left. The problem is in the firmware (ARM Code).
I think is OK to use 720x576 or 720x480.
After some tests I figure out that when you use the "DIVX Linker Text File", DivXMux always overrides your
subtitles resolution and positions (too bad for my old standalone).
2. Jumping subtitles: subtitles with "abc" are isplayed in a lower position than with "pqy". I think the best reference is to align the subtiles from the bottom
The subtitle is now positioned by a "fixed" top position.
3. The bmps are not deleted.
4. Strn. In the DivX Muxer option, when selecting Language Tag, pop up a window with this message: "Invalid pointer operation". But after pressing OK, everything is fine. Regarding strn, can you make some default settings? Video:
English, USA, Movie Audio: English, USA, Primary Feature Subtitles: To remember
the latest option used.
I'm working on It.
Also I cannot use anymore the option "Srt2DivX" from DivXMediaBuilder: the xsub cannot be created. In the older Srt2Bmp I still can create Xsub.
Seems like a mistake here, srt2bmp does not have an "Srt2DivX" option and I don't know the DivXMediaBuilder app. But, by the way, I'm restore the creation of xsub files in srt2bmp you can download a "test version" here (http://polo.faenquil.br/~valerio/srt2bmp/SRT2bmp_test_version.rar).
In this "test version" some minor bugs are fixed.
The app can now mux xsub and vobsub (.idx) files using DivXMux.
Feedback are welcome.
vsr
Tested with "DIVX Linker Text File", and still are problems with "abc" and "pqy" jumping. Try to ask jeanl how he solved the problem with jumping subtitles in DVDSubEdit.
Also some time ago DVDLab Pro had these problems.
Make some test with this subtitle:
1
00:00:04,000 --> 00:00:08,000
aeuaeuaeu
2
00:00:08,081 --> 00:00:12,081
abcabcabc
3
00:00:12,582 --> 00:00:16,582
pqypqypqy
4
00:00:16,683 --> 00:00:20,683
aeuaeuaeu
aeuaeuaeu
5
00:00:20,784 --> 00:00:24,784
aeuaeuaeu
abcabcabc
6
00:00:24,880 --> 00:00:28,880
pqypqypqy
7
00:00:29,000 --> 00:00:33,000
aeuaeuaeu
8
00:00:33,080 --> 00:00:37,080
aeuaeuaeu
aeuaeuaeu
9
00:00:37,160 --> 00:00:41,160
pqypqypqy
pqypqypqy
10
00:00:41,240 --> 00:00:45,240
abcabcabc
11
00:00:45,320 --> 00:00:49,320
aeuaeuaeu
12
00:00:49,400 --> 00:00:53,400
ĂĂĂĂĂĂĂĂ
13
00:00:53,480 --> 00:00:57,480
aeuaeuaeu
aeuaeuaeu
14
00:00:57,581 --> 00:01:01,581
ĂĂĂĂĂĂĂĂ
ĂĂĂĂĂĂĂĂ
15
00:01:01,682 --> 00:01:05,682
ĂĂĂĂĂĂĂĂ
pqypqypqy
16
00:01:05,783 --> 00:01:09,783
abcabcabc
17
00:01:09,884 --> 00:01:13,884
ĂĂĂĂĂĂĂĂ pqypqypqy
18
00:01:13,985 --> 00:01:17,985
aeuaeuaeu
19
00:01:18,086 --> 00:01:22,086
pqypqypqy
Alcacia
10th May 2006, 06:34
I think I may have found a bug in bmptoxsub. Basically, I am having problems converting vobsub to xsub, where the vobsub uses color#2 for background (instead of the standard color#1).
My process is to convert vobsub to Philips SVCD Designer file using SubRip, and then use bmptoxsub to convert the sub+bmp to xsub.
As you know, most subs use color#1 as the background (i.e., transparent), color#2 as the text, color#3 as the anti-alias, and color#4 as the border. My process works fine for those.
The problem in my current case is that color#1 is being used for the text, and color#2 is being used for the background pixels. No matter what parameters I use in SubRip and bmptoxsub, I always get a result that has transparent text and opaque background!!
The relevant lines at the top of my Philips sub file are as follows:
CONTRAST (15 0 15 15)
COLOR (0 1 2 3)
[PALETTE]
0 (255, 255, 255)
1 (0, 0, 255)
2 (192, 192, 192)
3 (0, 0, 0)
As you can see, contrast for color#2 (index 1) is set to 0, so it SHOULD be transparent in the resulting xsub, but that is not what is happening. In fact, it seems that bmptoxsub totally ignores the contrast values, and always sets color#1 (index 0) to transparent.
Can anyone confirm this problem and/or suggest a workaround?
Hi Alcacia,
xsub follows divx specifications then use 4 color to subtitles, first color sets transparent color and the other three are opaques.
in your example:
CONTRAST (15 0 15 15) ****ignored
COLOR (0 1 2 3)
[PALETTE]
0 (255, 255, 255) ***transparent color
1 (0, 0, 255) *** opaque color (srt2bmp use it for border color)
2 (192, 192, 192) *** opaque color (srt2bmp use it for subtitle face color)
3 (0, 0, 0) *** opaque color (not used until now:) )
@Mtz
I'm unable to reproduce the "jumping subs" even I use your example (except for a little horizontal displacement when subs changes from line 4 to 5 in second sub line - small difference in char sizes) at least in my standalone. Can you send me the "DIVX Linker Text File" that causes the "jumping"?
Cheers,
vsr
Alcacia
10th May 2006, 14:03
Thanks for confirming that contrast is ignored.
It also appears that the "[PALETTE]" section is strictly informational, and is not used in the creation of the xsub....in other words, bmptoxsub uses whatever colors are in the bmp's. I tested this by changing the color values in the [PALETTE] section (so they no longer coincided with the actual bmp colors)...and generating output...no effect.
I'm also guessing that the line "COLOR (0 1 2 3)" is also just informational, because I tried changing to "COLOR (1 0 2 3)" and "COLOR (4 5 6 7)", and neither of these changes had any effect on the output.
The bottom line is that it appears to me that all of this info is ignored...bmptoxsub simply uses whatever 4 colors it finds in the indexed-color bmp's, and it sets the first color to transparent, and the others to opaque. What is interesting is that by using the switches SRT2BMP1, SRT2BMP2, etc., you can force one of the colors to black. I have no idea why that functionality was included. However, I would love to be able to control the transparent color using a switch.
Finally, I still have to ask the question of how to solve my problem. My sub+idx (and thus generated bmp's) uses a non-standard ordering of colors, and so the first color in the indexed bitmaps is actually the face color, and not the background color. I could rip to SRT and then use SRT2BMP to get my xsub, but needlessly converting to and from a textual format isn't ideal.
The best solution I could think of would be to somehow swap the indexes of the first two colors in the bmps. In other words, change all color#1 pixels to be color#2, and vice-versa. Anyone know of a program that would do this in batch, or any other solution?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.