December 22, 2024, 10:26:55

Author Topic: Coverting ships  (Read 14892 times)

Offline Blazar

  • Crewman
  • *
  • Posts: 47
  • Karma: 0
    • View Profile
Coverting ships
« on: March 17, 2011, 16:54:40 »
Hi according to the modding manual you need to create a working folder \_work and put all the source files containing model, texture and parameter files to be converted to for the game are placed here.
Including; converter.tpr – Data-file of the converter.
However i can not find it anywhere. In the mod tools folder there is the converter  .exe  and 2 .dll files.

I have used the Nexus Skirmisher  SP Settings as a template and created a folder in the mods folder:
so: C\Program Files\Nexus - The Jupiter Incident\mods\new mod
In new mod  there are the files of Nexus Skirmisher SP Settings (because i also used this for my prevoius question).
Do i have to make a _work folder in the main new mod folder? Or do i have to make sub directories as well because in the manual in Chapter 2 they state that the models must be placed in the _work/art/meshes directory and that all models must include the following subdirectories.
-obj -textures

I know that the destination folder of the converted models should be in the main new mod folder  \meshes
and \ textures \meshes. That i do understand.
I know how the basic structure of a mod should be.
What confuses me is how to actually convert a .lwo and .tga to a .msh and .tex

I have tried different combinations but without reslut.

I have read the tutorials on moddb, nexus wiki, of the old dragon etc, done about 6,5 hours of research today but i am still stuck in the mud. :(

Summary:
1. where is; the converter.tpr – Data-file of the converter
2. how should the directory structure be to convert the a .lwo and .tga to a .msh and .tex

Thanks in advance.
« Last Edit: March 17, 2011, 16:56:18 by Blazar »

Offline Arparso

  • Administrator
  • Lieutenant
  • *****
  • Posts: 558
  • Karma: 14
  • I can see you...
    • View Profile
    • http://arparso.de/nexus
Re: Coverting ships
« Reply #1 on: March 17, 2011, 18:45:35 »
You need to run the model / texture converter for that. When you start mod_tools.exe, select your mod and then choose "Start Model / Texture Converter", the converter should pop up. There you can set up tasks (e.g. "meshes", "fx textures", "gui icons", etc.) and add the raw model or texture files to each task. After configuring the texture or model options and setting the appropriate destination directory you just hit "Process All" and everything gets converted for you. You can save your converter project in a file, so you don't have to recreate all of your settings again and again ... this is the converter.tpr you seem to be looking for - it just stores the converter settings and is usually placed in "__work\art" (notice the TWO underscores before "work", not only one).

Now I won't go into much detail here, simply because one of the sample mods of Nexus already includes such a sample project you can use as a reference for your own project. Have a look at the "SAMPLE 02  Everything Change" mod and try to load the converter with that mod selected... it should load the existing converter project, ready for you to inspect and see how it's done. ;)

Offline Blazar

  • Crewman
  • *
  • Posts: 47
  • Karma: 0
    • View Profile
Re: Coverting ships
« Reply #2 on: March 17, 2011, 20:17:37 »
I was seraching for the sample already, as described in the manual. But there is no sample mod. There is in the mod folder a NEXUS Standard Multiplayer Battles.dap file. Maybe becuase i installed the game as standard and not customed.

Yes i knew about the Start Model / Texture Converter, i've used that. When selecting a mod, there's a error screen: cannot open projectfile. But after clikking ok the converter still opens with the the "Source root" and "Destination root" already filled in.

When i choose "Open Project" and go to the folder where the .lwo file is or the .tga files there is nothing to open File types: Builder projects. There are none.

So there's a basic problem, i don't have the "SAMPLE 02  Everything Change"  mod. Is there maybe one on the Moddb site to download? Otherwise i would have to reinstall? It seems that that must be the first place to begin understanding the structure of Nexus modding.
Thanks
 

Offline Arparso

  • Administrator
  • Lieutenant
  • *****
  • Posts: 558
  • Karma: 14
  • I can see you...
    • View Profile
    • http://arparso.de/nexus
Re: Coverting ships
« Reply #3 on: March 17, 2011, 20:43:13 »
Yes, you'd need to install the game again, but choose to install the mod tools and mod samples as well.

Quote
Yes i knew about the Start Model / Texture Converter, i've used that. When selecting a mod, there's a error screen: cannot open projectfile. But after clikking ok the converter still opens with the the "Source root" and "Destination root" already filled in.

When i choose "Open Project" and go to the folder where the .lwo file is or the .tga files there is nothing to open File types: Builder projects. There are none.
Of course you can't open any project, because you didn't create one for your mod yet. Just start the converter, click Ok on the error message and choose "Save project". Save it as "__work\art\converter.tpr" in your mod's folder and it'll be loaded automatically from now on. You can choose a different filename, of course, but then you'll have to use "Open project" manually each time you start the Converter.

Tasks:
A task is basically a group of files each using the same converter settings. For example, for the Freespace mod, I've created a "Meshes - XXX" and "Textures - XXX" task for each race with XXX being the actual race's name. Create, rename and delete tasks by using the buttons in the upper left of the converter dialog.

Source Root:
The source folder for all the art assets you want to convert (meshes, textures, sounds, etc.). This is set by default to the "__work\art" subfolder of your mod directory. I recommend just using that default name.

Destination Root:
This is the target folder for all your converted assets. It's set by default to your mod's base folder. Leave it at that.

Destination Directory:
This is the subfolder your converted assets belonging to the selected task will end up in. For example, set this to "meshes", so your converted models end up in the correct model folder. Model textures usually belong in the "textures\meshes" folder, so set up a separate task for these with the "textures\meshes" destination directory.

Source Files:
This is the list of the actual files you want to convert. Each task has it's own list of source files.

