The Feeble Files

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
User avatar
DrMcCoy
ScummVM Developer
Posts: 595
Joined: Sat Dec 17, 2005 1:33 pm
Location: Braunschweig, Germany
Contact:

Re: SMK support

Post by DrMcCoy »

eriktorbjorn wrote:It uses getFrameDelay() to find how long each frame is. This function returns 10000 for the movies I've tried it with, i.e. 10 seconds.
As the Doxygen-comment documents, SMKPlayer::getFrameDelay() returns the delay in 1/100 ms, i.e. a value of 10000 is not 10 seconds, but 100 ms. :P

I've changed MoviePlayerSMK::processFrame() to take that into account, and it should work now. If it doesn't, please yell. ;)
User avatar
Raziel
ScummVM Porter
Posts: 1541
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet
Contact:

Re: SMK support

Post by Raziel »

DrMcCoy wrote:
eriktorbjorn wrote:It uses getFrameDelay() to find how long each frame is. This function returns 10000 for the movies I've tried it with, i.e. 10 seconds.
As the Doxygen-comment documents, SMKPlayer::getFrameDelay() returns the delay in 1/100 ms, i.e. a value of 10000 is not 10 seconds, but 100 ms. :P

I've changed MoviePlayerSMK::processFrame() to take that into account, and it should work now. If it doesn't, please yell. ;)
Working, thanks a lot, Doc :-)

ahhhh, Rebellion has never looked so good (or something like that) ;-)
Nevyrmoore
Posts: 2
Joined: Mon May 18, 2009 11:39 pm

Post by Nevyrmoore »

Hello, I seem to have screwed up somewhere here.

I appear to be having trouble converting the .smk files to .dxa. I've set everything up fine, paths are correct in the convert_dxa.bat file, but when I ran it, every single attempt to convert came back with something similar to the following...

Code: Select all

Width = 640, Height = 480, Framerate = -10000, Frames = 1196
Encoding video...read_png_file: Can't open file: wasting0000.png
Deleting temp files
The system cannot find the file specified.
The system cannot find the file specified.
The syntax of the command is incorrect.
Could someone please point me in the right direction as to why "COMPUTER SAYS NO" so I don't resort to kicking the hell out of it?

*EDIT* Now that I think about it, here's the files.

Code: Select all

convert_dxa.bat
@echo off
rem Feeble Files smk->dxa batch convertor

echo Setting environment variables...
SET TOOLS_PATH=C:\Program Files\ScummVM\tools
SET BINK_PATH=C:\Program Files\RADVideo
SET SMK_PATH="C:\Program Files\AdventureSoft (UK) Ltd\The Feeble Files"
SET DXA_PATH="C:\Program Files\AdventureSoft (UK) Ltd\The Feeble Files"
SET DXA_CONVERT=CORRECT

cd /d "%TOOLS_PATH%"

for %%i in (%SMK_PATH%\*.smk) do call convert_dxa_one "%%i"

echo Converting finished!

Code: Select all

convert_dxa_one.bat
@echo off

if "%DXA_CONVERT%"=="CORRECT" goto proceed

goto usage

:proceed

echo Processing %1...
"%BINK_PATH%\BinkConv.exe" %1 "%SMK_PATH%\%~n1.png" /n-1 /z1 /#
"%BINK_PATH%\BinkConv.exe" %1 "%SMK_PATH%\%~n1.wav" /v /#
cd /d "%SMK_PATH%"
"%TOOLS_PATH%\encode_dxa.exe" --vorbis "%~n1.smk"
echo Deleting temp files
del "%SMK_PATH%\%~n1*.png"
del "%SMK_PATH%\%~n1.wav"
move "%SMK_PATH%\%~n1.*" "%DXA_PATH%"
cd /d "%TOOLS_PATH%"

goto quit

:usage
echo Please, modify and run convert_dxa.bat

:quit
User avatar
Longcat
Posts: 1061
Joined: Sat Sep 23, 2006 3:15 pm

Post by Longcat »

uhm, I think smacker video is supported in the daily builds now, sho I guess you don't really have to convert anything.
Nevyrmoore
Posts: 2
Joined: Mon May 18, 2009 11:39 pm

Post by Nevyrmoore »

Huh...well look at that. Here I was thinking the Smacker issue was the same as it was a few years back.

Thanks for pointing that out...kinda feel like a giant prat now.
User avatar
Longcat
Posts: 1061
Joined: Sat Sep 23, 2006 3:15 pm

