3ds破解吧 关注:314,711贴子:2,999,340
  • 7回复贴,共1

可以在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
    收起回复
      @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
      收起回复
        如果preview下屏需要生成黑框的话,把9楼的xc:none改成 xc:black即可。


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



          IP属地:日本13楼2015-02-01 20:21
          收起回复
            @keongtek

            http://pan.baidu.com/s/1sjI4MF7


            IP属地:日本34楼2015-02-01 23:37
            收起回复
              各位我错了,请使用这楼的脚本zzz
              @echo off
              convert "%~f1" -resize 416x temp_all.bmp
              convert temp_all.bmp -crop 416x240+0+0 top.bmp
              convert temp_all.bmp -crop 320x240+48+320 bot.bmp
              convert -size 416x560 xc:black top.bmp -geometry +0+0 -composite bot.bmp -geometry +48+320 -composite preview.png
              convert temp_all.bmp -crop 416x240+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


              IP属地:日本43楼2015-02-02 02:04
              收起回复
                重新弄了下配色,需要的自取
                主题帖那个:
                http://pan.baidu.com/s/1c0dDLGc

                光明之风:
                http://pan.baidu.com/s/1dDiv2wD


                IP属地:日本73楼2015-02-03 00:36
                收起回复