00.LFL File Format

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
kat15pl
Posts: 4
Joined: Tue Jan 23, 2007 10:53 pm

00.LFL File Format

Post by kat15pl »

Hi @ll:)

Sorry 4 disturb, but I wanna know how to decode "scripts" and what is in (for ex. in Room Block) in 00.LFL (ex. Indiana Jones And the Last Crusade)??
fingolfin
Retired
Posts: 1452
Joined: Wed Sep 21, 2005 4:12 pm

Post by fingolfin »

Take a look at http://wiki.scummvm.org/index.php/SCUMM ... _Reference

In particular, under the "External links" section.

As for decoding the scripts, take a look at the "descumm" tool part of the ScummVM tools package.
kat15pl
Posts: 4
Joined: Tue Jan 23, 2007 10:53 pm

Post by kat15pl »

so... thx a lot;]

EDIT:
Well... in I was in all of links in "External links" (mixmojo.com, scummvm, etc.) but there is what is in ex. 10.lfl, 20.lfl, 33.lfl, etc., but no what (and how to decode) in 00.lfl :( (or i'm a blind;p) (sorry 4 my english)
tobybear
Posts: 21
Joined: Thu Jan 25, 2007 8:26 am

Post by tobybear »

kat15pl
Posts: 4
Joined: Tue Jan 23, 2007 10:53 pm

Post by kat15pl »

If I good understand this is it:
Block Size (4 bytes)
Block Name (2 bytes)
No of items (2 bytes)
*Room Number (1 byte)
*Offset (4 bytes)

??
But I can't understand for what is it:] etc.;p

EDIT:

what about scripts??, costumes (WTF is it), etc.?? (how to decode them)
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

The ScummVM source code (SCUMM engine) itself is a wonderful source for what you want to do...
kat15pl
Posts: 4
Joined: Tue Jan 23, 2007 10:53 pm

Post by kat15pl »

yeah:) if u know c/c++ :]
fingolfin
Retired
Posts: 1452
Joined: Wed Sep 21, 2005 4:12 pm

Post by fingolfin »

*All* your questions are answered by reading through the links on the page I told you (and the other links given here by nice & helpful people are all from that page, too).

You simply will have to put some effort into it: Read through them, re-read them, figure out to interpret the tables etc. -- don't expect other people to do this work for yourself. If you want to have any chance to master this, you will *have* to be persistent and try to figure out things by yourself (well, not entierly by yourself, after all, you can read all those helpful webpages).
Post Reply