Baoulettes

Smithy's Anvil SPC v1.0.0

Jan 22nd, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #singleinstance force
  2. softname = Smithy's Anvil Submit Post Creator
  3. version = V.1.0.0
  4. ;ressource needed :
  5. ;app icon : (uncomment if you want to automatly download it.)
  6. ;UrlDownloadToFile, http://i1176.photobucket.com/albums/x337/Baoulettes/Icon.png, %A_ScriptDir%\Icon.png
  7. ;app logo : (uncomment if you want to automatly download it.)
  8. ;UrlDownloadToFile, http://i1176.photobucket.com/albums/x337/Baoulettes/LogoSASPC.png, %A_ScriptDir%\LogoSASPC.png
  9. ;Also make a ReadMe Files. like this :
  10. readme = Smithy's Anvil SPC (Submit Post Creator)`n`nInformation :`nThis software is intended to generator for you a basic `npost ready for `"Submited Rocksmith 2014 package`"`n`nThis soft as been made to formalize the presentation `nthat some does a bit too fast.`n`nAnd also provide a good information of the song it self.`nA preview can be found here :`n`nhttp://i1176.photobucket.com/albums/x337/Baoulettes/Untitledddddd.png`n`nFeatures :`nFull make the post of it's own with few click.`nAllow to precise difficulty of EACH arrangement.`na range from 0 (Easiest) to 6 (Monstruous !)`nFor user to put a song preview / Album to make it pretier.`nFew check to prevent common errors.`nAutomatly update Tuning list and AppID from my server `n(so no software update required with new dlc!)`n`nRequirement :`nA windows computer.`nfor now working over `n`nWindows Vista`nWindows Seven`nWindows 8`nWindows 8.1`n`nMore info : `nFor any help feel free to go over `nhttp://forums.smithyanvil.com/`nAnd ask help here :)`n`nFile list :`n`nFirst run :`nSmithyAnvilSPC.exe    - Main Application.`nReadMe.txt         - This Opened file (O RLY?)`n`nDuring Run :`nSmithyAnvilSPC.exe - Main Application.`nReadMe.txt         - This Opened file (O RLY?)`nappidlist.sac      - File ressource for AppIDs.`ntuninglist.sac        - File ressource for Tunings List.`nLogoSASPC.exe       - Application logo you seen while making the post`n`nClosed Software :`nSmithyAnvilSPC.exe  - Main Application.`nReadMe.txt         - This Opened file (O RLY?)`nappidlist.sac      - File ressource for AppIDs.`ntuninglist.sac        - File ressource for Tunings List.`n`nCopyrights :`n`nAll reference to Smithy's Anvil are Smithy's Anvil Rights!`nI (Baoulettes) Do not own ANY of Smithy's Anvil and/or S A.`nSoftware Logo/Icon are Baoulettes Modifition of Smithy's one.`nBy Logo I mean `" LogoSASPC.png `"`nBy Icon I mean the software icon.`nAsk Baoulettes AND Smithy's Anvil owner for any use.`nAny link to Photobucket user Baoulettes are Baoulettes's work.`nI mean these :`nhttp://i1176.photobucket.com/albums/x337/Baoulettes/1-10.png`nhttp://i1176.photobucket.com/albums/x337/Baoulettes/2-10.png`nhttp://i1176.photobucket.com/albums/x337/Baoulettes/3-4.png`nhttp://i1176.photobucket.com/albums/x337/Baoulettes/4-4.png`nhttp://i1176.photobucket.com/albums/x337/Baoulettes/5-4.png`nhttp://i1176.photobucket.com/albums/x337/Baoulettes/6-1.png`nhttp://i1176.photobucket.com/albums/x337/Baoulettes/7-1.png`nRespect authors and if you want to use it just ask I won't bite.`nAppid list + Tunings list are on Baoulettes's server and also use `nWikipedia as base.`nif you want to use the exact files feel free to ask for the `nsoftware update list to get the direct link that will be constanly updated.`n`nFor Any question goes over my Facebook page : `nhttps://www.facebook.com/pages/Baoulettes/258752740926874`nOr ask here :`nhttp://forums.smithyanvil.com`n`nThanks for those who would have read to there.`nAlso this files is included in the exe so you can't say there is no `"ReadMe`" `nFor liar that take rights there is no mercy ;)
  11. ;Fileappend, %readme%, %A_ScriptDir%\ReadMe.txt (uncomment if you want to create a basic ReadMe.)
  12. ; Software code  :)
  13. Gui, 99:Add, Progress, vloadingbar x12 y49 w520 h30 , 0
  14. Gui, 99:Add, Text, vloadtext x12 y19 w520 h30 , text1.
  15. Gui, 99:Show, x682 y305 h94 w545, %softname% - %version% is loading
  16. lbar = 10
  17. ltext = Updating AppID List
  18. GuiControl,99:,loadingbar, %lbar%
  19. GuiControl,99:,loadtext, %ltext%
  20. Fileinstall, C:\Users\%username%\Desktop\LogoSASPC.png, %A_ScriptDir%\LogoSASPC.png
  21. Fileinstall, C:\Users\%username%\Desktop\ReadMe.txt, %A_ScriptDir%\ReadMe.txt
  22. UrlDownloadToFile, http://www.rs2014mods.t15.org/appidlist.sac, %A_ScriptDir%\appidlist.sac
  23. lbar = 20
  24. ltext = Updating Tuning List
  25. GuiControl,99:,loadingbar, %lbar%
  26. GuiControl,99:,loadtext, %ltext%
  27. UrlDownloadToFile, http://www.rs2014mods.t15.org/tuninglist.sac, %A_ScriptDir%\tuninglist.sac
  28. lbar = 40
  29. ltext = Implanting AppID List
  30. GuiControl,99:,loadingbar, %lbar%
  31. GuiControl,99:,loadtext, %ltext%
  32. FileRead, File,%A_ScriptDir%\tuninglist.sac ;read file to variable
  33. Loop, Parse, File ,`r`n ;loop parse by line
  34.  {
  35.  If (SubStr(A_LoopField,1,1)="[")
  36.   tuning.="|" A_LoopField ;add it to the list
  37.   StringReplace, tuning, tuning, [, , All
  38.   StringReplace, tuning, tuning, ], , All
  39.  
  40.  }
  41.   StringLen, tuninglenght, tuning
  42.   tuninglenght--
  43.   StringRight, tuning, tuning, %tuninglenght%
  44. lbar = 50
  45. ltext = Implanting Tuning List
  46. GuiControl,99:,loadingbar, %lbar%
  47. GuiControl,99:,loadtext, %ltext%
  48. FileRead, File,%A_ScriptDir%\appidlist.sac ;read file to variable
  49. Loop, Parse, File ,`r`n ;loop parse by line
  50.  {
  51.  If (SubStr(A_LoopField,1,1)="[")
  52.   appid.="|" A_LoopField ;add it to the list
  53.   StringReplace, appid, appid, [, , All
  54.   StringReplace, appid, appid, ], , All
  55.  }
  56.   StringLen, appidlenght, appid
  57.   appidlenght--
  58.   StringRight, appid, appid, %appidlenght%
  59. lbar = 80
  60. ltext = Generating Main Interface
  61. GuiControl,99:,loadingbar, %lbar%
  62. GuiControl,99:,loadtext, %ltext%
  63. difflist = 0||1|2|3|4|5|6
  64. Gui, Add, Picture, x0 y0 w500 h65 , %A_ScriptDir%\LogoSASPC.png
  65.  
  66. Gui, Add, Text, x12 y69 w30 h20 +Right, Title :
  67. Gui, Add, Edit, vsongname x42 y69 w130 h20 , My Song Name
  68.  
  69. Gui, Add, Text, x182 y69 w30 h20 +Right, Artist :
  70. Gui, Add, Edit, vartist x212 y69 w110 h20 , Song Artist Name
  71.  
  72. Gui, Add, Text, x332 y69 w40 h20 , Album :
  73. Gui, Add, Edit, valbum x372 y69 w110 h20 , Song Album Name
  74.  
  75. Gui, Add, Text, x12 y129 w90 h20 +Right, Instrument(s) :
  76. Gui, Add, CheckBox, vlead x12 y149 w50 h30 , Lead
  77. Gui, Add, DropDownList, vleadtune x62 y149 w75 h21 r10 ,%tuning%
  78. Gui, Add, Text, x142 y149 w50 h20 , Difficulty :
  79. Gui, Add, DropDownList, vleaddiff x192 y149 w30 h10 r7 , %difflist%
  80. GuiControl,,lead, 1
  81.  
  82. Gui, Add, CheckBox, vrythm x12 y189 w50 h30 , Rythm
  83. Gui, Add, DropDownList, vrythmtune x62 y199 w75 h21 r10 , %tuning%
  84. Gui, Add, Text, x142 y199 w50 h20 , Difficulty :
  85. Gui, Add, DropDownList, vrythmdiff x192 y199 w30 h21 r7 , %difflist%
  86.  
  87. Gui, Add, CheckBox, x12 vbass y229 w50 h30 , Bass
  88. Gui, Add, DropDownList, vbasstune x62 y239 w75 h21 r10 , %tuning%
  89. Gui, Add, Text, x142 y239 w50 h20 , Difficulty :
  90. Gui, Add, DropDownList, vbassdiff x192 y239 w30 h21 r7 , %difflist%
  91. GuiControl,,bass, 1
  92.  
  93. Gui, Add, CheckBox, vleadB x242 y149 w80 h30 , Lead-Bonus
  94. Gui, Add, DropDownList, vleadBtune x322 y149 w75 h20 r10 , %tuning%
  95. Gui, Add, Text, x402 y149 w50 h20 , Difficulty :
  96. Gui, Add, DropDownList, vleadBdiff x452 y149 w30 h21 r7 , %difflist%
  97.  
  98. Gui, Add, CheckBox, vrythmB x242 y189 w80 h30 , Rythm-Bonus
  99. Gui, Add, DropDownList, vrythmBtune x322 y189 w75 h20 r10 , %tuning%
  100. Gui, Add, Text, x402 y189 w50 h20 , Difficulty :
  101. Gui, Add, DropDownList, vrythmBdiff x452 y189 w30 h21 r7 , %difflist%
  102.  
  103. Gui, Add, CheckBox, vbassB x242 y239 w80 h30 , Bass-Bonus
  104. Gui, Add, DropDownList, vbassBtune x322 y239 w75 h21 r10 , %tuning%
  105. Gui, Add, Text, x402 y239 w50 h20 , Difficulty :
  106. Gui, Add, DropDownList, vbassBdiff x452 y239 w30 h21 r7 , %difflist%
  107.  
  108. Gui, Add, Text, x12 y99 w90 h20 +Right, Version :
  109. Gui, Add, Text, vv1 x110 y99 w30 h20 +center, 0
  110. Gui, Add, UpDown, x135 y99 w20 h20 , UpDown
  111. Gui, Add, Text, vv2 x150 y99 w30 h20 +Center, 0
  112. Gui, Add, UpDown, x175 y99 w20 h20 , UpDown
  113. Gui, Add, Text, vv3 x190 y99 w30 h20 +Center, 0
  114. Gui, Add, UpDown, x215 y99 w20 h20 , UpDown
  115.  
  116. ;version variables :
  117. GuiControl,,v1, 1
  118.  
  119. Gui, Add, Text, x22 y279 w90 h20 +Right, Riff Repeater :
  120. Gui, Add, DropDownList, vriffrepeater x122 y279 w70 h20 r2, Yes||No
  121.  
  122. Gui, Add, Text, x212 y279 w90 h20 +Right, Dynamic Difficulty :
  123. Gui, Add, DropDownList, vdd x312 y279 w70 h20 r2, Yes||No
  124. Gui, Add, CheckBox, vlyrics x400 y279 w80 h30 , Lyrics
  125.  
  126. Gui, Add, Text, x22 y319 w90 h20 +Right, Custom Tones :
  127. Gui, Add, DropDownList, vcustomtones x122 y319 w70 h20 r2, Yes||No
  128.  
  129. Gui, Add, Text, x192 y319 w85 h20 +Right, Scroll Speed :
  130.  
  131. Gui, Add, Text, vspeed1 x280 y319 w30 h20 +center, 0
  132. Gui, Add, UpDown, x305 y319 w20 h20 , UpDown
  133. Gui, Add, Text, vspeed2 x315 y319 w30 h20 +Center, 0
  134. Gui, Add, UpDown, x340 y319 w20 h20 , UpDown
  135.  
  136. GuiControl,,speed1, 1
  137. GuiControl,,speed2, 5
  138.  
  139. Gui, Add, Text, x242 y99 w60 h20 +Right, Package ID :
  140. Gui, Add, DropDownList, vappidspack x312 y99 w170 h20 r40, %appid%
  141.  
  142. Gui, Add, Text, x12 y359 w100 h20 , PC CDLC Link :
  143. Gui, Add, Edit, vpcurl x122 y359 w360 h20 , http://www.
  144.  
  145. Gui, Add, Text, x12 y389 w100 h20 , MAC CDLC Link :
  146. Gui, Add, Edit, vmacurl x122 y389 w360 h20 , http://www.
  147.  
  148. Gui, Add, Text, x12 y419 w100 h20 , X360 CDLC Link :
  149. Gui, Add, Edit, vx360url x122 y419 w360 h20 , http://www.
  150.  
  151. Gui, Add, Text, x12 y449 w100 h20 , PS3 CDLC Link :
  152. Gui, Add, Edit, vps3url x122 y449 w360 h20 , http://www.
  153.  
  154. Gui, Add, Text, x12 y479 w100 h20 , AlbumArt Link :
  155. Gui, Add, Edit, valbumarturl x122 y479 w360 h20 , http://www.%A_space%%A_space%%A_space%.png
  156.  
  157. Gui, Add, Text, x12 y509 w100 h20 , Preview Link :
  158. Gui, Add, Edit, vpreviewurl x122 y509 w360 h20 , http://www.youtube.com/MyVideoId
  159.  
  160. Gui, Add, Edit, vcomments x12 y539 w290 h100 , Post comment such as :`nHello,`nHere is `%songname`% by `%artist`% by there album `%album`%.`nI hope you will like it as I do.`nAlso if you think this is good to be Approuved feel free to tell it by speading the word :).
  161. Gui, Add, Text, x302 y539 w190 h70 +Center, Tips `n`%songname`% = Your song title`n`%album`% = Your song Album name`n`%artist`% = Your CDLC Artist name.
  162. Gui, Add, Button, gparse x352 y609 w100 h30 , Create My Post !
  163. lbar = 100
  164. ltext = Work done it should open now.
  165. GuiControl,99:,loadingbar, %lbar%
  166. GuiControl,99:,loadtext, %ltext%
  167. sleep, 1234
  168. Gui, Show, h645 w490, %softname% - %version%
  169. Gui,99:Destroy
  170. Return
  171. ;credit Baoulettes btw :)
  172. parse:
  173. gui, submit,nohide
  174. GuiControlGet, v1
  175. GuiControlGet, v2
  176. GuiControlGet, v3
  177. GuiControlGet, speed1
  178. GuiControlGet, speed2
  179. FormatTime, currentday,, ShortDate
  180. if leaddiff = 0
  181. {
  182. leaddiff = http://i1176.photobucket.com/albums/x337/Baoulettes/1-10.png
  183. }
  184. if leaddiff = 1
  185. {
  186. leaddiff = http://i1176.photobucket.com/albums/x337/Baoulettes/2-10.png
  187. }
  188. if leaddiff = 2
  189. {
  190. leaddiff = http://i1176.photobucket.com/albums/x337/Baoulettes/3-4.png
  191. }
  192. if leaddiff = 3
  193. {
  194. leaddiff = http://i1176.photobucket.com/albums/x337/Baoulettes/4-4.png
  195. }
  196. if leaddiff = 4
  197. {
  198. leaddiff = http://i1176.photobucket.com/albums/x337/Baoulettes/5-4.png
  199. }
  200. if leaddiff = 5
  201. {
  202. leaddiff = http://i1176.photobucket.com/albums/x337/Baoulettes/6-1.png
  203. }
  204. if leaddiff = 6
  205. {
  206. leaddiff = http://i1176.photobucket.com/albums/x337/Baoulettes/7-1.png
  207. }
  208. if leadBdiff = 0
  209. {
  210. leadBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/1-10.png
  211. }
  212. if leadBdiff = 1
  213. {
  214. leadBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/2-10.png
  215. }
  216. if leadBdiff = 2
  217. {
  218. leadBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/3-4.png
  219. }
  220. if leadBdiff = 3
  221. {
  222. leadBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/4-4.png
  223. }
  224. if leadBdiff = 4
  225. {
  226. leadBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/5-4.png
  227. }
  228. if leadBdiff = 5
  229. {
  230. leadBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/6-1.png
  231. }
  232. if leadBdiff = 6
  233. {
  234. leadBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/7-1.png
  235. }
  236. if rythmdiff = 0
  237. {
  238. rythmdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/1-10.png
  239. }
  240. if rythmdiff = 1
  241. {
  242. rythmdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/2-10.png
  243. }
  244. if rythmdiff = 2
  245. {
  246. rythmdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/3-4.png
  247. }
  248. if rythmdiff = 3
  249. {
  250. rythmdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/4-4.png
  251. }
  252. if rythmdiff = 4
  253. {
  254. rythmdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/5-4.png
  255. }
  256. if rythmdiff = 5
  257. {
  258. rythmdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/6-1.png
  259. }
  260. if rythmdiff = 6
  261. {
  262. rythmdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/7-1.png
  263. }
  264. if rythmBdiff = 0
  265. {
  266. rythmBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/1-10.png
  267. }
  268. if rythmBdiff = 1
  269. {
  270. rythmBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/2-10.png
  271. }
  272. if rythmBdiff = 2
  273. {
  274. rythmBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/3-4.png
  275. }
  276. if rythmBdiff = 3
  277. {
  278. rythmBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/4-4.png
  279. }
  280. if rythmBdiff = 4
  281. {
  282. rythmBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/5-4.png
  283. }
  284. if rythmBdiff = 5
  285. {
  286. rythmBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/6-1.png
  287. }
  288. if rythmBdiff = 6
  289. {
  290. rythmBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/7-1.png
  291. }
  292. if bassdiff = 0
  293. {
  294. bassdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/1-10.png
  295. }
  296. if bassdiff = 1
  297. {
  298. bassdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/2-10.png
  299. }
  300. if bassdiff = 2
  301. {
  302. bassdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/3-4.png
  303. }
  304. if bassdiff = 3
  305. {
  306. bassdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/4-4.png
  307. }
  308. if bassdiff = 4
  309. {
  310. bassdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/5-4.png
  311. }
  312. if bassdiff = 5
  313. {
  314. bassdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/6-1.png
  315. }
  316. if bassdiff = 6
  317. {
  318. bassdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/7-1.png
  319. }
  320. if bassBdiff = 0
  321. {
  322. bassBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/1-10.png
  323. }
  324. if bassBdiff = 1
  325. {
  326. bassBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/2-10.png
  327. }
  328. if bassBdiff = 2
  329. {
  330. bassBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/3-4.png
  331. }
  332. if bassBdiff = 3
  333. {
  334. bassBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/4-4.png
  335. }
  336. if bassBdiff = 4
  337. {
  338. bassBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/5-4.png
  339. }
  340. if bassBdiff = 5
  341. {
  342. bassBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/6-1.png
  343. }
  344. if bassBdiff = 6
  345. {
  346. bassBdiff = http://i1176.photobucket.com/albums/x337/Baoulettes/7-1.png
  347. }
  348. IfGreater, speed1, 4
  349. {
  350. msgbox, Your scroll speed must be between "4.5" and "1.0".`n4.5 is the slowerest.`n2.0 is the default value in toolkit.`n1.5 is great value for visuality.`nCheck the first number thank you.
  351. return
  352. }
  353. If speed1 = 0
  354. {
  355. msgbox, Your scroll speed must be between "4.5" and "1.0".`n4.5 is the slowerest.`n2.0 is the default value in toolkit.`n1.5 is great value for visuality.`nCheck the first number thank you.
  356. return
  357. }
  358. If speed2 = 0
  359. {
  360. msgbox, Your scroll speed must be between "4.5" and "1.0".`n4.5 is the slowerest.`n2.0 is the default value in toolkit.`n1.5 is great value for visuality.`nCheck the second number thank you.
  361. return
  362. }
  363. if v1 =
  364. {
  365. msgbox, Your version number can not be less than 1.0.0 `nCheck it thank you.
  366. return
  367. }
  368. if v1 = 0
  369. {
  370. msgbox, Your version number can not be less than 1.0.0 `nCheck it thank you.
  371. return
  372. }
  373. IfGreater, v1, 9
  374. {
  375. msgbox, Your version number can not be highter than than 9.9.9 `nCheck it thank you.
  376. return
  377. }
  378. IfGreater, v2, 9
  379. {
  380. msgbox, Your version number can not be highter than than 9.9.9 `nCheck it thank you.
  381. return
  382. }
  383. IfGreater, v3, 9
  384. {
  385. msgbox, Your version number can not be highter than than 9.9.9 `nCheck it thank you.
  386. return
  387. }
  388. if albumarturl = http://www.   .png
  389. {
  390. msgbox, You must enter Valid Album Art (Direct Link (url finish by .png / .bmp/ .gif etc.
  391. return
  392. }
  393. if albumarturl = http://www.  
  394. {
  395. msgbox, You must enter Valid Album Art (Direct Link (url finish by .png / .bmp/ .gif etc.
  396. return
  397. }
  398. if albumarturl = http://www.
  399. {
  400. msgbox, You must enter Valid Album Art (Direct Link (url finish by .png / .bmp/ .gif etc.
  401. return
  402. }
  403. if albumarturl = http://www.
  404. {
  405. msgbox, You must enter Valid Album Art (Direct Link (url finish by .png / .bmp/ .gif etc.
  406. return
  407. }
  408. if albumarturl =
  409. {
  410. msgbox, You must enter Valid Album Art (Direct Link (url finish by .png / .bmp/ .gif etc.
  411. return
  412. }
  413. if lead = 1
  414. {
  415. leadok =
  416. (
  417. [*]..................................: Lead - %leadtune% [img]%leaddiff%[/img][/*]`n
  418. )
  419. }
  420. if leadb = 1
  421. {
  422. leadBok =
  423. (
  424. [*]..................................: Lead Bonus - %leadBtune% [img]%leadBdiff%[/img][/*]`n
  425. )
  426. }
  427. if rythm = 1
  428. {
  429. rythmok =
  430. (
  431. [*]..................................: Rythm - %rythmtune% [img]%rythmdiff%[/img][/*]`n
  432. )
  433. }
  434. if rythmb = 1
  435. {
  436. rythmBok =
  437. (
  438. [*]..................................: Rythm Bonus - %rythmBtune% [img]%rythmBdiff%[/img][/*]`n
  439. )
  440. }
  441. if bass = 1
  442. {
  443. bassok =
  444. (
  445. [*]..................................: Bass - %basstune% [img]%bassdiff%[/img][/*]`n
  446. )
  447. }
  448. if bassb = 1
  449. {
  450. bassBok =
  451. (
  452. [*]..................................: Bass Bonus - %bassBtune% [img]%bassBdiff%[/img][/*]`n
  453. )
  454. }
  455. songname2 = %songname%
  456. artist2 = %artist%
  457. StringReplace, comments, comments, `%songname`%, %songname%, All
  458. StringReplace, comments, comments, `%artist`%, %artist%, All
  459. StringReplace, comments, comments, `%album`%, %album%, All
  460. StringReplace, songname2, songname2, %A_Space%,_, All
  461. StringReplace, songname2, songname2, .,_, All
  462. StringReplace, artist2, artist2, %A_Space%,_, All
  463. StringReplace, artist2, artist2, .,_, All
  464. if previewurl =
  465. {
  466. msgbox, You must enter valid preview of your song !`nWithout preview how does peoples could know what they download?`nCheck on youtube or other streaming site to get preview of your song.`nThank you.
  467. return
  468. }
  469. if previewurl = http://www.youtube.com/MyVideoId
  470. {
  471. msgbox, You must enter valid preview of your song !`nWithout preview how does peoples could know what they download?`nCheck on youtube or other streaming site to get preview of your song.`nThank you.
  472. return
  473. }
  474. if previewurl = http://www.youtube.com/
  475. {
  476. msgbox, You must enter valid preview of your song !`nWithout preview how does peoples could know what they download?`nCheck on youtube or other streaming site to get preview of your song.`nThank you.
  477. return
  478. }
  479. if previewurl = http://www.youtube.com
  480. {
  481. msgbox, You must enter valid preview of your song !`nWithout preview how does peoples could know what they download?`nCheck on youtube or other streaming site to get preview of your song.`nThank you.
  482. return
  483. }
  484. if previewurl = http://www.youtube.fr
  485. {
  486. msgbox, You must enter valid preview of your song !`nWithout preview how does peoples could know what they download?`nCheck on youtube or other streaming site to get preview of your song.`nThank you.
  487. return
  488. }
  489. if previewurl = http://www.
  490. {
  491. msgbox, You must enter valid preview of your song !`nWithout preview how does peoples could know what they download?`nCheck on youtube or other streaming site to get preview of your song.`nThank you.
  492. return
  493. }
  494. if previewurl = http://www
  495. {
  496. msgbox, You must enter valid preview of your song !`nWithout preview how does peoples could know what they download?`nCheck on youtube or other streaming site to get preview of your song.`nThank you.
  497. return
  498. }
  499. if pcurl =
  500. {
  501. pc1 =
  502. pc2 =
  503. pc3 =
  504. }
  505. else
  506. {
  507. pc1 = PC
  508. pc2 = [*]PC FILE NAME..............: %songname2%_%artist2%_p.psarc[/*]`n
  509. pc3 = [url=%pcurl%][PC]%artist% : %songname% V%v1%.%v2%.%v3%[/url]`n
  510. }
  511. if macurl =
  512. {
  513. mac1 =
  514. mac2 =
  515. mac3 =
  516. }
  517. else
  518. {
  519. mac1 = |MAC
  520. mac2 = [*]Mac FILE NAME............: %songname2%_%artist2%_m.psarc[/*]`n
  521. mac3 = [url=%macurl%][MAC]%artist% : %songname% V%v1%.%v2%.%v3%[/url]`n
  522. }
  523. if ps3url =
  524. {
  525. ps31 =
  526. ps32 =
  527. ps33 =
  528. }
  529. else
  530. {
  531. ps31 = |PS3
  532. ps32 = [*]PS3 FILE NAME............: %songname2%_%artist2%_ps3.psarc.edat[/*]`n
  533. ps33 = [url=%ps3url%][PS3]%artist% : %songname% V%v1%.%v2%.%v3%[/url]`n
  534. }
  535. if x360url =
  536. {
  537. x3601 =
  538. x3602 =
  539. x3603 =
  540. }
  541. else
  542. {
  543. x3601 = |Xbox 360
  544. x3602 = [*]X360 FILE NAME..........: %songname2%_%artist2%_xbox[/*]`n
  545. x3603 = [url=%x360url%][X360]%artist% : %songname% V%v1%.%v2%.%v3%[/url]`n
  546. }
  547. if lyrics = 1
  548. {
  549. lyrics = Yes
  550. }
  551. else
  552. {
  553. lyrics = No
  554. }
  555. post =
  556. (
  557. [img]%albumarturl%[/img]
  558. [list]
  559. [*]TITLE..........................: %songname%[/*]
  560. [*]ARTIST.......................: %artist%[/*]
  561. [*]ALBUM........................: %album%[/*]
  562. [*]INSTRUMENT(S)..........: [/*]
  563. %leadok%%leadBok%%rythmok%%rythmBok%%bassok%%bassBok%[*]LYRICS........................: %lyrics%[/*]
  564. [*]VERSION.....................: %v1%.%v2%.%v3%[/*]
  565. [*]RIFF REPEATER............: %riffrepeater%[/*]
  566. [*]DYNAMIC DIFFICULTY...: %dd%[/*]
  567. [*]CUSTOM TONE..............: %customtones%[/*]
  568. [*]SCROLL SPEED.............: %speed1%.%speed2%[/*]
  569. [*]PACKAGE ID.................: %appidspack%[/*]
  570. [*]PLATFORMS..................: %pc1%%mac1%%ps31%%x3601%[/*]
  571. %pc2%%mac2%%ps32%%x3602%[/list]
  572.    
  573. %comments%
  574.  
  575. %pc3%%mac3%%ps33%%x3603%
  576. [url]%previewurl%[/url]
  577.  
  578. [code]
  579. Change Log:
  580.  
  581. %currentday% %v1%.%v2%.%v3% :
  582.  
  583. [/code]
  584. )
  585. clipboard = %post%
  586. msgbox, Now past your content in a new thread and click preview and check if all okay :)`n(CTRL+V or Right Click -> paste.)
  587. return
  588.  
  589. GuiClose:
  590. Filedelete, %A_ScriptDir%\LogoSASPC.png
  591. ExitApp
Advertisement
Add Comment
Please, Sign In to add comment