At any rate, the first part of the error is what happens when the .NET runtime is unable to load an assembly that was requested, which would usually be in a .DLL file. Normally, for a deployed application, this DLL would be in the same folder as the executable file. Check your ChasePlane folder, where the .exe is, and see - is slimdx.dll there? If it is, then it might be a versioning issue; when you load an assembly in .NET, you can specify a specific version to load and if this version is not found, even if another version of the DLL is there, you'll get this error. But you would usually get the version information supplied in the error message, and you'd need that to check.
Note:
His slimdx link is broken now, but I believe he means this download here:
-code-archive-downloads/v2/code.google.com/slimdx/SlimDX Runtime .NET 4.0 x86 (January 2012).msi
(I think this would likely only apply if you were having issues converting every xml you tried, but might be worth giving a try).
Hi Guys,
\nI'm having trouble converting a Map Editor xml map to ymap. So far ME2YM isnt working with error 'Unable to read file'.
\nIs there another way to make Ymaps please?\n","tid":"40762","timestamp":"1676838426204","deleted":false,"uid":"88369","upvotes":0,"downvotes":0,"votes":0,"timestampISO":"2023-02-19T20:27:06.204Z","editedISO":"","index":0,"user":"uid":"88369","username":"akatek","fullname":"","userslug":"akatek","reputation":"0","postcount":"6","picture":"","signature":"","banned":false,"status":"offline","lastonline":"1700408949197","groupTitle":null,"icon:text":"A","icon:bgColor":"#827717","lastonlineISO":"2023-11-19T15:49:09.197Z","custom_profile_info":[],"editor":null,"bookmarked":false,"upvoted":false,"downvoted":false,"selfPost":false,"display_edit_tools":false,"display_delete_tools":false,"display_moderator_tools":false,"display_move_tools":false,"display_post_menu":0},"pid":"197159","uid":"232117","tid":"40762","content":"@akatek blender\n","timestamp":"1676843479701","deleted":false,"toPid":"197155","bookmarks":"1","replies":"users":["uid":"88369","username":"akatek","userslug":"akatek","picture":"","icon:text":"A","icon:bgColor":"#827717","status":"offline","administrator":false,"banned":false,"banned_until":0,"banned_until_readable":"Not Banned","email:confirmed":false],"timestampISO":"2023-02-22T18:59:23.536Z","count":1,"upvotes":0,"downvotes":0,"votes":0,"timestampISO":"2023-02-19T21:51:19.701Z","editedISO":"","index":1,"parent":"username":"akatek","user":"uid":"232117","username":"JohnFromGWN","fullname":"","userslug":"johnfromgwn","reputation":"2053","postcount":"6867","picture":"","signature":"","banned":false,"status":"offline","lastonline":"1703461922573","groupTitle":null,"icon:text":"J","icon:bgColor":"#673ab7","lastonlineISO":"2023-12-24T23:52:02.573Z","custom_profile_info":[],"editor":null,"bookmarked":false,"upvoted":false,"downvoted":false,"selfPost":false,"display_edit_tools":false,"display_delete_tools":false,"display_moderator_tools":false,"display_move_tools":false,"display_post_menu":0,"timestamp":"1676978322919","replies":"users":["uid":"88369","username":"akatek","userslug":"akatek","picture":"","icon:text":"A","icon:bgColor":"#827717","status":"offline","administrator":false,"banned":false,"banned_until":0,"banned_until_readable":"Not Banned","email:confirmed":false],"timestampISO":"2023-02-22T19:10:36.366Z","count":1,"deleted":false,"tid":"40762","pid":"197212","toPid":"197155","content":"@akatek
\nUpload the Map Editor '.xml' somewhere like & post the link here & I'll take a look at it \n","uid":"78311","upvotes":0,"downvotes":0,"votes":0,"timestampISO":"2023-02-21T11:18:42.919Z","editedISO":"","index":2,"parent":"username":"akatek","user":"uid":"78311","username":"a63nt-5m1th","fullname":"","userslug":"a63nt-5m1th","reputation":"1423","postcount":"2461","picture":"","signature":""Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise." - Lewis Carroll (Alice in Wonderland)\n","banned":false,"status":"offline","lastonline":"1685974438501","groupTitle":null,"icon:text":"A","icon:bgColor":"#33691e","lastonlineISO":"2023-06-05T14:13:58.501Z","custom_profile_info":[],"editor":null,"bookmarked":false,"upvoted":false,"downvoted":false,"selfPost":false,"display_edit_tools":false,"display_delete_tools":false,"display_moderator_tools":false,"display_move_tools":false,"display_post_menu":0,"timestamp":"1677092363536","deleted":false,"pid":"197239","content":"@JohnFromGWN Thanks...Blender is a new learning curve for me. Might take a few weeks...\n","tid":"40762","uid":"88369","toPid":"197159","upvotes":0,"downvotes":0,"votes":0,"timestampISO":"2023-02-22T18:59:23.536Z","editedISO":"","index":3,"parent":"username":"JohnFromGWN","user":"uid":"88369","username":"akatek","fullname":"","userslug":"akatek","reputation":"0","postcount":"6","picture":"","signature":"","banned":false,"status":"offline","lastonline":"1700408949197","groupTitle":null,"icon:text":"A","icon:bgColor":"#827717","lastonlineISO":"2023-11-19T15:49:09.197Z","custom_profile_info":[],"editor":null,"bookmarked":false,"upvoted":false,"downvoted":false,"replies":"users":[],"timestampISO":"","count":0,"selfPost":false,"display_edit_tools":false,"display_delete_tools":false,"display_moderator_tools":false,"display_move_tools":false,"display_post_menu":0,"timestamp":"1677093036366","replies":"users":["uid":"78311","username":"a63nt-5m1th","userslug":"a63nt-5m1th","picture":"","icon:text":"A","icon:bgColor":"#33691e","status":"offline","administrator":false,"banned":false,"banned_until":0,"banned_until_readable":"Not Banned","email:confirmed":false],"timestampISO":"2023-02-23T00:23:35.652Z","count":1,"deleted":false,"tid":"40762","pid":"197240","toPid":"197212","content":"@a63nt-5m1th Ok, add me on discord Ill upload something there in a private chat as its not a public release. Or as a private file on GDrive or something.\n","uid":"88369","upvotes":0,"downvotes":0,"votes":0,"timestampISO":"2023-02-22T19:10:36.366Z","editedISO":"","index":4,"parent":"username":"a63nt-5m1th","user":"uid":"88369","username":"akatek","fullname":"","userslug":"akatek","reputation":"0","postcount":"6","picture":"","signature":"","banned":false,"status":"offline","lastonline":"1700408949197","groupTitle":null,"icon:text":"A","icon:bgColor":"#827717","lastonlineISO":"2023-11-19T15:49:09.197Z","custom_profile_info":[],"editor":null,"bookmarked":false,"upvoted":false,"downvoted":false,"selfPost":false,"display_edit_tools":false,"display_delete_tools":false,"display_moderator_tools":false,"display_move_tools":false,"display_post_menu":0,"edited":"1677162372836","pid":"197258","content":"@akatek
\nEdit:
\nJeeze, this ended up a monster, good info ofc, but just send me the file & I'll do it lol (unless ofc you're used to reading Lord of the Rings on your lunchbreak) .\nI don't have Discord, but you could upload it somewhere in a nondescript passworded '.zip/.7zip/.rar' etc & privately PM/DM me the link & password (I sent you a PM/DM for ease of initiating that purpose), then delete the link after I download etc, that or the private file on GDrive would work .\nAlternatively, the more protracted method, albeit it can be good learning & satisfying fixing it yourself etc, would go a little like this:\nWondering if you read this on the ME2YM Description tab page? Especially the second one:\n"GETTING AN ERROR?\n\n
\nHis slimdx link is broken now, but I believe he means this download here:
\n -code-archive-downloads/v2/code.google.com/slimdx/SlimDX Runtime .NET 4.0 x86 (January 2012).msi
\n(I think this would likely only apply if you were having issues converting every xml you tried, but might be worth giving a try).\nNote:
\nThe 'Improvement.xml' from the mod I link to below appears to have peds in it, but doesn't throw an error on opening or converting it in ME2YM. The peds simply seem to be removed from the resultant 'Improvement.ymap.xml', so I'm not sure what is going on there, other than perhaps the mod author's GETTING AN ERROR? message was for a previous version which he then coded to ignore/remove peds rather than have ME2YM throw an error about it.\nSo, maybe don't waste time manually removing peds (if you have any), at least initially, as it appears from my testing, that it will be handled automatically anyway, once you get the file to load ofc. Pickups on the other hand, may well still throw an error, just keep that in mind etc.\nMenyoo/Map Editor/YMAP Background Info:\nMenyoo/Map Editor XML files & '.ymaps' are all essentially just a list of props & their locations within the GTA V map. The only real difference between them is the formatting. They can be converted between each other manually if required, just a little time consuming (& boring) if they have thousands of props in them etc.
\nI mention this, because if you figure out that some prop (or something else) is incompatible with a ME2YM convert, but you know for sure it is supported in '.ymap's, then you could remove it/them from your Map Editor xml, convert it, & then add it/them back in manually to the '.ymap' after it's converted (wouldn't be too much work in that case etc).\nDaignosis/Testing Methodology:\nFirst thing would be to confirm for me whether any other Map Editor XML's convert for you successfully or not?\nIf you're not sure, or you haven't used ME2YM for a while, or with a different file previous to this etc, download this mod (12.3MB) & try converting the 'Improvement.xml' in it to '.ymap'. It successfully opens & converts for me with no errors.\nIf the 'Improvement.xml' file converts successfully, then presumably something in your '.xml' is incompatible with ME2YM (like having an empty '' line ('' etc) or one with an incompatible character in it ('-' etc)) or something that's incompatible with '.ymap's in general (like the peds/pickups mentioned by the ME2YM mod author) or alternatively, there's possibly some kind of formatting error within your original file.\nAll of those issues mentioned above (& likely others too) will result in this error message when trying to Open the file:\n\nSyntax Check the XML in OpenIV:\nAt this point, grab your Map Editor xml file & drag & drop it into OpenIV in a location of your choosing (anywhere will do).
\nThen highlight the xml > right-click it > & select 'Edit'. Once it opens, hit the '[ XML]' button in the file header (top leftish, right of '[Paste]' button). This will syntax check the file & give you a warning hint & take you to the line it thinks the error exists on if any are found.\nNote:
\nSometimes syntax errors don't point you to the exact line the error is actually on. They get you close, but often point you to the line where that part of that syntax completes/a new block of data starts, as opposed to exactly where the error is. If you do get a syntax error alert when you check the file & can't figure it out, use a codeblock (see instructions on posting codeblock below) to post the entire block of data surrounding the line ('' to '' etc) that it alerts you to:\nExample:\n \n Prop\n \n -887.3109\n 71.5951\n 50.73853\n \n \n 0\n 0.999999642\n \n overwrite only this line > copy all & post into gta5-mods forum post.
\n```\nManual Testing Process:\nIf indeed, you only have issues converting with your aforementioned 'Unable to read file' xml file & a syntax check comes back clean, I would then probably proceed by backing it up first obvs, & then jumping into it with a text editor (Notepad++ etc) & removing, say, the bottom half of the props list within it. Save it & test a new ME2YM convert.\nIf that works you know the issue resides solely in the bottom half of the xml. If not, revert that delete & remove the top half instead & test again. Those two steps should (if you're lucky) tell you whether it's something in the file that might be causing issues & give you a rough location, but that method, although easy & fast, isn't foolproof, as you could potentailly have duplicates of a problem prop etc that exists both in the top & bottom half of the file (ie multiple duplicate &/or similar issues in both locations to find & remove).\nFor a more foolproof, but perhaps slightly more time consuming method (depending on how advanced & automated you get with your text editor (ie using Replace functionality & wildcards & such etc) & how big the map file is), you'll need to remove all of each prop type's blocks of data one by one testing ME2YM inbetween each removal.
\nie Find all the 'prop_tree_pine_02.ydr' etc hash entries (for example) & remove the entire block associated with them > save > test a convert. Then, without reverting anything (ie leave props you remove removed for now), pick the next prop etc & remove all of their full blocks of data & test a convert & so on.\nAlternative Quick Automatic Prop Removal Test:\nYou can, alternatively, or perhaps as a quick automated diagnostic test, if your text editor has Find & Replace All functionality (Notepad++ does) search for the hash of a prop etc & replace it with '0' (zero) as that will not cause an 'Unable to Read File' error:\nExample:\nFind:\n-1279773008\n\n& Replace All with:\n 0\n\nNote:
\nThis process will only eliminate errors caused directly by the prop hash, as that is all you are changing here, & there may also be entries in your xml that aren't caught by an automated Find & Replace All as well:\nExample:\nSay you search for:\n-1279773008\n\nbut one of them is incorrectly written as:\n1279773008\n\nit will be missed, but if you get through most of your file without a resolution, it should be relatively easy to manually scroll through the file (or search for & then check the next one > then the next one > ... etc) & notice entries that haven't changed & will certainly, by that point, be quicker & easier than checking every full entry manually one by one in the original unedited file, especially if it's a large file.\nAlso, given you are only editing the line in the example just given, it won't catch any issues in other lines. For that you would need to go through the file, & as mentioned previously, remove all the entire blocks of data for each prop type one prop type at a time. That's the only true 100% foolproof method, so depending on map size & complexity, you may well want to skip the previous methods & just start here with that.\nI could probably go into more detail lol, but I think this post is likely big enough already. Figure out whatever way you are comfortable handling it & let me know. Send me the link & I'll do it all, but if you opt to go it yourself & you have any other questions as you proceed, just give me a shout etc \n","tid":"40762","toPid":"197240","timestamp":"1677111815652","deleted":false,"editor":"uid":"78311","username":"a63nt-5m1th","userslug":"a63nt-5m1th","uid":"78311","upvotes":0,"downvotes":0,"votes":0,"timestampISO":"2023-02-23T00:23:35.652Z","editedISO":"2023-02-23T14:26:12.836Z","index":5,"parent":"username":"akatek","user":"uid":"78311","username":"a63nt-5m1th","fullname":"","userslug":"a63nt-5m1th","reputation":"1423","postcount":"2461","picture":"","signature":""Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise." - Lewis Carroll (Alice in Wonderland)\n","banned":false,"status":"offline","lastonline":"1685974438501","groupTitle":null,"icon:text":"A","icon:bgColor":"#33691e","lastonlineISO":"2023-06-05T14:13:58.501Z","custom_profile_info":[],"bookmarked":false,"upvoted":false,"downvoted":false,"replies":"users":[],"timestampISO":"","count":0,"selfPost":false,"display_edit_tools":false,"display_delete_tools":false,"display_moderator_tools":false,"display_move_tools":false,"display_post_menu":0],"category":"slug":"10/installation-help-troubleshooting","bgColor":"#99dedb","parentCid":"0","link":"","description":"Get help installing a mod or troubleshooting bugs","color":"#fff","disabled":false,"imageClass":"cover","numRecentReplies":"1","icon":"fa-life-saver","post_count":"48765","order":"4","descriptionParsed":"Get help installing a mod or troubleshooting bugs\n","topic_count":"12453","class":"col-md-3 col-xs-6","cid":"10","name":"Installation Help & Troubleshooting","totalPostCount":"48765","totalTopicCount":"12453","thread_tools":["class":"toggleQuestionStatus alert-warning","title":"Ask as question","icon":"fa-question-circle"],"isFollowing":false,"isNotFollowing":true,"isIgnoring":false,"bookmark":null,"postSharing":[],"deleter":null,"deletedTimestampISO":"","related":[],"unreplied":false,"icons":[],"breadcrumbs":["text":"[[global:home]]","url":"/","text":"Installation Help & Troubleshooting","url":"/category/10/installation-help-troubleshooting","text":"ME2YM not working! How to create YMAPS?"],"privileges":"topics:reply":false,"topics:read":true,"topics:delete":false,"posts:edit":false,"posts:delete":false,"read":true,"view_thread_tools":false,"editable":false,"deletable":false,"view_deleted":false,"isAdminOrMod":false,"disabled":false,"tid":"40762","uid":0,"topicStaleDays":60,"reputation:disabled":false,"downvote:disabled":false,"feeds:disableRSS":true,"bookmarkThreshold":5,"postEditDuration":31540000,"postDeleteDuration":0,"scrollToMyPost":true,"rssFeedUrl":"/topic/40762.rss","pagination":"prev":"page":1,"active":false,"next":"page":1,"active":false,"rel":[],"pages":[],"currentPage":1,"pageCount":1,"loggedIn":false,"relative_path":"","template":"name":"topic","topic":true,"url":"/topic/40762/me2ym-not-working-how-to-create-ymaps/6","bodyClass":"page-topic page-topic-40762 page-topic-me2ym-not-working-how-to-create-ymaps"} Internal Error.Oops! Looks like something went wrong!Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.