SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-16-05, 03:19 PM   #16
Commander1980
Engineer
 
Join Date: Jun 2005
Location: Germany
Posts: 218
Downloads: 7
Uploads: 0
Default

Nice work, very interesting!

But i get an error when using it:

"Exception in thread "main" java.lang.NoClassDefFoundError: Pack3D"

i installed the latest Java JRE...

What i have done wrong?
Commander1980 is offline   Reply With Quote
Old 09-16-05, 03:31 PM   #17
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Quote:
But i get an error when using it:

"Exception in thread "main" java.lang.NoClassDefFoundError: Pack3D"

i installed the latest Java JRE...
The same here.

Rubini.
Rubini is offline   Reply With Quote
Old 09-16-05, 03:59 PM   #18
Sansal
Electrician's Mate
 
Join Date: May 2005
Location: Spain
Posts: 133
Downloads: 0
Uploads: 0
Default

Can you say me if there are a file named in Pac3D.class in the directory? I think that the zip have a classpath and extrat .class files in a subdirectory named bin.

After the extration all files need to be in the same directory of the dat......sorry, sorry, sorry

There are one solution: Unmark "use folder name" in the extractor
Sansal is offline   Reply With Quote
Old 09-16-05, 04:05 PM   #19
Commander1980
Engineer
 
Join Date: Jun 2005
Location: Germany
Posts: 218
Downloads: 7
Uploads: 0
Default

Well, it works

But where are the cloned files copied to?
Commander1980 is offline   Reply With Quote
Old 09-16-05, 04:20 PM   #20
Sansal
Electrician's Mate
 
Join Date: May 2005
Location: Spain
Posts: 133
Downloads: 0
Uploads: 0
Default

It don't make new filest (but its a improvement that i can do).

Transform the actual .dat and associates files. You need work with a copy of the object that you need clone. Pack3D don't clone the skin, her id need to be altered by hand with a hexeditor.
Sansal is offline   Reply With Quote
Old 09-16-05, 05:03 PM   #21
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Hey Sansal, it works!

I have my first clone in a few seconds!

I just clone a small merchant. Do you think that it will be work on the milk mod for more variation on ships to milk cow purposes?

Great, incredible!

Rubini.
Rubini is offline   Reply With Quote
Old 09-16-05, 05:06 PM   #22
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Sansal:

More questions:

It's possible to clone uboats?
It's possible to clone airplanes?
It's possible to "see" or list the objects/properties on sim, zon and val files?

Rubini.
Rubini is offline   Reply With Quote
Old 09-16-05, 05:44 PM   #23
Sansal
Electrician's Mate
 
Join Date: May 2005
Location: Spain
Posts: 133
Downloads: 0
Uploads: 0
Default

Quote:
It's possible to "see" or list the objects/properties on sim, zon and val files?
.
Now you can see objects, but not the properties.
I'm working on it, there are many subtypes of type 100. In this type there are the properties of the units, ia, flotability, velocity, resistance..........
In the final tool you can change this properties in decimal valours.

The list in .dat files is a little big. Make this:

pack3d l file.dat >list.txt

This command make a ASCII file with name list.txt in the same directory.



Quote:
It's possible to clone airplanes?
All (I think)

Quote:
It's possible to clone uboats?
Yes, and the interiors In fact this tool is a creator of .dats. If i can to finish it all this comunity will have a SDK to make anything; playable ptboat, ¿dd?, minisubs, humans..... animals. But I need that Sergbuto, and others, make news ways of development. This tool mechanizes his discoverys.

Cheers
Sansal is offline   Reply With Quote
Old 09-16-05, 06:06 PM   #24
Jace11
Seasoned Skipper
 
Join Date: Mar 2005
Location: UK
Posts: 683
Downloads: 104
Uploads: 1
Default

oh I think it works too..

The number you input to clone.? is that a random number that is added to all ID tags?

Serg says it isn;t necessary to clone all ID's just main ones.

ANyway this issue has been sonfising me for a LONG TIME but it is far simpler now...

Cheers sensal..
Jace11 is offline   Reply With Quote
Old 09-16-05, 06:14 PM   #25
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Sansal,

I don't know if you need, but I will make a ship, a airplane and a uboat clone, test and post my feedbacks to you soon.

Rubini.
Rubini is offline   Reply With Quote
Old 09-16-05, 06:27 PM   #26
Sansal
Electrician's Mate
 
Join Date: May 2005
Location: Spain
Posts: 133
Downloads: 0
Uploads: 0
Default

Quote:
oh I think it works too..

The number you input to clone.? is that a random number that is added to all ID tags?

Serg says it isn;t necessary to clone all ID's just main ones.
Yes, a random number more large than 10.000.000 for ensure that your clone not is equal with the work of other modder (that nobody put 1 ¡¡¡¡PLEASE!!!!!).

This change all ids....it's the same work and ensure not colision with properties of the objects in a future.

Quote:
I don't know if you need, but I will make a ship, a airplane and a uboat clone, test and post my feedbacks to you soon.
Thanks Rubini, i need any bug or improvement. For the uboat remember clone the interior too.


Salutes,
Sansal is offline   Reply With Quote
Old 09-16-05, 06:28 PM   #27
Sansal
Electrician's Mate
 
Join Date: May 2005
Location: Spain
Posts: 133
Downloads: 0
Uploads: 0
Default

Sansal is offline   Reply With Quote
Old 09-16-05, 06:30 PM   #28
AG124
Sea Lord
 
Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
Default

I can't get the program to work - normally I can install programs without any problems, but this time I'm making some stupid mistake or another.

I've extracted the file using IZArc, but I didn't see any option to "use a folder name" that I could uncheck. I also have the latest JRE. The problem is that the program runs only for fraction of a second and shuts down - there's an error message but I can't tell what it is. If anyone knows what I've done wrong, please help me out here.
AG124 is offline   Reply With Quote
Old 09-16-05, 06:36 PM   #29
Sansal
Electrician's Mate
 
Join Date: May 2005
Location: Spain
Posts: 133
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by AG124
I can't get the program to work - normally I can install programs without any problems, but this time I'm making some stupid mistake or another.

I've extracted the file using IZArc, but I didn't see any option to "use a folder name" that I could uncheck. I also have the latest JRE. The problem is that the program runs only for fraction of a second and shuts down - there's an error message but I can't tell what it is. If anyone knows what I've done wrong, please help me out here.
Two things:

1.- Move the files that are in "bin" folder to unit directory (that's my fault)

2.- You need work in the console (MS-DOS command) Start->All Programs -> Accesories
Sansal is offline   Reply With Quote
Old 09-16-05, 06:43 PM   #30
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Sansal

Any tip about the names?
To clone a B24 for example. The original name: ALB_B24Liberator, any new name is OK? Any problem with the tga names in the unit folder (ALB_B24Liberator_shp.tga for example)? And the name of the log files (ALB_B24Liberator_en.log for example)?

Rubini
Rubini is offline   Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:06 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.