Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: HLD_Prophecy on August 12, 2016, 12:13:20 pm

Title: Mod resources won't show up?
Post by: HLD_Prophecy on August 12, 2016, 12:13:20 pm
Hey all!

So I've recently put a new mod together. I set up the mod.ini and folder structure. I can select the mod in the launcher, and it displays the "infotext" blurb that I have in the mod.ini.

I currently have a very simple shp.tbm, just one ship. It's a fighter, and it's supposed to be the default player ship. All the resources are there - I can load the model with textures in POFCS2. But when I actually launch the mod (or FRED) this ship doesn't show up at all. The game - and FRED - just appear to be stock FS2. No crashes or anything, just nothing showing up.

I'm using 3.7.2 No SSE Debug. I should probably update, now that I think about it.
Title: Re: Mod resources won't show up?
Post by: The E on August 12, 2016, 12:16:05 pm
Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.
Title: Re: Mod resources won't show up?
Post by: HLD_Prophecy on August 12, 2016, 01:35:00 pm
Sorry, I should have done that in the first post!

[attachment deleted by admin]
Title: Re: Mod resources won't show up?
Post by: AdmiralRalwood on August 12, 2016, 04:08:41 pm
I currently have a very simple shp.tbm, just one ship. It's a fighter, and it's supposed to be the default player ship. All the resources are there - I can load the model with textures in POFCS2. But when I actually launch the mod (or FRED) this ship doesn't show up at all. The game - and FRED - just appear to be stock FS2. No crashes or anything, just nothing showing up.
Code: [Select]
TBM  =>  Starting parse of 'mv_root-shp.tbm' ...
TBM  =>  Starting parse of 'radar-shp.tbm' ...
TBM  =>  Starting parse of 'mv_effects-shp.tbm' ...
TBM  =>  Starting parse of 'mv_assets-shp.tbm' ...
So what did you call your tbm? Because FSO isn't seeing it.
Title: Re: Mod resources won't show up?
Post by: General Battuta on August 12, 2016, 05:29:26 pm
Are you sure you have the ability to edit file extensions turned on in your OS? Your tbm might actually be a tbm.txt
Title: Re: Mod resources won't show up?
Post by: AdmiralRalwood on August 12, 2016, 06:04:21 pm
Or if you literally named it "shp.tbm", then FSO also won't see it.
Title: Re: Mod resources won't show up?
Post by: HLD_Prophecy on August 13, 2016, 12:00:33 pm
Yes, I can edit .tbl and .tbm. I use Notepad++.

The .tbm files is called lst-shp.tbm. It's in the tables folder. Does that meet the standards?
Title: Re: Mod resources won't show up?
Post by: AdmiralRalwood on August 13, 2016, 07:37:14 pm
Are you sure you have the ability to edit file extensions turned on in your OS? Your tbm might actually be a tbm.txt
Yes, I can edit .tbl and .tbm. I use Notepad++.
That does not answer the question he asked; if you don't have "view file extensions" enabled in Windows, you could create a file and name it "lst-shp.tbm" but Windows would actually be naming it "lst-shp.tbm.txt" (for example).

The .tbm files is called lst-shp.tbm. It's in the tables folder. Does that meet the standards?
Where is that tables folder located?
Title: Re: Mod resources won't show up?
Post by: jr2 on August 14, 2016, 01:13:13 am
Are you sure you have the ability to edit file extensions turned on in your OS? Your tbm might actually be a tbm.txt
Yes, I can edit .tbl and .tbm. I use Notepad++.
That does not answer the question he asked; if you don't have "view file extensions" enabled in Windows, you could create a file and name it "lst-shp.tbm" but Windows would actually be naming it "lst-shp.tbm.txt" (for example).

To prevent this, choose file type "All Files (*.*)" or put your filename in quotation marks "lst-shp.tbm" in the save dialog box

The .tbm files is called lst-shp.tbm. It's in the tables folder. Does that meet the standards?
Where is that tables folder located?
Title: Re: Mod resources won't show up?
Post by: X3N0-Life-Form on August 14, 2016, 03:49:08 am
Yes, I can edit .tbl and .tbm. I use Notepad++.
That does not answer the question he asked; if you don't have "view file extensions" enabled in Windows, you could create a file and name it "lst-shp.tbm" but Windows would actually be naming it "lst-shp.tbm.txt" (for example).

It kind of does answer the question actually, notepad++ always shows the extensions in the name of the files it opens. And you can rename files within it as well, I've done so in the past when creating *.tbms on a new windows computer.
Title: Re: Mod resources won't show up?
Post by: HLD_Prophecy on August 15, 2016, 09:13:44 pm
Sorry. I forget just now whether or not I have file extensions set as viewable, but I did check in the file properties window, and it's just a .tbm.

The tables folder is in the "data" folder, which is in the mod folder, which is the the Freespace2 directory folder.

Does anyone have any ideas, please?
Title: Re: Mod resources won't show up?
Post by: AdmiralRalwood on August 15, 2016, 10:10:10 pm
The tables folder is in the "data" folder, which is in the mod folder, which is the the Freespace2 directory folder.
Is it in the right mod folder? There really isn't anything else that could stop FSO from even seeing the file.
Title: Re: Mod resources won't show up?
Post by: HLD_Prophecy on August 16, 2016, 11:47:22 am
Yes, it's in the right mod folder. I checked and double-checked, like, a dozen times.

I mean this makes no sense. It's got the same structure as any other mod I've done. It's always worked before!
Title: Re: Mod resources won't show up?
Post by: The E on August 16, 2016, 11:51:18 am
Question, is your mod called "Lost", or does it have a longer name with spaces in it?
Title: Re: Mod resources won't show up?
Post by: HLD_Prophecy on August 18, 2016, 06:25:38 am
Question, is your mod called "Lost", or does it have a longer name with spaces in it?


Yeah, it should just be "Lost". Why?
Title: Re: Mod resources won't show up?
Post by: The E on August 18, 2016, 06:46:18 am
There's been a small change in how the mod commandline is parsed, if a mod folder name has spaces in it, the whole thing would need to be enclosed in "".
Title: Re: Mod resources won't show up?
Post by: HLD_Prophecy on August 18, 2016, 12:58:12 pm
Well, I double checked and it doesn't have any spaces.

So nobody has any clue what is going on?
Title: Re: Mod resources won't show up?
Post by: The E on August 18, 2016, 01:33:34 pm
At this point, the only thing that could help if you put that mod up for download so that we can check what's happening.
Title: Re: Mod resources won't show up?
Post by: jr2 on August 19, 2016, 11:00:55 am
At this point, the only thing that could help if you put that mod up for download so that we can check what's happening.

If you're trying to keep it under wraps, though, PMming a Google drive link to anyone interested in testing it should also work without releasing it into the wild.
Title: Re: Mod resources won't show up?
Post by: HLD_Prophecy on August 22, 2016, 09:39:46 am
At this point, the only thing that could help if you put that mod up for download so that we can check what's happening.

If you're trying to keep it under wraps, though, PMming a Google drive link to anyone interested in testing it should also work without releasing it into the wild.

I really would like to keep it under wraps, but thanks for opening this possibility. The E, could I PM it to you, please?
Title: Re: Mod resources won't show up?
Post by: HLD_Prophecy on August 22, 2016, 09:46:10 am
Okay, the mod zip files is on dropbox. PM'ing link to The E now.
Title: Re: Mod resources won't show up?
Post by: The E on August 22, 2016, 09:57:06 am
I think I can see the issue. You have a file in that archive named lst-shp.tbm.tbm. This is wrong, and the engine will not see it; the file must be named "lst-shp.tbm". If you haven't done so already, make sure that Explorer shows file extensions for all file types (see this guide (http://www.howtohaven.com/system/show-file-extensions-in-windows-explorer.shtml)). This will help similar mistakes in the future.
Title: Re: Mod resources won't show up?
Post by: HLD_Prophecy on August 22, 2016, 10:22:29 am
Whoa, it totally worked! I jut deleted the extra extension and the ship loads in the tech room, no bugs!

Thanks so much, now I can go and start FREDing my direct competition to Blue Planet and Exile I mean, my first mini-campaign! :D