4000-520-616
欢迎来到免疫在线!(蚂蚁淘生物旗下平台)  请登录 |  免费注册 |  询价篮
主营:原厂直采,平行进口,授权代理(蚂蚁淘为您服务)
咨询热线电话
4000-520-616
当前位置: 首页 > 新闻动态 >
新闻详情
SS111\'s ID Resolver integration-CSDN问答
来自 : CSDN技术社区 发布时间:2021-03-25

私信 访问主页

\"weixin_39632698\" weixin_39632698 2020-11-28 18:11 首页 开源项目 SS111\'s ID Resolver integration

I originally posted issue #322 where I requested a multi-log viewer and a world-loading stopper. I added an idea concerning the integration of SS111 s ID Resolver (for 1.6.X clients only), but was asked to move to a new issue.

Link: https://github.com/SS111/Minecraft-ID-Resolver

This would include the automatic location of config directories and NEI item ID dumps (which are used to fix ID conflicts); MultiMC5 would use the program to print all conflicts that occur in the config directory and a configurable number of subdirectories.

There should also be a manual process of selecting config files to omit from the ID conflict resolution process (some mods use base block IDs , making it almost impossible to change IDs for these mods in an effective fashion). A NEI dump contains ALL IDs, so that mods with no configs or abnormal configs can still be used.

该提问来源于开源项目 MultiMC/MultiMC5

点赞 写回答 收藏 复制链接分享 删除 再等等 结题 再想想 30条回答

私信 访问主页

\"weixin_39672194\" jck????? 3月前

I think ID resolvers are obsolete now -- and that s a good thing. Sorry for not acting upon this issue, but I m just going to close it now.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39632698\" weixin_39632698 3月前

Oh yeah, I should note that sometimes you ll have a mod with a normal config - but it ll shift the IDs by 256.

And I should note the IDFix Minus resolves stuff when a conflict is detected. This ID resolver does not do that; it only tinkers with the IDs in the configs (and only those which are recognised as IDs for blocks and items; they are clearly marked out in the config files)

And I think that ID dumps should still be used - the resolver should change as few IDs as it can (to minimise the damage done to worlds that were created before the resolutions). There are also mods that don t have any configs (or for that matter, abnormal configs - see comments above).

Still, nice to see some development here.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39843738\" weixin_39843738 3月前

Edit: It does do the same thing as your mod, almost to the t.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39843738\" weixin_39843738 3月前

Bte found a Perl script that did almost the same thing as your mod, minus the NEI dumps.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39843738\" weixin_39843738 3月前

There are a few others such as Hunger Overhaul overwriting Natura and Harvestcraft things, as intended by iguana, but that isn t what you asked.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39843738\" weixin_39843738 3月前

I have seen Thermal expansion do it for a few items, can t remember some exact ones. It did mess up my configs for a while when I put idfix minus in. Though primitive, it did do what it advertised, albeit too far. I would recommend that conflicts from the same mod overwriting its own ids be ignored by your ID conflict manager.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39908616\" weixin_39908616 3月前

And just as a little note, I m still working on this. I m currently re-doing the command line system as its currently very ineffective (for example, having the NEI ID dump being required). As the lone developer on the project, I tend to get sidetracked. It will get done, though.

Where have you seen a case where the same ID is used for the block and the item? I m curious.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39672194\" jck????? 3月前

Ultimately, it s up to the user to decide.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39843738\" weixin_39843738 3月前

Having them run in the beginning may cause these unwanted effects, even if you were using it as a tool to find conflicts.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39843738\" weixin_39843738 3月前

corrupting* the block, rendering it useless or uncraftable.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39843738\" weixin_39843738 3月前

Ok here is the deal with resolvers. They tend to change blockids they aren t supposed to. For example, there can be an item id and block id for the same block that both use 4000, as intended by the author. Id conflict managers tend to change these, sometimes coreu

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39632698\" weixin_39632698 3月前

Thanks! I really hope that this works for you! :D

I just want to point out that some configs don t just have one base block ID; I have seen a config called EasyColouredLights for a mod called Coloured Lights; this uses many different base block ID systems. This is why I want manual blacklisting and whitelisting.

--EDIT--

I should have said this earlier, but would it be possible to have an option for auto-runs of the resolver before launching Minecraft?

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39908616\" weixin_39908616 3月前

Alright, thanks. I ll get to work.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39856607\" weixin_39856607 3月前

On the cli option: Yep

On the blacklisting: ^

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39908616\" weixin_39908616 3月前

Alright. I ll probably just add a command line option so that the arguments can still be specified (configuration directory, etc.) but it will open as a GUI rather than a command line window.

Finally, when referring to blacklisting, you re referring to the fact that you don t want to have to blacklist config files because they use the base block ID structure, correct?

Thanks.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39856607\" weixin_39856607 3月前

I think the displaying of information and such should be on the ID resolver side, so I think that can stay as is.

The part about not being able to choose config files was related to blacklisting, so it s solved by adding blacklisting.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39908616\" weixin_39908616 3月前

Hi all! Thanks for your interest in my program.

Along with trying to fix the issue DeathHammer000 described, I could also do a few things to help you integrate my program with MultiMC. It s obviously not my decision, but if you like (after trying to fix the blacklisting issue, obviously) I could first add a silent command line argument, making the window invisible so the users don t have to deal with it. Secondly, I could add another command line argument that dumps a log of what would normally show up inside the program. This allows you guys to parse the data and display it how you want. You would unfortunately have to run it a second time to resolve the conflicts; I don t see any good way around that.

Finally, if there is any other issues my program might have with MultiMC I could get those fixed. 02JanDal was mentioning something above about how there isn t a way to choose what config files to use; I don t really understand this. Some elaboration would be great.

