SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] Sh3 to SH4. The Grey Wolves way. (https://www.subsim.com/radioroom/showthread.php?t=239270)

Jeff-Groves 11-27-18 05:27 PM

Sh3 to SH4. The Grey Wolves way.
 
Years ago, a very brilliant programmer created this little gem for GWX4.
A project dropped based on the promise of what SH5 would be.

ref, a legend that needs no explanation, wrote many Tools for the GWX Team in the time that S3D was not yet started.

Since it has been over 9 years since last I heard from him. And he gave me his source code? I will now release to everyone his fantastic Tool for converting SH3 Units to SH4.

Given the state of SH5? This program will assist anyone to convert SH3 Units to SH5 also.

http://www.mediafire.com/file/py9zqj...2b/Sh3ToSh4.7z

propbeanie 11-27-18 10:04 PM

Jeff, thank you, and thank you to ref. :salute:

TheGreatElector 11-27-18 10:50 PM

Nice, thanks!:Kaleun_Salute:

KaleunMarco 11-27-18 11:06 PM

Quote:

Originally Posted by Jeff-Groves (Post 2579150)
Years ago, a very brilliant programmer created this little gem for GWX4.
A project dropped based on the promise of what SH5 would be.

jeff,

what is/was GWX? or GWX4?
i have played mostly SH4. i have cdrom versions of SH3 and SH5 but i have spent very little time with them.

mb

propbeanie 11-28-18 09:45 AM

Grey Wolves eXpansion mod. Groundbreakers in modding. aka: barrier destroyers. If you did SH3, you had to do Grey Wolves... :salute:

fitzcarraldo 11-28-18 09:49 AM

Many thanks! :Kaleun_Cheers:

Fitzcarraldo :Kaleun_Salute:

nik112 11-29-18 04:09 PM

Hi all
Tried to convert a sh3 ship to sh4-prossedure went well but in game ship its totaly black.
Its something to do about it?


cheers:Kaleun_Cheers:

Jeff-Groves 11-29-18 07:03 PM

Quote:

Originally Posted by nik112 (Post 2579422)
Hi all
Tried to convert a sh3 ship to sh4-prossedure went well but in game ship its totaly black.
Its something to do about it?


What Ship? I'll take a look at it, and did you do the roster file properly?
The Converter does not handle the roster file.

iambecomelife 11-29-18 10:15 PM

Quote:

Originally Posted by nik112 (Post 2579422)
Hi all
Tried to convert a sh3 ship to sh4-prossedure went well but in game ship its totaly black.
Its something to do about it?


cheers:Kaleun_Cheers:

You may need to place the TGA file in the DAT file. That can be done via S3ditor; it is very easy.

Or you may need to make sure that the DATA\ROSTER\[COUNTRY]\SEA\[UNIT].CFG file has a skin entry. SH3 does not handle skins via the CFG files like SH4, so there is a good chance that this is your problem. Note the text below from BBColorado.cfg (one of the stock SH4 ships):

[Texture 1]
TextureName=data/Sea/NBB_Colorado/NBB_Colorado_T01.tga
LightmapTextureName=data/Sea/NBB_Colorado/NBB_Colorado_O01.tga
NormalmapTextureName=data/Sea/NBB_Colorado/NBB_Colorado_N01.tga
StartDate=19000101
EndDate=19991231
Frequency=1

If you don't feel like including Lightmap or Normalmap textures, set them to "NULL" - for example:

[Texture 1]
TextureName=data/Sea/NBB_Colorado/NBB_Colorado_T01.tga
LightmapTextureName=NULL
NormalmapTextureName=NULL
StartDate=19000101
EndDate=19991231
Frequency=1

nik112 11-30-18 10:51 AM

Quote:

Originally Posted by Jeff-Groves (Post 2579438)
What Ship? I'll take a look at it, and did you do the roster file properly?
The Converter does not handle the roster file.


Hi Jeff
tried with NPTB



cheers

s7rikeback 11-30-18 07:57 PM

Quote:

Originally Posted by Jeff-Groves (Post 2579150)
Years ago, a very brilliant programmer created this little gem for GWX4.
A project dropped based on the promise of what SH5 would be.

ref, a legend that needs no explanation, wrote many Tools for the GWX Team in the time that S3D was not yet started.

Since it has been over 9 years since last I heard from him. And he gave me his source code? I will now release to everyone his fantastic Tool for converting SH3 Units to SH4.

Given the state of SH5? This program will assist anyone to convert SH3 Units to SH5 also.

http://www.mediafire.com/file/py9zqj...2b/Sh3ToSh4.7z

I been using this for a while now.... It makes conversions from SH3 to Sh4 so much easier, no more wake edits, or new Id's needed.

This does all of that, but as Jeff has said, you need to manually enter the unit name to the names.cfg.And you may also need to edit the EQP & SNS files manually.

And to also backup iambecomelife's posts, you also need to amend the SH4 roster.cfg to the examples given above...

Blimey, I'm begining to sound like a salesman...:har:

Jeff-Groves 11-30-18 08:19 PM

I did this Unit and it does have an issue.

Didn't have time to track it fully down and I'm sorry for the lack of time tonight.

I had planned to fully solve the issue tonite.

Then things went bad today.
https://www.gatewaytoairguns.org/GTA...368#msg1548368

propbeanie 11-30-18 09:16 PM

Jeff, I feel the pain man... sorry for your loss. :salute:

Jeff-Groves 12-01-18 12:23 PM

nik112,

There's a texture for the deck that gets exported from the dat.
Put that texture back in the dat just as the original SH3 Unit has it.
Use the tga version in the original dat.
This will apply to all units that have the separate deck texture or other images in them.

SH3 Units do not have Lightmaps so....
Your roster file should be as below.

[UnitClass]
ClassName=NPTB
UnitType=103
AppearanceDate=19380101
DisappearanceDate=19451201
DisplayName=Transport

[Texture 1]
TextureName=data/Sea/NPTB/NPTB_T01.dds
LightmapTextureName=NULL
NormalmapTextureName=NULL
AppearanceDate=19380101
DisappearanceDate=19451201

[Unit 1]
Name=Transport
DOC=19380101
DOD=19451201

There's a guide on how to create normalmapping around somewhere.

propbeanie 12-01-18 03:58 PM

Maybe this one: [TEC] SH4 models and texture maps from Skwasjer?

There is also [TUT] Bump mapping for SH4 in GFX Suites from danlisa, which has several rabbit hole links to go off into...


All times are GMT -5. The time now is 06:34 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.