Post subject: Editing in Subtitles
ars4326
He/Him
Experienced player (777)
Joined: 12/8/2012
Posts: 706
Location: Missouri, USA
Hey, guys. I've got a question on editing in subtitles on Bizhawk that I couldn't immediately find on the site (apologies if I missed it). What exactly do you type in the 'Length' column? If I put in any sort of number, it gives me the message "Unable to parse value:".
Thanks!
"But as it is written, Eye hath not seen, nor ear heard, neither have entered into the heart of man, the things which God hath prepared for them that love him." - 1 Corinthians 2:9
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
It is how many frames the message should be displayed.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
ars4326
He/Him
Experienced player (777)
Joined: 12/8/2012
Posts: 706
Location: Missouri, USA
TASeditor wrote:
It is how many frames the message should be displayed.
I get that, but when I type in a numerical value it still gives me that same error message.
Am I missing something?
"But as it is written, Eye hath not seen, nor ear heard, neither have entered into the heart of man, the things which God hath prepared for them that love him." - 1 Corinthians 2:9
Masterjun
He/Him
Site Developer, Skilled player (1987)
Joined: 10/12/2010
Posts: 1185
Location: Germany
Parse Error Row 0 Column 1 This implies X position of the first row, which is indeed not a number. (It's empty!) I think you first have to enter X and Y positions before you can proceed.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
ars4326 wrote:
TASeditor wrote:
It is how many frames the message should be displayed.
I get that, but when I type in a numerical value it still gives me that same error message.
Am I missing something?
The X and Y values need to be set. Your error message is due to having no value for X (the second cell). Try putting a number in there.
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
ars4326
He/Him
Experienced player (777)
Joined: 12/8/2012
Posts: 706
Location: Missouri, USA
Masterjun wrote:
Parse Error Row 0 Column 1 This implies X position of the first row, which is indeed not a number. (It's empty!) I think you first have to enter X and Y positions before you can proceed.
hegyak wrote:
The X and Y values need to be set. Your error message is due to having no value for X (the second cell). Try putting a number in there.
Tried both numbers and letters, to no avail.
Any other ideas?
"But as it is written, Eye hath not seen, nor ear heard, neither have entered into the heart of man, the things which God hath prepared for them that love him." - 1 Corinthians 2:9
Editor, Skilled player (1536)
Joined: 7/9/2010
Posts: 1319
Look closer at column #4 Hint: Color.
Favorite animal: STOCK Gt(ROSA)26Sortm1.1(rtTA,EGFP)Nagy Grm7Tg(SMN2)89Ahmb Smn1tm1Msd Tg(SMN2*delta7)4299Ahmb Tg(tetO-SMN2,-luc)#aAhmb/J YouTube Twitch
Joined: 3/11/2012
Posts: 149
Location: WI
TASeditor wrote:
Look closer at column #4 Hint: Color.
The next question you'll probably ask... It looks like color wants a number from you. 0 is going to be black, if it accepts it, 0xFFFFFF will be white. Otherwise 16777215 should be white. Not exactly user friendly, but oh well.
ars4326
He/Him
Experienced player (777)
Joined: 12/8/2012
Posts: 706
Location: Missouri, USA
TASeditor wrote:
Look closer at column #4 Hint: Color.
Ah-ha! That did it for me :D
Sappharad wrote:
The next question you'll probably ask... It looks like color wants a number from you. 0 is going to be black, if it accepts it, 0xFFFFFF will be white. Otherwise 16777215 should be white. Not exactly user friendly, but oh well.
Knowing me, that would've been my next post, lol. Appreciate the help, everyone! I agree that this feature could be more user friendly. Perhaps this could be addressed in a future update?
"But as it is written, Eye hath not seen, nor ear heard, neither have entered into the heart of man, the things which God hath prepared for them that love him." - 1 Corinthians 2:9
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
ars4326 wrote:
Appreciate the help, everyone! I agree that this feature could be more user friendly. Perhaps this could be addressed in a future update?
https://code.google.com/p/bizhawk/issues/detail?id=295
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
ars4326
He/Him
Experienced player (777)
Joined: 12/8/2012
Posts: 706
Location: Missouri, USA
hegyak wrote:
ars4326 wrote:
Appreciate the help, everyone! I agree that this feature could be more user friendly. Perhaps this could be addressed in a future update?
https://code.google.com/p/bizhawk/issues/detail?id=295
Just voted on it. I think that will definitely be a small step in improving BizHawk even more. One more question about subtitles: Is there an existing feature to add line breaks in the text, in order to make a paragraph?
Currently, that line of text I have runs off the page, and I'd like to be able to turn it into paragraph form.
"But as it is written, Eye hath not seen, nor ear heard, neither have entered into the heart of man, the things which God hath prepared for them that love him." - 1 Corinthians 2:9
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
I've never used it, but the first things I'd try are \n and \N.
Player (146)
Joined: 7/16/2009
Posts: 686
Go for "\r\n" if "\n" doesn't work (obviously, without the quotes).
ars4326
He/Him
Experienced player (777)
Joined: 12/8/2012
Posts: 706
Location: Missouri, USA
creaothceann wrote:
I've never used it, but the first things I'd try are \n and \N.
Scepheo wrote:
Go for "\r\n" if "\n" doesn't work (obviously, without the quotes).
Neither of these commands work, unfortunately (both capitals and lower-case). Maybe Adelikat would know?
"But as it is written, Eye hath not seen, nor ear heard, neither have entered into the heart of man, the things which God hath prepared for them that love him." - 1 Corinthians 2:9
Player (146)
Joined: 7/16/2009
Posts: 686
I suppose you could always use two separate subtitles and position them under each other. On another note, the initial issue has been fixed: newly generated rows contain default values.
ars4326
He/Him
Experienced player (777)
Joined: 12/8/2012
Posts: 706
Location: Missouri, USA
Scepheo wrote:
I suppose you could always use two separate subtitles and position them under each other.
Yeah, I could do that as a workaround. It gets the job done.
On another note, the initial issue has been fixed: newly generated rows contain default values.
Awesome! I'm glad this thread led to a contribution.
"But as it is written, Eye hath not seen, nor ear heard, neither have entered into the heart of man, the things which God hath prepared for them that love him." - 1 Corinthians 2:9
ars4326
He/Him
Experienced player (777)
Joined: 12/8/2012
Posts: 706
Location: Missouri, USA
Gotta say that subtitle progress for me is going very well! Is there a built-in command for strikethrough text, though?
"But as it is written, Eye hath not seen, nor ear heard, neither have entered into the heart of man, the things which God hath prepared for them that love him." - 1 Corinthians 2:9
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3573)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
As you have figured out, there is no way to do line breaks (and not an easy way to build this functionality). The intended work around is to indeed use multiple subtitles at the same time. Font size and style customization such as strike through is beyond the scope of what will be supported.
It's hard to look this good. My TAS projects
Buddybenj
He/Him
Joined: 1/12/2013
Posts: 166
Location: USA
adelikat wrote:
As you have figured out, there is no way to do line breaks (and not an easy way to build this functionality). The intended work around is to indeed use multiple subtitles at the same time. Font size and style customization such as strike through is beyond the scope of what will be supported.
For strike through you could use two subtitles and make one subtitle all hyphens, so it crosses out the other subtitle.
Projects: Interested in TASing N64 Mario Golf. GBA Mario Tennis: Power Tour is on hold.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
I think at this point it's clear that simply adding an *.ass file created with Aegisub for the video encoders is much easier and faster.
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
Well, the only thing you can do with an .ass is render it with VSFilter. It's a broken-ass format with no hard specification ever other than "what VSFilter does". The only reason libass has been able to catch up and match most of the broken behaviors required is that VSFilter is dead. The original specification of the SubStationAlpha format includes a way to markup strings that are meant to be passed directly to system(). Thankfully, I don't think even VSFilter was stupid enough to implement this.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
I still don't see how this is a problem. Countless anime encodes use it, and it works.
Player (98)
Joined: 12/12/2013
Posts: 378
Location: Russia
why not just turn on subtitles in ffdshow, and use DirectShow source while encode? Sorry, I didn't thought that it's topic about emulator :D.