If you get an error on game startup, try going to the REFramework window and clicking "ScriptRunner", then clicking the "Reset Scripts" button.
If older mesh mods are not changing anything, it is because Capcom updated the mesh format. The old mesh files are no longer replacing anything and need to be updated by their authors.
Because Capcom changed the mesh format and programming for this game which broke all mesh mods and many script mods made before November, you might consider temporarily downgrading the game. Here are some instructions on how to do that, as provided by MrLMarsBTW:
1) Hit Win + R, this will bring up Run program
2)Type in these string of text: steam://open/console
3) At the Steam console, put in the following command: download_depot 2054970 2054971 3651653997745280087 and hit enter (The size of the file is around 63000 MB, so you are basically downloading the whole game again. So expect 1-3 hours of waiting)
4) Once you are done, you should see something like" downloading depot 2054971 (63000 MB)". That means you are doing it correctly. And Steam is silently downloading it.
5) Once it is finished you should see something like " Download depot complete: (your steam location) \Steam\steamapps\content\app_2054970\depot_2054971"
6) After that go back to Steam Console and type in: download_depot 2054970 2054973 9154750822287322883 ( these files are around 300 MB, so it should take a few minutes to download)
7) Now once everything is done. You should back up your DD2 flies.
8) After that, delete all files in your DD2 folder.
9) Copy all contents in the depot_2054971 folder, and paste them into DD2 folder.
10) Last step, copy all files in the depot_2054973 folder, and again paste them into DD2 folder. When it prompts to replace the files, DO NOT REPLACE IT. Just simply click on "skip these files". And you are done.
These steps may be confusing to some of you. Feel free to let me know if you are not certain about which part; maybe I and others can guide you there.
There is constant error in Re Framework connected with this mod. If any mod, that affects meshes, runs with Mesh mod enabler, game freezes in loading screen, and it's impossible to load save file. Text of error: [2025-07-15 11:54:56.813] [REFramework] [error] sol: runtime error: ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:39: attempt to index a nil value (local 'dict') stack traceback: ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:39: in upvalue 'get_dict' ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:203: in function <...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:194>
I bought game several days ago, so there are not piles of old mods, i also verified integrity of files. Result is zero.
Running into this error when I check ScriptRunner, resetting nets me the same error as does uninstalling and reinstalling. sol: runtime error: ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:216: attempt to concatenate a nil value (field '?') stack traceback: ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:216: in function <...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:194>
I'm having this issue too, but only when certain mods are installed (Ranaragua's outfit sets). The game will run fine until I hover over the altered sets in the equipment menu, upon which the game promptly crashes.
I have seen mods using "Torso" or enums in the "-PartsEnable" fields that aren't in the reference, to use specific parts of a mesh but I can't find any guidance on how to determine what part of the armour this refers to or how these modders know what enums to use. I'm specifically trying to isolate the lion-motif belt from the Intrepid Scalecoat to add it to another armour. Could anyone with more understanding of how this works please assist?
If you need to use just a single part from another set, you can use the name of the Enum instead of the number, which is where "Torso" comes from.
To figure out which part is which, you can try to suss it out based on the Enum names, edit the Json file for the armor piece, and go back and forth testing it in game.
Based on what I know, the Intrepid Scalecoat's belt should be one of the WaistAccessory enums.
To add it: -Use the Styles.json provided in the Reference folder of the optional Json Style Database to find the number of the Scalecoat (005) -Go to its Json file in Database/Tops/[Gender]/Tops_005, and grab the name used in _BdMeshId and _BdSkinId. This tells the system what model to grab, and what textures to use, respectively. -Then go to what you want to add the Part to. Assuming that you want to add the belt on top of another piece of gear without replacing anything, you'll plug the two names you grabbed into _BdSubMeshId and _BdSubSkinId (this depends on the destination gear not already having those filled. They'll say "None" in that case. Otherwise, you'll have to overwrite what's already there and replace those Parts) -In _BdSubPartsEnabled, you'll use the Enum list to tell it which Parts to show. I recommend starting off by using WaistAccessory1 and WaistAccessory2 (You'll add those two Enums together and then plug it in to the Json line). I know the coat part is also a WaistAccessory alongside the belt, so it's probably either just 1+2 or 3+4 for the belt
I am using a translation. I don't have accurate information, but I don't know if it's because of the April 9th update or a file integrity check on Steam. An error like the one below occurred, and while some json files still work, most of the json files no longer work. I've done everything I can, such as resetting scripts and uninstalling mods, but the error remains. What on earth could be causing this...?(´;ω;`)
↓↓↓ Last Script Error: sol: runtime error: ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:115: attempt to index a nil value (local 'json_data') stack traceback: ...n\ Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:115: in upvalue 'apply_json_data' ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:249: in function < ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:194 >
279 comments
If older mesh mods are not changing anything, it is because Capcom updated the mesh format. The old mesh files are no longer replacing anything and need to be updated by their authors.
1) Hit Win + R, this will bring up Run program
2)Type in these string of text: steam://open/console
3) At the Steam console, put in the following command: download_depot 2054970 2054971 3651653997745280087 and hit enter
(The size of the file is around 63000 MB, so you are basically downloading the whole game again. So expect 1-3 hours of waiting)
4) Once you are done, you should see something like" downloading depot 2054971 (63000 MB)". That means you are doing it correctly. And Steam is silently downloading it.
5) Once it is finished you should see something like " Download depot complete: (your steam location) \Steam\steamapps\content\app_2054970\depot_2054971"
6) After that go back to Steam Console and type in: download_depot 2054970 2054973 9154750822287322883 ( these files are around 300 MB, so it should take a few minutes to download)
7) Now once everything is done. You should back up your DD2 flies.
8) After that, delete all files in your DD2 folder.
9) Copy all contents in the depot_2054971 folder, and paste them into DD2 folder.
10) Last step, copy all files in the depot_2054973 folder, and again paste them into DD2 folder. When it prompts to replace the files, DO NOT REPLACE IT. Just simply click on "skip these files". And you are done.
These steps may be confusing to some of you. Feel free to let me know if you are not certain about which part; maybe I and others can guide you there.
Reference: https://www.makeuseof.com/how-to-downgrade-steam-games/
Text of error:
[2025-07-15 11:54:56.813] [REFramework] [error] sol: runtime error: ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:39: attempt to index a nil value (local 'dict')
stack traceback:
...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:39: in upvalue 'get_dict'
...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:203: in function <...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:194>
I bought game several days ago, so there are not piles of old mods, i also verified integrity of files. Result is zero.
sol: runtime error: ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:216: attempt to concatenate a nil value (field '?')
stack traceback:
...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:216: in function <...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:194>
To figure out which part is which, you can try to suss it out based on the Enum names, edit the Json file for the armor piece, and go back and forth testing it in game.
Based on what I know, the Intrepid Scalecoat's belt should be one of the WaistAccessory enums.
To add it:
-Use the Styles.json provided in the Reference folder of the optional Json Style Database to find the number of the Scalecoat (005)
-Go to its Json file in Database/Tops/[Gender]/Tops_005, and grab the name used in _BdMeshId and _BdSkinId. This tells the system what model to grab, and what textures to use, respectively.
-Then go to what you want to add the Part to. Assuming that you want to add the belt on top of another piece of gear without replacing anything, you'll plug the two names you grabbed into _BdSubMeshId and _BdSubSkinId (this depends on the destination gear not already having those filled. They'll say "None" in that case. Otherwise, you'll have to overwrite what's already there and replace those Parts)
-In _BdSubPartsEnabled, you'll use the Enum list to tell it which Parts to show. I recommend starting off by using WaistAccessory1 and WaistAccessory2 (You'll add those two Enums together and then plug it in to the Json line). I know the coat part is also a WaistAccessory alongside the belt, so it's probably either just 1+2 or 3+4 for the belt
I don't have accurate information, but I don't know if it's because of the April 9th update or a file integrity check on Steam.
An error like the one below occurred, and while some json files still work, most of the json files no longer work.
I've done everything I can, such as resetting scripts and uninstalling mods, but the error remains.
What on earth could be causing this...?(´;ω;`)
↓↓↓
Last Script Error: sol: runtime error: ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:115: attempt to index a nil value (local 'json_data')
stack traceback:
...n\ Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:115: in upvalue 'apply_json_data'
...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:249: in function < ...n\Dragons Dogma 2\reframework\autorun\MeshModEnabler.lua:194 >