You have to use a formula to tell what frames are what as there are like 6400 frames in each instead of what is listed. It is to scale though. 1 number in the animations.txt = a certain number of frames.
[edit] This code posted in your other thread about DM2 animations should work.
set object speed objnumber, objspeed
loop object objnumber,f(startframe,objnumber),f(endframe,objnumber)
rem to put this function after your main loop
function f(frame,obj)
t_frames = total object frames(obj)
fr = int(frame * (t_frames / 650))
endfunction fr