Please help! help needed for installer
#1

hi all - im looking for a simple command line app that can find duplicate entries within a text file, this is so i can create installer for our mods - so that we dont need to insert text into filelist.txt - if i could get a command line app which could find duplicate entries i could make an installer that could write /merge the data needed for filelist.txt

anyone know any software with command line?
Reply
#2

The Lock On comunity is using one exe that does the adding of lines in some configs... wait a bit to search for it.
Reply
#3

OK, I've checked.

Apparently it cannot find duplicates it only can add lines in files and sections of files.

It has an EXE and a config that tells it what to do.

This is how a config example looks:

Quote:config/graphics.cfgTextureCollectionsaddcommon = ".\\Bazar\\World\\walmisWeapons.cdds";-i
config/graphics.cfgTextureCollectionsremcommon = ".\\Bazar\\World\\walmisWeapons.cdds";-u

First line is for Install second for uninstall

It tells the exe:

go to file "config/graphics.cfg" (is a relative path, I don't know if its supports absolute paths like: C:\program files\Ubisoft... etc) and add "common = ".\\Bazar\\World\\walmisWeapons.cdds" " to the "TextureCollections" section.

The tool is not an official lock on tool but made by some modmaker from lock On comunity (Walmis I think) and it could know to do more than I know.

Want me to search more?
Reply
#4

well i can do that anyway - i can add lines of txt into the filelist.txt but i cannot look for duplicate strings afterwards which i would very much like to do

its easy with dos to add lines of txt just by merging 2 files together
so if 1 file has the txt you want to add (add.txt) & the other is what you want to add to (filelist.txt)
you would do this

copy filelist.txtm + add.txt

this will merge the 2 files together

but we really need something to find duplicate entries :wink:

thx for help though
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)