Post by Longcat »

wel, it's not officially supported yet, so there's no reason to feel like anything:P
Frozen
Posts: 17
Joined: Wed Jun 13, 2007 3:43 pm

Post by Frozen »

I have a problem with Polish version of The Feeble Files (2CD). When I run TFF in ScummVM all text are in English:
ImageImage
Without ScummVM all text are in Polish:
ImageImage
Voices are in Polish in both cases.

What may be the reason?
fingolfin
Retired
Posts: 1452
Joined: Wed Sep 21, 2005 4:12 pm

Post by fingolfin »

Interesting, I just was talking to Kirben about the polish version... because my english FF version gets detected as both english and polish.

So, we were wondering if the polish version contained any polish text at all. Have you ever played the "original" .exe and know for sure whether it does?
Frozen
Posts: 17
Joined: Wed Jun 13, 2007 3:43 pm

Post by Frozen »

fingolfin wrote:Have you ever played the "original" .exe and know for sure whether it does?
Yes, I have played in my old computer (with Windows 98 ) a few years ago. I'm sure that all texts in Oracle and all texts during the conversations were in Polish.
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3561
Joined: Mon Oct 31, 2005 7:39 am

Post by eriktorbjorn »

Could the Polish text be stored in a separate file that ScummVM does not (yet) know how to handle? I'm just speculating...
Frozen
Posts: 17
Joined: Wed Jun 13, 2007 3:43 pm

Post by Frozen »

It's possible. Inside the file "game33" I found Polish texts mixed with some English texts. For example:
Anyway, for people look you, Charisma X is THE supplement to have! There are no messages waiting at the moment. I trust this meets your satisfaction, sah? Affirmative, sah. I feel like a new robot. Phew! It worked then? w ci#gu ka[dego cyklu odmawiaj#cych wsp>^pracy. Stanowi^y znaczn# cz\@$ Wst\pnych Si^ Zbrojnych .
It should be: w ciągu każdego cyklu odmawiających współpracy. Stanowiły znaczną część Wstępnych Sił Zbrojnych. There's no polish letters in this file, so #=ą, [=ż, >=ó, ^=ł etc.
Kirben
Posts: 421
Joined: Wed Sep 21, 2005 12:15 pm
Location: Melbourne, Victoria, Australia

Post by Kirben »

Yes, it sounds like this Polish version is getting the subtitles from an external file.

Did you mean GAME22 file, rather than GAME33 file?

What other additional files do you notice? if you exclude the essential data files.
Frozen
Posts: 17
Joined: Wed Jun 13, 2007 3:43 pm

Post by Frozen »

Kirben wrote:Did you mean GAME22 file, rather than GAME33 file?
I have two files:
- GAME22 (Size: 254KB)
- game33 (Size: 261KB)
Kirben wrote:What other additional files do you notice? if you exclude the essential data files.
Disk1, Disk2, Disk3, Disk4, os.dat, icons, install/uninstall files, SMACKW32.DLL, Run95.exe, and two .ini files:

flojd.ini

Code: Select all

[install]
Dest=C:\gry\Flojd
Title=Flojd
Src=flojd.rar
Exe=run95.exe
ExeParam=game33 $DRIVE
ExeIcon=flojd.ico
Name=Flojd

[registry1]
MainKey=HKEY_LOCAL_MACHINE
Key=\Software\Flojd
Name1=InstallPath
Value1=$DESTPATH\run95.exe game33 $DRIVE
start.ini

Code: Select all

SETUP = install.exe flojd.ini
RegKey = Software\Flojd
RegValue = InstallPath
Kirben
Posts: 421
Joined: Wed Sep 21, 2005 12:15 pm
Location: Melbourne, Victoria, Australia

Post by Kirben »

Frozen wrote: I have two files:
- GAME22 (Size: 254KB)
- game33 (Size: 261KB)
It looks like ScummVM should be using the game33 file, rather than the game22 in this version.

If you rename the game33 file to game22, what md5 details does ScummVM report?
Frozen
Posts: 17
Joined: Wed Jun 13, 2007 3:43 pm

Post by Frozen »

Kirben wrote:If you rename the game33 file to game22, what md5 details does ScummVM report?
"game22", "cda37c422c04dde8b8ab3405178b3ef9", 266565
"save.999", "71512fc98501a8071a26b683a31dde78", 3360
"tbllist", "0bbfee8e69739111eb36b0d138da8ddf", 668
Post Reply