Project FOSSIL (v1.0): Use MV plugins in MZ! 300+ plugins Fossilized!

You're gonna have to give a lot more context here.

Adding in the YEP plugins should just be a matter of putting them into your plugin manager as usual. Any dependencies they have will be listed in their plugins. FOSSIL has to be at the very top of your plugin order
Ok, so it's enough to just delete the plugins in the plugin manager and re install them starting with Fossil? Or delete the plugins folder and copy the plugins back in a fresh folder? I only have four plugins so neither is really much of a task.
Ok, so it's enough to just delete the plugins in the plugin manager and re install them starting with Fossil? Or delete the plugins folder and copy the plugins back in a fresh folder? I only have four plugins so neither is really much of a task.
I think, you can just drag&drop them.
I think, you can just drag&drop them.
Even better. Thanks!
@Restart
dude what the hell, I can use YEP in MZ? Thanks!
I needed this because RPG Maker MV has stopped working for me..it's high time to migrate to shiny marvelous MZ 😀
Im Having Issue's when i use SRD_Hud... no clue if this is fossil's fault, currently testing if this is other plugin's compatibility issue.. any experience with this having conflict issue with SRD UltraHud?
There's a minor visual bug with VE Materia System plugin: when changing actors with PageUp/PageDown on the Materia screen, their HP and MP values overlap/glitch/don't update. This is most likely an issue with FOSSIL, as it's not present in MV.

To replicate, just create a blank project, install VE Basic Module and VE Materia (no need to configure anything) , and look at the materia screen with the default actors.

Haven't tested if other plugins with similar screens suffer from the same issue. Also probably not worth fixing it, as it's incompatible with VisuMZ Core (and therefore all of their plugins) anyway.
I'm really sad now... the JS Link and the Demo Link are broken. Can't get this plugin anymore now...
I'm really sad now... the JS Link and the Demo Link are broken. Can't get this plugin anymore now...
My link still works like a champ.
Thnk you thank you!
YEP_PartyLimitGauge Cost per skill doesn't work.
It sometimes still bugs me how this plugin was advertised as silver bullet for every MV plugin, but the reality is, when an MV plugin works with it, feel happy, when it doesn't, then there's no realistic chance rn. You should look for something else.
Hello,

Thank you for your wonderful work. FOSSIL has helped me run a very important plugin for my game and it works great in playtesting.

Unfortunately, it's a web game and when I put it online, I get the error :

ReferenceError
nw is not defined

How can I get around this?

Thank you for your help
Hello,

Thank you for your wonderful work. FOSSIL has helped me run a very important plugin for my game and it works great in playtesting.

Unfortunately, it's a web game and when I put it online, I get the error :

ReferenceError
nw is not defined

How can I get around this?

Thank you for your help
FOSSIL creates a 'FOSSILindex.html' file at runtime, and switches to use it
instead of the original index.html. This works seamlessly in both playtest
and deploy on my computer. However, it is possible this might not be
possible in web or mobile environments (I can't test it). However, if you
just rename an existing FOSSILindex.html to index.html it'll bypass the
html creation step and proceed onwards.
If you want to edit the index.html yourself directly, just replace
'main.js'
with
'plugin/FOSSIL.js'
Basically I replace 'main.js' in index.html with 'FOSSIL.js' so I can
control when plugins are added.
Thanks for your reply,

I tried to rename FOSSILindex.html to index.html but it doesn't change anything. Same thing, of course, replacing 'main.js' with 'plugin/FOSSIL.js' in index.html...

I keep getting "ReferenceError nw is not defined", I don't even know what nw refers to...
I tried to create a new project with RMMV to see if I could find a "nw.js" or something like that somewhere that I could drag into my RMMZ project, but nothing...

Would you have an idea of a "nw" reference I could add somewhere, in combination with the change to index.html perhaps?

Thanks a lot for your help
You are right, nw is not included in the game, so I really have to guess here.

Can you try starting your game in another browser or on another device (iPhone, Android Phone, etc.)?

Furthermore, I would try doing this: In FOSSIL, look for:

Code:
writeNewIndexFile = function(rawIndexHtml) {
        //next, we take the newIndexHtml and replace 'main.js' with '/plugins/Fossil.js'
        rawIndexHtml = rawIndexHtml.replace("main.js", "plugins/FOSSIL.js");
        var fs = require("fs");
        var path = require('path');
        var base = path.dirname(process.mainModule.filename);
        var filePath = path.join(base, 'FOSSILindex.html');
        //var data = createWrapperObject(, orderedResult, unknownPlugins);
        fs.writeFileSync(filePath, rawIndexHtml);
        //synchronous writing means that we can guarantee this is in place 
        //for when we ridirect to the new html.
        
    };

and replace it with
Code:
writeNewIndexFile = function(rawIndexHtml) {
    // just do nothing
    };
Hello,

Thanks a lot, I tried that:

- By changing the portion of code you suggest, I unfortunately still have the same "ReferenceError nw is not defined"
- same thing with other browsers.

I'm trying to install on Android, but the goal is for it to work on a browser. I've already found that it works without a problem on Windows in any case.
When you see the error, please to this:

1. Right-click, inspect
2. Go to "Console" tab
3. When you see that some lines are "collapsed", expand them (see screenshot) so we can see everything.

1719840273226.png


4. Screenshot the entire dialog and share it here for us

Last but not least, tell us which OS and browser you are using, e.g. Chrome on Windows 11
Thanks. Ok so here is the screenshot of the console :
(I'm using Mozilla Firefox on Windows 10)

screen.jpg
You need to go to "Console" tab.

1719844586422.png
Sorry... 😅

screen2.jpg

Original thread: https://forums.rpgmakerweb.com/threads/project-fossil-v1-0-use-mv-plugins-in-mz-300-plugins-fossilized.135523/