Author Topic: REQ: FILE_IS_IN_COMPRESSED_BIFF  (Read 1025 times)

Offline King Diamond

  • Planewalker
  • *****
  • Posts: 101
REQ: FILE_IS_IN_COMPRESSED_BIFF
« on: May 17, 2006, 09:39:39 AM »
ACTION_IF FILE_IS_IN_COMPRESSED_BIFF ~AM1000.WAV~ THEN BEGIN

  COPY_EXISTING ~AM1000.WAV~ ~override~

END

It could be very useful...sometimes.  8)

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: REQ: FILE_IS_IN_COMPRESSED_BIFF
« Reply #1 on: May 17, 2006, 11:58:10 AM »
I cannot detect (trivially at least) if a file is in a compressed bif  :(

what would be the point, though?
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline King Diamond

  • Planewalker
  • *****
  • Posts: 101
Re: REQ: FILE_IS_IN_COMPRESSED_BIFF
« Reply #2 on: May 18, 2006, 02:59:14 AM »
To detect if an ambient is in a compressed BIF and need to be extracted to \override\ (and/or biffed later) to be used in a mod. It'll be a CTD otherwise....
BMs extract such ambients by default right now, but such actions make many duplicating copies. It's not a big deal if you have 100Gb of free space, but it would be nice to have some tools to minimize a size of the final installation too....  ;)

So, you're sayind that it's non-trivial task? But you still can detect if for --biff-get to extract properly. Is it difficult to introduce the same detection for a script?

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: REQ: FILE_IS_IN_COMPRESSED_BIFF
« Reply #3 on: May 18, 2006, 04:31:42 AM »
To detect if an ambient is in a compressed BIF and need to be extracted to \override\ (and/or biffed later) to be used in a mod. It'll be a CTD otherwise....
BMs extract such ambients by default right now, but such actions make many duplicating copies. It's not a big deal if you have 100Gb of free space, but it would be nice to have some tools to minimize a size of the final installation too....  ;)

So, you're sayind that it's non-trivial task? But you still can detect if for --biff-get to extract properly. Is it difficult to introduce the same detection for a script?
I just needed a valid reason to code this, and CTDs count as valid  :D

will do once at home.
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline Rastor

  • Planewalker
  • *****
  • Posts: 271
  • Author of the book, "Being a Jerk for Dummies"
    • RPG Dungeon
Re: REQ: FILE_IS_IN_COMPRESSED_BIFF
« Reply #4 on: May 21, 2006, 01:36:45 PM »
Question:  Doesn't COPY_EXISTING already do this?

Offline Grim Squeaker

  • Fallen
  • Planewalker
  • *****
  • Posts: 1019
  • Gender: Male
Re: REQ: FILE_IS_IN_COMPRESSED_BIFF
« Reply #5 on: May 21, 2006, 01:42:47 PM »
You'd think this would do it:

Code: [Select]
COPY_EXISTING ~foo.bar~ ~override/foo.bat~
     BUT_ONLY_IF_IT_EATS_CHEESE
"You alone can make my song take flight..."

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: