3ds破解吧 关注:314,709贴子:2,999,294

可以在30秒内做好主题的脚本

只看楼主收藏回复

没什么技术含量,借用imagemagick,批量做出如下主题的上屏和下屏图片

要求
1:准备类似以下图片。
图片比例的高度大于等于410x560(560是高度),本来想写个判断函数,想想还是算了

2:安装imagemagick
操作:
1.把以下文字存为bat文件
@echo off
convert "%~f1" -resize 410x temp_all.bmp
convert temp_all.bmp -crop 410x240+0+0 -extent 512x256 top.bmp
convert temp_all.bmp -crop 320x240+45+320 bot.bmp
convert +append bot.bmp bot.bmp bot.bmp bot.bmp
convert bot.bmp -extent 1024x256 bot.bmp
del temp_all.bmp
2.把图片文件拖到bat文件上
会生成top.bmp

和bot.bmp

3.用3DS_ThemeEditor打开主题,导入图片
自寻教程,谢谢
4.用CHHM安装
自寻教程,谢谢
5.完工(顺便一提,YATA可以改各种按键的颜色)


IP属地:日本1楼2015-02-01 18:57回复
    @小寂言纲
    @止水翩舟
    你们只要做好410x240的上屏top.bmp,
    和320x240的3个下屏bot1.bmp bot2.bmp bot3.bmp,
    运行以下命令
    convert top.bmp -extent 512x256 top.bmp
    convert +append bot1.bmp bot2.bmp bot3.bmp bot.bmp
    convert bot.bmp -extent 1024x256 bot.bmp
    再导入top.bmp和bot.bmp就行了,
    当然,需要安装imagemagick


    IP属地:日本2楼2015-02-01 19:01
    收起回复
      diy的乐趣 可以满足我大港版没主题的遗憾


      IP属地:河北来自Android客户端3楼2015-02-01 19:02
      收起回复
        不会


        IP属地:广东4楼2015-02-01 19:03
        收起回复
          看起来完全不懂了


          IP属地:海南来自Android客户端5楼2015-02-01 19:05
          收起回复
            两个教程一起看 可以痛主题了


            IP属地:福建来自Android客户端6楼2015-02-01 19:11
            收起回复
              圣少女!大绅士!


              IP属地:陕西来自iPhone客户端7楼2015-02-01 19:15
              收起回复
                吊吊的


                IP属地:广东来自Android客户端8楼2015-02-01 19:20
                回复
                  @echo off
                  convert "%~f1" -resize 410x temp_all.bmp
                  convert temp_all.bmp -crop 410x240+0+0 top.bmp
                  convert temp_all.bmp -crop 320x240+45+320 bot.bmp
                  convert -size 410x560 xc:none top.bmp -geometry +0+0 -composite bot.bmp -geometry +45+320 -composite preview.png
                  convert temp_all.bmp -crop 410x240+0+0 -extent 512x256 top.bmp
                  convert +append bot.bmp bot.bmp bot.bmp bot.bmp
                  convert bot.bmp -extent 1024x256 bot.bmp
                  del temp_all.bmp
                  顺便把preview也给生成了。


                  IP属地:日本9楼2015-02-01 19:43
                  收起回复
                    貌似不错的样子,支持一下


                    IP属地:河南来自Android客户端10楼2015-02-01 19:47
                    回复
                      赞赞赞


                      IP属地:马来西亚来自Android客户端11楼2015-02-01 19:54
                      回复
                        如果preview下屏需要生成黑框的话,把9楼的xc:none改成 xc:black即可。


                        IP属地:日本12楼2015-02-01 20:03
                        回复
                          基本上把图片处理成长条形,再用脚本就行了(不要在意图片清晰度zzz)



                          IP属地:日本13楼2015-02-01 20:21
                          收起回复
                            楼主的图片怎么转为bmp,两个bat转不了,还有图片尺寸怎么弄


                            IP属地:广东来自Android客户端14楼2015-02-01 20:23
                            收起回复


                              IP属地:广东来自iPhone客户端15楼2015-02-01 20:30
                              回复