Please help! help needed for installer - Printable Version
+- All-Aircraft-Simulations (
https://allaircraftsimulations.com)
+-- Forum: IL2 MODS Download & Discussion (
https://allaircraftsimulations.com/forumdisplay.php?fid=267)
+--- Forum: IL-2 4.09m (
https://allaircraftsimulations.com/forumdisplay.php?fid=348)
+---- Forum: IL2 MODS Discussion Section 4.09m (
https://allaircraftsimulations.com/forumdisplay.php?fid=292)
+---- Thread: Please help! help needed for installer (
/showthread.php?tid=51181)
Please help! help needed for installer - Guest - 11.11.2007
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?
- zaelu - 11.11.2007
The Lock On comunity is using one exe that does the adding of lines in some configs... wait a bit to search for it.
- zaelu - 11.11.2007
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?
- Guest - 11.11.2007
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