VOGONS


dosbox hardsub

Topic actions

First post, by jack7277

User metadata
Rank Newbie
Rank
Newbie

Got idea, what if.

Hook on file open, then read our prepared subtitle file and show text in dosbox screen.
Then everyone could make any translation of in-game video.

Reply 2 of 7, by jack7277

User metadata
Rank Newbie
Rank
Newbie

let's suppose that CPU is fast enough. what else ?

Reply 4 of 7, by jack7277

User metadata
Rank Newbie
Rank
Newbie

I'm looking for programmers. Can pay paypal.
I used ProcMon to see what happened on video playback.

I used "Harvester" game, I see dosbox ReadFile, using 4kb blocks and show it decoded (delay?).

23:52:47,1279655 dosbox.exe 3748 ReadFile C:\games\harv_cd\GRAPHIC\FST\VIRGLOGO.FST SUCCESS Offset: 0, Length: 4096, Priority: Normal
...
590 times to ReadFile with 4096 byte blocksize until the end of file (2366 kb) or until ESC pressed.

23:52:58,5365083 dosbox.exe 3748 CloseFile C:\games\harv_cd\GRAPHIC\FST\VIRGLOGO.FST SUCCESS

Total - 11 sec, like the video length.

subtitle file will contain offset, text, time to show, for example:
0, Hello, 1
in the middle of playbak offset of read will be ~= 1 183 000
1183000, This is the middle of videofile, 1

I want to make subtitles for games.

done and works

Reply 6 of 7, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

For something like Harvester, it would probably be much easier to reverse-engineer the video format (assuming that hasn't already been done – it can't be something very unusual), insert the subtitles, and then re-encode the videos.

Reply 7 of 7, by jack7277

User metadata
Rank Newbie
Rank
Newbie

ok, but idea works