Opened 2 years ago

Closed 2 years ago

#13248 closed defect (fixed)

WEB: "HOWTO-LoomTG16" is out of date (new Linux extraction script included)

Reported by: eriktorbjorn Owned by: eriktorbjorn
Priority: normal Component: Web
Version: Keywords:
Cc: Game: Loom

Description (last modified by eriktorbjorn)

The Wiki instructions for how to extract the PC Engine/TurboGrafx-16 version of Loom has unfortunately suffered some bit rot over the years. Not surprising I guess, since it's a fairly obscure version:

https://wiki.scummvm.org/index.php?title=HOWTO-LoomTG16

  • Win32, Tool option 1 - dumpcd: The "Alternative Link" is dead.
  • Win32, Tool option 2 - TurboRip: The link is dead.
  • Linux, Tool option 1 - dumpcd: The source code link is dead.
  • I don't think extract_loom_tg16 exists as a standalone tool any more? I had to use scummvm-tools-cli instead.

I do not have any suggestion for how to fix these links, though I do still have a copy of dumpcd-0.1.zip. I've attached a copy of it here.

I've also spent some time trying to find a way to extract the data without having to resort to exotic tools. I've attached my work-in-progress script. It's as good as I can make it, but perhaps someone will better scripting skills can improve it?

Attachments (4)

dumpcd-0.1.zip (67.9 KB ) - added by eriktorbjorn 2 years ago.
extract-loom-pce.sh (1.6 KB ) - added by eriktorbjorn 2 years ago.
extract-loom-pce.2.sh (2.0 KB ) - added by eriktorbjorn 2 years ago.
extract-loom-pce.3.sh (2.8 KB ) - added by eriktorbjorn 2 years ago.

Download all attachments as: .zip

Change History (15)

by eriktorbjorn, 2 years ago

Attachment: dumpcd-0.1.zip added

by eriktorbjorn, 2 years ago

Attachment: extract-loom-pce.sh added

comment:1 by eriktorbjorn, 2 years ago

Description: modified (diff)

comment:2 by eriktorbjorn, 2 years ago

Description: modified (diff)

comment:3 by eriktorbjorn, 2 years ago

The bin/cue files generated by this script can be run in the Mednafen emulator, which may be good for comparison, but I'm getting noise instead of sound. I'll experiment with options to cdrdao to see if that can be fixed.

by eriktorbjorn, 2 years ago

Attachment: extract-loom-pce.2.sh added

comment:4 by eriktorbjorn, 2 years ago

I've added an updated version of my script. As I suspected, the problem was related to the byte order of the data. After some experimenting, what I came up with for cdrdao was so close to the command in the DOSBox documentation that I decided to just copy theirs. That means byte swapping is no longer done by bchunk.

So the first version of the script works fine for ScummVM purposes, but for use in emulators such as Mednafen the second script works better.

This allowed me to see that a text glitch I've been hunting for (where note names are sometimes drawn with the wrong font, I think?) happens in the original as well.

by eriktorbjorn, 2 years ago

Attachment: extract-loom-pce.3.sh added

comment:5 by eriktorbjorn, 2 years ago

Third, and hopefully final, version of my script:

The output directory can now be specified, and the script will check that it's empty before doing anything.

FLAC compression is no longer done by default. Use the --compress option for that. The reasoning here is that this makes it easier for the user to do whatever compression he wants afterwards.

The --keep option tells the script to not delete any remaining temporary files afterwards.

comment:6 by eriktorbjorn, 2 years ago

Summary: "HOWTO-LoomTG16" is out of date"HOWTO-LoomTG16" is out of date (new Linux extraction script included)

comment:7 by eriktorbjorn, 2 years ago

People who have tested the extraction script so far, that I know of:

User OS Comment
eriktorbjorn Debian (bookworm) I've successfully extracted the English version. Datafiles are identical to my old extracted version, that I no longer remember how I did. In the case where audio differed, my old files had static that the new ones did not.
dwa Debian "Hi, it works perfectly for me on Debian 11 with my original Japanese PC-Engine CD (JCCD2009). LFL content is identical to my previous dumpcd dump, and audio appears to be OK too"

comment:9 by eriktorbjorn, 2 years ago

Summary: "HOWTO-LoomTG16" is out of date (new Linux extraction script included)WEB: "HOWTO-LoomTG16" is out of date (new Linux extraction script included)

comment:10 by eriktorbjorn, 2 years ago

I've committed the extraction script to scummvm-tools as extract_loom_tg16.sh (for consistency with the extract_loom_tg16 tool).

I've updated the instructions in the Wiki as best as I could, but the links are still dead.

comment:11 by eriktorbjorn, 2 years ago

Owner: set to eriktorbjorn
Resolution: fixed
Status: newclosed

Everything should be updated now, I hope.

Note: See TracTickets for help on using tickets.