HOWTO-LoomTG16

From ScummVM :: Wiki
Revision as of 21:25, 16 March 2022 by RichieSams (talk | contribs) (Update link to TurboRip)
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]/[Alternative Link]

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. TurboRip can be found here.

Tool option 3 - Ootake

Ootake is a PC Engine/Turbografx emulator, it includes support for dumping the code tracks from the disc. Ootake requires the user to dump the system card bios from a real Turbografx before it will allow you to dump the tracks.

Ootake can be found here.

Linux

Under Linux there are two methods which may work for you.

Tool option 1 - extract_loom_tg16.sh

This script will be (after 2.5.0) part of the ScummVM tools that can be found on the downloads page.

Tool option 2 - dumpcd

If you need to compile the dumpcd code yourself. This can be found here.

Extracting the code track from CD

Using extract_loom_tg16.sh

This tool uses a combination of cdrdao, bchunk and - optionally - flac to dump the data from the CD. You should hopefully be able to find packages for all of these for your Linux distribution. It then uses scummvm-tools-cli for the final extraction. Use the --help option to see a list of allowed options. It will create loom.cue and loom.bin files in your current directory. If, for some reason, you need to dump the CD again, you will need to remove these files or the script will re-use them as is. Here is an example of a command line to use:

   extract-loom-pce.sh --compress ./loom-extracted

This will compress the audio tracks to FLAC and place them, along with the extracted *.LFL files, in the loom-extracted subdirectory.

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 then you can either compile the dumpcd source code or use the precompiled binary. Once you have dumpcd working then navigate to the folder containing dumpcd with the terminal and use the command:

   'dumpcd -d /dev/cdrom' - Where /dev/cdrom relates to your individual CD-Rom drive

If everything goes well then you should have a file called ‘CODE_02.ISO’ in your dumpcd directory. If you are extracting the English version, the md5 should be: 40015B9D4B6A88C623BBC8AB2693A152. The Japanese version's md5 is A2281C014DFED8C4FF7B2C098EB79500.

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

Using TurboRip

Run a command prompt and navigate it to the directory containing TurboRip.exe. Run TurboRip.exe and it will prompt you to enter the CD-ROM device you want to use. Choose your device using the correct parameter. The disc TOC should be recognised as Loom(U) or Loom(J) and extraction will begin.

If this has been successful there should be a number of files in your TurboRip directory. You will need the ISO file for track 2.

Check its md5 against 10432E01B7F133F24AB7550614943FB3 for the English version and BBF72CAEB6659F56C20FFF53B55DD8C0 for the Japanese version.

If this is the case you can now move on to the section entitled 'How to extract the SCUMM resource files'.

How to extract the SCUMM resource files

Download the latest version of the ScummVM tools package on the downloads page. Use either the graphical front end, with the extract_loom_tg16 tool, on your dumped code track. Alternatively, you can use the command-line version:

   scummvm-tools-cli --tool extract_loom_tg16 -o output-directory dumped-track

Where output-folder is the directory where you want the extract files, and dumped-track 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 you selected. Furthermore, you should rip the audio tracks as described in in the manual. There are 21 tracks, and - as always - ScummVM expects them to be numbered 1 through 21.

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.