Difference between revisions of "HOWTO-LoomTG16"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Correct download link typo)
(→‎Using extract_loom_tg16.sh: fix tool name in the example)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Introduction ==
== 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.
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.
It currently describes how to do this for Win32 and Linux users.


== Tools ==
== Tools ==
Line 12: Line 11:
==== Tool option 1 - dumpcd ====
==== Tool option 1 - dumpcd ====


The first method will require you to obtain the dumpcd utility from [[http://www.zeograd.com/misc_download.php here]]/[[https://adrianastley.com/files/scummvm/dumpcd.exe.gz Alternative Link]]
The first method will require you to obtain the dumpcd utility from [[http://www.zeograd.com/misc_download.php here]]/[[https://downloads.scummvm.org/frs/extras/Utils/dumpcd.exe.gz Alternative Link]]


There is also a version with a GUI available [[https://adrianastley.com/files/scummvm/windumpcd.rar here.]]
There is also a version with a GUI available [[https://downloads.scummvm.org/frs/extras/Utils/windumpcd.rar here.]]


==== Tool option 2 - TurboRip ====
==== Tool option 2 - TurboRip ====
Line 21: Line 20:


This method involves the use of TurboRip.
This method involves the use of TurboRip.
TurboRip can be found [https://adrianastley.com/files/scummvm/TurboRipV100.rar here.]
TurboRip can be found [https://downloads.scummvm.org/frs/extras/Utils/TurboRipV101.zip here.]


==== Tool option 3 - Ootake ====
==== Tool option 3 - Ootake ====
Line 30: Line 29:


=== Linux ===
=== Linux ===
Under Linux you are required to use dumpcd when extracting your code track. Provided below are the dumpcd sources.


==== Tool option 1 - dumpcd ====
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 [https://adrianastley.com/files/scummvm/dumpcd-0.1.zip here.]
If you need to compile the dumpcd code yourself. This can be found [https://downloads.scummvm.org/frs/extras/Utils/dumpcd-0.1.zip here.]


== Extracting the code track from CD ==
== 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_tg16.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 ===
=== Using dumpcd ===
Line 52: Line 61:


     'dumpcd -d /dev/cdrom' - Where /dev/cdrom relates to your individual CD-Rom drive
     '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 everything goes well then you should have a file called ‘CODE_02.ISO’ in your dumpcd directory.  
Line 62: Line 70:
=== Using TurboRip ===
=== Using TurboRip ===


Run a command prompt and navigate it to the directory containing TurboRip.exe.  
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.
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.  
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.
You will need the iso file for track 2.


Check its md5 against ''10432E01B7F133F24AB7550614943FB3'' for the English version and ''BBF72CAEB6659F56C20FFF53B55DD8C0'' for the Japanese version.
Check its md5 against ''10432E01B7F133F24AB7550614943FB3'' for the English version and ''BBF72CAEB6659F56C20FFF53B55DD8C0'' for the Japanese version.
Line 76: Line 80:
== How to extract the SCUMM resource files==
== 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.
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:
 
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’''
     ''scummvm-tools-cli --tool extract_loom_tg16 -o output-directory dumped-track''


Where CODE_02.ISO is the name of the ISO file you extracted.
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 containing your ISO file.  
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.
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.
The ScummVM team are not responsible for the content of any external sites linked to on this page.

Latest revision as of 15:02, 5 November 2022

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_tg16.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.