Titan Quest


Go Back   Titan Quest Forums > Modding Titan Quest > Modifications and The Editor > Skin Modifications
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



If you are having problems logging in, send a mail to webmaster@titanquest.net and we'll try to sort something out.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-06-2007, 10:53 PM
iboga
[User Offline]
Citizen
 
Join Date: Dec 2006
Location: Switzerland
Posts: 72
Default Q: how to remove .tex files from an .arc file?

Hello,

as written in the topic, I want to remove (not replace) some files from the creatures.arc because I messed it up a little, by using TQMM (by TheRaven) http://www.systemreferencedocuments.org/tqmm/ without thinking about the consequences, guess I modified to much without backin' up the creatures.arc *slappingmyforehead*. The game is still running smoothly, but I dislike the empty copys of some tunica color.tex- files.
Below you can see a screenshot to make it more clear what I'm talking about.



malepc01_burgendy; this is what I tryed, but didn't worked so far...opinions?

with TQMM (written in the action.ini file):
1= pc\male\malepc01_burgendy.tex -remove|creatures.arc or
1= pc\male\malepc01_burgendy.tex -delete |creatures.arc

or more manually (.bat):
archivetool "resources\creatures.arc" - remove "pc\male\malepc01_burgendy.tex" "resources\" or
archivetool "resources\creatures.arc" -delete "pc\male\malepc01_burgendy.tex" "resources\"

glad for each response/help!

cya iboga

ps. playing TQ v.1.20

Edit: If this is possible, it would remove all copys since they have the same name.
afterwards I would need to add the color(s) again, is this also possible?

like:
archivetool "resources\creatures.arc" -add "pc\male\malepc01_burgendy.tex" "resources\" ???
__________________
Zalasta: Conjurer - lvl 62 - thru
Lydia: Druid - lvl 46
Tajron: Rouge - lvl 41
Shiva: Avenger - lvl 32
Seraph: Conqueror lvl 24
Silja: Corsair - lvl 23
Uru: Thane lvl 22
Lyn: Oracle lvl 20
Myce: Summoner lvl 38 (LAN-HC)

updated: 31.12.2007 20:37

Last edited by iboga : 12-06-2007 at 10:58 PM. Reason: Also need to add files later on...
Reply With Quote
  #2 (permalink)  
Old 12-07-2007, 12:57 AM
I_Raps's Avatar
I_Raps
[User Offline]
 
Join Date: Jul 2006
Posts: 2,244
Default Re: Q: how to remove .tex files from an .arc file?

I've always kept backups of the original .arc and .arz files for situations like this.

You can download them here: http://www.titanquest.net/forums/tec...original+files

...but give SoulSeekkor's bandwidth a break and keep copies next time.




As for your multi-tex issue, try changing your command line/batch file from -add to -replace:

Quote:
Originally Posted by iboga View Post
like:
archivetool "resources\creatures.arc" -add "pc\male\malepc01_burgendy.tex" "resources\" ???
to archivetool "resources\creatures.arc" -replace "pc\male\malepc01_burgendy.tex" "resources\"

Last edited by I_Raps : 12-07-2007 at 01:01 AM.
Reply With Quote
  #3 (permalink)  
Old 12-07-2007, 09:07 AM
iboga
[User Offline]
Citizen
 
Join Date: Dec 2006
Location: Switzerland
Posts: 72
Default Re: Q: how to remove .tex files from an .arc file?

Thanks I_Raps for your reply!

But cause of my - not so good english- you missunderstood me a little.

1. SoulSeekkor's Backup Page doesn't contain any creatures.arc
(I still have a backup of my almost original cratures.arc, but I modified each tunica color since then, so I would have to do it all again. Thats why I don't want to take them. Thought it would be easier to just delete the emtpy .tex's)

multi-tex issue: I have -replace in my .bat file, was just curious if -delete/-remove would work, if so -replace is not suitable any more, then I would need like -add, or does archivetool adds a file by -replace command? (Even if the file wich is to be replaced doesnt exist any more?)

How I made it to have multiple tex, is a dark gap for me...

TGIF! iboga
__________________
Zalasta: Conjurer - lvl 62 - thru
Lydia: Druid - lvl 46
Tajron: Rouge - lvl 41
Shiva: Avenger - lvl 32
Seraph: Conqueror lvl 24
Silja: Corsair - lvl 23
Uru: Thane lvl 22
Lyn: Oracle lvl 20
Myce: Summoner lvl 38 (LAN-HC)

updated: 31.12.2007 20:37

Last edited by iboga : 12-07-2007 at 12:16 PM.
Reply With Quote
  #4 (permalink)  
Old 12-07-2007, 10:14 AM
I_Raps's Avatar
I_Raps
[User Offline]
 
Join Date: Jul 2006
Posts: 2,244
Default Re: Q: how to remove .tex files from an .arc file?

Try:

archivetool "resources\creatures.arc" -compact


That's supposed to get rid of unused files in the archive.
-----------------------------------------------------------------------------------------

There is a -remove command, but the syntax seems to be different. The line should be:

archivetool "resources\creatures.arc" -remove malepc01_burgendy.tex

I think. You should try that -compact first.
-----------------------------------------------------------------------------------------
Also, you can use -replace to add a new file; I've used it to add dozens of files to my items.arc without ever using -add.

Last edited by I_Raps : 12-07-2007 at 10:26 AM.
Reply With Quote
  #5 (permalink)  
Old 12-07-2007, 11:32 AM
iboga
[User Offline]
Citizen
 
Join Date: Dec 2006
Location: Switzerland
Posts: 72
Default Re: Q: how to remove .tex files from an .arc file?

Now thats useful! Thanks will try it out as soon as I'm @ home.

Is it possible to get a list of all working commands?

edit: thanks for all your help
__________________
Zalasta: Conjurer - lvl 62 - thru
Lydia: Druid - lvl 46
Tajron: Rouge - lvl 41
Shiva: Avenger - lvl 32
Seraph: Conqueror lvl 24
Silja: Corsair - lvl 23
Uru: Thane lvl 22
Lyn: Oracle lvl 20
Myce: Summoner lvl 38 (LAN-HC)

updated: 31.12.2007 20:37

Last edited by iboga : 12-09-2007 at 12:41 AM.
Reply With Quote
  #6 (permalink)  
Old 12-07-2007, 01:21 PM
I_Raps's Avatar
I_Raps
[User Offline]
 
Join Date: Jul 2006
Posts: 2,244
Default Re: Q: how to remove .tex files from an .arc file?

Quote:
Originally Posted by iboga View Post
Now thats useful! Thanks will try it out as soon as I'm @ home.

Is it possible to get a list of all working commands?
Reply With Quote
Reply


Thread Tools
Display Modes


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:58 AM.


Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Titan Quest Forums are not affiliated with THQ/Iron Lore.