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 06-20-23, 01:56 PM   #1
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,358
Downloads: 131
Uploads: 0


gear The Ex-GWX-Dev SH5 to SH3 Crew Animations Process + Tools thread

I finished the SH5toSH3_Animations Scripting this afternoon.
It is based on a modified GR2 Reader Script written by Jayn23 on the Xentax forum.

One can now export the 3D Characters and Animations from SH5 then convert that to numbered obj files for Import to SH3 using S3D.

Several FREE programs will be needed and I'll post links and more information in the coming days.


1st you will need Noesis. It's free and does not install. Just Unzip it and place it anywhere you wish.
http://www.richwhitehouse.com/index....showproject=91

Then you'll need Blender. I've tested with versions 2.79b and 2.80 so any version from there up will work.
I use the portable versions that you just unzip and run so no install.
https://www.blender.org/download/

OH! Of course you will need SH5. You'll need to copy files from that.
Now there's 200+ textures you'll need to copy. I've been busy and have a simple Batch file I'll upload that will do the work for you!
You'll need to edit a couple lines in it for your system but Edit it with Notepad and your good.
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 06-20-23 at 04:29 PM.
Jeff-Groves is offline   Reply With Quote
Old 06-20-23, 08:02 PM   #2
Tigerzhunters
Frogman
 
Join Date: Feb 2023
Location: Indonesia-Jakarta
Posts: 298
Downloads: 96
Uploads: 0


Default

Quote:
Originally Posted by Jeff-Groves View Post
I finished the SH5toSH3_Animations Scripting this afternoon.
It is based on a modified GR2 Reader Script written by Jayn23 on the Xentax forum.

One can now export the 3D Characters and Animations from SH5 then convert that to numbered obj files for Import to SH3 using S3D.

Several FREE programs will be needed and I'll post links and more information in the coming days.


1st you will need Noesis. It's free and does not install. Just Unzip it and place it anywhere you wish.
http://www.richwhitehouse.com/index....showproject=91

Then you'll need Blender. I've tested with versions 2.79b and 2.80 so any version from there up will work.
I use the portable versions that you just unzip and run so no install.
https://www.blender.org/download/

OH! Of course you will need SH5. You'll need to copy files from that.
Now there's 200+ textures you'll need to copy. I've been busy and have a simple Batch file I'll upload that will do the work for you!
You'll need to edit a couple lines in it for your system but Edit it with Notepad and your good.
What can i say, Man You was A Life Saver Thank you So much For your Programs It make easiers Also It works With sh4?
__________________
Rasulullah SAW. said: “A Syaheed will be forgiven for all his sins, except Debt
Tigerzhunters is offline   Reply With Quote
Old 06-20-23, 11:57 PM   #3
GrenSo
Grey Wolf
 
Join Date: Apr 2019
Location: Germany
Posts: 894
Downloads: 589
Uploads: 7


Default

Quote:
Originally Posted by Jeff-Groves View Post
I finished the SH5toSH3_Animations Scripting this afternoon.
It is based on a modified GR2 Reader Script written by Jayn23 on the Xentax forum.

One can now export the 3D Characters and Animations from SH5 then convert that to numbered obj files for Import to SH3 using S3D.

Several FREE programs will be needed and I'll post links and more information in the coming days.


1st you will need Noesis. It's free and does not install. Just Unzip it and place it anywhere you wish.
http://www.richwhitehouse.com/index....showproject=91

Then you'll need Blender. I've tested with versions 2.79b and 2.80 so any version from there up will work.
I use the portable versions that you just unzip and run so no install.
https://www.blender.org/download/

OH! Of course you will need SH5. You'll need to copy files from that.
Now there's 200+ textures you'll need to copy. I've been busy and have a simple Batch file I'll upload that will do the work for you!
You'll need to edit a couple lines in it for your system but Edit it with Notepad and your good.

Hi Jeff,


stupid question, I know, but where we can find the script you talked from, or I'm just blind?
__________________
Best regards,
GrenSo


“Mankind must put an end to war, or war will put an end to mankind.” - J.F.K.
GrenSo is offline   Reply With Quote
Old 06-21-23, 02:13 PM   #4
rik007
Seasoned Skipper
 
