| Author |
How do you recompress back into the USNI file after adding new stuff? |
XabbaRus
Joined: Feb 28, 2002 Posts: 2792 | Posted: 2002-04-07 13:18  
Te Kaha or anyone who knows.
I've written my stuff for the USNI file with my SURTASS ship the .txt file and the .jpg, and made the necessary modification to the US_TOC.txt file. Now I want to stick them back in the usni.grp file, or usni.ndx I can't remember which.
I have cmputil the compression thing and I ran it using this command.
cmputil usni stalwart.txt
cmptuil usni USA_TOC.txt
like that, but I just get an error message, something to do with C++ and asking retry or abort, I attempt retry then the prog craps out.
So how do I do it right?
_________________
Project 971
 
|
Thomasew
Joined: Feb 28, 2002 Posts: 1898 From: Bluewater Bay, South Africa
| Posted: 2002-04-07 13:26  
HI Ben
Quote:
|
On 2002-04-07 13:18, XabbaRus wrote:
Te Kaha or anyone who knows.
I've written my stuff for the USNI file with my SURTASS ship the .txt file and the .jpg, and made the necessary modification to the US_TOC.txt file. Now I want to stick them back in the usni.grp file, or usni.ndx I can't remember which.
I have cmputil the compression thing and I ran it using this command.
cmputil usni stalwart.txt
cmptuil usni USA_TOC.txt
like that, but I just get an error message, something to do with C++ and asking retry or abort, I attempt retry then the prog craps out.
So how do I do it right?
|
|
Looks like you are using the wrong filename.
Should be 'USNIDATA'....not 'USNI'
The reason that 'Error' occurs is because it's trying to write to a file...that doesn't exist.
Also, make sure that USNIDATA.grp and USNIDATA.ndx are in the same folder as your stuff.
By default, when you 'decompress', it will have created a folder called 'USNIDATA'. If you worked in this folder and are trying to 'cmputil' from there....you will have a problem...as the usnidata.grp and usnidata.ndx......are one folder back.
Cheers
Tom
_________________
He Who Will Not Risk Cannot Win
[ This Message was edited by: Thomasew on 2002-04-07 13:33 ]
 
|
XabbaRus
Joined: Feb 28, 2002 Posts: 2792 | Posted: 2002-04-07 14:06  
_________________
Project 971
 
|
XabbaRus
Joined: Feb 28, 2002 Posts: 2792 | Posted: 2002-04-07 14:07  
Ah OK, done it now..
_________________
Project 971
 
|
XabbaRus
Joined: Feb 28, 2002 Posts: 2792 | Posted: 2002-04-07 14:26  
Right I put the USA_TOC.txt Stalwart_TAGOS.txt and Stalwart.jpg back in the usnidata.grp/ndx file, no probs there.
Go into SC, look in USNI reference, click on USA and nothing happens like it never existed.
No crashing, just no display...
Then I looked in the USA_TOC.txt doc and tagged an tag after my ref line for my Stalwart.
repacked it. Now I could get USA ships in USNI reference in SC, but no Stalwart though it is there. What the hell am I doing wrong. I copied the line from the Avenger and changed the names of the necessary bits as per Te Kaha's instructions.
Any ideas?
_________________
Project 971
 
|
Te Kaha
Joined: Feb 28, 2002 Posts: 1697 From: Austria & Aotearoa
| Posted: 2002-04-07 14:33  
Could you post the lines you added in USA_TOC.txt here, and tell me the names of a) the txt file for the class b) the name of the jpg and c) the name for the 3D Object?
I'm sure it's a minor typo or something.
I've blown my own USNI reference out of proportions and have entries for all nations I included, also changed a lot of pictures to better looking coloured ones - hehe, doing a little braggin here
_________________ Te Kaha's Missions
America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0
 
|
XabbaRus
Joined: Feb 28, 2002 Posts: 2792 | Posted: 2002-04-07 14:45  
Code:
|
<FONT="fru_plain.bmp" COLOR=228 228 228 LINK="Supply_AOR.txt","Supply_AOR.jpg","Supply AOE"> Supply AOR
<FONT="fru_plain.bmp" COLOR=228 228 228 LINK="Stalwart_TAGOS.txt","Stalwart.jpg","Avenger MCM"> Stalwart T-AGOS
|
|
OK here is what I did, I used the Supply AOR as my reference text, I copied it then replaced the stuff with my things...
_________________
XabbaRus' SeaStallion Site
[ This Message was edited by: XabbaRus on 2002-04-07 14:54 ]
 
|
Te Kaha
Joined: Feb 28, 2002 Posts: 1697 From: Austria & Aotearoa
| Posted: 2002-04-07 15:13  
Is there a 'end' tag between all entries and after the last one?
_________________
Te Kaha's Missions
Kaore e mau te rongo - ake ake!
[ This Message was edited by: Te Kaha on 2002-04-07 15:14 ]
 
|