Use "Add", "Delete" and "Clear" to add new or delete old source files from that list. Use them to add your .lwo, .lws and .tga files to each task.



If you're done, use "Save Project" to save all your settings. Then hit "Process All" and everything will be converted just nicely. If you check "Process Changed Only", it'll skip assets that haven't changed since the last run.

Offline Blazar

  • Crewman
  • *
  • Posts: 47
  • Karma: 0
    • View Profile
Re: Coverting ships
« Reply #4 on: March 17, 2011, 21:09:24 »
Arparso
Thanks very much for the detailed explanation. The first step i will be doing is to re-install the game with the full installation modality. After that i will successively go through the steps, in order to understand the modding proces. Using this guide as well.
Thanks again  :)

Offline The Old Dragon

  • Ensign
  • ***
  • Posts: 362
  • Karma: 6
    • View Profile
    • http://
Re: Coverting ships
« Reply #5 on: March 18, 2011, 01:18:53 »
I've added a guide for the Nexus Converter to the Nexus Wiki, you can find it here...

http://nexusthegame.net/wiki/Nexus_Model/Texture_Converter

Better to look the fool by asking, then prove them right with ignorance.

Offline Blazar

  • Crewman
  • *
  • Posts: 47
  • Karma: 0
    • View Profile
Re: Coverting ships
« Reply #6 on: March 18, 2011, 03:34:54 »
He, The Old Dragon. I've downloaded and read your other guide as well.
This looks realy great. I didn't saw this however on the nexus wiki.
Thanks! Great work.  :)

Offline The Old Dragon

  • Ensign
  • ***
  • Posts: 362
  • Karma: 6
    • View Profile
    • http://
Re: Coverting ships
« Reply #7 on: March 18, 2011, 08:40:24 »
Hey there Blazar,

You're welcome  ;), only wrote it last night after reading the thread. Thinking back, I seem to remember having a few problems getting the converter to work at first.

Happy modding...
Better to look the fool by asking, then prove them right with ignorance.

Offline Blazar

  • Crewman
  • *
  • Posts: 47
  • Karma: 0
    • View Profile
Re: Coverting ships
« Reply #8 on: March 18, 2011, 15:34:40 »
only wrote it last night after reading the thread. Thinking back, I seem to remember having a few problems getting the converter to work at first.

Ahh, ok awesome. Whats also a nice tip was that you can quikly check the models in the Model viewer and that the converted file gets stored in the temp file of the main nexus folder.

There is however a conflict between 1 aspect of the tutorial and that of arparso's above.
He is stating this


[Source Root:
The source folder for all the art assets you want to convert (meshes, textures, sounds, etc.). This is set by default to the "__work\art" subfolder of your mod directory. I recommend just using that default name.


But you are stating this:

Step 3)
Clear the entry in the 'Source Root' field, if you don't the converter will tell you where to go. More on this in a bit. Leave the 'Destination Root' alone.

Now in step three, I said 'More on this in a bit.' Well that bit's here now. Take a look in the 'Source Files' box at the files you've just added, you'll notice that they have a full path directory already. If you leave the 'source root' entry in, then you'll be asking the game to navigate to your mod and then look for the drive that the game has been installed into... not gonna happen. So clear the 'source root'!

I didn't had time yet to try either of them because i am trying out the Model Viewer but later i guess will try both options.

Thanks to both of you very very much  ;D
« Last Edit: March 18, 2011, 15:47:00 by Blazar »

Offline Arparso

  • Administrator
  • Lieutenant
  • *****
  • Posts: 558
  • Karma: 14
  • I can see you...
    • View Profile
    • http://arparso.de/nexus
Re: Coverting ships
« Reply #9 on: March 18, 2011, 15:57:14 »
I don't quite understand, why you'd want to clear the source root. I didn't and the converter finds my files just fine. It even displays nice, clean, short relative paths to the files in the "Source Files" box instead of the longer absolute paths like in Old Dragon's pictures in the Wiki.

Offline The Old Dragon

  • Ensign
  • ***
  • Posts: 362
  • Karma: 6
    • View Profile
    • http://
Re: Coverting ships
« Reply #10 on: March 18, 2011, 20:47:56 »
When I first started using the converter, it would always put the full filepath in and therefore not find my files. Guess I got into the habit doing it that way thinking it was a bug of some sort. Just tried it now and it works fine... so my bad.

I've now amended the wiki to cover both circumstances.
Better to look the fool by asking, then prove them right with ignorance.

Offline Blazar

  • Crewman
  • *
  • Posts: 47
  • Karma: 0
    • View Profile
Re: Coverting ships
« Reply #11 on: March 19, 2011, 15:40:29 »
Was busy trying out the new tutorials.
The files where succesfully converted The Old Dragons' way. By deleting the source root.

When i leave the source root as it is:
C:\Program Files (x86)\Nexus - The Jupiter Incident\mods\Blazar Mod Excercise\__work\art

The processing task failed. I got his message:

****Not found:C:\Program Files (x86)\Nexus - The Jupiter Incident\mods\Blazar Mod Excercise\__work\art\C:\Program Files (x86)\Nexus - The Jupiter Incident\mods\Blazar Mod Excercise

For both the .lwo and the .tga file.

I must be doing something wrong.

The files are in;

......\mods\Blazar Mod Excercise\_work\art\meshes\objects: for the .lwo    and
......\mods\Blazar Mod Excercise\_work\art\meshes\textures: for the .lga

So in the Destination directory i fill in:
\_work\art\meshes
or just \meshes

However when i deleted the source root before processing, it succeeded.
O yeah and i also have realy long paths to the files as well.
Anyway the most important thing is that i can convert those beautifull files.
But i wanted to test and give a reply, so we (or at least i) will keep on learning.
Thanks again for all the input guys ;)