Rextoret Posted April 4, 2018 Share Posted April 4, 2018 Probably a bit of a newbie question, but how do I turn my mod folder into a .fomod for installing with NMM? I've already created my info.xml and moduleconfig.xml files, and compared them with other similar mod's files and they're perfect as far as I can tell. Do you need to use a specific program to change your mod's .rar into a .fomod? When I just rename it to a .fomod and try and open it with NMM it gave me an error code. "Version string portion was too short or too long." I deleted "<?xml version="1.0" encoding="UTF-16"?> " from the start of my info file, because that was the difference between my mod's files and the others I looked at. When I did that and tried again, it just changed to saying it could be installed. Anyone have any idea what I'm doing wrong here? Thanks ahead of time. (I'm trying to create a NMM Installer with multiple options, for magazine covers.) Link to comment Share on other sites More sharing options...
pra Posted April 4, 2018 Share Posted April 4, 2018 the <?xml line is definitely not harmful. I'm surprised why it says UTF-16 instead of UTF-8, but meh. Try pasting your xml in there and see if it shows any errors: https://www.w3schools.com/xml/xml_validator.asp Also: RAR? That works? I thought it's supposed to be a ZIP. Link to comment Share on other sites More sharing options...
Rextoret Posted April 4, 2018 Author Share Posted April 4, 2018 My info.xml checked out, but my moduleconfig.xml produced this: XML Parsing Error: not well-formedLocation: https://www.w3schools.com/xml/xml_validator.aspLine Number 1, Column 62:<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="http://qconsulting.ca/fo3/ModConfig5.0.xsd">-------------------------------------------------------------^ <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://qconsulting.ca/fo3/ModConfig5.0.xsd"> worked, so that part was just leaving out a space. I'll go ahead and check if it works and I'll also use a .zip file instead of .rar. Sadly, can't test if it works now cause I don't have FO4 installed on my laptop so I'll have to wait to get home. Link to comment Share on other sites More sharing options...
wim95 Posted April 4, 2018 Share Posted April 4, 2018 Read Guide to FOMOD scripting Use FOMOD Creation Tool I think you don't need .fomod Enough .zip, .7z, ... Link to comment Share on other sites More sharing options...
Rextoret Posted April 4, 2018 Author Share Posted April 4, 2018 Read Guide to FOMOD scriptingUse FOMOD Creation ToolI think you don't need .fomodEnough .zip, .7z, ...I’ve already created the Installer script, but I think you need a .fomod to actually start it. Link to comment Share on other sites More sharing options...
wim95 Posted April 4, 2018 Share Posted April 4, 2018 Rename .zip, .7z to .fomod Link to comment Share on other sites More sharing options...
Rextoret Posted April 4, 2018 Author Share Posted April 4, 2018 Rename .zip, .7z to .fomod Thank you. Once I load up the .fomod in NMM though, it freezes when I attempt to activate it. Anyone know what's up with that? Link to comment Share on other sites More sharing options...
wim95 Posted April 4, 2018 Share Posted April 4, 2018 why did you decide that you made a working script?read. use Link to comment Share on other sites More sharing options...
SkebMick Posted April 5, 2018 Share Posted April 5, 2018 (edited) You need to put the info.xml and moduleconfig.xml into a folder called fomod, and then place that fomod folder into a .rar or .7z archive along with the mod's resources. When the archive is added to NMM and activated, NMM will detect the fomod folder and boot up the installer you created. You don't change the file extension to .fomod :smile: Edited April 5, 2018 by SkebMick Link to comment Share on other sites More sharing options...
Rextoret Posted April 7, 2018 Author Share Posted April 7, 2018 You need to put the info.xml and moduleconfig.xml into a folder called fomod, and then place that fomod folder into a .rar or .7z archive along with the mod's resources. When the archive is added to NMM and activated, NMM will detect the fomod folder and boot up the installer you created. You don't change the file extension to .fomod :smile: Thank you! I think that was my issue, I'll try that when I get home today. Link to comment Share on other sites More sharing options...
Recommended Posts