Page 1 of 5 1 2 3 4 5 >
Topic Options
#105505 - 08/24/08 08:42 PM MMF2 Extension Loading Problem! Users/Devs Read!
Novabrain


Registered: 07/01/06
Posts: 2597
We have been noticing that users are reporting problems with loading certain extensions. It appears that this applies to newer extensions and possibly newer updates to older ones.

In order to resolve this matter, we ask all users to post details about their problem here, even if they have already created a thread about it. Tell us if you are using MMF2 Standard or Dev, what OS you are using, what extensions are not working, and the date of the file you downloaded, as well as the .mfx version info located in your MMF2, Extensions folder. Right click, properties.

We also would like extension devs to post what they think the problem is here and information about how to resolve it so that a bulletin can be created if we figure out what's wrong.

A list of affected extensions would help sort this out, as well.

It seems that we may need to have some extensions recompiled if the build situation is the problem. If that turns out to be the case, then this thread can also serve to provide info on when and where extension updates are available.

Thanks!

Top
#105507 - 08/24/08 08:47 PM Re: MMF2 Extension Installation [Re: Novabrain]
Jeff


Registered: 06/28/06
Posts: 4569
Loc: Oregon
My advice:

1 - Make sure you have the latest build for MMF.

2 - Check the readme or other info with the extensions in question. A certain number of them REQUIRE .net framework to be on your computer. If you have XP you need to install this yourself.

3 - Double check you have the file in the right folder. If they don't come in an installer its easy to have them in the incorrect folder locations.
_________________________
Flyin V Interactive


Top
#105510 - 08/24/08 10:11 PM Re: MMF2 Extension Installation [Re: Jeff]
EnigmaWave


Registered: 07/15/06
Posts: 37
Loc: Russellville, AR, USA
I think there's a fair chance that at least one developer is compiling with VS 2005/2008 and dynamically linking to the newer CRT DLLs, which aren't included with most versions of Windows; unlike msvcrt.dll, which is.

Top
#105537 - 08/25/08 05:50 AM Re: MMF2 Extension Installation [Re: EnigmaWave]
Dynasoft


Registered: 06/30/06
Posts: 1279
Loc: Newcastle
Here are the installers for various C++ runtimes:
(I can't find the VC++ 2003 one...)
VC++ 2005 (already included in Vista, last version to support Win9x)
VC++ 2005 SP1 (doesn't support Win9x)
VC++ 2008
VC++ 2008 SP1

The appropriate version needs to be installed if the extension is dynamic linked to the c++ runtime (dll version) instead of static linked (library/non-dll version), depending on which version of Microsoft Visual C++ was used to build the extension.
The "_Small" build types in the extension sdk are known to link to the dll version of the runtime, it's the main reason they are smaller, but it comes at the penalty of needing the above installed.

Top
#105632 - 08/25/08 02:29 PM Re: MMF2 Extension Installation [Re: Dynasoft]
Burfelt


Registered: 07/04/06
Posts: 119
Loc: Denmark
After some testing I've found that Live Receiver requires VC++2005 to be installed!

Thanks for posting the links Dynasoft.

Top
#105858 - 08/26/08 09:58 PM Re: MMF2 Extension Installation [Re: Burfelt]
Novabrain


Registered: 07/01/06
Posts: 2597
Thanks to everyone who is helping out with this problem.

We appreciate the sleuthing!

Does the version of the VC++ runtime on the machine affect the end user of an executable made with the extensions involved? I am assuming that the dynamic linking would also apply to running a game or application.

Top
#105861 - 08/26/08 10:15 PM Re: MMF2 Extension Installation [Re: Novabrain]
EnigmaWave


Registered: 07/15/06
Posts: 37
Loc: Russellville, AR, USA
Yes, if the run only version of an extension is compiled using the same settings as the edit time version, then the appropriate DLLs must be installed for the stand alone EXE to run.

There are at least two possible ways to avoid this:

Option 1 - Compile the extension using static linking, which causes any C/C++ runtime functions that are used to be built into the MFX files. The only downside to this is you end up with larger MFX files.

Option 2 - Compile the extension with Visual C++ 6.0, which only requires a DLL file which comes with windows. The downside to this is you miss out on any features which were added to newer versions of C++.

Top
#105880 - 08/27/08 04:51 AM Re: MMF2 Extension Installation [Re: EnigmaWave]
Dynasoft


Registered: 06/30/06
Posts: 1279
Loc: Newcastle
Even better, if an extension is linked against any custom libraries that were also dynamic-linked against a C++ runtime, the extension will be dynamic-linked against that runtime even if it was static-linked to the runtime itself.
But wait, there's more! If an extension is linked to a library that needs one version of the C++ runtime, and the extension itself is dynamic-linked against a different version of the C++ runtime, the extension will require BOTH to run!

There is a 3rd way of solving this issue, but it requires more changes: Include pass-throughs for a bunch of stock c++ functions in the MMF2 runtime (making it larger), expose them in the extension sdk, and get extensions to use those (making extensions smaller), and not link to the standard C++ runtime at all or static link for any functions you don't provide.

Top
#105896 - 08/27/08 06:58 AM Re: MMF2 Extension Installation [Re: Dynasoft]
DJFuego


Registered: 07/01/06
Posts: 736
Loc: UK
I like the sound of option 3
_________________________
Regards

Ross

RAMRAIDERSOFTWARE

Top
#105920 - 08/27/08 10:07 AM Re: MMF2 Extension Installation [Re: Burfelt]
Looki


Registered: 08/27/06
Posts: 970
Loc: Duisburg, Germany
 Originally Posted By: Burfelt
After some testing I've found that Live Receiver requires VC++2005 to be installed!

Thanks for posting the links Dynasoft.


Are you sure..? Jamie uses VC 6, I'm VERY sure. I don't think he uses the VC05 runtime, or even is able to.

Top
Page 1 of 5 1 2 3 4 5 >


Site Links
Forum Index

Home Page
Online Store
Tutorials
Download Center
French Forum
Quick File Links
Multimedia Fusion 2
Updates - build 248
Standard Version
Developer Version

Extension Packs
Bonus Pack 1
Bonus Pack 2
z33z Extension Pack
LIJI Extension Pack

The Games Factory 2
Latest Update - build 248
Community Links
Madword Arcade

GameBuilder
Fusion2Developers
The Daily Click

Extensions
Neatwares Extension List
Extension Updater (FusionUpdater)
Zoom Gamer
Click Chat
14 People are chatting