home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
PCBOARD
/
WIPEV073.ZIP
/
DIRMOD.DOC
next >
Wrap
Text File
|
1994-03-18
|
12KB
|
258 lines
┌───────────────────┬───────────────────┐
│ │ ──────── │
└─────┐ ┌─────┤ ──────── │
└───────┘ └───────────────────┘
───═══╡ Thrust Brothers ╞═══───
PROGRAMM DIRMOD [TP701] V0.27ß
INTRO DIRMOD is used by several Thrust Brothers production and therefor
u have to insert it to a dir in path to make the TB productions
work well. U dont need to understand the function of the program
just follow the install function of the TB production.
If you like it to use it for your needs, read the following DOC.
Herein you find the install procedure and the how-it-work info.
WHAT IS IT
DIRMOD changes/modifies a given filelist (PCB format) with
given data.
1: add files (doesnt check if bin or txt files!!) to a given filelist
(even if the currently accessed filelist is being used by other nodes!!)
syntax is
DIRMOD DRIVE:\PATH\FILELIST
first it search for filelist, and if exist, it searchs for
DRIVE:\PATH\FILELIST.ADD
to merge it to filelist....so if u use it for your needs, just copy
the to be add file to your path where the filelist can be found and
start dirmod, or just add dirmod to your $$LOGOFF.BAT file e.g.
DIRMOD F:\PCB\MAIN\IBM
DIRMOD F:\PCB\MAIN\AMIGA
DIRMOD F:\PCB\MAIN\PORN
for each list one line!!!,..so if DIRMOD find now IBM.ADD or AMIGA.ADD
it will merge it to the list...
you can add whatever you like to, coz dirmod just ADD, not check for data
the .ADD file have to be in the same dir as the fielist, coz DIRMOD
just add to given path/filelist the extension .ADD (or .MOD) and access it
so fielist like PC.DIR wont function...same for .MOD access
2: second function is to replace data in filelist with new data
(WIPE needs it to replace faked files in filelist with changed info)
this function is called right after the upper rout, so u dont
need to start id twice for the second function, DIRMOD scans the path
where the given filelist is for a file named filelist.MOD, e.g. for upper
example if DIRMOD finds IBM.MOD or AMIGA.MOD in given path, it tries to
replace given data with found data
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Due to the fact, that adding needs some milsecs and changing data the
need of scanning whole filelist, the second function only works if
no access is running to given filelist. but doesnt matter, coz if
DIRMOD cant change data coz of access of other node, it will try to change
it next time if dirmod is being called (maybe next logoff or whatever)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.ADD and .MOD files will be deleted after succeded change/modify so if
.MOD couldnt be inserted to filelist (due to access error), it stays online
until DIRMOD is possible to insert in to filelist....
SYNTAX OF .MOD files.....
well with dirmod u can do almost all changes you need, if you pay attention
to syntax to .MOD files....
e.g. let this be a part of given filelist, called: PC
SUP308.ZIP 12250 03-01-94 Technical Support Bbs's
| @X09Uploaded by:@X0F System
|
VIDIO120.ZIP 11165 03-01-94 BIOS-DOS-ANSI text mode video benchmarks
| Compatible with SVGA/VGA/EGA, snow-free CGA
| and MDA/HGC+ adapters, PC and PS/2 machines.
| @X09Uploaded by:@X0F System
|
LOSTSPAC.ZIP 776535 03-01-94 PC SECTION + LOST IN SPACE + 9th Place at
| The Party III GUS ONLY MADE IN FRANCE
| @X09Uploaded by:@X0F Lord Cyrix
|
now DIRMOD checks for two kinds of matches...let us exchange vidio120.zip
ok
1: PC.MOD contains only
VIDIO120.ZIP 11165 03-01-94 Thats only a test.....
| @X09Uploaded by:@X0F System
|
after you called: DIRMOD PC the final PC should look like that
SUP308.ZIP 12250 03-01-94 Technical Support Bbs's
| @X09Uploaded by:@X0F System
|
VIDIO120.ZIP 11165 03-01-94 Thats only a test.....
| @X09Uploaded by:@X0F System
|
LOSTSPAC.ZIP 776535 03-01-94 PC SECTION + LOST IN SPACE + 9th Place at
| The Party III GUS ONLY MADE IN FRANCE
| @X09Uploaded by:@X0F Lord Cyrix
|
you see, dirmod checks the fist 34 chars of clueline in .MOD file
and if match in filelist, it will kill all following lines
until a new filename is found and replace the data with all lines
found in .MOD file until new block
PAY attetion a .MOD file like this only:
VIDIO120.ZIP 11165 03-01-94 Thats only a test.....
will not replace only this line but all lines until next filename:
SUP308.ZIP 12250 03-01-94 Technical Support Bbs's
| @X09Uploaded by:@X0F System
|
VIDIO120.ZIP 11165 03-01-94 Thats only a test.....
LOSTSPAC.ZIP 776535 03-01-94 PC SECTION + LOST IN SPACE + 9th Place at
| The Party III GUS ONLY MADE IN FRANCE
| @X09Uploaded by:@X0F Lord Cyrix
|
DIRMOD can handle more than one entry in :MOD file, so e.g. this .MOD file
will change all found data...e.g. this will change all thre file descripts:
CSETM004.ZIP 2347606 03-01-94 Tools v.2.0 CSD CT0004 for tool component C
| User Interface !only for C++ Set v2.0!
| @X09Uploaded by:@X0F Diamond Brain
|
DIR_VLA.ZIP 7931 03-01-94 [ASM] Several usefull sources in ASM for DOS
| operations. From VLA.
| @X09Uploaded by:@X0F Diamond Brain
|
DOOMLD.ZIP 80991 03-01-94 DOOMLOAD v1.5 update! Sets up network games
| easier and makes gameplay more fun for
| network users and single players by adding a
| "sudden Death" feature that plops you on a
| random level in a random episode. Now
| supports creating/playing back of your own
| LMP movies. Better "bug-free" support for
| Quicknet play. Quicknet password feature
| keeps out unwanted players. Choose starting
| episode and level! Also, play-logging for
| network games (100% Netware compatible)!
| @X09Uploaded by:@X0F Diamond Brain
|
you only have to pay attention in use with DIRMOD, that data to be changed
should be in date/order...newer files MUST come after old one
coz DIRMOD changes sequentially dtata and cant jump backward if found
older data in .MOD file (yes it's codeable, but will cost too much
time to jump around filelist to chnage randomly found data in .MOD file!!!)
do that will not function
filenam1.zip size 03-08-94 blabla
filenam2.zip size 03-05-94 blabla
filenam3.zip size 03-09-94 blabla
DIRMOD will change filenam1 and filenam3 but not filenam2, coz after changing
filenam1 it arrived at 03-08-94 and in a normal filelist should date be
sequential not randomly sorted!!! (except ALPHA 2010 :)) well dude I dont
know, why u chose to sort your filelist alphabetically?!?!?!
anyway....
well the prob is, after changing data, and renaming the fielist.bak file
to filelist back, it deletes .MOD file and the unchanged fielnam2 stays
unchanged!!!...it's in your way to use it efficiently...
the second match is like that...
if .MOD file contains that:
|VIDIO120.ZIP 11165 03-01-94 BIOS-DOS-ANSI text mode video benchmarks
| Compatible with SVGA/VGA/EGA, snow-free CGA
| and MDA/HGC+ adapters, PC and PS/2 machines.
| @X09Uploaded by:@X0F System
|
the finoshed filelist will look like that....
SUP308.ZIP 12250 03-01-94 Technical Support Bbs's
| @X09Uploaded by:@X0F System
|
|VIDIO120.ZIP 11165 03-01-94 BIOS-DOS-ANSI text mode video benchmarks
| Compatible with SVGA/VGA/EGA, snow-free CGA
| and MDA/HGC+ adapters, PC and PS/2 machines.
| @X09Uploaded by:@X0F System
|
LOSTSPAC.ZIP 776535 03-01-94 PC SECTION + LOST IN SPACE + 9th Place at
| The Party III GUS ONLY MADE IN FRANCE
| @X09Uploaded by:@X0F Lord Cyrix
|
well you will ask, whatfor, well, the WIPE ppe (FAKER PPE) use this function
to mark files as faked, coz after the change the line is colored
like normal txt line in filelist, so it's the best
way (hope so) to mark fakes, with changeing colors in filelist.
if you scroll such filelist, this line doesnt look like other normal lines
so u see it instantly that something is 'unnormal' with this file!!!
we use that syntax for marking fakes....(seems to be better as only chagening
the size for a 'DELETED' string....
e.g. vidio is a fake..so after faking, the filelist will look like that
(prepare your fielist with such a line and scroll it in PCBOARD, u will see
the difference)
SUP308.ZIP 12250 03-01-94 Technical Support Bbs's
| @X09Uploaded by:@X0F System
|
|VIDIO120.ZIP 11165 03-01-94 BIOS-DOS-ANSI text mode video benchmarks
| @X0FFAKE - DOUBLE U/L
| @X09Faked User:@X0F System
|
LOSTSPAC.ZIP 776535 03-01-94 PC SECTION + LOST IN SPACE + 9th Place at
| The Party III GUS ONLY MADE IN FRANCE
| @X09Uploaded by:@X0F Lord Cyrix
|
anway..feel free to do what you like...this second match function only works
if you shift the lien right for 2 position and add in front a ' |' string
in words (space + pipe) :).....
in case that you might think that dirmod can fake up your fielist, dont worry
a .BAK file is created before changeing data...
There are some messages being displayed to you while working
e.g.
c:\DIRMOD C:\PCB\MAIN\PC
WARNING! No addfile found, nothing to do!
WARNING! No modfile found, nothing to do!
c:\
that means, dirmod accessed PC in \pcb\main and couldnt found PC.MOD and PC.ADD
in same dir....
if one of this line is missing, DIRMOD found the file and changes data...
Special to Butterball/Phil(WOW) and all DV/SHARE.EXE user:
I've tested this proggy with SHARE.EXE and know that it works under DV
so dont tell me, that it wont work!!!...<grin>...
Haegar Thrust
LAST WORDS:
OK, thats all for now..if you have probs email
PHIL THRUST on your favourite BBS or dudes like
WERNER&TARDY or BUTTERBALL, they can pass me your mail
and maybe the solution to your problem back to you.
Thrust Brothers are HAEGAR THRUST and PHIL THRUST
(Thanks to EGO for coding parts of this proggy)
The System