Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Trying to modify knowledge_adventure.bms to work with subdirectories

Featured Replies

  • Author
  • Localization

HeadsetGuy, posted Mon Jan 07, 2019 6:15 am (42013)


Hello,

I have two Knowledge Adventure archives (JSKR from JumpStart Kindergarten Reading, and TREE from My First Encyclopedia). When trying to run knowledge_adventure.bms on them, it extracts the files that should be in the root directory, but instead it extracts them to whatever the last subdirectory was that it found. It also does not extract any files from other subdirectories at all, or even name them.

Example: In JSKR, It extracts ARROW.CMP, CLUEFLOW.TXT, DEFAULT.FNT, JSKR.CMP, MAKEFILE, START.DNA, START.INF, START.PAC, and TITLE.TXT. These should be extracted directly to the directory I'm trying to extract them to; instead, it extracts them into "SI". It does nothing with the other directories (AA, AC, BA, BC, CA, CC, etc.).

I know where the problem is, but I don't know how to (completely) fix it. I moved this line to an "else" following the directory flags:

Code:
set PATH string ""


and that was able to extract the files at the root to the root, and create the subdirectories (with files containing the data also having the same name), but it couldn't do anything else. Incidentally, in the original version, that line was put before the "for" loop, but a different line was put within it:

Code:
set PATH string NAME


so that's why it puts the files in the last directory it found.

As for extracting all the files to their proper directories, I'm stumped at this point. I've attached my modified script here.

Here is a link to a 7Z file containing both archives: https://www.dropbox.com/s/i7yj0oqgnaqcf ... kr.7z?dl=0

Thanks in advance for any help.

-Johnny

knowledge_adventure02.bms

  • Author
  • Localization

HeadsetGuy, posted Sun Jan 13, 2019 11:33 pm (42318)


Thank you so much! Yes, I think there are 2 types.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.