Join Date: Jan 2002
Location: Holland
Posts: 720
Downloads: 117
Uploads: 0
Default

Realy looking forward to the first trials. Keep on experimenting!
rik007 is online   Reply With Quote
Old 06-21-23, 02:48 PM   #5
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,358
Downloads: 131
Uploads: 0


Default

Yes. Any MeshAnimation you create will work in SH4.

I'll be uploading the Script and other files needed tonite.

If you have Noesis copy the granny2.dll from your SH5 Game and put it in the folder with the Noesis.exe
The Script will look for it!

Any where you wish, create a folder named SH52SH3. Inside that create 2 more folders. Name one Textures and the other Animations.
You can now copy SH5 animations into that folder. I'd not move them all until you get the hang of the work flow! There's 1000+ animations!
I'd start with:
walk.GR2
Vasla02.gr2

I'll be using walk.GR2 for a few lessons so get that for sure. It's also the smallest size animation.
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 06-21-23 at 03:07 PM.
Jeff-Groves is offline   Reply With Quote
Old 06-21-23, 03:43 PM   #6
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,358
Downloads: 131
Uploads: 0


Default

Here's the Script and other files.
https://www.mediafire.com/file/tm1p9...Stuff.zip/file


You will need to move them into proper folders!!!!!!
skip_mesh.txt needs to be in the noesisv4442 folder with the Noesis.exe!

fmt_SH5toSH3_Animations.py needs to be in the noesisv4442\plugins\python folder!

Mesh_List.txt, Texture-list.txt, and Copy_Images.bat should be saved somewhere safe. You'll need those!

You WILL NEED TO EDIT Copy_Images.bat to match your file paths!!!
I hope I don't need to break out the Crayons to tell you how to do that.

Copy_Images.bat will copy the needed textures from your SH5 install to the Textures folder you created if you edit it right.


Copy the CharacterBodyParts.GR2 from SH5 into the SH52SH3 folder.

If you have everything right? Open Noesis then open file.
Browse to SH52SH3 and select the CharacterBodyParts.GR2
Then open the Animations folder and select walk.GR2.

!t's gonna take a few minutes depending on your system so give it time.

Let me know how that works for you!!! If you've made it there and see this? I'll start the teachings. Your gonna need it!

__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 06-21-23 at 05:41 PM.
Jeff-Groves is offline   Reply With Quote
Old 06-21-23, 06:20 PM   #7
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,358
Downloads: 131
Uploads: 0


Default

If you want to know more about the start of the Script I adjusted?
Read the link below. You'll spot me soon enough!

https://forum.xentax.com/viewtopic.php?t=22277
If you can't wait? Page 4
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 06-21-23, 08:05 PM   #8
Tigerzhunters
Frogman
 
Join Date: Feb 2023
Location: Indonesia-Jakarta
Posts: 298
Downloads: 96
Uploads: 0


Default

Quote:
Originally Posted by Jeff-Groves View Post
Yes. Any MeshAnimation you create will work in SH4.

I'll be uploading the Script and other files needed tonite.

If you have Noesis copy the granny2.dll from your SH5 Game and put it in the folder with the Noesis.exe
The Script will look for it!

Any where you wish, create a folder named SH52SH3. Inside that create 2 more folders. Name one Textures and the other Animations.
You can now copy SH5 animations into that folder. I'd not move them all until you get the hang of the work flow! There's 1000+ animations!
I'd start with:
walk.GR2
Vasla02.gr2

I'll be using walk.GR2 for a few lessons so get that for sure. It's also the smallest size animation.
So .GR2 Compitable Hmm that make me remember about AOE3 Lol adding Some WW1 tank-plane-ship
__________________
Rasulullah SAW. said: “A Syaheed will be forgiven for all his sins, except Debt
Tigerzhunters is offline   Reply With Quote
Old 06-23-23, 03:42 PM   #9
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,358
Downloads: 131
Uploads: 0


Default

For those that want to learn more? I'm going to explain a WHOLE BUNCH of stuff on how to get good renders for export to Blender.

Like the thread name? It's a process you need to learn to work the Tools.
Now since I know someone wants the Cook animations? I'm useing that to start.

We need to change the Meshes loaded first.
In the noesisv4442 folder, remove the skip_mesh.txt(You might want to save it somewhere with a new name)

Copy the Mesh_List.txt into noesisv4442 folder and rename it to skip_mesh.txt
Open that txt and DELETE the following lines....
D_Head_04
D_Hat_04
D_Pants_04
D_Torso_04
object1_Beard_CAP04
Then save.

The reason we do that is Any Meshes NOT in the skip_mesh.txt will load!
Anything IN the list will NOT load!

You should get this.............




Now lets fix the beard texture!
Select Tools and then Data Viewer. Select Model1 then Materials.
You'll see this.............


We have to fix the Beard Texture. There is NO object1_Beard_CAP04_D.dds!
In the texture folder, open the hair.tga and save as object1_Beard_CAP04_D.dds.
Now reopen with noesis! (Just don't look real close to the UV work on the beard! Someone was drunk when they did that!)

Here's the video........
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 06-23-23 at 05:13 PM.
Jeff-Groves is offline   Reply With Quote
Old 06-25-23, 02:57 PM   #10
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,358
Downloads: 131
Uploads: 0


Default

Let's get Blender setup for use.
When you first open Blender, you may see a screen like this.



You need to RIGHT CLICK on each of the 3 objects you see and hit your delete key.
Once they are removed go to File in the upper left corner and select
Save Startup file

Now when you open Blender you don't need to delete those again!

I'll be exporting the Cook and the walk animation from Noesis for the next steps!




With the COOK and walk animation loaded in Noesis.
Go to File and select Export from preview. FBX is what We export as and just leave it as it appears.

Now due to how Blender is importing things? Save the file to the Textures folder!!!!
Don't ask me why it screws the pooch. Just trust me!

Open Blender and then File, Import, FBX. The fun starts now!!!!
You'll see a weird object like in this image.


Now where you see the blue arrow pointing? Click on the eyeball! The Red arrow points to the end Frame of the animation. Change that to 25
Now hit 5 on your Numbers Pad and then scroll in!! Hit play in the bar near the bottom and you'll see the animation.
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 06-25-23 at 03:27 PM.
Jeff-Groves is offline   Reply With Quote
Old 09-22-23, 01:43 PM   #11
rik007
Seasoned Skipper
 
Join Date: Jan 2002
Location: Holland
Posts: 720
Downloads: 117
Uploads: 0
Default

Jeff, thank you for your information. Are all animations hard coded or do we have the possibility to add custom animations?
rik007 is online   Reply With Quote
Old 09-22-23, 03:39 PM   #12
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,358
Downloads: 131
Uploads: 0


Default

Quote:
Originally Posted by rik007 View Post
Jeff, thank you for your information. Are all animations hard coded or do we have the possibility to add custom animations?
Any Animation can be modified once you get it into the 3D program of your choice that can handle animation work.
It's up to you to learn how to do that.

If you are asking about modifying animations for SH5? That's a totally different topic not specific to this thread.
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 09-22-23 at 05:18 PM.
Jeff-Groves is offline   Reply With Quote
Old 09-23-23, 03:29 AM   #13
rik007
Seasoned Skipper
 
Join Date: Jan 2002
Location: Holland
Posts: 720
Downloads: 117
Uploads: 0
Default

Thank you Jeff! So we can change/import existing animations only. We cannot add new ones. That's my conclusion to it.
rik007 is online   Reply With Quote
Old 09-23-23, 01:58 PM   #14
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,358
Downloads: 131
Uploads: 0


Default

No. You can create animations but that means You need to learn HOW to do that.

Find a 3D program like Blender and there are plenty of instructions on learning the basics. It's not my intension to teach you how to do that.
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 09-25-23, 01:38 AM   #15
Tigerzhunters
Frogman
 
Join Date: Feb 2023
Location: Indonesia-Jakarta
Posts: 298
Downloads: 96
Uploads: 0


Default

Quote:
Originally Posted by rik007 View Post
Thank you Jeff! So we can change/import existing animations only. We cannot add new ones. That's my conclusion to it.
So the simple thing Was You know how to make animations With blender or other And You know how to make it can be view on the sh 3 like the video From Jeff
__________________
Rasulullah SAW. said: “A Syaheed will be forgiven for all his sins, except Debt
Tigerzhunters 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 12:20 PM.


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