First post, by jack7277
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.
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.
Aehm, timing problems and not everyone plays the same?
let's suppose that CPU is fast enough. what else ?
Good luck
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
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.
ok, but idea works