HOWTO-LoomTG16

From ScummVM :: Wiki
Revision as of 20:59, 13 May 2008 by Sanguinehearts (talk | contribs) (New page: == Introduction == This is a description of how to rip the code track from the PC-Engine/TurboGrafx 16 version of Loom, and also what to you need to do to extract the *.LFL files from thi...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

This is a description of how to rip the code track from the PC-Engine/TurboGrafx 16 version of Loom, and also what to you need to do to extract the *.LFL files from this code track. It currently describes how to do this for Win32 and Linux users.

Tools

Win32


If you are using Win32 there are two methods which may work for you.

Tool option 1 - dumpcd

The first method will require you to obtain the dumpcd utility from here.

There is also a version with a GUI available here.

Tool option 2 - TurboRip

If this first method does not work for you then you will need to attempt another method.

This method involves the use of TurboRip and a hex editor. TurboRip can be found here.

hint: The file is named 'TurboRipV100.RAR'

You may use a hex editor of your choice.


Linux


Tool option 1 - dumpcd

If you are using Linux you will need to compile the dumpcd code yourself. This code can be found here: here.


Extracting the code track from CD

Using dumpcd

If you are using dumpcd on Win32 you will need to:

Extract dumpcd.exe into a suitable folder on your computer and start a command prompt, navigate the command prompt to the directory containing dumpcd.exe.

Ensure the Loom CD is in your CD-Rom drive and run dumpcd.exe with the following command line:

   'dumpcd.exe ‘drive’ c' - Where ‘drive’ is the letter of your CD-Rom drive.

If you are using Linux the compile the dumpcd source code. Once you have compiled dumpcd navigate to the folder containing dumpcd with the terminal and use the command:

   'dumpcd.out 'drive' c' - Where ‘drive’ is the letter of your CD-Rom drive.


If everything goes well then you should have a file called ‘CODE_02.ISO’ in your dumpcd directory. You should check this file for an md5 matching: 40015B9D4B6A88C623BBC8AB2693A152.

If this is the case you can now skip to the section entitled ‘How to extract the SCUMM Resource files'

Using TurboRip

Rip the code track using TurboRip which should output an iso file for the code track Then load up the code iso then load the iso up in your favourite hex editor and strip from byte 614800 until the end of the file, This should all be null data.

Save the file and then check its md5 against : 40015B9D4B6A88C623BBC8AB2693A152.


How to extract the SCUMM resource files

Download the latest version of extract_loom_tg16 from the tools package on the downloads page. Include this file in the same directory as your dumped code track.

Open the command prompt and navigate to the directory containing both your dumped code track and extract_loom_tg16.exe. Run extract_loom_tg16 from the command prompt with the following command:

   extract_loom_tg16 ‘CODE_02.ISO’

Where CODE_02.ISO is the name of the ISO file you extracted.

If everything has gone correctly you should now have a pile of *.LFL files in the directory containing your ISO file.

The md5 for your 01.LFL file should be: 0650E8AB1432564607CD651C0FA3F344.

You should then navigate ScummVM to this directory to enable you to play the game.

The ScummVM team are not responsible for the content of any external sites linked to on this page.