| 666666666666666 |
| 这个确实方便。。。。。。。。。。。。。。 |
|
本帖最后由 gsanders 于 2026-1-14 12:59 编辑 I'd like to see this code. The last time I saw it was at Perisno 0.8 and then I saw only the OUTPUT not the actual code. I probably have 1500 unused items at my rough mod "stage II" Paradigm Chronomancer. This saves me having to run down manually each item and hand cross reference. I would suggest saving the original module_items.py mainly to find the textures called by each item, as textures are the main bulk in a mod. In my case that might shrink the distribution by 1 GB. Thanks once again! - GS |
| 十分感谢!!!! |
| 我看看这是什么 |
| 哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈 |
| 反正也是看不懂。。。 |
| 赞赞赞赞赞赞赞赞赞赞赞赞赞赞赞赞赞 |
| 牛啊,大佬有txt城镇招兵的代码吗,不会用py来自: Android客户端 |
| dddddddddddddddddddddddddd |
| 这个也太强了吧 |
| 这个也太强了吧66666666 |
| 没有源码的mod用不了这个就限制住了 |
| 感谢分享来自: Android客户端 |
| 大佬牛逼6666666 |
| 让 江小白 来看看帖子里藏了啥好东西~~~ |
战争傀儡阿格兰 发表于 2023-9-17 12:37 谢谢,就加了个,你改一下你的主贴就好啦,省得骑友爬楼 |
easewater 发表于 2023-9-8 09:48 牛逼了,能整理成完整的段落吗?我在主楼指路到你这个楼层 |
|
执行了一下,报以下错 Traceback (most recent call last): File ".\unused_items.py", line 43, in <module> file.write(unused_items + '\n') TypeError: can only concatenate list (not "str") to list 仔细再对比了原贴,然后改成这样 file.write(unused_items[i] + '\n') 顺利执行输出如下: Grabbing item names and values from ID_items.py 1389 items found Grabbing item values from module_troops.py 1114 items used by troops 275 unused item names saved to unused_items.txt Finished 以上,供有同样问题的同学参考 |
| 好东西,楼主好人 |
| 这个可以,可以减负 |
| 牛逼大佬!!!!!!!!!!!!!! |
| 摸摸摸摸摸摸摸摸摸摸了 |
GMT+8, 2026-4-3 18:03 , Processed in 0.125996 second(s), 64 queries , Gzip On, MemCached On.
Powered by Discuz! X3.4 Licensed
© 2001-2023 Discuz! Team.