Results 1 to 32 of 32

How to convert a .ship file from a .obj file?

  1. #1

    How to convert a .ship file from a .obj file?

    Hi,

    I have a couple of model files that i exported as .obj and i wanna know how i can make them into .ship files?

  2. #2
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    .ship in the game is the usual script lua , after decompiling read ordinary notepad!
    In essence, this configuration of the ship !
    -----------------------
    Here's ready decompiled files, read the usual notepad!
    http://hw.serv-host.org.ua/dir/HW2 - DATA-v1.1.zip

  3. #3
    Member Dom2's Avatar
    Join Date
    Dec 2013
    Location
    UK
    Model files contain the 3d model of the ship, .ship files are text files that contain the data associated with the ship, like the speed, health etc.

  4. #4
    Thanks for the answers guys,

    now i have another question.

    how do you make a .events file? or is it not necessary for the ship?

  5. #5
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    They give you a link to the decompiled files that can be studied and used in the game
    http://hw.serv-host.org.ua/dir/HW1-2... DATA-v1.1.zip
    --------------------
    In .events effects are damaged ship and all that, it is not really needed for the test , to start with you can use standard files .

  6. #6
    Okay but overall is it required?

  7. #7
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    You can use standard !
    Choose class ship and take from it the original .events !
    New necessary if you want to create a beautiful destruction of the ship!

  8. #8
    Okay thanks for that.

    sorry if im asking so many questions in one thread.

    also now a new question has popped up.

    I tried to do an archive .big of the mod im creating and did all the necessary steps but still for some reason when i went to test it out in game it showed up as the base homeworld 2 game files.

    Is there a way to override the default homeworld 2 ship files being loaded for a specific race in favor of custom ones that have had .hod's created for them?

  9. #9
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    Command line Homeworld2.exe -overrideBigFile
    you have in your Homeworld 2 \ Data \ Ship should already lay ships
    To replace the standard test ships.

  10. #10
    there is something that should be noted,

    i have the moddata folder in my homeworld 2 directory.

    I'm gonna take the custom ships out of that directory and put them in Data/Ship and see if that works.

  11. #11
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev

  12. #12
    Okay, i tried to move the custom ships into the data/ships directory and it still wont show me the custom ships that i made.
    Is there something im doing wrong?

    this is my .exe target line:

    "C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe" -overrideBigFile

    i home that makes sense to anyone and can help me out

  13. #13
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    Your new ships should be named the same as the original, if you do not use mod !

    Hgn_New Ships >>> Hgn_Carrier

  14. #14
    does that mean the .hod's as well?

  15. #15
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    Yes, just rename all under original !

  16. #16
    okay,

    i did that and now i have a new problem.

    when i went to test it and i got to the loading universe. It crashed me out of game.

  17. #17
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    Perhaps what is required for this ship came logs games

    Homeworld2\Bin\Release\hw2.log

  18. #18
    this is what came up in the .log:

    Starting Level: data:LevelData\Multiplayer\Deathmatch\2P_HOSTILITIES_END.LEVEL
    Cannot find the Weapon_HullDefense1_Position joint in weapon Hgn_MSHullDefenseGun on ship/subsystem HGN_MOTHERSHIP
    Are you sure you provided the correct jointName in ShipTuning.xls? -- FATAL EXIT -- sctobjectload/402:! --stack trace-- 0x0047B2E6: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x0047B815: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x003E46B5: lua_error (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003E4749: lua_error (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003EBF45: lua_settagmethod (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003E4751: lua_error (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003E47EE: lua_error (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003E481E: lua_call (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003E4A13: lua_dobuffer (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x0046CB81: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x0047681E: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00442EA9: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x0043180C: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00489A93: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x0048A246: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x005781E0: getLibraryID (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00579086: getLibraryID (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x0059865E: getLibraryID (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00599CDD: getLibraryID (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x004952A1: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00490C11: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x004911A5: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00491228: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe)

  19. #19
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    Cannot find the Weapon_HullDefense1_Position joint in weapon Hgn_MSHullDefenseGun on ship/subsystem HGN_MOTHERSHIP
    Are you sure you provided the correct jointName in ShipTuning.xls? -- FATAL EXIT
    -----------------------------------------------------------------------------------
    The problem subsystems
    load them in DATA if they do you have !
    Or send me your ship, I check it!
    Last edited by P.G.C; 21st Jan 15 at 12:21 PM.

  20. #20
    Thanks for the offer,

    I appreciate it . I will try and get you the .hod's so you can check them

  21. #21
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    I mean, send me an archive file !

  22. #22
    yeah ill get you an archive file.

    Thats what i meant

    edit here is my archive file for you

    http://www.mediafire.com/download/24...-Alpha_0.1.rar
    Last edited by WARWOLF1AB2EF; 21st Jan 15 at 12:28 PM.

  23. #23
    Also if anyone that knows how to help me can do it,

    i would apprreciate it

  24. #24
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    I have been studying your file, as is the answer I will write!

  25. #25

  26. #26
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    You .hod dead inside no models, send me the models I have them placed in the HOD - main call them true test!

  27. #27
    did you try the reset camera command?

  28. #28
    Member P.G.C's Avatar
    Join Date
    Nov 2007
    Location
    UKRAINE , Kiev
    Homeworld2 HOD File Editor v 3.2.0.0 ?

  29. #29
    i use the CFHOD editor

  30. #30
    okay,

    now im definitely confused. I reput the data files into the directory and made a new .big file and just went to test it and it crashed on the universe loading. Here's my hw2.log so that maybe someone can help me out:
    Thu Jan 22 11:43:38 2015
    Loaded Archive: 'Homeworld2.big'
    Loaded Archive: 'english.big'
    Loaded Archive: 'WorldWarSpaceClosedAlpha.big'
    Uing ..profiles\ for profiles folder
    GAME -- Using player profile Starstriker
    Changing from a 32 bit colour depth in winNT (5.1 build 2600), Service Pack 3
    Using Intel's 4.0.0 - Build 10.18.10.3958 Intel(R) HD Graphics 4000 renderer (Suspected driver is ialmgicd.dll 0)
    Loaded Archive: 'englishSpeech.big'
    Loaded Archive: 'Music.big'
    SOUND -- created destination [ fdaudio ], handle [ 4 ] with [ 48 ] channels created
    SOUND -- created destination [ fda streamer ], handle [ 5 ] with [ 8 ] channels created
    Build name: The Dust Wars - AutoBuild3569 - Ordered by smmatte
    Built by : mrbuild
    Data path : C:\Program Files (x86)\Sierra\Homeworld2\data
    Resetting fp control word.
    CmdLine: -mod WorldWarSpaceClosedAlpha.big
    Starting Level: data:LevelData\Multiplayer\Deathmatch\2P_HOSTILITIES_END.LEVEL

    C - loadSharedModel - Second param should be the name of the SOB which shares its model with this -- FATAL EXIT -- sctobjectload/374:! --stack trace-- 0x0047658B: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x003E4749: lua_error (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003EBF45: lua_settagmethod (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003E4751: lua_error (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003E47EE: lua_error (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003E481E: lua_call (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x003E4A13: lua_dobuffer (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\lua.dll) 0x0046CB81: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x0047681E: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00442EA9: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x0043180C: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00489A93: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x0048A246: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x005781E0: getLibraryID (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00579086: getLibraryID (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x0059865E: getLibraryID (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00599CDD: getLibraryID (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x004952A1: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00490C11: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x004911A5: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x00491228: GSLobbySessionDesc::operator= (C:\Program Files (x86)\Sierra\Homeworld2\Bin\Release\Homeworld2.exe) 0x75000076: GetCatalogObject2 (C:\WINDOWS\SYSTEM32\clbcatq.dll)

    Edit: I've fixed that issue now I'm getting an error that says that the game rules are ending the game
    Last edited by WARWOLF1AB2EF; 22nd Jan 15 at 8:46 PM.

  31. #31
    Mrawesome357
    Guest
    im needing help with decompiling the homeworld2.big so i can edit the files in it

  32. #32
    Member Chimas's Avatar
    Join Date
    Jun 2012
    Location
    now watching c-beams glitter in the dark near Tannhäuser Gate
    You don't have to do that. Check here some basic tips: http://chimas.weebly.com/resources.html

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •