Author Topic: FRED Error! Can't open model file <none>  (Read 3239 times)

0 Members and 1 Guest are viewing this topic.

Offline MachManX

  • 26
  • The Fight Never Ends...This Is A Fact Of Life!
FRED Error! Can't open model file <none>
This is the error I get when I try to run any FRED created missions in Freespace 2:-

Error: Can't open model file <none>
File:C:\temp\fs2_open_3_6_9.t\code\Model\ModelRead.cpp
Line: 1870
[This filename points to the location of a file on the computer that built this executable]

Call stack:
--------------------------------------------------------
--------------------------------------------------------

[This info is in the clipboard so you can paste it somewhere now ]

Use OK to break into Debugger, Cancel exits.


I've tried the 3.6.9 Fred, the current CVS build Fred, and the default Fred, but they all have the same problem.  I've also tried the 3.6.9 FS2 Open and the current CVS build FS2 Open, but nothing works.  What must I do to make FRED created missions work?  Is there some kind of configuration I have to apply to Fred2 Open to work?  I've already used the -fredhtl command.  Help me.
AMD Ryzen 5 3600
B450I GAMING PLUS AC
Geforce GTX 1060 6GB
16GB DDR4-3600
WD SN750 1TB NVME
Samsung 850 EVO 250GB SSD
Corsair HX520W PSU
Cougar QBX Case
NEC V422 42" @ 1080p
Ubuntu 20.04 + Whatever I VM

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: FRED Error! Can't open model file <none>
What mods are you using?

 

Offline MachManX

  • 26
  • The Fight Never Ends...This Is A Fact Of Life!
Re: FRED Error! Can't open model file <none>
Just the stuff in my signature.
AMD Ryzen 5 3600
B450I GAMING PLUS AC
Geforce GTX 1060 6GB
16GB DDR4-3600
WD SN750 1TB NVME
Samsung 850 EVO 250GB SSD
Corsair HX520W PSU
Cougar QBX Case
NEC V422 42" @ 1080p
Ubuntu 20.04 + Whatever I VM

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: FRED Error! Can't open model file <none>
Try disabling them then.

 

Offline MachManX

  • 26
  • The Fight Never Ends...This Is A Fact Of Life!
Re: FRED Error! Can't open model file <none>
If I disable the mediaVPs, what is the point of using SCP?  I'm just curious on how this will solve the problem.  :yes:
« Last Edit: October 15, 2006, 06:39:15 pm by MachManX »
AMD Ryzen 5 3600
B450I GAMING PLUS AC
Geforce GTX 1060 6GB
16GB DDR4-3600
WD SN750 1TB NVME
Samsung 850 EVO 250GB SSD
Corsair HX520W PSU
Cougar QBX Case
NEC V422 42" @ 1080p
Ubuntu 20.04 + Whatever I VM

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: FRED Error! Can't open model file <none>
If I disable the mediaVPs, what is the point of using SCP?  I'm just curious on how this will solve the problem.  :yes:

It will determine whether the error is in the mediaVPs or in something else. :doubt:

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: FRED Error! Can't open model file <none>
It's not a complete solution so much as a step in diagnosing where the problem lies.

If disabling doesn't work run a search for *.tbl, *.tbm and *.vp in you main fs2 folder and all subfolders and tell us what you turn up.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline MachManX

  • 26
  • The Fight Never Ends...This Is A Fact Of Life!
Re: FRED Error! Can't open model file <none>
Well, I tried disabling the mediaVPs and still get the same error.  Now, instead of hitting cancel when I get that error message, I hit OK.  After a few seconds, the exact same error message shows up.  So that's 2 times the same error message shows up.  NOW, if I click OK again, I get a completely different error message:-

Error: Unable to swap buffers
Error code: 2
File:C:\temp\fs2_open_3_6_9.t\code\graphics\gropengl.cpp
Line: 1599
[This filename points to the location of a file on the computer that built this executable]

Call stack:
------------------------------------------------------------------
   fs2_open_3_6_9.exe 006a0d09()
   kernel32.dll 7c816fd7()
------------------------------------------------------------------

[ This info is in the clipboard so you can paste it somewhere now ]


Use OK to break into Debugger, Cancel exits.



I get this error with the optimized build (fs2_open_r-P420061003.exe) as well, with a few changes:-

Error: Unable to swap buffers
Error code: 2
File:\fs2_open\code\graphics\gropengl.cpp
Line:1606
[This filename points to the location of a file on the computer that built this executable]

Call stack:
------------------------------------------------------------------
------------------------------------------------------------------

[ This info is in the clipboard so you can paste it somewhere now ]


Use OK to break into Debugger, Cancel exits.



I tried using the plain old Freespace2.exe, which uses fs2.exe and tried to load the mission, but it says "Attempt to load mission Failed".

I just tried loading a FRED created mission with just 1 fighter and 1 Sathanas without any other customizations, and I get the same errors.  Hell, I couldn't even load a FRED created mission with just 1 Loki and put into Alpha wing.  WTH is going on?

My .tbl:-
ai.tbl, hud.tbl, music.tbl, ships.tbl, stars.tbl, weapon_expl.tbl, weapons.tbl

No .tbm files.

My .vp:-
root_fs2, smarty_fs2, sparky_fs2, sparky_hi_fs2, stu_fs2, tango1_fs2, tango2_fs2, tango3_fs2, warble_fs2, mp-710_adveffects, mp-710_effects, mp-710_models, mv_adveffects, mv_core, mv_effects, mv_models, mv_music, mv_textures

Hope this helps.  BTW, I played ITDoH 4 with no problems whatsoever.  No freezes, no kickback to desktop, NOTHING!  Gameplay was beautiful.  The problem only occurs when I create a mission in FRED2, whether it was the SCP or the one that came with the game.  Help me!
AMD Ryzen 5 3600
B450I GAMING PLUS AC
Geforce GTX 1060 6GB
16GB DDR4-3600
WD SN750 1TB NVME
Samsung 850 EVO 250GB SSD
Corsair HX520W PSU
Cougar QBX Case
NEC V422 42" @ 1080p
Ubuntu 20.04 + Whatever I VM

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: FRED Error! Can't open model file <none>
Right. If you've installed everything correctly you should have a set up like this

Main folder
 root_fs2, smarty_fs2, sparky_fs2, sparky_hi_fs2, stu_fs2, tango1_fs2, tango2_fs2, tango3_fs2, warble_fs2

mediavps folder
 mp-710_adveffects, mp-710_effects, mp-710_models, mv_adveffects, mv_core, mv_effects, mv_models, mv_music, mv_textures

Your Mod folder\Data\tables
 ai.tbl, hud.tbl, music.tbl, ships.tbl, stars.tbl, weapon_expl.tbl, weapons.tbl

Your Mod folder\Data\Missions
 Any missions you've made.


If you don't have this kind of set up then we'll need to get you to something like that. If you do though I'd advise making a new FRED shortcut with no use of the -mod option. Then create a simple test mission in FRED (thereby not using the media VPs or your altered tables). Save that mission to Freespace2\Data\Missions

Now run the SCP launcher. Go to the mod tab and try to run the mission.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline MachManX

  • 26
  • The Fight Never Ends...This Is A Fact Of Life!
Re: FRED Error! Can't open model file <none>
Everything is already installed like that, so that's not the problem.  I tried the -mod option in the shortcut, but it is not bypassing my altered tables.  This is what my shortcut has:-

C:\Games\FreeSpace2\fred2_open_3_6_9.exe -fredhtl -mod

How do I get the -mod to work?
AMD Ryzen 5 3600
B450I GAMING PLUS AC
Geforce GTX 1060 6GB
16GB DDR4-3600
WD SN750 1TB NVME
Samsung 850 EVO 250GB SSD
Corsair HX520W PSU
Cougar QBX Case
NEC V422 42" @ 1080p
Ubuntu 20.04 + Whatever I VM

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: FRED Error! Can't open model file <none>
Everything is already installed like that, so that's not the problem.  I tried the -mod option in the shortcut, but it is not bypassing my altered tables.  This is what my shortcut has:-

C:\Games\FreeSpace2\fred2_open_3_6_9.exe -fredhtl -mod

How do I get the -mod to work?

you have to put the directory name after it.


C:\Games\FreeSpace2\fred2_open_3_6_9.exe -fredhtl -mod my_mod

where my_mod is the name of the folder inside of the freespace2 folder.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline MachManX

  • 26
  • The Fight Never Ends...This Is A Fact Of Life!
Re: FRED Error! Can't open model file <none>
OK, I seemed to have somewhat found the problem, but the fix is not really great.  I get everything to work by using DirectX instead of OpenGL, but the disadvantage is less impressive quality in graphics.  I prefer using OpenGL because of the visual quality it has over DirectX.  I still get the error listed as my first post 2 times, but after that the game runs.  It does not show that "Unable to swap buffers" error that openGL shows me and then abruptly exits the game.  It still sucks though, I really want to use OpenGL.

I was playing ITDoH 4 and used its tables to create FRED missions, but I get the error stated above.  Once I remove all the tables, I CAN run FRED created missions with NO problems whatsoever.  But I can't use the cool ships in ITDoH 4, unless I use the less stunning DirectX.

Try this:-
Install ITDoH 4 by extracting its .VP contents and inserting them directly to the correct folders within the data folder.  Then try to create a mission in FRED, like a Loki, make it Alpha wing, and save.  Then run the mission in the simulator.  Make sure you are using OpenGL.  Then you will experience my error.  Try the same with DirectX and you will experience the same error, except for the OpenGL error and the game will run.

Is there a way to fix this?
AMD Ryzen 5 3600
B450I GAMING PLUS AC
Geforce GTX 1060 6GB
16GB DDR4-3600
WD SN750 1TB NVME
Samsung 850 EVO 250GB SSD
Corsair HX520W PSU
Cougar QBX Case
NEC V422 42" @ 1080p
Ubuntu 20.04 + Whatever I VM

 

Offline MachManX

  • 26
  • The Fight Never Ends...This Is A Fact Of Life!
Re: FRED Error! Can't open model file <none>
Update:  When I take out the weapons.tbl file, the errors go away.  So it seems like something is wrong with the ITDoH 4 weapons.tbl file.  Can someone verify this?
AMD Ryzen 5 3600
B450I GAMING PLUS AC
Geforce GTX 1060 6GB
16GB DDR4-3600
WD SN750 1TB NVME
Samsung 850 EVO 250GB SSD
Corsair HX520W PSU
Cougar QBX Case
NEC V422 42" @ 1080p
Ubuntu 20.04 + Whatever I VM

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: FRED Error! Can't open model file <none>
Update:  When I take out the weapons.tbl file, the errors go away.  So it seems like something is wrong with the ITDoH 4 weapons.tbl file.  Can someone verify this?

it's not wrong, per say, just incompatible with how you're doing mods.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline MachManX

  • 26
  • The Fight Never Ends...This Is A Fact Of Life!
Re: FRED Error! Can't open model file <none>
I can hardly see how text based files become incompatible with SCP, but I'll take your word for it  :yes: .  Looking at the error from this new angle, is it safe to assume that the error may be related to one of the weapons not having a model file specified?  Do weapons use model files?
AMD Ryzen 5 3600
B450I GAMING PLUS AC
Geforce GTX 1060 6GB
16GB DDR4-3600
WD SN750 1TB NVME
Samsung 850 EVO 250GB SSD
Corsair HX520W PSU
Cougar QBX Case
NEC V422 42" @ 1080p
Ubuntu 20.04 + Whatever I VM

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: FRED Error! Can't open model file <none>
Are you in possesion of any .tbl/.tbm files ( run a search if unsure) :) sounds like a rogue ship entry..
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

  

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: FRED Error! Can't open model file <none>
Update:  When I take out the weapons.tbl file, the errors go away.  So it seems like something is wrong with the ITDoH 4 weapons.tbl file.  Can someone verify this?

It sounds like you already did.  It's not unheard of for mods to have bugs in them.  Ask the designer of ITDoH.