Anyway, I m going to go get started on the blacklisting issue. Thanks all!

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39856607\" weixin_39856607 3月前

No need to close the issue, it s still valid, just without the blacklisting.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39632698\" weixin_39632698 3月前

Okay, I understand. I ll wait for an answer at the other end and reopen the discussion.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39856607\" weixin_39856607 3月前

I m with peterix there. This should either be fixed by the resolver or by the mods.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39672194\" jck????? 3月前

Isn t that the task of the ID resolver?

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39632698\" weixin_39632698 3月前

Some configs use base block IDs . This is like a universal ID; it adds to this number for different blocks.

This means that it is hard to tell the actual structure of the IDs. If the number in the specified config is changed, there could be a high risk of ID conflicts.

Two examples are OreSpawn and NetherX.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39672194\" jck????? 3月前

IMHO, we can do it without the config disabling and determine if that s something we want to do after some testing/use.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39856607\" weixin_39856607 3月前

That still doesn t answer the question on why you d need that. It doesn t make any sense, why would you want to hide some config files from the resolver?

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39632698\" weixin_39632698 3月前

I ve asked for the whitelist/blacklist feature over at the other page. I haven t got a reply for the initial idea yet.

Perhaps it could deal with configs like they are mods; it could change the file extensions to .cfg.disabled whilst fixing the IDs, so that the ID Resolver does not read them. If it still recognises them as text files, I don t have any more ideas...

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39672194\" jck????? 3月前

that should really be handled by the resolver tool.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39856607\" weixin_39856607 3月前

An install button could make use of the GH release stuff, which the ID resolver seems to use. It s GPL, does that allow us to do so?

So it would create a temporary folder, move all selected config files there, run the tool, and then move them back? I don t know if I like that, would this really be needed? If yes, for what? (in case it could be solved in another way)

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39632698\" weixin_39632698 3月前

Okay, that s great. :) I d like to see an install button for this on 1.6.X clients.

On the issue of the config selection, MMC5 should be able to file configs in different directories (configs to whitelist, configs to blacklist).

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39856607\" weixin_39856607 3月前

Using what s currently available from the tool, this could be done:- Settings and menu entry like MCEdit etc.- Triggering the menu entry runs the tool with the options -c instance /minecraft/config -s - If the NEI dump file can be detected -n dumpfile would also be added- It would be run as a detached tool, so closing MultiMC would not close the ID resolver.

The ID resolver currently has no way of specifying which config files should be used, so someone would have to implement that in the ID resolver and submit a PR for that there.

点赞 评论 复制链接分享

私信 访问主页

\"weixin_39672194\" jck????? 3月前

Ideally as external tool.

点赞 评论 复制链接分享 提交 再想想 采纳 为你推荐 vue脚手架3 npm run serve出现问题 跪求解决 html5javascriptvue.jsnode.js 5个回答springboot文件上传MultipartFile获取文件为空。 java 1个回答python安装包出现这段代码,请问什么意思啊? python 3个回答idea中pom.xml无法导入jdbc的jar包 javamavenintellij-ideajar 1个回答python更新pip失败,困扰了我好久 python 8个回答我应该为每个查询或其在GraphQL中的所有字段创建解析器吗? it技术互联网问答IT行业问题计算机技术编程语言问答 1个回答前往:将引用类型作为参数 parametersreference 2个回答数组中的尾随逗号导致解析错误 command-linesymfonyarraysphp 1个回答Symfony 2 - 具有一种形式的多个实体 mysqlsymfonyformsphp 2个回答如何处理Propel环境变量 configurationvariablesormphp 1个回答各位大佬,我想问一下这个方程问题怎样用python解决哇? python 1个回答如何从Symfony3中提交的表单中获取数据? apisymfonyformsphp 2个回答Symfony 2.5.6 - 在自定义表单类型中抛出UnexpectedTypeException symfonyphp 1个回答Symfony 3.x - 对提交的表单数据对象使用实体getId()方法返回对象(不是整数) symfonyformsphp 2个回答对于某些,但不是全部,表单提交得到“无法确定属性的访问类型”id“。” symfonyphp 1个回答pip3 install ERROR: Exception: Traceback (most recent call last) python 1个回答Stax解析中对DTD的处理 dtd 0个回答【spring】上传文件MultipartHttpServletRequest,为null,求解 javajava-eespringjareclipse 5个回答关于android获取手机联系人信息的问题,求大神帮帮忙?谢谢。 android手机通讯录数据 3个回答SSH使用Spring中MultipartHttpServletRequest实现文件上传 springssh 5个回答 点击登录 提问题 欢迎建议意见 . 如何写高质量提问和回答? 采纳榜7天 被采纳次数 ProfSnail 21 coagenth 16 幻灰龙 164 qq_34124780 145 Jack_Yang(数据分析及可视化) 126 规则边缘 117 GoCityPass新加坡曼谷通票 118 天际的海浪 99 cpp_learner 910 我不喜欢这个世界 9 加急问题 100 unity 设置Animation的culling type 导致游戏崩溃 100 java实现下面两个算法 75 数据库只有myd文件没有frm,myi文件,怎么打开呢 51 利用Adams联合matlab仿真求运动学反解问题 50 labview使用datasocket与c/c#程序的通信 50 如何用C语言实现凯撒密码对文本文件(.txt)的读取穷举暴力破解? 50 已知地图GPS坐标点A和坐标点B,获取A点往B点直线走一定距离的坐标点经纬度? 50 用java实现以下算法 50 Java实现以下算法 50 在不import任何东西并且限制交换次数的情况下做HeapSort和MergeSort?

本文链接: http://sblack111.immuno-online.com/view-753017.html

发布于 : 2021-03-25 阅读(0)