Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #singleinstance force
- softname = Rocksmith 2014 Guitar Maker
- buildversion = 2.0.0.71b
- Gui, 99:Add, Progress, vloadingbar x12 y49 w520 h30 , 0
- Gui, 99:Add, Text, vloadtext x12 y19 w520 h30 , text1.
- Gui, 99:Show, x682 y305 h94 w545, %softname% - %buildversion% is loading
- lbar = 10
- ltext = Generating functions & updating Appids list.
- GuiControl,99:,loadingbar, %lbar%
- GuiControl,99:,loadtext, %ltext%
- UrlDownloadToFile, ftp://baoulettes:shadow123@ftp.drivehq.com/appidlist.sac, %A_ScriptDir%\appidlist.sac
- FileRead, File,%A_ScriptDir%\appidlist.sac ;read file to variable
- Loop, Parse, File ,`r`n ;loop parse by line
- {
- If (SubStr(A_LoopField,1,1)="[")
- dlcid.="|" A_LoopField ;add it to the list
- StringReplace, dlcid, dlcid, [, , All
- StringReplace, dlcid, dlcid, ], , All
- }
- StringLen, appidlenght, dlcid
- appidlenght--
- StringRight, dlcid, dlcid, %appidlenght%
- disableUI()
- {
- GuiControl, disable, fliplr
- GuiControl, disable, flipud
- GuiControl, disable, tren
- GuiControl, disable, trfr
- GuiControl, disable, trit
- GuiControl, disable, trde
- GuiControl, disable, trjp
- GuiControl, disable, tres
- GuiControl, disable, tren2
- GuiControl, disable, trfr2
- GuiControl, disable, pcversion
- GuiControl, disable, macversion
- GuiControl, disable, ps3version
- GuiControl, disable, x360version
- GuiControl, disable, trit2
- GuiControl, disable, trde2
- GuiControl, disable, trjp2
- GuiControl, disable, 24finlay
- GuiControl, disable, tres2
- GuiControl, disable, tren3
- GuiControl, disable, trfr3
- GuiControl, disable, trit3
- GuiControl, disable, trde3
- GuiControl, disable, trjp3
- GuiControl, disable, tres3
- GuiControl, disable, parse2B
- GuiControl, disable, btnpackloc
- GuiControl, disable, RS2014DB
- GuiControl, disable, newinlay
- GuiControl, disable, newicon
- GuiControl, disable, submittostore
- GuiControl, disable, coloredinlay
- GuiControl, disable, getemplateB
- GuiControl, disable, newenglishname
- GuiControl, disable, creatorname
- GuiControl, disable, parseB
- GuiControl, disable, lg
- GuiControl, disable, sg
- }
- enableUI()
- {
- GuiControl, enable, fliplr
- GuiControl, enable, flipud
- GuiControl, enable, RS2014DB
- GuiControl, enable, btnpackloc
- GuiControl, enable, newinlay
- GuiControl, enable, newicon
- GuiControl, enable, coloredinlay
- GuiControl, enable, newenglishname
- GuiControl, enable, submittostore
- GuiControl, enable, getemplateB
- GuiControl, enable, creatorname
- GuiControl, enable, parseB
- GuiControl, enable, 24finlay
- GuiControl, enable, lg
- GuiControl, enable, sg
- GuiControl, enable, tren
- GuiControl, enable, trfr
- GuiControl, enable, trit
- GuiControl, enable, trde
- GuiControl, enable, trjp
- GuiControl, enable, tres
- GuiControl, enable, tren2
- GuiControl, enable, trfr2
- GuiControl, enable, trit2
- GuiControl, enable, parse2B
- GuiControl, enable, trde2
- GuiControl, enable, x360version
- GuiControl, enable, pcversion
- GuiControl, enable, macversion
- GuiControl, enable, ps3version
- GuiControl, enable, trjp2
- GuiControl, enable, tres2
- GuiControl, enable, tren3
- GuiControl, enable, trfr3
- GuiControl, enable, trit3
- GuiControl, enable, trde3
- GuiControl, enable, trjp3
- GuiControl, enable, tres3
- }
- global dlcid2 := 1, tab1 := 1, tab2 := 1, tab3 := 1, tab4 := 1, tab5 := 1, rs2014dirtextlang := 1, defengname := 1, defcreatorname := 1, folderrs2014btntxt := 1, load := 1, save := 1, custguittemp := 1, engnametxt := 1, creatornametxt := 1, coloreinlaytxt := 1, gtttxt := 1, sumbit2store := 1, cgctxt := 1, parsebuttontxt := 1, parsebuttontxt2 := 1, warn1submit := 1, submitsave1 := 1, submitsave2 := 1, submitsave3 := 1, submitsave4 := 1, submitsave5 := 1, submitedtxt := 1, defstateprogresstxt := 1, browserwarntxt := 1, slttxtrs2014dir := 1, iconopentxt := 1, iconopentxt2 := 1, inlayopentxt := 1, inlayopentxt2 := 1, cgmopentxt := 1, cgmopentxt2 := 1, cgmonlytxt := 1, loadtxt1 := 1, loadtxt2 := 1, loadtxt3 := 1, loadtxtp1 := 1, loadtxtp2 := 1, loadtxtnewp1 := 1, loadtxtnewp2 := 1, loadtxtnewp3 := 1, savecgmtxt := 1, errorsavecgmtxt := 1, txtsave1 := 1, txtsave2 := 1, txtsave3 := 1, txtsave4 := 1, txtsave5 := 1, sucsavetxt1 := 1, sucsavetxt2 := 1, sucsavetxt3 := 1, sucsavetxt4 := 1, sucsavetxt5 := 1, warn1parsetxt := 1, parse1 := 1, parse2 := 1, parse3 := 1, parse3 := 1, doneconfirm1 := 1, doneconfirm2 := 1, packageversiontxt := 1, btnsinpackloc := 1, installingame := 1
- changeEN()
- {
- tab1 = Creator
- tab2 = Store
- tab3 = About
- tab4 = Lobby
- tab5 = Loading
- rs2014dirtextlang = Undefinied
- defengname = Inlay default name
- defcreatorname = InputYourNameHere
- folderrs2014btntxt = RS2014 Directory
- load = Load
- save = Save
- custguittemp = Custom Guitars templates :
- engnametxt = Inlay Name :
- creatornametxt = Creator Name :
- coloreinlaytxt = Colored Inlay ?
- gtttxt = Get the template
- sumbit2store = Submit to Store
- cgctxt = %ccg% custom guitars created.
- parsebuttontxt = Add to Pack
- parsebuttontxt2 = Create single
- warn1submit = This will send your currently loaded inlay to store.`nIt will require an human verification to prevent immature or forbidden content.`nIt will maintly be done in Weekend.`nWant to continue?
- submitsave1 = Saving .
- submitsave2 = Saving . .
- submitsave3 = Saving ..
- submitsave4 = Saving .. .
- submitsave5 = Saving ...
- submitedtxt = Your inlay has been sent and will be soon be moderated please wait until it.`nYou can send back same inlay with same name / creator name to update pictures in case you need it.
- defstateprogresstxt = Ready to go !
- browserwarntxt = This will open your browser.`nWant to continue?
- slttxtrs2014dir = Select Rocksmith 2014 Installation folder.
- iconopentxt = Open a Icon 512x512 Image
- iconopentxt2 = Rocksmith 2014 Icon 512x512 Image files
- inlayopentxt = Open a Inlay Image
- inlayopentxt2 = Rocksmith 2014 Inlay Image files
- cgmopentxt = Open a Rocksmith 2014 Guitars Maker Template
- cgmopentxt2 = Rocksmith 2014 CGM
- cgmonlytxt = You need to select a .cgm only.
- loadtxt1 = Loading .
- loadtxt2 = Loading ..
- loadtxt3 = Loading ...
- loadtxtp1 = The guitar
- loadtxtp2 = has been loaded !
- loadtxtnewp1 = The guitar
- loadtxtnewp2 = made by
- loadtxtnewp3 = has been loaded !
- savecgmtxt = Select folder to save the custom guitars.
- errorsavecgmtxt = You need to select a folder to save your templace (ex: Desktop.)
- txtsave1 = Saving .
- txtsave2 = Saving . .
- txtsave3 = Saving ..
- txtsave4 = Saving .. .
- txtsave5 = Saving ...
- sucsavetxt1 = Your custom guitar
- sucsavetxt2 = _
- sucsavetxt3 = _v
- sucsavetxt4 =.cgm as been saved here :
- sucsavetxt5 = Enjoy :)
- warn1parsetxt = This will add the current Inlay be sure this is correct.`nWant to continue?,
- parse1 = Generating needed images files.
- parse2 = Converting image to proper size & format
- parse3 = Checking existance of multipack.
- parse3 = Work done !
- doneconfirm1 = Your GuitarInlayPack as been updated !
- doneconfirm2 = Your single Guitar Inlay Pack as been created !
- packageversiontxt = Select package format (At least one, Else there will be no output.)
- btnsinpackloc = Single pack loc ...
- installingame = Directly install into the game once done ?
- }
- changeFR()
- {
- tab1 = Createur
- tab2 = Stock
- tab3 = A propos
- tab4 = Hall
- tab5 = Chargement
- rs2014dirtextlang = Non defini
- defengname = Nom par defaut
- defcreatorname = MettezVotreNomIci
- folderrs2014btntxt = Repertoire RS2014
- load = Charger
- save = Sauvegarder
- custguittemp = Guitares personnalisees :
- engnametxt = Nom de la Guitare :
- creatornametxt = Nom du createur :
- coloreinlaytxt = Guitare en couleur ?
- gtttxt = Avoir la Template
- sumbit2store = Envoyer au Stock
- cgctxt = %ccg% guitares personnalisees crees
- parsebuttontxt = Ajouter au pack
- parsebuttontxt2 = Cree pack simple
- warn1submit = Cela va envoyer votre Guitare actuel au Stock.`nIl sera verifier humainement pour eviter tout contenus choquant ou interdit.`nEn general fait durant le WeekEnd.`nVoulez vous continuer?
- submitsave1 = Envoi .
- submitsave2 = Envoi . .
- submitsave3 = Envoi ..
- submitsave4 = Envoi .. .
- submitsave5 = Envoi ...
- submitedtxt = Votre Guitare a ete envoyer et sera sous peu verifier veuillez patientez s`'il vous plais.`nVous pouvez re-envoyez votre Guitare avec le meme nom et nom du createur pour mettre les images utiliser a jour en cas de besoin.
- defstateprogresstxt = Sur les starting bloc !
- browserwarntxt = Cela ouvriras une fenetre de votre navigateur.`nEtes vous sur?
- iconopentxt = Choisissez votre icon au format 512x512
- iconopentxt2 = Icon Rocksmith 2014 au format 512x512
- inlayopentxt = Ouvrire une image de votre Guitare
- inlayopentxt2 = Image pour votre Guitare Rocksmith 2014
- cgmopentxt = Ouvrire votre Rocksmith 2014 Guitars Maker Template
- cgmopentxt2 = Rocksmith 2014 CGM
- cgmonlytxt = Seulement les fichier .CGM son accepter !
- loadtxt1 = Chargement .
- loadtxt2 = Chargement ..
- loadtxt3 = Chargement ...
- loadtxtp1 = La guitare
- loadtxtp2 = a ete chargee.
- loadtxtnewp1 = La guitare
- loadtxtnewp2 = cree par
- loadtxtnewp3 = a ete chargee !
- savecgmtxt = Selectionnez le repertoire pour sauvegarder votre guitare personalisee.
- errorsavecgmtxt = Vous devez selectionner un dossier pour sauvegarder votre guitares ! (ex: Bureau.)
- txtsave1 = Sauvegarde en cours .
- txtsave2 = Sauvegarde en cours . .
- txtsave3 = Sauvegarde en cours ..
- txtsave4 = Sauvegarde en cours .. .
- txtsave5 = Sauvegarde en cours ...
- sucsavetxt1 = Votre guitares personalisee
- sucsavetxt2 = _
- sucsavetxt3 = _v
- sucsavetxt4 =.cgm a ete sauvegarder ici :
- sucsavetxt5 = Profitez en bien :)
- warn1parsetxt = Cela ajouteras le Guitare actuel au jeu.`nEtes vous sur?,
- parse1 = Generation des images necessaires.
- parse2 = Convertions des images aux bon formats et tailles.
- parse3 = Verification de l'existence du Multi-Pack
- parse3 = Travail fini !
- doneconfirm1 = Votre Multi-pack a ete mise a jour !
- doneconfirm2 = Votre pack simple a ete cree
- packageversiontxt = Selectionnez la/les version voulu. (Au minimum un choix sinon vous n'aurez pas de resultats.)
- btnsinpackloc = Pack simple loc ...
- installingame = Installer directement dans le jeu ?
- }
- changeIT()
- {
- tab1 = Creatore
- tab2 = Depositare
- tab3 = Riguardo
- tab4 = Atrio
- tab5 = Caricamento
- rs2014dirtextlang = Indefinito
- defengname = Nome predefinito
- defcreatorname = InserisciIlNome
- folderrs2014btntxt = RS2014 direttorio
- load = Caricare
- save = Memorizzare
- custguittemp = Modelli Chitarre personalizzati :
- engnametxt = Nome :
- creatornametxt = Creatore nome :
- coloreinlaytxt = Colore chitarra
- gtttxt = Prendi il modello
- sumbit2store = Invia per depositare
- cgctxt = %ccg% chitarre personalizzati creati.
- parsebuttontxt = Crearlo Pack!
- parsebuttontxt2 = Creare singolo
- warn1submit = Questo invia il tuo intarsio attualmente caricata per depositare.`nSara necessaria una verifica umano per evitare che il contenuto immaturi o proibito.`nSara generale venire effettuato in Weekend.`nVolete continuare?
- submitsave1 = Inviato al tribunale .
- submitsave2 = Inviato al tribunale . .
- submitsave3 = Inviato al tribunale ..
- submitsave4 = Inviato al tribunale .. .
- submitsave5 = Inviato al tribunale ...
- submitedtxt = La chitarra personalizzata e stato inviato e verra presto moderato attendere fino a che non.`nPotete rispedire stesso intarsio con lo stesso nome nome / creatore di aggiornare le immagini in caso di necessita.
- defstateprogresstxt = Vroom Vroom ?!
- browserwarntxt = Si aprira il navigatore.`nVolete continuare?
- slttxtrs2014dir = Selezionare Rocksmith 2014 cartella di installazione.
- iconopentxt = Aprire una icona 512x512 Immagine
- iconopentxt2 = Rocksmith 2014 Icona 512x512 file immagine
- inlayopentxt = Aprire una chitarra personalizzata Immagine
- inlayopentxt2 = Rocksmith 2014 file immagine di chitarra personalizzata
- cgmopentxt = Aprire un Rocksmith 2014 Guitars Maker Template
- cgmopentxt2 = Rocksmith 2014 CGM
- cgmonlytxt = E necessario selezionare un file .cgm solo.
- loadtxt1 = Caricamento .
- loadtxt2 = Caricamento ..
- loadtxt3 = Caricamento ...
- loadtxtp1 = La chitarra
- loadtxtp2 = e stato caricato!
- loadtxtnewp1 = La chitarra
- loadtxtnewp2 = fatto da
- loadtxtnewp3 = e stato caricato!
- savecgmtxt = Select folder to save the custom guitars.
- errorsavecgmtxt = You need to select a folder to save your template (ex: Desktop.)
- txtsave1 = Salvaguardare .
- txtsave2 = Salvaguardare . .
- txtsave3 = Salvaguardare ..
- txtsave4 = Salvaguardare .. .
- txtsave5 = Salvaguardare ...
- sucsavetxt1 = La chitarra personalizzata
- sucsavetxt2 = _
- sucsavetxt3 = _v
- sucsavetxt4 =.cgm come sono stati salvati qui :
- sucsavetxt5 = Godere :)
- warn1parsetxt = Questo aggiungera la chitarra personalizzata corrente essere sicuro che questo sia corretto.`nVolete continuare?,
- parse1 = Generazione bisogno di file di immagini.
- parse2 = Conversione immagine alla corretta dimensione e formato
- parse3 = Controllare l'esistenza di Multi-Pack
- parse3 = Lavoro finito!
- doneconfirm1 = Multi-pack e stato aggiornato!
- doneconfirm2 = Il pacco singolo e stato creato
- packageversiontxt = Selezionare il / la versione desiderata. (Almeno una scelta altrimenti non sara possibile ottenere risultati.)
- btnsinpackloc = Pacchetto loc singolo ...
- installingame = Installato direttamente nel gioco ?
- }
- changeSP()
- {
- tab1 = Creador
- tab2 = Cobertizo
- tab3 = Acerca de
- tab4 = Lobby
- tab5 = Sobreprima
- rs2014dirtextlang = Indefinido
- defengname = El nombre por defecto
- defcreatorname = PongaSuNombreAqui
- folderrs2014btntxt = RS2014 Directorio
- load = Carga
- save = Guardar
- custguittemp = Guitarra de la aduana :
- engnametxt = Nombre :
- creatornametxt = Nombre del Creador :
- coloreinlaytxt = Color de la guitarra ?
- gtttxt = Haga que el modelo
- sumbit2store = Enviar a arrojar
- cgctxt = %ccg% guitarras personalizadas creadas
- parsebuttontxt = Lo cree !
- parsebuttontxt2 = Crear sola !
- warn1submit = Esto enviara su guitarra actual al depositario.`nSe comprobara con humanidad para evitar el contenido chocante o prohibido.`nUsualmente se realiza durante el fin de semana.`nUsted desea continuar?
- submitsave1 = Envio .
- submitsave2 = Envio . .
- submitsave3 = Envio ..
- submitsave4 = Envio .. .
- submitsave5 = Envio ...
- submitedtxt = Su guitarra ha sido enviado y en breve comprobar si te gusto por favor espere.`nSe puede volver a enviar su guitarra con el mismo nombre y el nombre del creador de poner las imagenes utilizadas hasta la fecha en caso de necesidad.
- defstateprogresstxt = Listo para despegar !
- browserwarntxt = Esto abrira una ventana del navegador.`n?Esta usted en
- iconopentxt = Seleccione el icono de formato 512x512
- iconopentxt2 = Icono formato Rocksmith 2014 512x512
- inlayopentxt = Tome una imagen de su guitarra
- inlayopentxt2 = Imagen para su guitarra Rocksmith 2014
- cgmopentxt = Tomar su Rocksmith 2014 Guitars Maker Template
- cgmopentxt2 = Rocksmith 2014 CGM
- cgmonlytxt = Solo .CGM aceptada !
- loadtxt1 = Corte .
- loadtxt2 = Corte ..
- loadtxt3 = Corte ...
- loadtxtp1 = Guitarra
- loadtxtp2 = fue acusado.
- loadtxtnewp1 = Guitarra
- loadtxtnewp2 = creado por
- loadtxtnewp3 = fue acusado !
- savecgmtxt = Seleccione el directorio para guardar su guitarra personalizada.
- errorsavecgmtxt = Debe seleccionar una carpeta para guardar las guitarras ! (ex: Oficina.)
- txtsave1 = Ahorro .
- txtsave2 = Ahorro . .
- txtsave3 = Ahorro ..
- txtsave4 = Ahorro .. .
- txtsave5 = Ahorro ...
- sucsavetxt1 = Sus guitarras personalizadas
- sucsavetxt2 = _
- sucsavetxt3 = _v
- sucsavetxt4 =.cgm ha visitado este ahorro :
- sucsavetxt5 = Disfruta de una buena :)
- warn1parsetxt = Se anadira a la guitarra actual juego.`n?Esta usted en?,
- parse1 = Generacion de imagenes necesarias.
- parse2 = Conversiones imagenes con buenos formatos y tamanos.
- parse3 = Terminado el trabajo!
- doneconfirm1 = Su multi-pack ha sido actualizado!
- doneconfirm2 = Tu solo paquete fue creado
- packageversiontxt = Seleccione el / la liberacion deseada. (Por lo menos una opcion de lo contrario no obtendra resultados.)
- btnsinpackloc = Single Pack loc ...
- installingame = Instalado directamente en el juego?
- }
- changeGR()
- {
- tab1 = Schopfer
- tab2 = Speichern
- tab3 = uber
- tab4 = Lobby
- tab5 = Verladung
- rs2014dirtextlang = nicht definiert
- defengname = Standardname
- defcreatorname = IhrNameHier
- folderrs2014btntxt = Verzeichnis RS2014
- load = Last
- save = Sparen
- custguittemp = Gitarre personlich :
- engnametxt = Namen :
- creatornametxt = Name des Schopfers :
- coloreinlaytxt = Gitarre Farbe ?
- gtttxt = Mit Vorlage
- sumbit2store = Senden auf Speichern
- cgctxt = %ccg% Gitarre erstellt
- parsebuttontxt = Ich sie erstellt
- parsebuttontxt2 = Neues Einzel
- warn1submit = Dies wird Ihre aktuelle Kanal auf Speichern schicken.`nEs wird uberpruft, um menschenwurdig schockierende Inhalte zu verhindern oder verboten.`nIn der Regel am Wochenende getan.`nSie wollen weiter?
- submitsave1 = Sendung .
- submitsave2 = Sendung . .
- submitsave3 = Sendung ..
- submitsave4 = Sendung .. .
- submitsave5 = Sendung ...
- submitedtxt = Ihre Gitarre wurde gesendet und wird bald nach, wenn Sie mich mogen Bitte warten.`nSie konnen wieder senden Sie Ihre Gitarre mit dem gleichen Namen und den Namen des Schopfers, um die bisher verwendeten Bilder bei Bedarf gestellt.
- defstateprogresstxt = Bereit zu arbeiten !
- browserwarntxt = Dies soll ein Browser-Fenster offnen.`nSind Sie auf?
- iconopentxt = Wahlen Sie Ihre Icon-Grose auf 512x512
- iconopentxt2 = Icon Rocksmith 2014 Grose 512x512
- inlayopentxt = Ouvrire ein Bild von Ihrer Gitarre
- inlayopentxt2 = Bild fur Ihre Gitarre Rocksmith 2014
- cgmopentxt = offnen Sie Ihre Rocksmith 2014 Guitars Maker Template
- cgmopentxt2 = Rocksmith 2014 CGM
- cgmonlytxt = Nur .CGM akzeptieren sein !
- loadtxt1 = Verladung .
- loadtxt2 = Verladung ..
- loadtxt3 = Verladung ...
- loadtxtp1 = Die Gitarre war verantwortlich
- loadtxtp2 = .
- loadtxtnewp1 = Die
- loadtxtnewp2 = Gitarre erstellt von
- loadtxtnewp3 = war bela
- savecgmtxt = Wahlen Sie das Verzeichnis, um Ihre benutzerdefinierten Gitarre zu speichern.
- errorsavecgmtxt = Sie mussen einen Ordner auswahlen, um die Gitarren zu sparen ! (ex: Buro.)
- txtsave1 = Rettung .
- txtsave2 = Rettung . .
- txtsave3 = Rettung ..
- txtsave4 = Rettung .. .
- txtsave5 = Rettung ...
- sucsavetxt1 = Ihre personlichen Gitarren
- sucsavetxt2 = _
- sucsavetxt3 = _v
- sucsavetxt4 =.cgm hat hier gespeichert :
- sucsavetxt5 = Profitieren Sie von der guten :)
- warn1parsetxt = Er setzt die Gitarre an den aktuellen Spiel hinzufugen.`nSind Sie auf?,
- parse1 = Die Erzeugung der notwendigen Bilder.
- parse2 = Umbauten Bilder mit guten Formaten und Grosen.
- parse3 = Fertige Arbeit!
- doneconfirm1 = Ihr Multi-Pack wurde aktualisiert!
- doneconfirm2 = Ihre Einzelpackung erstellt wurde
- packageversiontxt = Wahlen Sie den / die gewunschten Freisetzungs. (Mindestens eine Wahl sonst werden Sie nicht Resultate.)
- btnsinpackloc = Single Pack loc ...
- installingame = Direkt in das Spiel installiert ?
- }
- changeJP()
- {
- tab1 = 創造主
- tab2 = 格納
- tab3 = およそ
- tab4 = ロビー
- tab5 = 荷重
- rs2014dirtextlang = 未定義
- defengname = 英語のデフォルト名
- defcreatorname = 入力あなたの名前ここで
- folderrs2014btntxt = ディレクトリ RS2014
- load = 負荷
- save = セーブ
- custguittemp = カスタムギターのテンプレート :
- engnametxt = 英語名 :
- creatornametxt = 作成者名 :
- coloreinlaytxt = 色のインレイ
- gtttxt = テンプレートを取得
- sumbit2store = 保管するために提出する
- cgctxt = %ccg% カスタムギターを作成.
- parsebuttontxt = それを作成!
- parsebuttontxt2 = シングルの作成
- warn1submit = これは保存するためにあなたの現在ロードされているインレイをお送りします.`nそれが未熟または禁じコンテンツを防ぐために、人間の検証が必要になります.`nこれは、一般的に週末に行われます.`n継続したい?
- submitsave1 = 節約 .
- submitsave2 = 節約 . .
- submitsave3 = 節約 ..
- submitsave4 = 節約 .. .
- submitsave5 = 節約 ...
- submitedtxt = あなたのインレイは、それまで待っててください、送信されており、まもなく緩和されます.`nあなたはあなたがそれを必要とする場合に、画像を更新するために、同じ名前と作成者名と同じインレイを送り返すことができます.
- defstateprogresstxt = 行く準備ができて!
- browserwarntxt = これは、ブラウザを開きます.`n続けたいですか?
- slttxtrs2014dir = ROCKSMITH 2014 インストールフォルダの選択.
- iconopentxt = アイコン 512×512 画像を開く
- iconopentxt2 = ROCKSMITH 2014 アイコン 512×512 の画像ファイル
- inlayopentxt = インレイの画像を開く
- inlayopentxt2 = ROCKSMITH 2014 インレイの画像ファイル
- cgmopentxt = ROCKSMITH 2014 ギターメーカーのテンプレートを開く
- cgmopentxt2 = Rocksmith 2014 CGM
- cgmonlytxt = あなたが選択する必要があります .CGM のみ.
- loadtxt1 = 荷重 .
- loadtxt2 = 荷重 ..
- loadtxt3 = 荷重 ...
- loadtxtp1 = ギター
- loadtxtp2 = ロードされている!
- loadtxtnewp1 = ギター
- loadtxtnewp2 = 製
- loadtxtnewp3 = ロードされている!
- savecgmtxt = カスタムギターを保存するフォルダを選択します。
- errorsavecgmtxt = あなたのテンプレートを保存するフォルダを選択する必要があります (例 : デスクトップ)
- txtsave1 = 節約 .
- txtsave2 = 節約 . .
- txtsave3 = 節約 ..
- txtsave4 = 節約 .. .
- txtsave5 = 節約 ...
- sucsavetxt1 = カスタムギター
- sucsavetxt2 = _
- sucsavetxt3 = _v
- sucsavetxt4 =.cgm ここに保存されてなど :
- sucsavetxt5 = 楽しむ :)
- warn1parsetxt = これは、現在のインレイが、これが正しいことを確認してください追加します.`n継続したい?,
- parse1 = 生成、画像ファイルを必要としてい.
- parse2 = 適切なサイズとフォーマットにイメージを変換する
- parse3 = 仕事はやった!
- doneconfirm1 = あなた GuitarInlayPack は次のように更新されて!
- doneconfirm2 = シングル·ギターインレイパックは、次のように作成されて!
- packageversiontxt = セレクトパッケージ形式 (少なくとも1、そうでなければ何も出力されません。)
- btnsinpackloc = シングルパックのLOC ...
- installingame = 直接一度だけ行わ試合にインストール?
- }
- changewdb()
- {
- SetWorkingDir %A_ScriptDir%
- }
- changewdp()
- {
- SetWorkingDir %A_ScriptDir%\ressources\packer
- }
- changelangtext1 = Change the language to English ?`nChanger la langue en Anglais?`nCambiar el idioma de Ingles?`nAndern Sie die Sprache auf Englisch?`nCambiare la lingua inglese?`n?????p????X????????H
- changelangtext2 = Change the language to French ?`nChanger la langue en Francais?`nCambiar el idioma de frances?`nAndern Sie die Sprache auf Franzosisch?`nCambiare la lingua francese?`n?t?????X????????X????????H
- changelangtext3 = Change the language to Italian ?`nChanger la langue en Italien?`nCambiar el idioma en italiano?`nSprache in der italienischen andern?`nCambiare lingua in italiano?`n?C?^???A????X????????H
- changelangtext4 = Change the language to Spanish ?`nChanger la langue en Espagnole?`nCambiar el idioma a espanol?`nAndern Sie die Sprache auf Spanisch?`nCambiare la lingua spagnola?`n?X?y?C??????????X????????H
- changelangtext5 = Change the language to German ?`nChanger la langue en Allemand?`nCambiar el idioma a aleman?`nAndern Sie die Sprache auf Deutsch?`nCambiare la lingua tedesca?`n?????h?C?c????X????????H
- changelangtext6 = Change the language to Japanese ?`nChanger la langue en Japonais?`nCambiar el idioma de japones?`nAndern Sie die Sprache auf Japanisch?`nCambiare la lingua giapponese?`n???????{????X????????H
- lbar = 20
- ltext = Preparing files.
- GuiControl,99:,loadingbar, %lbar%
- GuiControl,99:,loadtext, %ltext%
- FileCreateDir, %A_ScriptDir%\ressources\images
- FileCreateDir, %A_ScriptDir%\ressources\packer
- TabColors_Tab1=
- TabColors_Tab2=
- TabColors_Tab3=
- TabColors_Tab4=
- TabColors_Tab5=
- lbar = 25
- ltext = Generating required files!
- GuiControl,99:,loadingbar, %lbar%
- GuiControl,99:,loadtext, %ltext%
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\arrowLR.png, %A_ScriptDir%\ressources\images\arrowLR.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\arrowUD.png, %A_ScriptDir%\ressources\images\arrowUD.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\icon.png, %A_ScriptDir%\ressources\images\icon.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\inlay_preview.png, %A_ScriptDir%\ressources\images\inlay_preview.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\rocksmith_2014_logo.png, %A_ScriptDir%\ressources\images\rocksmith_2014_logo.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\rocksmith_2014_logo_graded.png, %A_ScriptDir%\ressources\images\rocksmith_2014_logo_graded.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\rocksmith_2014_logo_inlays.png, %A_ScriptDir%\ressources\images\rocksmith_2014_logo_inlays.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\softicon.ico, %A_ScriptDir%\ressources\images\softicon.ico
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\avatar.gif, %A_ScriptDir%\ressources\images\avatar.gif
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\facebook_icon.png, %A_ScriptDir%\ressources\images\facebook_icon.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\intro_sequence_bg.png, %A_ScriptDir%\ressources\images\intro_sequence_bg.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\intro_studio_logos.png, %A_ScriptDir%\ressources\images\intro_studio_logos.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\introsequence_i11.png, %A_ScriptDir%\ressources\images\introsequence_i11.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\ubisoft_logo.png, %A_ScriptDir%\ressources\images\ubisoft_logo.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\gamebryo_logo.png, %A_ScriptDir%\ressources\images\gamebryo_logo.png
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\flag-france-M.jpg, %A_ScriptDir%\ressources\images\flag-france-M.jpg
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\flag-germany-M.jpg, %A_ScriptDir%\ressources\images\flag-germany-M.jpg
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\flag-japan-M.jpg, %A_ScriptDir%\ressources\images\flag-japan-M.jpg
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\flag-italy-M.jpg, %A_ScriptDir%\ressources\images\flag-italy-M.jpg
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\flag-spain-M.jpg, %A_ScriptDir%\ressources\images\flag-spain-M.jpg
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\images\flag-united-kingdom-M.jpg, %A_ScriptDir%\ressources\images\flag-united-kingdom-M.jpg
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\7za.exe, %A_ScriptDir%\ressources\packer\7za.exe
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\NDesk.Options.dll, %A_ScriptDir%\ressources\packer\NDesk.Options.dll
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\nvdxt.exe, %A_ScriptDir%\ressources\packer\nvdxt.exe
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\packer.exe, %A_ScriptDir%\ressources\packer\packer.exe
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\packer.pdb, %A_ScriptDir%\ressources\packer\packer.pdb
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\RocksmithToolkitLib.dll, %A_ScriptDir%\ressources\packer\RocksmithToolkitLib.dll
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\RocksmithToolkitLib.pdb, %A_ScriptDir%\ressources\packer\RocksmithToolkitLib.pdb
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\X360.dll, %A_ScriptDir%\ressources\packer\X360.dll
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\X360.xml, %A_ScriptDir%\ressources\packer\X360.xml
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\ZLIB.dll, %A_ScriptDir%\ressources\packer\ZLIB.dll
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\zlib.net.dll, %A_ScriptDir%\ressources\packer\zlib.net.dll
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\topng.exe, %A_ScriptDir%\ressources\packer\topng.exe
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\ps3_encrypt.config, %A_ScriptDir%\ressources\packer\ps3_encrypt.config
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\ps3_decrypt.config, %A_ScriptDir%\ressources\packer\ps3_decrypt.config
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\rebuilder.exe, %A_ScriptDir%\ressources\packer\rebuilder.exe
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\ps3_encrypt.cmd, %A_ScriptDir%\ressources\packer\ps3_encrypt.cmd
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\ps3_decrypt.cmd, %A_ScriptDir%\ressources\packer\ps3_decrypt.cmd
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\tool\core.jar, %A_ScriptDir%\ressources\packer\tool\core.jar
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\tool\dklic_validator.exe, %A_ScriptDir%\ressources\packer\tool\dklic_validator.exe
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\tool\edatlist.txt, %A_ScriptDir%\ressources\packer\tool\edatlist.txt
- Fileinstall, C:\Users\Joffrey\Desktop\Rocksmith 2014 Guitar Creator2\ressources\packer\tool\sfk.exe, %A_ScriptDir%\ressources\packer\tool\sfk.exe
- lbar = 30
- ltext = Reading memories. . .
- GuiControl,99:,loadingbar, %lbar%
- GuiControl,99:,loadtext, %ltext%
- IniRead, RS2014DIR, CustomGuitarList.ini, Rocksmith2014Directory, Rocksmith2014dir
- If RS2014DIR = ERROR
- {
- IniWrite, Undefinied, CustomGuitarList.ini, Rocksmith2014Directory, Rocksmith2014dir
- IniRead, RS2014DIR, CustomGuitarList.ini, Rocksmith2014Directory, Rocksmith2014dir
- GuiControl,, rs2014dirtext, Undefinied.
- } else {
- IniRead, RS2014DIR, CustomGuitarList.ini, Rocksmith2014Directory, Rocksmith2014dir
- }
- If RS2014DIR =
- {
- IniWrite, Undefinied, CustomGuitarList.ini, Rocksmith2014Directory, Rocksmith2014dir
- IniRead, RS2014DIR, CustomGuitarList.ini, Rocksmith2014Directory, Rocksmith2014dir
- GuiControl,, rs2014dirtext, Undefinied.
- } else {
- IniRead, RS2014DIR, CustomGuitarList.ini, Rocksmith2014Directory, Rocksmith2014dir
- }
- IniRead, locinstallpack, CustomGuitarList.ini, Rocksmith2014SPackDirectory, Rocksmith2014Spackdir
- If locinstallpack = ERROR
- {
- IniWrite, Undefinied, CustomGuitarList.ini, Rocksmith2014SPackDirectory, Rocksmith2014Spackdir
- IniRead, locinstallpack, CustomGuitarList.ini, Rocksmith2014SPackDirectory, Rocksmith2014Spackdir
- GuiControl,, locofpackinstall, Undefinied.
- } else {
- IniRead, locinstallpack, CustomGuitarList.ini, Rocksmith2014SPackDirectory, Rocksmith2014Spackdir
- }
- If locinstallpack =
- {
- IniWrite, Undefinied, CustomGuitarList.ini, Rocksmith2014SPackDirectory, Rocksmith2014Spackdir
- IniRead, locinstallpack, CustomGuitarList.ini, Rocksmith2014SPackDirectory, Rocksmith2014Spackdir
- GuiControl,, locofpackinstall, Undefinied.
- } else {
- IniRead, locinstallpack, CustomGuitarList.ini, Rocksmith2014SPackDirectory, Rocksmith2014Spackdir
- }
- IniRead, ccg, CustomGuitarList.ini, NumberInstance, NumberSet
- IniRead, ccg2, CustomGuitarList.ini, NumberInstance, NumberGuitar
- If ccg = ERROR
- {
- IniWrite, 0, CustomGuitarList.ini, NumberInstance, NumberSet
- IniRead, ccg, CustomGuitarList.ini, NumberInstance, NumberSet
- } else {
- IniRead, ccg, CustomGuitarList.ini, NumberInstance, NumberSet
- }
- If ccg2 = ERROR
- {
- IniWrite, 1000000, CustomGuitarList.ini, NumberInstance, NumberGuitar
- IniRead, ccg2, CustomGuitarList.ini, NumberInstance, NumberGuitar
- } else {
- IniRead, ccg2, CustomGuitarList.ini, NumberInstance, NumberGuitar
- }
- IniRead, language, CustomGuitarList.ini, Language, Language
- If language = ERROR
- {
- changeEN()
- IniWrite, ENG, CustomGuitarList.ini, Language, Language
- }
- If language = ENG
- {
- changeEN()
- }
- If language = FRE
- {
- changeFR()
- }
- If language = ITA
- {
- changeIT()
- }
- If language = SPA
- {
- changeSP()
- }
- If language = GER
- {
- changeGR()
- }
- If language = JAP
- {
- changeJP()
- }
- lbar = 40
- ltext = Preparing required environnement.
- GuiControl,99:,loadingbar, %lbar%
- GuiControl,99:,loadtext, %ltext%
- IDString = a0b1c2d3e4f5a6b7c8d9e0f
- Random, RDM1, 0x00F000000, 0x00fffffff
- ID1 = %IDString%%RDM1%
- StringUpper, ID1MAJ, ID1
- guitarname = %defengname%
- DDSInlayfiles = %A_ScriptDir%\ressources\images\inlay_preview.png
- DDSI512files = %A_ScriptDir%\ressources\images\icon.png
- Gui, Add, Tab, w100 x3 y+2 h25 w632 AltSubmit gTab vTab
- , %tab1%|%tab2%|%tab3%
- Gosub, Tab
- RandomName(MinLength=4, MaxLength=0)
- {
- ;This is a table of probabilities of given letter combinations.
- ;Each list is the probability of any letter coming after the letter that is the variable name.
- ;The 27th value is the probability that the word ends with the current letter.
- A=0.005129|0.020532|0.038276|0.031753|0.005903|0.009913|0.027038|0.014457|0.023527|0.003511|0.021702|0.086397|0.045315|0.192551|0.002685|0.014491|0.001136|0.142056|0.059445|0.043698|0.041322|0.018312|0.010774|0.001824|0.020584|0.010240|0.107428
- B=0.184518|0.021072|0.000500|0.002564|0.243982|0.000125|0.000188|0.002564|0.076033|0.001313|0.001563|0.055274|0.000875|0.002376|0.132933|0.000063|0.000000|0.133683|0.009192|0.000313|0.090977|0.000188|0.000125|0.000000|0.022447|0.000313|0.016820
- C=0.131713|0.001253|0.042204|0.003536|0.053348|0.001566|0.008727|0.275689|0.051557|0.000090|0.154493|0.028375|0.003849|0.004117|0.123255|0.001343|0.002954|0.036744|0.002506|0.003043|0.028419|0.000806|0.001343|0.000000|0.004699|0.017678|0.016694
- D=0.103809|0.005881|0.001079|0.024765|0.256609|0.003345|0.017266|0.006367|0.102029|0.000701|0.002968|0.027085|0.008849|0.007985|0.107424|0.000432|0.000432|0.046833|0.019208|0.017427|0.044783|0.001619|0.007068|0.000000|0.020557|0.005288|0.160192
- E=0.031341|0.012931|0.019802|0.020976|0.022773|0.007726|0.014163|0.010930|0.034414|0.002392|0.012409|0.104894|0.023455|0.108561|0.004291|0.007973|0.000464|0.239084|0.062957|0.042633|0.006958|0.011727|0.010582|0.001363|0.039371|0.008379|0.137452
- F=0.111275|0.000369|0.000985|0.000246|0.170236|0.139463|0.000985|0.000985|0.112752|0.000492|0.003570|0.058961|0.004677|0.004677|0.114476|0.000246|0.000123|0.100197|0.011324|0.021295|0.041113|0.000369|0.000246|0.000000|0.003570|0.000862|0.096504
- G=0.140257|0.004596|0.000919|0.003493|0.199694|0.002145|0.030944|0.064951|0.064767|0.000551|0.000919|0.053922|0.006311|0.020282|0.084191|0.000551|0.000368|0.083027|0.019179|0.012316|0.063725|0.000797|0.004718|0.000245|0.003309|0.000123|0.133701
- H=0.214954|0.004703|0.001599|0.001035|0.189466|0.002116|0.000564|0.002069|0.102610|0.000658|0.003621|0.037903|0.020973|0.022384|0.124759|0.000329|0.000000|0.032683|0.006207|0.021067|0.054221|0.000517|0.009358|0.000000|0.009828|0.000141|0.136233
- I=0.044717|0.012847|0.076362|0.026840|0.088736|0.009884|0.035604|0.003560|0.000896|0.001320|0.015511|0.082586|0.027886|0.216811|0.031571|0.012474|0.001270|0.031247|0.081889|0.054502|0.004158|0.011802|0.001494|0.002938|0.001245|0.009262|0.112588
- J=0.333844|0.000510|0.012251|0.006126|0.211843|0.000000|0.001021|0.003063|0.059214|0.001021|0.010720|0.002552|0.003063|0.009188|0.197550|0.000000|0.000000|0.000000|0.002552|0.007657|0.110260|0.000000|0.001021|0.000000|0.000510|0.001531|0.024502
- K=0.105301|0.002453|0.000239|0.000658|0.194089|0.001615|0.000120|0.013522|0.166507|0.000838|0.003889|0.046787|0.009633|0.017470|0.101412|0.000299|0.000060|0.036078|0.023932|0.001137|0.039069|0.000897|0.004786|0.000239|0.025009|0.000179|0.203781
- L=0.142144|0.012700|0.007785|0.033484|0.190748|0.007136|0.004641|0.004666|0.115222|0.000499|0.010554|0.157140|0.017815|0.003019|0.079568|0.004042|0.000549|0.002146|0.023429|0.022031|0.025599|0.007884|0.002770|0.000075|0.015320|0.004292|0.104743
- M=0.313971|0.039109|0.071357|0.001102|0.144316|0.001552|0.001502|0.001252|0.093991|0.000300|0.003756|0.007561|0.032849|0.001753|0.110366|0.030796|0.000451|0.004507|0.016475|0.000701|0.039509|0.000150|0.001052|0.000000|0.007161|0.000801|0.073660
- N=0.061413|0.016703|0.021091|0.069684|0.122481|0.004871|0.078736|0.008455|0.062562|0.000942|0.020976|0.004802|0.002481|0.042114|0.058036|0.001011|0.000712|0.003538|0.053877|0.050017|0.007168|0.001746|0.003331|0.000000|0.007099|0.011970|0.284182
- O=0.008524|0.017299|0.028237|0.027181|0.024717|0.015061|0.013377|0.013477|0.008725|0.002338|0.011843|0.083101|0.033291|0.169068|0.030248|0.016394|0.000654|0.114958|0.060421|0.038018|0.047975|0.020140|0.041337|0.002791|0.010611|0.008725|0.151492
- P=0.176699|0.000875|0.001459|0.000972|0.201984|0.015365|0.000292|0.038802|0.113099|0.000097|0.010503|0.051055|0.002334|0.003209|0.103958|0.076145|0.000000|0.074492|0.021103|0.010114|0.033064|0.000194|0.000875|0.000000|0.007002|0.000097|0.056209
- Q=0.006831|0.001366|0.000000|0.001366|0.000000|0.000000|0.000000|0.000000|0.005464|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.000000|0.001366|0.000000|0.000000|0.968579|0.001366|0.000000|0.000000|0.000000|0.000000|0.013661
- R=0.107889|0.012734|0.012774|0.039466|0.114066|0.005515|0.027955|0.005334|0.100509|0.000762|0.014499|0.017507|0.018449|0.029038|0.095937|0.004171|0.001043|0.037882|0.037180|0.049252|0.031785|0.005475|0.003068|0.000160|0.020154|0.005715|0.201681
- S=0.063337|0.009701|0.073814|0.002910|0.097763|0.001774|0.001525|0.060925|0.050808|0.000554|0.061286|0.020318|0.015134|0.008482|0.067384|0.021426|0.002328|0.001663|0.053885|0.132300|0.016797|0.001247|0.011808|0.000000|0.003964|0.007429|0.211437
- T=0.091587|0.001630|0.012519|0.000347|0.159384|0.001595|0.001769|0.072652|0.074005|0.001283|0.006208|0.018484|0.009294|0.007352|0.110522|0.000555|0.000069|0.065543|0.026564|0.109169|0.024691|0.000763|0.005098|0.000000|0.013525|0.036447|0.148946
- U=0.021849|0.032911|0.052449|0.040176|0.074243|0.017281|0.047056|0.012163|0.041827|0.002862|0.015190|0.084205|0.058118|0.084810|0.006219|0.021354|0.001101|0.136984|0.111833|0.065658|0.000881|0.005449|0.002367|0.008806|0.007320|0.013979|0.032911
- V=0.281558|0.000162|0.000647|0.001293|0.327461|0.000162|0.000323|0.000162|0.251657|0.000485|0.001616|0.010991|0.000162|0.003071|0.078390|0.000000|0.000000|0.012769|0.007435|0.000323|0.004687|0.000162|0.000323|0.000000|0.007112|0.000485|0.008566
- W=0.204323|0.006032|0.003770|0.009801|0.191380|0.000880|0.001131|0.037824|0.200804|0.000000|0.005278|0.018472|0.003644|0.016210|0.092109|0.000377|0.000126|0.013948|0.074265|0.004398|0.007665|0.000628|0.000628|0.000000|0.015582|0.000628|0.090098
- X=0.063694|0.022293|0.004777|0.001592|0.081210|0.012739|0.000000|0.011146|0.065287|0.000000|0.001592|0.039809|0.014331|0.014331|0.044586|0.001592|0.000000|0.004777|0.033439|0.078025|0.007962|0.000000|0.014331|0.003185|0.004777|0.001592|0.472930
- Y=0.061443|0.012165|0.011753|0.016289|0.072062|0.003505|0.004845|0.004845|0.003505|0.000206|0.016907|0.026495|0.018763|0.042268|0.032680|0.003711|0.000206|0.014330|0.026186|0.011856|0.008763|0.001443|0.004021|0.000206|0.000412|0.002887|0.598247
- Z=0.165246|0.006787|0.005366|0.004261|0.174085|0.000947|0.004261|0.003946|0.121370|0.000000|0.014205|0.018466|0.017045|0.009154|0.066761|0.000789|0.001578|0.001578|0.004104|0.000631|0.035827|0.000631|0.008996|0.000000|0.034722|0.058396|0.240846
- Start=0.037129|0.091544|0.068008|0.055260|0.020789|0.036464|0.052670|0.058435|0.006802|0.012894|0.051228|0.053638|0.085992|0.020597|0.016318|0.052275|0.002725|0.047647|0.109494|0.038852|0.004460|0.023480|0.036127|0.000180|0.006261|0.010732
- ;This allows numerical values to easily be converted to letters.
- Alphabet = ABCDEFGHIJKLMNOPQRSTUVWXYZ
- Loop
- {
- ;Checks for the previous letter to determine which set of probabilities to use.
- If (!Word)
- Previous = Start
- Else
- Previous := SubStr(Word, 0, 1)
- ;Randomly chooses the next letter, based on the probabilities listed above.
- Random, rand, 0.0, 1.0
- Sum = 0
- Next =
- Loop, parse, %Previous%, |
- {
- Sum += A_LoopField
- If (rand<Sum)
- {
- Next := SubStr(Alphabet, A_Index, 1)
- Break
- }
- }
- ;Finishes the word if the word randomly ends or reaches the maximum length.
- If ((!Next AND StrLen(Word)>=MinLength) OR (MaxLength AND StrLen(Word)=MaxLength))
- Break
- Word .= Next
- }
- StringLower, Word, Word, T
- Return, Word
- }
- RandomName = % RandomName(6,6)
- StringLower, RandomName, RandomName
- guitarnamesix = %RandomName%
- creatorname = %defcreatorname%
- lbar = 70
- ltext = Preparing Gui Tab1.
- GuiControl,99:,loadingbar, %lbar%
- GuiControl,99:,loadtext, %ltext%
- Gui, Tab, 1
- progresstext = %defstateprogresstxt%
- Gui, Add, Picture, x102 y34 w610 h120 , %A_ScriptDir%\ressources\images\rocksmith_2014_logo_graded.png
- Gui, Add, Picture, gtren vtren x786 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-united-kingdom-M.jpg
- Gui, Add, Picture, gtrfr vtrfr x756 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-france-M.jpg
- Gui, Add, Picture, gtrit vtrit x726 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-italy-M.jpg
- Gui, Add, Picture, gtres vtres x696 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-spain-M.jpg
- Gui, Add, Picture, gtrde vtrde x666 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-germany-M.jpg
- Gui, Add, Picture, gtrjp vtrjp x636 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-japan-M.jpg
- Gui, Add, Text, x712 y134 w90 h20 , Version : %buildversion%
- Gui, Add, Button,gRS2014D vRS2014DB x272 y144 w100 h30, %folderrs2014btntxt%
- Gui, Add, Text,vrs2014dirtext x22 y154 w240 h30, %RS2014DIR%
- Gui, Add, Button,gloadguitar vlg x162 y180 w100 h30 , %load%
- Gui, Add, Button,gsaveguitar vsg x272 y180 w100 h30 , %save%
- Gui, Add, Text, vcustguittemp2 x22 y187 w140 h30 , %custguittemp%
- Gui, Add, Text, vengnametxt2 x22 y272 w150 h30, %engnametxt%
- Gui, Add, Edit, vnewenglishname x182 y270 w190 h30 , %guitarname%
- Gui, Add, Text, vcreatortxt x22 y227 w150 h15 , %creatornametxt%
- Gui, Add, Edit, vcreatorname x182 y227 w190 h30 , %creatorname%
- Gui, Add, CheckBox,v24finlay x202 y310 w90 h30, 24 Frets Inlay?
- Gui, Add, CheckBox,vcoloredinlay x310 y310 w100 h30, %coloreinlaytxt%
- Gui, Add, CheckBox,vfliplr x412 y310 w20 h30,
- Gui, Add, Picture, x435 y314 w20 h20 , %A_ScriptDir%\ressources\images\arrowLR.png
- Gui, Add, CheckBox,vflipud x490 y310 w20 h30,
- Gui, Add, Picture, x513 y314 w20 h20 , %A_ScriptDir%\ressources\images\arrowUD.png
- Gui, Add, Text, x390 y177 w400 h15 ,_________________________________________________________________
- Gui, Add, Text, vversiontxt x400 y154 w370 h30 , %packageversiontxt%
- Gui, Add, CheckBox,vpcversion x410 y195 w50 h30, PC
- Gui, Add, CheckBox,vmacversion x510 y195 w50 h30, Mac
- Gui, Add, CheckBox,vx360version x610 y195 w100 h30, Xbox 360
- Gui, Add, CheckBox,vps3version x720 y195 w100 h30, PS3
- Gui, Add, Button,gbtnlocinstallpack vbtnpackloc x400 y230 w100 h30, %btnsinpackloc%
- Gui, Add, Text, vlocofpackinstall x510 y237 w240 h30, %locinstallpack%
- Gui, Add, Text, vidtxt x400 y285 w50 h15 , DLC ID :
- Gui, Add, DropDownList, vidinput x460 y277 w300 h30 r20, %dlcid%
- Gui, Add, Picture,gnewiconfiles vnewicon x20 y344 w150 h150 , %DDSI512files%
- Gui, Add, Picture,gnewinlayfiles vnewinlay x195 y344 w420 h150 , %DDSInlayfiles%
- Gui, Add, Button,ggetemplate vgetemplateB x702 y365 w100 h30 , %gtttxt%
- Gui, Add, Button,gsubmittostore vsubmittostore x702 y400 w100 h30 , %sumbit2store%
- Gui, Add, Button,gparse2 vparse2B x702 y435 w100 h30 , %parsebuttontxt2%
- Gui, Add, Button,gparse vparseB x702 y470 w100 h30 , %parsebuttontxt%
- Gui, Add, Text,vprogresstxt x20 y500 w680 h15 , %progresstext%
- Gui, Add, Progress,vprogressbar x12 y518 w790 h30 , %progress%
- Gui, Add, Picture, gtren vtren4 x786 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-united-kingdom-M.jpg
- Gui, Add, Picture, gtrfr vtrfr4 x756 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-france-M.jpg
- Gui, Add, Picture, gtrit vtrit4 x726 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-italy-M.jpg
- Gui, Add, Picture, gtres vtres4 x696 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-spain-M.jpg
- Gui, Add, Picture, gtrde vtrde4 x666 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-germany-M.jpg
- Gui, Add, Picture, gtrjp vtrjp4 x636 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-japan-M.jpg
- lbar = 85
- ltext = Preparing Gui Tab2.
- GuiControl,99:,loadingbar, %lbar%
- GuiControl,99:,loadtext, %ltext%
- Gui, Tab, 2
- Gui, Add, Picture, gtren vtren2 x786 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-united-kingdom-M.jpg
- Gui, Add, Picture, gtrfr vtrfr2 x756 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-france-M.jpg
- Gui, Add, Picture, gtrit vtrit2 x726 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-italy-M.jpg
- Gui, Add, Picture, gtres vtres2 x696 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-spain-M.jpg
- Gui, Add, Picture, gtrde vtrde2 x666 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-germany-M.jpg
- Gui, Add, Picture, gtrjp vtrjp2 x636 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-japan-M.jpg
- Gui, Add, Picture, x0 y25 w820 h70 , %A_ScriptDir%\ressources\images\rocksmith_2014_logo_inlays.png
- Gui, Add, Button,gt2refresh x12 y70 w100 h30, Load the Store
- Gui, Add, ActiveX, x0 y109 w815 h480 vMsgBoxActiveX, Shell.Explorer
- MsgBoxActiveX.Navigate("http://www.rs2014mods.holdonhosting.net/Inlays/inlays.php")
- lbar = 90
- ltext = Preparing Gui Tab3.
- GuiControl,99:,loadingbar, %lbar%
- GuiControl,99:,loadtext, %ltext%
- Gui, Tab, 3
- Gui, Add, Picture, gtren vtren3 x786 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-united-kingdom-M.jpg
- Gui, Add, Picture, gtrfr vtrfr3 x756 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-france-M.jpg
- Gui, Add, Picture, gtrit vtrit3 x726 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-italy-M.jpg
- Gui, Add, Picture, gtres vtres3 x696 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-spain-M.jpg
- Gui, Add, Picture, gtrde vtrde3 x666 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-germany-M.jpg
- Gui, Add, Picture, gtrjp vtrjp3 x636 y2 w28 h20 , %A_ScriptDir%\ressources\images\flag-japan-M.jpg
- Gui, Add, Picture, x2 y39 w820 h170 , %A_ScriptDir%\ressources\images\rocksmith_2014_logo_graded.png
- Gui, Add, Picture, gbaousmithy x142 y279 w100 h100 , %A_ScriptDir%\ressources\images\avatar.gif
- Gui, Add, Text, x120 y209 w570 h70 +Center, Software revision : %buildversion%`nCreated by : Baoulettes`nThis software is free! if you paid for it claim refund now.`nAll Lib used here remain to there respective owners!
- Gui, Font, S45 C2a2a2a
- Gui, Add, Text,gbaousmithy2 x252 y299 w400 h60, %A_Space%%A_Space%Baoulettes
- Gui, Font, S08 C000000
- Gui, Add, Picture, gfacebookbaou x592 y279 w100 h100 , %A_ScriptDir%\ressources\images\facebook_icon.png
- Gui, Add, Text, x-18 y379 w920 h30 , _______________________________________________________________________________________________________________________________________________
- Gui, Add, Text, x12 y429 w110 h20 , Nvidia DDS cmd tool :
- Gui, Add, Button,gabout1 x132 y419 w100 h30 , Site page
- Gui, Add, Text, x52 y479 w70 h20 , 7zip cmd tool :
- Gui, Add, Button,gabout2 x382 y419 w100 h30 , Site page
- Gui, Add, Text, x262 y429 w110 h20 , Nconvert cmd tool :
- Gui, Add, Button,gabout3 x132 y469 w100 h30 , Site page
- Gui, Add, Text, x272 y479 w100 h20 , Rocksmith toolkit :
- Gui, Add, Button,gabout4 x382 y469 w100 h30 , Site page
- Gui, Add, Text,+center x490 y399 w180 h70 , @2013 Baoulettes`nRocksmith and Rocksmith 2014 logo/name are Ubisoft trademarks.`nThank to Rocksmith and Smithy's Anvil community !`n
- Gui, Add, Text,+center x660 y399 w150 h100 , - Translation thanks to -`nEnglish : Baoulettes`nFrench : Baoulettes`nItalian : Google Translate`nSpanish : Google Translate`nGerman : Google Translate`nJapanese : Google Translate
- Gui, Add, Button,gabout5 x500 y469 w150 h30 , Smithy's Anvil help thread
- Gui, Add, Progress,vprogressbar2 x12 y518 w680 h30 , %progress%
- lbar = 100
- ltext = It is coming !.
- GuiControl,99:,loadingbar, %lbar%
- GuiControl,99:,loadtext, %ltext%
- sleep 1500
- Gui,99:Destroy
- Gui, Show, h560 w816, %softname% - v%buildversion%
- return
- t2refresh:
- MsgBoxActiveX.Refresh()
- return
- btnlocinstallpack:
- disableUI()
- FileSelectFolder, locinstallpack,, 3, Select single pack folder
- IniWrite, %locinstallpack%, CustomGuitarList.ini, Rocksmith2014SPackDirectory, Rocksmith2014Spackdir
- If locinstallpack = ERROR
- {
- locinstallpack = Undefinied
- GuiControl,, locofpackinstall, %locinstallpack%
- enableUI()
- } else {
- GuiControl,, locofpackinstall, %locinstallpack%
- enableUI()
- }
- If locinstallpack =
- {
- locinstallpack = Undefinied
- GuiControl,, locofpackinstall, %locinstallpack%
- enableUI()
- } else {
- GuiControl,, locofpackinstall, %locinstallpack%
- enableUI()
- }
- return
- changebg:
- FileSelectFile, BGfiles, 3, , Choise a loading background image (1280x720), Loading background image (*.tga; *.png)
- If BGfiles =
- {
- BGfiles = %A_ScriptDir%\ressources\images\intro_sequence_bg.png
- GuiControl,, bgimg, %BGfiles%
- GuiControl,, bgimg2, %BGfiles%
- GuiControl,, bgimg3, %BGfiles%
- GuiControl,, bgimg4, %BGfiles%
- GuiControl,, bgimg5, %BGfiles%
- } else {
- GuiControl,, bgimg, %BGfiles%
- GuiControl,, bgimg2, %BGfiles%
- GuiControl,, bgimg3, %BGfiles%
- GuiControl,, bgimg4, %BGfiles%
- GuiControl,, bgimg5, %BGfiles%
- }
- If BGfiles = ERROR
- {
- BGfiles = %A_ScriptDir%\ressources\images\intro_sequence_bg.png
- GuiControl,, bgimg, %BGfiles%
- GuiControl,, bgimg2, %BGfiles%
- GuiControl,, bgimg3, %BGfiles%
- GuiControl,, bgimg4, %BGfiles%
- GuiControl,, bgimg5, %BGfiles%
- } else {
- GuiControl,, bgimg, %BGfiles%
- GuiControl,, bgimg2, %BGfiles%
- GuiControl,, bgimg3, %BGfiles%
- GuiControl,, bgimg4, %BGfiles%
- GuiControl,, bgimg5, %BGfiles%
- }
- return
- changeubilogo:
- FileSelectFile, ubilogofiles, 3, , Choise an Ubisoft logo image (512x512), Ubisoft logo image (*.tga; *.png)
- If ubilogofiles =
- {
- ubilogofiles = %A_ScriptDir%\ressources\images\ubisoft_logo.png
- GuiControl,, ubilogoimg, %ubilogofiles%
- } else {
- GuiControl,, ubilogoimg, %ubilogofiles%
- }
- If ubilogofiles = ERROR
- {
- ubilogofiles = %A_ScriptDir%\ressources\images\ubisoft_logo.png
- GuiControl,, ubilogoimg, %ubilogofiles%
- } else {
- GuiControl,, ubilogoimg, %ubilogofiles%
- }
- return
- changestudio:
- FileSelectFile, studiofiles, 3, , Choise a loading studio image (1280x720), Loading studio image (*.tga; *.png)
- If studiofiles =
- {
- studiofiles = %A_ScriptDir%\ressources\images\intro_studio_logos.png
- GuiControl,, studioimg, %studiofiles%
- } else {
- GuiControl,, studioimg, %studiofiles%
- }
- If studiofiles = ERROR
- {
- studiofiles = %A_ScriptDir%\ressources\images\intro_studio_logos.png
- GuiControl,, studioimg, %studiofiles%
- } else {
- GuiControl,, studioimg, %studiofiles%
- }
- return
- changecredit:
- FileSelectFile, creditfiles, 3, , Choise a loading credit image (824x620), Loading credit image (*.tga; *.png)
- If creditfiles =
- {
- creditfiles = %A_ScriptDir%\ressources\images\introsequence_i11.png
- GuiControl,, creditimg, %creditfiles%
- } else {
- GuiControl,, creditimg, %creditfiles%
- }
- If creditfiles = ERROR
- {
- creditfiles = %A_ScriptDir%\ressources\images\introsequence_i11.png
- GuiControl,, creditimg, %creditfiles%
- } else {
- GuiControl,, creditimg, %creditfiles%
- }
- return
- changelightspeed:
- FileSelectFile, lightspeedfiles, 3, , Choise a loading lightspeed image (1024x256), Loading lightspeed image (*.tga; *.png)
- If lightspeedfiles =
- {
- lightspeedfiles = %A_ScriptDir%\ressources\images\gamebryo_logo.png
- GuiControl,, lightspeedimg, %lightspeedfiles%
- } else {
- GuiControl,, lightspeedimg, %lightspeedfiles%
- }
- If lightspeedfiles = ERROR
- {
- lightspeedfiles = %A_ScriptDir%\ressources\images\gamebryo_logo.png
- GuiControl,, lightspeedimg, %lightspeedfiles%
- } else {
- GuiControl,, lightspeedimg, %lightspeedfiles%
- }
- return
- changetitlescreen:
- FileSelectFile, rslogofiles, 3, , Choise a Title RS logo image (1024x256), Title RS logo image (*.tga; *.png)
- If rslogofiles =
- {
- rslogofiles = %A_ScriptDir%\ressources\images\rocksmith_2014_logo_graded.png
- GuiControl,, titlerslogoimg, %rslogofiles%
- } else {
- GuiControl,, titlerslogoimg, %rslogofiles%
- }
- If rslogofiles = ERROR
- {
- rslogofiles = %A_ScriptDir%\ressources\images\rocksmith_2014_logo_graded.png
- GuiControl,, titlerslogoimg, %rslogofiles%
- } else {
- GuiControl,, titlerslogoimg, %rslogofiles%
- }
- return
- tren:
- disableUI()
- MsgBox,4, , %changelangtext1%,
- IfMsgBox, Yes
- {
- changeEN()
- GuiControl,, Tab, |%tab1%|%tab2%|%tab3%
- GuiControl,, RS2014DB, %folderrs2014btntxt%
- GuiControl,, lg, %load%
- GuiControl,, sg, %save%
- GuiControl,, custguittemp2, %custguittemp%
- GuiControl,, engnametxt2, %engnametxt%
- GuiControl,, newenglishname, %defengname%
- GuiControl,, versiontxt, %packageversiontxt%
- GuiControl,, btnpackloc, %btnsinpackloc%
- GuiControl,, autoinstall, %installingame%
- GuiControl,, defaultname, %guitarname%
- GuiControl,, creatortxt, %creatornametxt%
- GuiControl,, creatorname, %defcreatorname%
- GuiControl,, coloredinlay, %coloreinlaytxt%
- GuiControl,, getemplateB, %gtttxt%
- GuiControl,, submittostore, %sumbit2store%
- GuiControl,, customcounter, %cgctxt%
- GuiControl,, progresstxt, %defstateprogresstxt%
- GuiControl,, parseB, %parsebuttontxt%
- GuiControl,, parse2B, %parsebuttontxt2%
- IniWrite, ENG, CustomGuitarList.ini, Language, Language
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- enableUI()
- return
- }
- IfMsgBox, No
- {
- enableUI()
- return
- }
- trfr:
- disableUI()
- MsgBox, 4, , %changelangtext2%,
- {
- changeFR()
- GuiControl,, Tab, |%tab1%|%tab2%|%tab3%
- GuiControl,, RS2014DB, %folderrs2014btntxt%
- GuiControl,, lg, %load%
- GuiControl,, sg, %save%
- GuiControl,, custguittemp2, %custguittemp%
- GuiControl,, engnametxt2, %engnametxt%
- GuiControl,, newenglishname, %defengname%
- GuiControl,, defaultname, %guitarname%
- GuiControl,, creatortxt, %creatornametxt%
- GuiControl,, creatorname, %defcreatorname%
- GuiControl,, coloredinlay, %coloreinlaytxt%
- GuiControl,, getemplateB, %gtttxt%
- GuiControl,, submittostore, %sumbit2store%
- GuiControl,, customcounter, %cgctxt%
- GuiControl,, progresstxt, %defstateprogresstxt%
- GuiControl,, parseB, %parsebuttontxt%
- GuiControl,, parse2B, %parsebuttontxt2%
- GuiControl,, versiontxt, %packageversiontxt%
- GuiControl,, btnpackloc, %btnsinpackloc%
- GuiControl,, autoinstall, %installingame%
- IniWrite, FRE, CustomGuitarList.ini, Language, Language
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- enableUI()
- return
- }
- IfMsgBox, No
- {
- enableUI()
- return
- }
- trit:
- disableUI()
- MsgBox, 4, , %changelangtext3%,
- IfMsgBox, Yes
- {
- changeIT()
- GuiControl,, Tab, |%tab1%|%tab2%|%tab3%
- GuiControl,, RS2014DB, %folderrs2014btntxt%
- GuiControl,, lg, %load%
- GuiControl,, sg, %save%
- GuiControl,, custguittemp2, %custguittemp%
- GuiControl,, engnametxt2, %engnametxt%
- GuiControl,, newenglishname, %defengname%
- GuiControl,, defaultname, %guitarname%
- GuiControl,, creatortxt, %creatornametxt%
- GuiControl,, creatorname, %defcreatorname%
- GuiControl,, coloredinlay, %coloreinlaytxt%
- GuiControl,, getemplateB, %gtttxt%
- GuiControl,, submittostore, %sumbit2store%
- GuiControl,, customcounter, %cgctxt%
- GuiControl,, progresstxt, %defstateprogresstxt%
- GuiControl,, parse2B, %parsebuttontxt2%
- GuiControl,, parseB, %parsebuttontxt%
- IniWrite, ITA, CustomGuitarList.ini, Language, Language
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- enableUI()
- return
- }
- IfMsgBox, No
- {
- enableUI()
- return
- }
- trde:
- disableUI()
- MsgBox, 4, , %changelangtext5%,
- IfMsgBox, Yes
- {
- changeGR()
- GuiControl,, Tab, |%tab1%|%tab2%|%tab3%
- GuiControl,, RS2014DB, %folderrs2014btntxt%
- GuiControl,, lg, %load%
- GuiControl,, sg, %save%
- GuiControl,, custguittemp2, %custguittemp%
- GuiControl,, engnametxt2, %engnametxt%
- GuiControl,, newenglishname, %defengname%
- GuiControl,, defaultname, %guitarname%
- GuiControl,, creatortxt, %creatornametxt%
- GuiControl,, creatorname, %defcreatorname%
- GuiControl,, coloredinlay, %coloreinlaytxt%
- GuiControl,, getemplateB, %gtttxt%
- GuiControl,, submittostore, %sumbit2store%
- GuiControl,, customcounter, %cgctxt%
- GuiControl,, progresstxt, %defstateprogresstxt%
- GuiControl,, parseB, %parsebuttontxt%
- GuiControl,, versiontxt, %packageversiontxt%
- GuiControl,, btnpackloc, %btnsinpackloc%
- GuiControl,, parse2B, %parsebuttontxt2%
- GuiControl,, autoinstall, %installingame%
- IniWrite, GER, CustomGuitarList.ini, Language, Language
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- enableUI()
- return
- }
- IfMsgBox, No
- {
- enableUI()
- return
- }
- tres:
- disableUI()
- MsgBox, 4, , %changelangtext4%,
- IfMsgBox, Yes
- {
- changeSP()
- GuiControl,, Tab, |%tab1%|%tab2%|%tab3%
- GuiControl,, RS2014DB, %folderrs2014btntxt%
- GuiControl,, lg, %load%
- GuiControl,, sg, %save%
- GuiControl,, custguittemp2, %custguittemp%
- GuiControl,, engnametxt2, %engnametxt%
- GuiControl,, newenglishname, %defengname%
- GuiControl,, defaultname, %guitarname%
- GuiControl,, creatortxt, %creatornametxt%
- GuiControl,, creatorname, %defcreatorname%
- GuiControl,, coloredinlay, %coloreinlaytxt%
- GuiControl,, getemplateB, %gtttxt%
- GuiControl,, submittostore, %sumbit2store%
- GuiControl,, customcounter, %cgctxt%
- GuiControl,, progresstxt, %defstateprogresstxt%
- GuiControl,, parseB, %parsebuttontxt%
- GuiControl,, versiontxt, %packageversiontxt%
- GuiControl,, btnpackloc, %btnsinpackloc%
- GuiControl,, parse2B, %parsebuttontxt2%
- GuiControl,, autoinstall, %installingame%
- IniWrite, SPA, CustomGuitarList.ini, Language, Language
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- enableUI()
- return
- }
- IfMsgBox, No
- {
- enableUI()
- return
- }
- trjp:
- disableUI()
- MsgBox, 4, , %changelangtext6%,
- IfMsgBox, Yes
- {
- changeJP()
- GuiControl,, Tab, |%tab1%|%tab2%|%tab3%
- GuiControl,, RS2014DB, %folderrs2014btntxt%
- GuiControl,, lg, %load%
- GuiControl,, sg, %save%
- GuiControl,, custguittemp2, %custguittemp%
- GuiControl,, engnametxt2, %engnametxt%
- GuiControl,, newenglishname, %defengname%
- GuiControl,, defaultname, %guitarname%
- GuiControl,, creatortxt, %creatornametxt%
- GuiControl,, creatorname, %defcreatorname%
- GuiControl,, coloredinlay, %coloreinlaytxt%
- GuiControl,, getemplateB, %gtttxt%
- GuiControl,, submittostore, %sumbit2store%
- GuiControl,, customcounter, %cgctxt%
- GuiControl,, progresstxt, %defstateprogresstxt%
- GuiControl,, parseB, %parsebuttontxt%
- GuiControl,, parse2B, %parsebuttontxt2%
- GuiControl,, versiontxt, %packageversiontxt%
- GuiControl,, btnpackloc, %btnsinpackloc%
- GuiControl,, autoinstall, %installingame%
- IniWrite, JAP, CustomGuitarList.ini, Language, Language
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- enableUI()
- return
- }
- IfMsgBox, No
- {
- enableUI()
- return
- }
- about1:
- MsgBox, 4, , %browserwarntxt%,
- IfMsgBox, Yes
- run, http://www.nvidia.com/content/global/global.php
- return
- IfMsgBox, No
- return
- about2:
- MsgBox, 4, , %browserwarntxt%,
- IfMsgBox, Yes
- run, http://www.xnview.com/en/nconvert.php
- return
- IfMsgBox, No
- return
- about3:
- MsgBox, 4, , %browserwarntxt%,
- IfMsgBox, Yes
- run, http://www.7-zip.org/
- return
- IfMsgBox, No
- return
- about4:
- MsgBox, 4, , %browserwarntxt%,
- IfMsgBox, Yes
- run, http://www.rscustom.net/
- return
- IfMsgBox, No
- return
- about5:
- MsgBox, 4, , %browserwarntxt%,
- IfMsgBox, Yes
- run, http://forums.smithyanvil.com/viewtopic.php?id=9409
- return
- IfMsgBox, No
- return
- Tab:
- GuiControlGet, Tab
- Gui, Color, % TabColors_Tab%Tab%
- return
- submittostore:
- MsgBox, 4, , %warn1submit%,
- IfMsgBox, Yes
- {
- disableUI()
- FileCreateDir, %A_ScriptDir%\tmp
- FileRemoveDir, %A_ScriptDir%\tmp\submitedcgm, 1
- FileCreateDir, %A_ScriptDir%\tmp\submitedcgm
- CGMDIR = %A_ScriptDir%\tmp\submitedcgm
- FileCopy, %DDSInlayfiles%, %CGMDIR%\Inlay.png
- FileCopy, %DDSI512files%, %CGMDIR%\Icon.png
- DDSInlayfiles = %CGMDIR%\Inlay.png
- DDSI512files = %CGMDIR%\Icon.png
- GuiControlGet, newinlay
- GuiControlGet, newicon
- GuiControlGet, 24finlay
- GuiControlGet, creatorname
- GuiControlGet, coloredinlay
- GuiControlGet, newenglishname
- FileCreateDir, %A_ScriptDir%\tmp
- FileRemoveDir, %A_ScriptDir%\tmp\cgmsave, 1
- FileCreateDir, %A_ScriptDir%\tmp\cgmsave
- progress = 10
- progresstext = %submitsave1%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%DDSInlayfiles%" -prescale 1024 512 -quality_highest -max -32 dxt5 -dxt5 -overwrite -alpha -output "%A_ScriptDir%\tmp\cgmsave\inlay.dds",,Hide
- progress = 50
- progresstext = %submitsave2%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%DDSI512files%" -prescale 512 512 -quality_highest -max -32 dxt5 -dxt5 -overwrite -output "%A_ScriptDir%\tmp\cgmsave\icon.dds",,Hide
- progress = 70
- progresstext = %submitsave3%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- IniWrite, %newenglishname%, %A_ScriptDir%\tmp\cgmsave\setup.smb, Setup, guitarname
- IniWrite, %coloredinlay%, %A_ScriptDir%\tmp\cgmsave\setup.smb, Setup, coloredinlay
- IniWrite, %creatorname%, %A_ScriptDir%\tmp\cgmsave\setup.smb, Setup, creatorname
- if 24finlay = 1
- {
- IniWrite, %24finlay%, %A_ScriptDir%\tmp\cgmsave\setup.smb, Setup, 24frets
- }
- progress = 90
- progresstext = %submitsave4%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- StringReplace, newenglishname2, newenglishname, %A_SPACE%, _, All
- StringReplace, creatorname2, creatorname, %A_SPACE%, _, All
- progress = 100
- progresstext = %submitsave5%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- if 24finlay = 1
- {
- newenglishname2 = [24F]%newenglishname2%
- }
- RunWait, %A_ScriptDir%\ressources\packer\7za.exe a "%CGMDIR%\%newenglishname2%_%creatorname2%_v%buildversion%.cgm" "%A_ScriptDir%\tmp\cgmsave\"*,,Hide
- FileCopy, %DDSInlayfiles%, %CGMDIR%\Inlay_%newenglishname2%_%creatorname2%_v%buildversion%.png
- FileCopy, %DDSI512files%, %CGMDIR%\Icon_%newenglishname2%_%creatorname2%_v%buildversion%.png
- sqlfile = INSERT INTO ``inlays`` `(``Name``, ``Createdby``, ``Icon``, ``Inlay``, ``Download```) VALUES`n`('%newenglishname%', '%creatorname%', '<img src="./validated/%creatorname2%/Icon_%newenglishname2%_%creatorname2%_v%buildversion%.png" width="50" height="50" />', '<img src="./validated/%creatorname2%/Inlay_%newenglishname2%_%creatorname2%_v%buildversion%.png" width="200" height="100" />', '<a id="button" href="./validated/%creatorname2%/%newenglishname2%_%creatorname2%_v%buildversion%.cgm"></a>');
- FileAppend, %sqlfile%, %CGMDIR%\%newenglishname2%_%creatorname2%_v%buildversion%.sql
- fcmd = ftcmd.bat
- FileDelete %CGMDIR%\%fcmd%
- FileDelete %CGMDIR%\commands.txt
- ftpacces = ftp -s:"%CGMDIR%\commands.txt"
- FileAppend, %ftpacces%, %CGMDIR%\%fcmd%
- FileAppend,
- (
- open "31.170.166.77"
- u547454057
- shadow123
- cd Inlays
- cd submited
- mkdir %creatorname2%
- cd %creatorname2%
- binary
- put "%CGMDIR%\%newenglishname2%_%creatorname2%_v%buildversion%.cgm"
- put "%CGMDIR%\Inlay_%newenglishname2%_%creatorname2%_v%buildversion%.png"
- put "%CGMDIR%\Icon_%newenglishname2%_%creatorname2%_v%buildversion%.png"
- put "%CGMDIR%\%newenglishname2%_%creatorname2%_v%buildversion%.sql"
- ls -l
- quit
- ), %CGMDIR%\commands.txt
- RunWait, "%CGMDIR%\%fcmd%",,Hide
- FileDelete %CGMDIR%\%fcmd%
- FileDelete %CGMDIR%\commands.txt
- FileRemoveDir, %A_ScriptDir%\tmp\submitedcgm, 1
- msgbox, %submitedtxt%
- progress = 0
- progresstext = %defstateprogresstxt%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- enableUI()
- return
- }
- IfMsgBox, No
- {
- return
- }
- getemplate:
- MsgBox, 4, , %browserwarntxt%,
- IfMsgBox, Yes
- run, http://s18.postimg.org/u7ap2x8mx/Template_2.png
- return
- IfMsgBox, No
- return
- baousmithy:
- MsgBox, 4, , %browserwarntxt%,
- IfMsgBox, Yes
- run, http://forums.smithyanvil.com/profile.php?id=319
- return
- IfMsgBox, No
- return
- baousmithy2:
- MsgBox, 4, , %browserwarntxt%,
- IfMsgBox, Yes
- run, http://forums.smithyanvil.com/profile.php?id=319
- return
- IfMsgBox, No
- return
- facebookbaou:
- MsgBox, 4, , %browserwarntxt%,
- IfMsgBox, Yes
- run, https://www.facebook.com/pages/Baoulettes/258752740926874
- return
- IfMsgBox, No
- return
- Refreshmahname:
- GuiControlGet, newenglishname
- GuiControl,, defaultname, %newenglishname%
- return
- RS2014D:
- disableUI()
- FileSelectFolder, RS2014DIR,, 3, %slttxtrs2014dir%
- IniWrite, %RS2014DIR%, CustomGuitarList.ini, Rocksmith2014Directory, Rocksmith2014dir
- If RS2014DIR = ERROR
- {
- RS2014DIR = %rs2014dirtextlang%
- GuiControl,, rs2014dirtext, %RS2014DIR%
- enableUI()
- } else {
- GuiControl,, rs2014dirtext, %RS2014DIR%
- enableUI()
- }
- If RS2014DIR =
- {
- RS2014DIR = %rs2014dirtextlang%
- GuiControl,, rs2014dirtext, %RS2014DIR%
- enableUI()
- } else {
- GuiControl,, rs2014dirtext, %RS2014DIR%
- enableUI()
- }
- return
- newiconfiles:
- disableUI()
- FileSelectFile, DDSI512files, 3, , %iconopentxt%, %iconopentxt2% files (*tga; *.png)
- If DDSI512files =
- {
- DDSI512files = %A_ScriptDir%\ressources\images\icon.png
- GuiControl,, newicon, %DDSI512files%
- enableUI()
- } else {
- GuiControl,, newicon, %DDSI512files%
- enableUI()
- }
- If DDSI512files = ERROR
- {
- DDSI512files = %A_ScriptDir%\ressources\images\icon.png
- GuiControl,, newicon, %DDSI512files%
- enableUI()
- } else {
- GuiControl,, newicon, %DDSI512files%
- enableUI()
- }
- return
- newinlayfiles:
- disableUI()
- FileSelectFile, DDSInlayfiles, 3, , %inlayopentxt%, %inlayopentxt2% (*.tga; *.png)
- If DDSInlayfiles =
- {
- DDSInlayfiles = %A_ScriptDir%\ressources\images\inlay_preview.png
- GuiControl,, newinlay, %DDSInlayfiles%
- enableUI()
- } else {
- GuiControl,, newinlay, %DDSInlayfiles%
- enableUI()
- }
- If DDSInlayfiles = ERROR
- {
- DDSInlayfiles = %A_ScriptDir%\ressources\images\inlay_preview.png
- GuiControl,, newinlay, %DDSInlayfiles%
- enableUI()
- } else {
- GuiControl,, newinlay, %DDSInlayfiles%
- GuiControl, enable, RS2014DB
- enableUI()
- }
- return
- loadguitar:
- disableUI()
- FileSelectFile, loadcgm, 3, , %cgmopentxt% , %cgmopentxt2% (*.cgm)
- if loadcgm =
- {
- msgbox, %cgmonlytxt%
- enableUI()
- }
- else
- {
- RandomName = % RandomName(6,6)
- StringLower, RandomName, RandomName
- guitarnamesix = %RandomName%
- progress = 10
- progresstext = %loadtxt1%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- FileRemoveDir, %A_ScriptDir%\tmp\cgm, 1
- FileRemoveDir, %A_ScriptDir%\tmp\, 1
- FileCreateDir, %A_ScriptDir%\tmp
- FileCreateDir, %A_ScriptDir%\tmp\cgm
- FileCopy, %loadcgm%, %A_ScriptDir%\tmp\cgm\1.7z
- RunWait, %A_ScriptDir%\ressources\packer\7za.exe x "%A_ScriptDir%\tmp\cgm\1.7z" -o"%A_ScriptDir%\tmp\cgm\*",,Hide
- IniRead, leng, %A_ScriptDir%\tmp\cgm\1\setup.smb, Setup, guitarname
- IniRead, lcreator, %A_ScriptDir%\tmp\cgm\1\setup.smb, Setup, creatorname
- IniRead, lcolored, %A_ScriptDir%\tmp\cgm\1\setup.smb, Setup, coloredinlay
- IniRead, l24frets, %A_ScriptDir%\tmp\cgm\1\setup.smb, Setup, 24frets
- leng = %leng%
- If lcreator = ERROR
- {
- IniRead, leng, %A_ScriptDir%\tmp\cgm\1\setup.cgm, Setup, guitarname
- IniRead, lcreator, %A_ScriptDir%\tmp\cgm\1\setup.cgm, Setup, creatorname
- IniRead, lcolored, %A_ScriptDir%\tmp\cgm\1\setup.cgm, Setup, coloredinlay
- leng = %leng%
- }
- progress = 50
- progresstext = %loadtxt2%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- RunWait, %A_ScriptDir%\ressources\packer\topng.exe -out png "%A_ScriptDir%\tmp\cgm\1\inlay.dds",,Hide
- progress = 80
- progresstext = %loadtxt3%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- RunWait, %A_ScriptDir%\ressources\packer\topng.exe -out png "%A_ScriptDir%\tmp\cgm\1\icon.dds",,Hide
- loadinlay = %A_ScriptDir%\tmp\cgm\1\inlay.png
- loadicon = %A_ScriptDir%\tmp\cgm\1\icon.png
- DDSI512files = %loadicon%
- DDSInlayfiles = %loadinlay%
- if lcolored = 1
- {
- coloredinlay = 1
- }
- else
- {
- coloredinlay = 0
- }
- StringReplace, leng, leng, ., _, All
- if l24frets = 1
- {
- GuiControl,, 24finlay, %l24frets%
- }
- GuiControl,, default6name, %guitarnamesix%
- GuiControl,, newenglishname, %leng%
- GuiControl,, coloredinlay, %coloredinlay%
- GuiControl,, newinlay, %DDSInlayfiles%
- GuiControl,, newicon, %DDSI512files%
- If lcreator = ERROR
- {
- GuiControl,, creatorname, UnknowCreator
- msgbox, %loadtxtp1% %leng% %loadtxtp2%
- }
- If lcreator = UnknowCreator
- {
- GuiControl,, creatorname, UnknowCreator
- msgbox, %loadtxtp1% %leng% %loadtxtp2%
- }
- else
- {
- GuiControl,, creatorname, %lcreator%
- msgbox, %loadtxtnewp1% %leng% %loadtxtnewp2% %lcreator% %loadtxtnewp3%
- }
- progress = 0
- progresstext = %defstateprogresstxt%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- enableUI()
- }
- return
- saveguitar:
- disableUI()
- FileSelectFolder, CGMDIR,, 3, %savecgmtxt%
- if CGMDIR =
- {
- msgbox, %errorsavecgmtxt%
- enableUI()
- }
- else
- {
- GuiControlGet, newinlay
- GuiControlGet, newicon
- GuiControlGet, creatorname
- GuiControlGet, coloredinlay
- GuiControlGet, newenglishname
- GuiControlGet, 24finlay
- FileCreateDir, %A_ScriptDir%\tmp
- FileRemoveDir, %A_ScriptDir%\tmp\cgmsave, 1
- FileCreateDir, %A_ScriptDir%\tmp\cgmsave
- progress = 10
- progresstext = %txtsave1%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%DDSInlayfiles%" -prescale 1024 512 -quality_highest -max -32 dxt5 -dxt5 -overwrite -alpha -output "%A_ScriptDir%\tmp\cgmsave\inlay.dds",,Hide
- progress = 50
- progresstext = %txtsave2%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%DDSI512files%" -prescale 512 512 -quality_highest -max -32 dxt5 -dxt5 -overwrite -output "%A_ScriptDir%\tmp\cgmsave\icon.dds",,Hide
- progress = 70
- progresstext = %txtsave3%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- IniWrite, %newenglishname%, %A_ScriptDir%\tmp\cgmsave\setup.smb, Setup, guitarname
- IniWrite, %coloredinlay%, %A_ScriptDir%\tmp\cgmsave\setup.smb, Setup, coloredinlay
- IniWrite, %creatorname%, %A_ScriptDir%\tmp\cgmsave\setup.smb, Setup, creatorname
- if 24finlay = 1
- {
- IniWrite, %24finlay%, %A_ScriptDir%\tmp\cgmsave\setup.smb, Setup, 24frets
- }
- progress = 90
- progresstext = %txtsave4%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- StringReplace, newenglishname2, newenglishname, %A_SPACE%, _, All
- StringReplace, newenglishname, newenglishname, ., _, All
- StringReplace, creatorname2, creatorname, %A_SPACE%, _, All
- if 24finlay = 1
- {
- newenglishname2 = [24F]%newenglishname2%
- }
- progress = 100
- progresstext = %txtsave5%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- GuiControl,, progresstxt, %progresstext%
- RunWait, %A_ScriptDir%\ressources\packer\7za.exe a "%CGMDIR%\%newenglishname2%_%creatorname2%_v%buildversion%.cgm" "%A_ScriptDir%\tmp\cgmsave\""%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*" -prescale 1024 512 -quality_highest -max -dxt5 -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds",,Hide
- }
- else
- {
- Runwait, %A_ScriptDir%\ressources\packer\topng.exe -overwrite -yflip "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*" -prescale 1024 512 -quality_highest -max -dxt5 -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds",,Hide
- }
- }
- else
- {
- if flipud = 0
- {
- Runwait, %A_ScriptDir%\ressources\packer\topng.exe -overwrite -xflip "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*" -prescale 1024 512 -quality_highest -max -dxt5 -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds",,Hide
- }
- else
- {
- Runwait, %A_ScriptDir%\ressources\packer\topng.exe -overwrite -xflip -yflip "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*" -prescale 1024 512 -quality_highest -max -dxt5 -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds",,Hide
- }
- }
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_512.*" -prescale 512 512 -quality_highest -max -dxt5 -quality_highest -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_512.dds",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_256.*" -prescale 256 256 -quality_highest -max -dxt5 -quality_highest -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_256.dds",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.*" -prescale 128 128 -quality_highest -max -dxt5 -quality_highest -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.dds",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_64.*" -prescale 64 64 -quality_highest -max -dxt5 -quality_highest -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_64.dds",,Hide
- progress = 20
- progresstext = %parse3%
- GuiControl,, progresstxt, %progresstext%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- checkthis = %RS2014DIR%\dlc\GuitarInlayPack_p.psarc
- Random, RDM20, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM21, 0x005F5E100, 0x03B9AC9FF
- Random, RDM22, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM23, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM24, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM25, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM26, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM27, 0x03B9ACA00, 0x2540BE3FF
- rsflat1 =
- (
- <?xml version="1.0" encoding="utf-8"?>
- <model
- name="RSEnumerable_Guitars"
- id="%RDM21%">
- <trait
- value="Active" />
- <mixin
- name="RSEnumerable_Root"
- id="%RDM20%"
- type="Active" />
- <property
- type="AssetID"
- name="DecorativeInlays"
- id="%RDM22%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="PreviewArtSmall"
- id="%RDM23%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="PreviewArtMedium"
- id="%RDM24%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="PreviewArtLarge"
- id="%RDM25%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="Manifest"
- id="%RDM26%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="Header"
- id="%RDM27%">
- <set
- value="" />
- </property>
- </model>
- )
- rsflat2 =
- (
- <?xml version="1.0" encoding="utf-8"?>
- <model
- name="RSEnumerable_Root"
- id="%RDM20%">
- <trait
- value="Active" />
- <property
- type="AssetID"
- name="Manifest"
- id="%RDM26%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="Header"
- id="%RDM27%">
- <set
- value="" />
- </property>
- </model>
- )
- If pcversion = 1
- {
- IfNotExist, %checkthis%
- {
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\assets
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\assets\gameplay
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\assets\gameplay\inlay
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\flatmodels
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\flatmodels\rs
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gamexblocks
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gamexblocks\nguitars
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gfxassets
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gfxassets\rewards
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gfxassets\rewards\guitar_inlays
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\guitars
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\songs_dlc_multipack
- FileAppend, %rsflat1%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\flatmodels\rs\RSEnumerable_Guitars.flat
- FileAppend, %rsflat2%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\flatmodels\rs\RSEnumerable_Root.flat
- }
- FileCopy, %RS2014DIR%\dlc\GuitarInlayPack_p.psarc, %A_ScriptDir%\backup\GuitarInlayPack_p.psarc
- loop
- {
- ifexist, %A_ScriptDir%\backup\GuitarInlayPack_p.psarc
- break
- }
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --unpack --input="%A_ScriptDir%\backup" --output="%A_ScriptDir%\tmp",,Hide
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\appid.appid
- FileAppend, %dlcid2%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\appid.appid
- if 24finlay = 0
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\assets\gameplay\inlay\inlay_%guitarnamesix%.dds
- TestString = inlay_%guitarnamesix%.dds
- }
- else
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\assets\gameplay\inlay\inlay_24fret_%guitarnamesix%.dds
- TestString = inlay_24fret_%guitarnamesix%.dds
- }
- Output := StringToHex(TestString)
- Ootput = %Output%
- newhexname = %Output%
- StringReplace newhexname, newhexname, %A_Space%, , All
- filenifname = %guitarnamesix%.nif
- StringToHex(String)
- {
- local Old_A_FormatInteger, CharHex, HexString
- ;Return '0' if the string was blank
- If !String
- Return 0
- ;Save the current Integer format
- Old_A_FormatInteger := A_FormatInteger
- ;Set the format of integers to their Hex value
- SetFormat, INTEGER, H
- ;Parse the String
- Loop, Parse, String
- {
- ;Get the ASCII value of the Character (will be converted to the Hex value by the SetFormat Line above)
- CharHex := Asc(A_LoopField)
- ;Comment out the following line to leave the '0x' intact
- StringTrimLeft, CharHex, CharHex, 2
- ;Build the return string
- HexString .= CharHex . " "
- }
- ;Set the integer format to what is was prior to the call
- SetFormat, INTEGER, %Old_A_FormatInteger%
- ;Return the string to the caller
- Return HexString
- }
- /*
- BinReadWrite.ahk
- Routines to read and write binary data from/to files.
- Based on original functions written by Laszlo
- http://www.autohotkey.com/forum/viewtopic.php?t=4604
- TODO: Perhaps set a lastError variable to explicit the errors.
- // by Philippe Lhoste <PhiLho(a)GMX.net> http://Phi.Lho.free.fr
- // File/Project history:
- 1.03.000 -- 2006/02/15 (PL) -- Moved Bin2Hex & Hex2Bin to DllCallStruct, apply code rules.
- 1.02.000 -- 2006/01/24 (PL) -- Slight change of the API: all functions return -1 if error.
- Integrated Laszlo suggestions on improving Bin2Hex and Hex2Bin.
- 1.01.000 -- 2006/01/23 (PL) -- Declaration of the local variables, to get access to global
- WinAPI constants, and for consistency.
- 1.00.000 -- 2006/01/19 (PL) -- Rewrote the functions to separate opening and closing,
- allowing efficient multiple operations.
- */
- ; WinAPI constants
- INVALID_HANDLE_VALUE = -1
- INVALID_FILE_SIZE = 0xFFFFFFFF
- FILE_BEGIN = 0
- FILE_CURRENT = 1
- FILE_END = 2
- /*
- // Open the file for reading.
- // Return the file handle to provide in further read operations and in the final close operation,
- // or INVALID_HANDLE_VALUE if an error was found.
- */
- OpenFileForRead(_filename)
- {
- local handle
- handle := DllCall("CreateFile"
- , "Str", _filename ; lpFileName
- , "UInt", 0x80000000 ; dwDesiredAccess (GENERIC_READ)
- , "UInt", 3 ; dwShareMode (FILE_SHARE_READ|FILE_SHARE_WRITE)
- , "UInt", 0 ; lpSecurityAttributes
- , "UInt", 3 ; dwCreationDisposition (OPEN_EXISTING)
- , "UInt", 0 ; dwFlagsAndAttributes
- , "UInt", 0) ; hTemplateFile
- If (handle = INVALID_HANDLE_VALUE or handle = 0)
- {
- ErrorLevel = -1
- }
- IfNotEqual ErrorLevel, 0, Return INVALID_HANDLE_VALUE ; Couldn't open the file
- Return handle
- }
- /*
- // Open the file for writing.
- // Return the file handle to provide in further write operations and in the final close operation,
- // or INVALID_HANDLE_VALUE if an error was found.
- */
- OpenFileForWrite(_filename)
- {
- local handle
- handle := DllCall("CreateFile"
- , "Str", _filename ; lpFileName
- , "UInt", 0x40000000 ; dwDesiredAccess (GENERIC_WRITE)
- , "UInt", 3 ; dwShareMode (FILE_SHARE_READ|FILE_SHARE_WRITE)
- , "UInt", 0 ; lpSecurityAttributes
- , "UInt", 4 ; dwCreationDisposition (OPEN_ALWAYS: create if not exists)
- , "UInt", 0 ; dwFlagsAndAttributes
- , "UInt", 0) ; hTemplateFile
- If (handle = INVALID_HANDLE_VALUE or handle = 0)
- {
- ErrorLevel = -1
- }
- IfNotEqual ErrorLevel, 0, Return INVALID_HANDLE_VALUE ; Couldn't open the file
- Return handle
- }
- /*
- // Close the file.
- */
- CloseFile(_handle)
- {
- local result
- result := DllCall("CloseHandle"
- , "UInt", _handle)
- If (result = 0)
- {
- ErrorLevel = -1
- }
- }
- /*
- // Get the size of the opened file, in bytes.
- // Limited to 4GB, so it is more limited that AHK's FileGetSize.
- // It is here for consistency, and because it accepts a file handle instead of a path.
- //
- // Return the size in bytes, -1 if there was an error.
- */
- GetFileSize(_handle)
- {
- local fileSize
- fileSize := DllCall("GetFileSize"
- , "UInt", _handle
- , "UInt", 0)
- If (fileSize = INVALID_FILE_SIZE)
- {
- ErrorLevel = -1
- }
- IfNotEqual ErrorLevel, 0, Return -1
- Return fileSize
- }
- /*
- // Move the file pointer in the file to the given offset relative to moveMethod.
- //
- // moveMethod can be FILE_BEGIN, FILE_CURRENT or FILE_END.
- // If moveMethod is -1, nothing is done (default, for operations at current position).
- // To get the current position, call this function with just FILE_CURRENT (null offset).
- // offset can be positive (toward end of the file) or negative (toward start of the file).
- //
- // Return -1 if there was an error, the new file pointer position if OK.
- // Note: Currently it doesn't work for files larger than 2GB...
- */
- MoveInFile(_handle, _moveMethod=-1, _offset=0)
- {
- local result
- result = %INVALID_FILE_SIZE%
- if (_moveMethod != -1)
- {
- result := DllCall("SetFilePointer"
- , "UInt", _handle ; hFile
- , "Int", _offset ; lDistanceToMove
- , "UInt", 0 ; lpDistanceToMoveHigh
- , "UInt", _moveMethod) ; dwMoveMethod
- if (result = -1) ; INVALID_SET_FILE_POINTER
- {
- ErrorLevel = -1
- }
- IfNotEqual ErrorLevel, 0, Return -1 ; Couldn't make the move
- }
- Return result
- }
- /*
- // Write in a file opened for writing.
- //
- // Move to position given by moveMethod and offset
- // (by default stand at current position) and
- // write byteNb bytes from data (all data if byteNb = 0;
- // data contains binary bytes that can be a string or
- // raw bytes generated from hexa data with the Hex2Bin routine).
- //
- // moveMethod, defaulting to -1 (no move, write at current position),
- // can also be FILE_BEGIN, FILE_CURRENT or FILE_END.
- // offset can be positive (toward end of file) or negative (toward beginning of file).
- //
- // Return the number of bytes written (-1 if there was an error).
- */
- WriteInFile(_handle, ByRef @data, _byteNb=0, _moveMethod=-1, _offset=0)
- {
- local dataSize, result, written
- _offset := MoveInFile(_handle, _moveMethod, _offset)
- IfNotEqual ErrorLevel, 0, Return -1 ; Couldn't make the move
- dataSize := VarSetCapacity(@data) ; Get the capacity (>= used length!)
- If (_byteNb < 1 or _byteNb > dataSize)
- {
- byteNb := dataSize
- }
- result := DllCall("WriteFile"
- , "UInt", _handle ; hFile
- , "Str", @data ; lpBuffer
- , "UInt", _byteNb ; nNumberOfBytesToWrite
- , "UInt *", written ; lpNumberOfBytesWritten
- , "UInt", 0) ; lpOverlapped
- if (result = 0 or written < _byteNb)
- {
- ErrorLevel = -2
- }
- IfNotEqual ErrorLevel, 0, Return -1 ; Couldn't write in the file
- Return written
- }
- /*
- // Read from a file opened for reading.
- //
- // Move to position given by moveMethod and offset
- // (by default stand at current position) and
- // read byteNb bytes in data (the whole file if byteNb = 0;
- // data contains binary bytes that can be a string or
- // raw bytes that can be converted to hex digits with the Bin2Hex routine).
- //
- // moveMethod, defaulting to -1 (no move, read at current position),
- // can also be FILE_BEGIN, FILE_CURRENT or FILE_END.
- // offset can be positive (toward end of file) or negative (toward beginning of file).
- //
- // Return the number of bytes read (-1 if there was an error), which can be less
- // than requested if end-of-file is meet.
- */
- ReadFromFile(_handle, ByRef @data, _byteNb=0, _moveMethod=-1, _offset=0)
- {
- local fileSize, granted, result, read
- _offset := MoveInFile(_handle, _moveMethod, _offset)
- IfNotEqual ErrorLevel, 0, Return -1 ; Couldn't make the move
- if (_byteNb = 0)
- {
- ; Read whole file (or less if file pointer isn't at start)
- fileSize := GetFileSize(_handle)
- IfNotEqual ErrorLevel, 0, Return -1 ; Couldn't get the file size
- _byteNb := fileSize
- }
- granted := VarSetCapacity(@data, _byteNb, 0)
- if (granted < _byteNb)
- {
- ; Cannot allocate enough memory
- ErrorLevel = Mem=%granted%
- Return -1
- }
- result := DllCall("ReadFile"
- , "UInt", _handle ; hFile
- , "Str", @data ; lpBuffer
- , "UInt", _byteNb ; nNumberOfBytesToRead
- , "UInt *", read ; lpNumberOfBytesRead
- , "UInt", 0) ; lpOverlapped
- if (result = 0)
- {
- ErrorLevel = -2
- }
- ;~ MsgBox fileSize: %fileSize% - offset: %_offset% - byteNb: %_byteNb% - granted: %granted% - read: %read%
- IfNotEqual ErrorLevel, 0, Return -1 ; Couldn't read the file
- ; Note that we can have read less data than requested,
- ; eg. if end of file has been meet
- Return read
- }
- /*
- // Convert raw bytes stored in a variable to a string of hexa digit pairs.
- // Convert either byteNb bytes or, if null, the whole content of the variable.
- //
- // Return the number of converted bytes, or -1 if error (memory allocation)
- */
- Bin2Hex(ByRef @hex, ByRef @bin, _byteNb=0)
- {
- local intFormat, dataSize, dataAddress, granted, x
- ; Save original integer format
- intFormat = %A_FormatInteger%
- ; For converting bytes to hex
- SetFormat Integer, Hex
- ; Get size of data
- dataSize := VarSetCapacity(@bin)
- If (_byteNb < 1 or _byteNb > dataSize)
- {
- _byteNb := dataSize
- }
- dataAddress := &@bin
- ; Make enough room (faster)
- granted := VarSetCapacity(@hex, _byteNb * 2)
- if (granted < _byteNb * 2)
- {
- ; Cannot allocate enough memory
- ErrorLevel = Mem=%granted%
- Return -1
- }
- Loop %_byteNb%
- {
- ; Get byte in hexa
- x := *dataAddress + 0x100
- StringRight x, x, 2 ; 2 hex digits
- StringUpper x, x
- @hex = %@hex%%x%
- dataAddress++ ; Next byte
- }
- ; Restore original integer format
- SetFormat Integer, %intFormat%
- Return _byteNb
- }
- /*
- // Convert a string of hexa digit pairs to raw bytes stored in a variable.
- // Convert either byteNb bytes or, if null, the whole content of the variable.
- //
- // Return the number of converted bytes, or -1 if error (memory allocation)
- */
- Hex2Bin(ByRef @bin, _hex, _byteNb=0)
- {
- local dataSize, granted, dataAddress, x
- ; Get size of data
- x := StrLen(_hex)
- dataSize := Ceil(x / 2)
- if (x = 0 or dataSize * 2 != x)
- {
- ; Invalid string, empty or odd number of digits
- ErrorLevel = Param
- Return -1
- }
- If (_byteNb < 1 or _byteNb > dataSize)
- {
- _byteNb := dataSize
- }
- ; Make enough room
- granted := VarSetCapacity(@bin, _byteNb, 0)
- if (granted < _byteNb)
- {
- ; Cannot allocate enough memory
- ErrorLevel = Mem=%granted%
- Return -1
- }
- dataAddress := &@bin
- Loop Parse, _hex
- {
- if (A_Index & 1) ; Odd
- {
- x = %A_LoopField% ; Odd digit
- }
- else
- {
- ; Concatenate previous x and even digit, converted to hex
- x := "0x" . x . A_LoopField
- ; Store integer in memory
- DllCall("RtlFillMemory"
- , "UInt", dataAddress
- , "UInt", 1
- , "UChar", x)
- dataAddress++
- }
- }
- Return _byteNb
- }
- HexString=
- ( Join
- %nif1%%newhexname%%nif2%
- )
- Tfh := OpenFileForWrite(filenifname)
- l := Hex2Bin(data, HexString)
- WriteInFile(Tfh, data, l)
- CloseFile(Tfh)
- FileCopy,%A_ScriptDir%\%filenifname%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\assets\gameplay\inlay\%filenifname%
- FileDelete,%A_ScriptDir%\%filenifname%
- newfilesxblock = <?xml version="1.0" encoding="utf-8"?>`n<game>`n <entitySet>`n <entity id="%ID1%" modelName="RSEnumerable_Guitars" name="%guitarnamesix%" iterations="0">`n <properties>`n <property name="Header">`n <set value="urn:database:hsan-db:guitars" />`n </property>`n <property name="Manifest">`n <set value="urn:database:json-db:guitar_%guitarnamesix%" />`n </property>`n <property name="PreviewArt">`n <set value="urn:image:dds:reward_inlay_%guitarnamesix%" />`n </property>`n <property name="DecorativeInlays">`n <set value="urn:application:gamebryo-scenegraph:%guitarnamesix%" />`n </property>`n </properties>`n </entity>`n </entitySet>`n</game>`n
- FileAppend, %newfilesxblock%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gamexblocks\nguitars\guitar_%guitarnamesix%.xblock
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_512.dds, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_512.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_256.dds, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_256.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.dds, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_128.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_64.dds, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_64.dds
- FileRead, guitarshsan2, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\guitars\guitars.hsan
- 2replace =
- (
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- bythis2 =
- (
- },
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- IfNotExist, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\guitars\guitars.hsan
- {
- newhsan15 =
- (
- {
- "Entries" : {
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- FileAppend, %newhsan15%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\guitars\guitars.hsan
- FileAppend, %newhsan15%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\songs_dlc_multipack\dlc_multipack.hsan
- }
- else
- {
- FileRead, guitarshsan2, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\guitars\guitars.hsan
- bythis2 =
- (
- },
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- StringTrimRight, guitarshsan2L, guitarshsan2, 52
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\guitars\guitars.hsan
- FileAppend, %guitarshsan2L%`n%A_Tab%%A_Tab%%bythis2%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\guitars\guitars.hsan
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\songs_dlc_multipack\dlc_multipack.hsan
- FileAppend, %guitarshsan2L%`n%A_Tab%%A_Tab%%bythis2%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\songs_dlc_multipack\dlc_multipack.hsan
- }
- newfilesjson = {`n "Entries": {`n "%ID1MAJ%": {`n "Attributes": {`n "DecorativeInlays": "urn:application:gamebryo-scenegraph:%guitarnamesix%"`,`n "DLC": true`,`n "LocName": "%guitarname%"`,`n "ManifestUrn": "urn:database:json-db:guitar_%guitarnamesix%"`,`n "Name": "%guitarname%",`n "PreviewArt": "urn:image:dds:reward_inlay_%guitarnamesix%"`,`n "PersistentID": "%ID1MAJ%"`n }`n }`n }`,`n "ModelName": "RSEnumerable_Guitars"`,`n "IterationVersion": 2`,`n "InsertRoot": "Static.Guitars.Entries"`n}`n
- FileAppend, %newfilesjson%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\songs_dlc_multipack\dlc_guitar_%guitarnamesix%.json
- FileAppend, %newfilesjson%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\manifests\guitars\guitar_%guitarnamesix%.json
- FileRead, setupfiles, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\goingdown_aggregategraph.nt
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\goingdown_aggregategraph.nt
- Random, RDM2, 0x000018700, 0x0000F3FFF
- Random, RDM3, 0x000018700, 0x0000F3FFF
- Random, RDM4, 0x000018700, 0x0000F3FFF
- Random, RDM5, 0x000018700, 0x0000F3FFF
- Random, RDM6, 0x000018700, 0x0000F3FFF
- Random, RDM7, 0x000018700, 0x0000F3FFF
- Random, RDM8, 0x000018700, 0x0000F3FFF
- Random, RDM9, 0x000018700, 0x0000F3FFF
- Random, RDM10, 0x000018700, 0x0000F3FFF
- Random, RDM11, 0x000989680, 0x005F5E0FF
- Random, RDM12, 0x000989680, 0x005F5E0FF
- Random, RDM13, 0x000989680, 0x005F5E0FF
- Random, RDM14, 0x000989680, 0x005F5E0FF
- Random, RDM15, 0x000989680, 0x005F5E0FF
- Random, RDM16, 0x000989680, 0x005F5E0FF
- Random, RDM17, 0x000989680, 0x005F5E0FF
- Random, RDM18, 0x000989680, 0x005F5E0FF
- newinlaysetupadd =`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_multipack/dlc_guitar_%guitarnamesix%.json".`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_multipack".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "database".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "json-db".`n`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "hsan-db".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_multipack/dlc_multipack.hsan".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/name> "guitars".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_multipack".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "database".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/name> "%guitarnamesix%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/%filenifname%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/llid> "%RDM12%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM4%> <http://emergent.net/aweb/1.0/tag> "application".`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/tag> "gamebryo-scenegraph".`n`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/%filenifname%".`n`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/name> "inlay_%guitarnamesix%".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "image".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/relpath> "/gamexblocks/nguitars/guitar_%guitarnamesix%.xblock".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/canonical> "/gamexblocks/nguitars".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "emergent-world".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "x-world".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_64".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/name> "reward_inlay_mintol_128".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_256".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_512".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".
- FileAppend, %setupfiles%`n%newinlaysetupadd%, %A_ScriptDir%\tmp\GuitarInlayPack_p_Pc\goingdown_aggregategraph.nt
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --pack --input="%A_ScriptDir%\tmp\GuitarInlayPack_p_Pc" --output="%A_ScriptDir%\tmp\GuitarInlayPack_p.psarc",,Hide
- FileCopy, %A_ScriptDir%\tmp\GuitarInlayPack_p.psarc, %RS2014DIR%\dlc\GuitarInlayPack_p.psarc
- loop
- {
- ifexist, %RS2014DIR%\dlc\GuitarInlayPack_p.psarc
- break
- }
- }
- If macversion = 1
- {
- FileSelectFolder, macversionwork,, 3, Select a folder to create or update : GuitarInlayPack_m.psarc
- If macversionwork = ERROR
- {
- msgbox, you must select a valid folder.`nA valid folder to creator or update : GuitarInlayPack_m.psarc`nThis will now quit the creation and select a proper folder.
- enableUI()
- progress = 0
- progresstext = %defstateprogresstxt%
- GuiControl,, progresstxt, %progresstext%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- return
- }
- If macversionwork =
- {
- msgbox, you must select a valid folder.`nA valid folder to create or update : GuitarInlayPack_m.psarc`nThis will now quit the creation and select a proper folder.
- enableUI()
- progress = 0
- progresstext = %defstateprogresstxt%
- GuiControl,, progresstxt, %progresstext%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- return
- }
- checkthis2 = %macversionwork%\GuitarInlayPack_m.psarc
- IfNotExist, %checkthis2%
- {
- FileRemoveDir, %A_ScriptDir%\backup,1
- FileCreateDir, %A_ScriptDir%\backup
- FileRemoveDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc,1
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\assets
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\assets\gameplay
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\assets\gameplay\inlay
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\flatmodels
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\flatmodels\rs
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gamexblocks
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gamexblocks\nguitars
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gfxassets
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gfxassets\rewards
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gfxassets\rewards\guitar_inlays
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\guitars
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\songs_dlc_multipack
- FileAppend, %rsflat1%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\flatmodels\rs\RSEnumerable_Guitars.flat
- FileAppend, %rsflat2%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\flatmodels\rs\RSEnumerable_Root.flat
- }
- FileCopy, %macversionwork%\GuitarInlayPack_m.psarc, %A_ScriptDir%\backup\GuitarInlayPack_m.psarc
- loop
- {
- ifexist, %A_ScriptDir%\backup\GuitarInlayPack_m.psarc
- break
- }
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --unpack --input="%A_ScriptDir%\backup" --output="%A_ScriptDir%\tmp",,Hide
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\appid.appid
- FileAppend, %dlcid2%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\appid.appid
- if 24finlay = 0
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\assets\gameplay\inlay\inlay_%guitarnamesix%.dds
- TestString = inlay_%guitarnamesix%.dds
- }
- else
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\assets\gameplay\inlay\inlay_24fret_%guitarnamesix%.dds
- TestString = inlay_24fret_%guitarnamesix%.dds
- }
- Output := StringToHex(TestString)
- Ootput = %Output%
- newhexname = %Output%
- StringReplace newhexname, newhexname, %A_Space%, , All
- filenifname = %guitarnamesix%.nif
- HexString=
- ( Join
- %nif1%%newhexname%%nif2%
- )
- Tfh := OpenFileForWrite(filenifname)
- l := Hex2Bin(data, HexString)
- WriteInFile(Tfh, data, l)
- CloseFile(Tfh)
- FileCopy,%A_ScriptDir%\%filenifname%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\assets\gameplay\inlay\%filenifname%
- FileDelete,%A_ScriptDir%\%filenifname%
- newfilesxblock = <?xml version="1.0" encoding="utf-8"?>`n<game>`n <entitySet>`n <entity id="%ID1%" modelName="RSEnumerable_Guitars" name="%guitarnamesix%" iterations="0">`n <properties>`n <property name="Header">`n <set value="urn:database:hsan-db:guitars" />`n </property>`n <property name="Manifest">`n <set value="urn:database:json-db:guitar_%guitarnamesix%" />`n </property>`n <property name="PreviewArt">`n <set value="urn:image:dds:reward_inlay_%guitarnamesix%" />`n </property>`n <property name="DecorativeInlays">`n <set value="urn:application:gamebryo-scenegraph:%guitarnamesix%" />`n </property>`n </properties>`n </entity>`n </entitySet>`n</game>`n
- FileAppend, %newfilesxblock%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gamexblocks\nguitars\guitar_%guitarnamesix%.xblock
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_512.dds, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_512.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_256.dds, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_256.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.dds, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_128.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_64.dds, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_64.dds
- FileRead, guitarshsan2, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\guitars\guitars.hsan
- 2replace =
- (
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- bythis2 =
- (
- },
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- IfNotExist, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\guitars\guitars.hsan
- {
- newhsan15 =
- (
- {
- "Entries" : {
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- FileAppend, %newhsan15%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\guitars\guitars.hsan
- FileAppend, %newhsan15%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\songs_dlc_multipack\dlc_multipack.hsan
- }
- else
- {
- FileRead, guitarshsan2, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\guitars\guitars.hsan
- bythis2 =
- (
- },
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- StringTrimRight, guitarshsan2L, guitarshsan2, 52
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\guitars\guitars.hsan
- FileAppend, %guitarshsan2L%`n%A_Tab%%A_Tab%%bythis2%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\guitars\guitars.hsan
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\songs_dlc_multipack\dlc_multipack.hsan
- FileAppend, %guitarshsan2L%`n%A_Tab%%A_Tab%%bythis2%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\songs_dlc_multipack\dlc_multipack.hsan
- }
- newfilesjson = {`n "Entries": {`n "%ID1MAJ%": {`n "Attributes": {`n "DecorativeInlays": "urn:application:gamebryo-scenegraph:%guitarnamesix%"`,`n "DLC": true`,`n "LocName": "%guitarname%"`,`n "ManifestUrn": "urn:database:json-db:guitar_%guitarnamesix%"`,`n "Name": "%guitarname%",`n "PreviewArt": "urn:image:dds:reward_inlay_%guitarnamesix%"`,`n "PersistentID": "%ID1MAJ%"`n }`n }`n }`,`n "ModelName": "RSEnumerable_Guitars"`,`n "IterationVersion": 2`,`n "InsertRoot": "Static.Guitars.Entries"`n}`n
- FileAppend, %newfilesjson%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\songs_dlc_multipack\dlc_guitar_%guitarnamesix%.json
- FileAppend, %newfilesjson%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\manifests\guitars\guitar_%guitarnamesix%.json
- FileRead, setupfiles, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\goingdown_aggregategraph.nt
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\goingdown_aggregategraph.nt
- Random, RDM2, 0x000018700, 0x0000F3FFF
- Random, RDM3, 0x000018700, 0x0000F3FFF
- Random, RDM4, 0x000018700, 0x0000F3FFF
- Random, RDM5, 0x000018700, 0x0000F3FFF
- Random, RDM6, 0x000018700, 0x0000F3FFF
- Random, RDM7, 0x000018700, 0x0000F3FFF
- Random, RDM8, 0x000018700, 0x0000F3FFF
- Random, RDM9, 0x000018700, 0x0000F3FFF
- Random, RDM10, 0x000018700, 0x0000F3FFF
- Random, RDM11, 0x000989680, 0x005F5E0FF
- Random, RDM12, 0x000989680, 0x005F5E0FF
- Random, RDM13, 0x000989680, 0x005F5E0FF
- Random, RDM14, 0x000989680, 0x005F5E0FF
- Random, RDM15, 0x000989680, 0x005F5E0FF
- Random, RDM16, 0x000989680, 0x005F5E0FF
- Random, RDM17, 0x000989680, 0x005F5E0FF
- Random, RDM18, 0x000989680, 0x005F5E0FF
- newinlaysetupadd =`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_multipack/dlc_guitar_%guitarnamesix%.json".`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_multipack".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "database".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "json-db".`n`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "hsan-db".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_multipack/dlc_multipack.hsan".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/name> "guitars".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_multipack".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "database".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/name> "%guitarnamesix%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/%filenifname%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/llid> "%RDM12%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM4%> <http://emergent.net/aweb/1.0/tag> "application".`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/tag> "gamebryo-scenegraph".`n`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/%filenifname%".`n`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/name> "inlay_%guitarnamesix%".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "image".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/relpath> "/gamexblocks/nguitars/guitar_%guitarnamesix%.xblock".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/canonical> "/gamexblocks/nguitars".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "emergent-world".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "x-world".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_64".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/name> "reward_inlay_mintol_128".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_256".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_512".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".
- FileAppend, %setupfiles%`n%newinlaysetupadd%, %A_ScriptDir%\tmp\GuitarInlayPack_m_Pc\goingdown_aggregategraph.nt
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --pack --input="%A_ScriptDir%\tmp\GuitarInlayPack_m_Pc" --output="%A_ScriptDir%\tmp\GuitarInlayPack_m.psarc",,Hide
- FileCopy, %A_ScriptDir%\tmp\GuitarInlayPack_m.psarc, %macversionwork%\GuitarInlayPack_m.psarc
- loop
- {
- ifexist, %macversionwork%\GuitarInlayPack_m.psarc
- break
- }
- }
- If x360version = 1
- {
- FileSelectFolder, x360versionwork,, 3, Select a folder to create or update : GuitarInlayPack_xbox
- If x360versionwork = ERROR
- {
- msgbox, you must select a valid folder.`nA valid folder to creator or update : GuitarInlayPack_xbox`nThis will now quit the creation and select a proper folder.
- enableUI()
- progress = 0
- progresstext = %defstateprogresstxt%
- GuiControl,, progresstxt, %progresstext%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- return
- }
- If x360versionwork =
- {
- msgbox, you must select a valid folder.`nA valid folder to create or update : GuitarInlayPack_xbox`nThis will now quit the creation and select a proper folder.
- enableUI()
- progress = 0
- progresstext = %defstateprogresstxt%
- GuiControl,, progresstxt, %progresstext%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- return
- }
- checkthis3 = %x360versionwork%\GuitarInlayPack_xbox
- IfNotExist, %checkthis3%
- {
- FileRemoveDir, %A_ScriptDir%\backup,1
- FileCreateDir, %A_ScriptDir%\backup
- FileRemoveDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360,1
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\assets
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\assets\gameplay
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\assets\gameplay\inlay
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\flatmodels
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\flatmodels\rs
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gamexblocks
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gamexblocks\nguitars
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gfxassets
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gfxassets\rewards
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gfxassets\rewards\guitar_inlays
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\guitars
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\songs_dlc_multipack
- FileAppend, %rsflat1%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\flatmodels\rs\RSEnumerable_Guitars.flat
- FileAppend, %rsflat2%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\flatmodels\rs\RSEnumerable_Root.flat
- StringReplace, guitarname2, guitarname, ., , All
- StringReplace, guitarname2, guitarname, %A_Space%, , All
- FileAppend, GuitarInlayPack, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\PackageList.txt
- Random, RDMX360ID, 0x000989680, 0x005F5E0FF
- x360signtest =
- (
- Signature Type - CON
- Package Licences:
- License 0 ID: FFFFFFFFFFFFFFFF
- License 0 Bits: 0
- License 0 Flags: 0
- License 1 ID: 0
- License 1 Bits: 0
- License 1 Flags: 0
- License 2 ID: 0
- License 2 Bits: 0
- License 2 Flags: 0
- License 3 ID: 0
- License 3 Bits: 0
- License 3 Flags: 0
- License 4 ID: 0
- License 4 Bits: 0
- License 4 Flags: 0
- License 5 ID: 0
- License 5 Bits: 0
- License 5 Flags: 0
- License 6 ID: 0
- License 6 Bits: 0
- License 6 Flags: 0
- License 7 ID: 0
- License 7 Bits: 0
- License 7 Flags: 0
- License 8 ID: 0
- License 8 Bits: 0
- License 8 Flags: 0
- License 9 ID: 0
- License 9 Bits: 0
- License 9 Flags: 0
- License 10 ID: 0
- License 10 Bits: 0
- License 10 Flags: 0
- License 11 ID: 0
- License 11 Bits: 0
- License 11 Flags: 0
- License 12 ID: 0
- License 12 Bits: 0
- License 12 Flags: 0
- License 13 ID: 0
- License 13 Bits: 0
- License 13 Flags: 0
- License 14 ID: 0
- License 14 Bits: 0
- License 14 Flags: 0
- License 15 ID: 0
- License 15 Bits: 0
- License 15 Flags: 0
- Package Type: MarketPlace
- Meta Data Version: 2
- Recorded ContentSize: %rootsize% bytes
- Media ID: 0
- Version: 0
- Version Base: 0
- Title ID: 555308C0
- Platform: 0
- Executable Type: 0
- Disc Number: 0
- Disc In Set: 0
- Save Game ID: 0
- Creator's Console ID: 00
- Creator's Profile ID: 00
- Data File Count: 0
- Data File Size: 0
- Series ID: 00000000000000000000000000000000
- Season ID: 00000000000000000000000000000000
- Season Number: 0
- Epidsode Number: 0
- Device ID: 0000000000000000000000000000000000000000
- Languages:
- English Display Title and Description:
- Inlay : %guitarname% by %creatorname%
- Inlay : %guitarname% by %creatorname%
- Japanese Display Title and Description:
- German Display Title and Description:
- French Display Title and Description:
- Spanish Display Title and Description:
- Italian Display Title and Description:
- Korean Display Title and Description:
- Chinese Display Title and Description:
- Portuguese Display Title and Description:
- Publisher Name: %softname% - v%buildversion%
- Package Title: Rocksmith 2014
- Package Transfer Type: AllowTransfer
- )
- Random, RDMX360N1, 0x000989680, 0x005F5E0FF
- Random, RDMX360N2, 0x000989680, 0x005F5E0FF
- Random, RDMX360N3, 0x000989680, 0x005F5E0FF
- Random, RDMX360N4, 0x000989680, 0x005F5E0FF
- Random, RDMX360N5, 0x000989680, 0x005F5E0FF
- FileAppend, %x360signtest%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\CC%RDMX360N1%%RDMX360N2%%RDMX360N3%%RDMX360N4%%RDMX360N5%.txt
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.*" -prescale 128 128 -max -quality_highest -nomipmap -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.png",,Hide
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.png, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Content Image.png
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.png, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Package Image.png
- }
- FileCopy, %checkthis3%, %A_ScriptDir%\backup\GuitarInlayPack_xbox
- sleep 5000
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --unpack --input="%A_ScriptDir%\backup\GuitarInlayPack_xbox" --output="%A_ScriptDir%\tmp",,Hide
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\appid.appid
- FileAppend, %dlcid2%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\appid.appid
- if 24finlay = 0
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\assets\gameplay\inlay\inlay_%guitarnamesix%.dds
- TestString = inlay_%guitarnamesix%.dds
- }
- else
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\assets\gameplay\inlay\inlay_24fret_%guitarnamesix%.dds
- TestString = inlay_24fret_%guitarnamesix%.dds
- }
- Output := StringToHex(TestString)
- Ootput = %Output%
- newhexname = %Output%
- StringReplace newhexname, newhexname, %A_Space%, , All
- filenifname = %guitarnamesix%.nif
- HexString=
- ( Join
- %nif1%%newhexname%%nif2%
- )
- Tfh := OpenFileForWrite(filenifname)
- l := Hex2Bin(data, HexString)
- WriteInFile(Tfh, data, l)
- CloseFile(Tfh)
- FileCopy,%A_ScriptDir%\%filenifname%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\assets\gameplay\inlay\%filenifname%
- FileDelete,%A_ScriptDir%\%filenifname%
- newfilesxblock = <?xml version="1.0" encoding="utf-8"?>`n<game>`n <entitySet>`n <entity id="%ID1%" modelName="RSEnumerable_Guitars" name="%guitarnamesix%" iterations="0">`n <properties>`n <property name="Header">`n <set value="urn:database:hsan-db:guitars" />`n </property>`n <property name="Manifest">`n <set value="urn:database:json-db:guitar_%guitarnamesix%" />`n </property>`n <property name="PreviewArt">`n <set value="urn:image:dds:reward_inlay_%guitarnamesix%" />`n </property>`n <property name="DecorativeInlays">`n <set value="urn:application:gamebryo-scenegraph:%guitarnamesix%" />`n </property>`n </properties>`n </entity>`n </entitySet>`n</game>`n
- FileAppend, %newfilesxblock%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gamexblocks\nguitars\guitar_%guitarnamesix%.xblock
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_512.dds, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_512.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_256.dds, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_256.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.dds, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_128.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_64.dds, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_64.dds
- FileRead, guitarshsan2, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\guitars\guitars.hsan
- 2replace =
- (
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- bythis2 =
- (
- },
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- IfNotExist, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\guitars\guitars.hsan
- {
- newhsan15 =
- (
- {
- "Entries" : {
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- FileAppend, %newhsan15%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\guitars\guitars.hsan
- FileAppend, %newhsan15%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\songs_dlc_multipack\dlc_multipack.hsan
- }
- else
- {
- FileRead, guitarshsan2, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\guitars\guitars.hsan
- bythis2 =
- (
- },
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- StringTrimRight, guitarshsan2L, guitarshsan2, 52
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\guitars\guitars.hsan
- FileAppend, %guitarshsan2L%`n%A_Tab%%A_Tab%%bythis2%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\guitars\guitars.hsan
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\songs_dlc_multipack\dlc_multipack.hsan
- FileAppend, %guitarshsan2L%`n%A_Tab%%A_Tab%%bythis2%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\songs_dlc_multipack\dlc_multipack.hsan
- }
- newfilesjson = {`n "Entries": {`n "%ID1MAJ%": {`n "Attributes": {`n "DecorativeInlays": "urn:application:gamebryo-scenegraph:%guitarnamesix%"`,`n "DLC": true`,`n "LocName": "%guitarname%"`,`n "ManifestUrn": "urn:database:json-db:guitar_%guitarnamesix%"`,`n "Name": "%guitarname%",`n "PreviewArt": "urn:image:dds:reward_inlay_%guitarnamesix%"`,`n "PersistentID": "%ID1MAJ%"`n }`n }`n }`,`n "ModelName": "RSEnumerable_Guitars"`,`n "IterationVersion": 2`,`n "InsertRoot": "Static.Guitars.Entries"`n}`n
- FileAppend, %newfilesjson%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\songs_dlc_multipack\dlc_guitar_%guitarnamesix%.json
- FileAppend, %newfilesjson%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\manifests\guitars\guitar_%guitarnamesix%.json
- FileRead, setupfiles, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\goingdown_aggregategraph.nt
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\goingdown_aggregategraph.nt
- Random, RDM2, 0x000018700, 0x0000F3FFF
- Random, RDM3, 0x000018700, 0x0000F3FFF
- Random, RDM4, 0x000018700, 0x0000F3FFF
- Random, RDM5, 0x000018700, 0x0000F3FFF
- Random, RDM6, 0x000018700, 0x0000F3FFF
- Random, RDM7, 0x000018700, 0x0000F3FFF
- Random, RDM8, 0x000018700, 0x0000F3FFF
- Random, RDM9, 0x000018700, 0x0000F3FFF
- Random, RDM10, 0x000018700, 0x0000F3FFF
- Random, RDM11, 0x000989680, 0x005F5E0FF
- Random, RDM12, 0x000989680, 0x005F5E0FF
- Random, RDM13, 0x000989680, 0x005F5E0FF
- Random, RDM14, 0x000989680, 0x005F5E0FF
- Random, RDM15, 0x000989680, 0x005F5E0FF
- Random, RDM16, 0x000989680, 0x005F5E0FF
- Random, RDM17, 0x000989680, 0x005F5E0FF
- Random, RDM18, 0x000989680, 0x005F5E0FF
- newinlaysetupadd =`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_multipack/dlc_guitar_%guitarnamesix%.json".`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_multipack".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "database".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "json-db".`n`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "hsan-db".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_multipack/dlc_multipack.hsan".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/name> "guitars".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_multipack".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "database".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/name> "%guitarnamesix%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/%filenifname%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/llid> "%RDM12%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM4%> <http://emergent.net/aweb/1.0/tag> "application".`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/tag> "gamebryo-scenegraph".`n`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/%filenifname%".`n`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/name> "inlay_%guitarnamesix%".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "image".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/relpath> "/gamexblocks/nguitars/guitar_%guitarnamesix%.xblock".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/canonical> "/gamexblocks/nguitars".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "emergent-world".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "x-world".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_64".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/name> "reward_inlay_mintol_128".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_256".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_512".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".
- FileAppend, %setupfiles%`n%newinlaysetupadd%, %A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360\Root\GuitarInlayPack\goingdown_aggregategraph.nt
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_xbox
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --pack --input="%A_ScriptDir%\tmp\GuitarInlayPack_xbox_XBox360" --output="%A_ScriptDir%\tmp\GuitarInlayPack_xbox",,Hide
- loop
- {
- ifexist, %A_ScriptDir%\tmp\GuitarInlayPack_xbox
- break
- }
- FileDelete, %x360versionwork%\GuitarInlayPack_xbox
- FileCopy, %A_ScriptDir%\tmp\GuitarInlayPack_xbox, %x360versionwork%\GuitarInlayPack_xbox
- loop
- {
- ifexist, %x360versionwork%\GuitarInlayPack_xbox
- break
- }
- }
- If ps3version = 1
- {
- FileSelectFolder, ps3versionwork,, 3, Select a folder to create or update : GuitarInlayPack_ps3.psarc.edat
- If ps3versionwork = ERROR
- {
- msgbox, you must select a valid folder.`nA valid folder to creator or update : GuitarInlayPack_ps3.psarc.edat`nThis will now quit the creation and select a proper folder.
- enableUI()
- progress = 0
- progresstext = %defstateprogresstxt%
- GuiControl,, progresstxt, %progresstext%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- return
- }
- If ps3versionwork =
- {
- msgbox, you must select a valid folder.`nA valid folder to create or update : GuitarInlayPack_ps3.psarc.edat`nThis will now quit the creation and select a proper folder.
- enableUI()
- progress = 0
- progresstext = %defstateprogresstxt%
- GuiControl,, progresstxt, %progresstext%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- return
- }
- checkthis2 = %ps3versionwork%\GuitarInlayPack_ps3.psarc.edat
- IfNotExist, %checkthis2%
- {
- FileRemoveDir, %A_ScriptDir%\backup,1
- FileCreateDir, %A_ScriptDir%\backup
- FileRemoveDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3,1
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\assets
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\assets\gameplay
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\assets\gameplay\inlay
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\flatmodels
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\flatmodels\rs
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gamexblocks
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gamexblocks\nguitars
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gfxassets
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gfxassets\rewards
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gfxassets\rewards\guitar_inlays
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\guitars
- FileCreateDir, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\songs_dlc_multipack
- FileAppend, %rsflat1%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\flatmodels\rs\RSEnumerable_Guitars.flat
- FileAppend, %rsflat2%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\flatmodels\rs\RSEnumerable_Root.flat
- }
- FileCreateDir, %A_ScriptDir%\ressources\packer\EDAT
- FileCopy, %ps3versionwork%\GuitarInlayPack_ps3.psarc.edat, %A_ScriptDir%\ressources\packer\EDAT\GuitarInlayPack_ps3.psarc.edat
- sleep 5000
- SetWorkingDir %A_ScriptDir%\ressources\packer\
- RunWait, "%A_ScriptDir%\ressources\packer\ps3_decrypt.cmd",,Hide
- SetWorkingDir %A_ScriptDir%
- FileCopy, %A_ScriptDir%\ressources\packer\EDAT\GuitarInlayPack_ps3.psarc.edat, %A_ScriptDir%\backup\GuitarInlayPack_ps3.psarc
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --unpack --input="%A_ScriptDir%\backup\GuitarInlayPack_ps3.psarc" --output="%A_ScriptDir%\tmp\GuitarInlayPack_ps3",,Hide
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\appid.appid
- FileAppend, %dlcid2%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\appid.appid
- if 24finlay = 0
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\assets\gameplay\inlay\inlay_%guitarnamesix%.dds
- TestString = inlay_%guitarnamesix%.dds
- }
- else
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\assets\gameplay\inlay\inlay_24fret_%guitarnamesix%.dds
- TestString = inlay_24fret_%guitarnamesix%.dds
- }
- Output := StringToHex(TestString)
- Ootput = %Output%
- newhexname = %Output%
- StringReplace newhexname, newhexname, %A_Space%, , All
- filenifname = %guitarnamesix%.nif
- HexString=
- ( Join
- %nif1%%newhexname%%nif2%
- )
- Tfh := OpenFileForWrite(filenifname)
- l := Hex2Bin(data, HexString)
- WriteInFile(Tfh, data, l)
- CloseFile(Tfh)
- FileCopy,%A_ScriptDir%\%filenifname%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\assets\gameplay\inlay\%filenifname%
- FileDelete,%A_ScriptDir%\%filenifname%
- newfilesxblock = <?xml version="1.0" encoding="utf-8"?>`n<game>`n <entitySet>`n <entity id="%ID1%" modelName="RSEnumerable_Guitars" name="%guitarnamesix%" iterations="0">`n <properties>`n <property name="Header">`n <set value="urn:database:hsan-db:guitars" />`n </property>`n <property name="Manifest">`n <set value="urn:database:json-db:guitar_%guitarnamesix%" />`n </property>`n <property name="PreviewArt">`n <set value="urn:image:dds:reward_inlay_%guitarnamesix%" />`n </property>`n <property name="DecorativeInlays">`n <set value="urn:application:gamebryo-scenegraph:%guitarnamesix%" />`n </property>`n </properties>`n </entity>`n </entitySet>`n</game>`n
- FileAppend, %newfilesxblock%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gamexblocks\nguitars\guitar_%guitarnamesix%.xblock
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_512.dds, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_512.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_256.dds, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_256.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.dds, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_128.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_64.dds, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_64.dds
- FileRead, guitarshsan2, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\guitars\guitars.hsan
- 2replace =
- (
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- bythis2 =
- (
- },
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- IfNotExist, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\guitars\guitars.hsan
- {
- newhsan15 =
- (
- {
- "Entries" : {
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- FileAppend, %newhsan15%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\guitars\guitars.hsan
- FileAppend, %newhsan15%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\songs_dlc_multipack\dlc_multipack.hsan
- }
- else
- {
- FileRead, guitarshsan2, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\guitars\guitars.hsan
- bythis2 =
- (
- },
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- StringTrimRight, guitarshsan2L, guitarshsan2, 52
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\guitars\guitars.hsan
- FileAppend, %guitarshsan2L%`n%A_Tab%%A_Tab%%bythis2%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\guitars\guitars.hsan
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\songs_dlc_multipack\dlc_multipack.hsan
- FileAppend, %guitarshsan2L%`n%A_Tab%%A_Tab%%bythis2%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\songs_dlc_multipack\dlc_multipack.hsan
- }
- newfilesjson = {`n "Entries": {`n "%ID1MAJ%": {`n "Attributes": {`n "DecorativeInlays": "urn:application:gamebryo-scenegraph:%guitarnamesix%"`,`n "DLC": true`,`n "LocName": "%guitarname%"`,`n "ManifestUrn": "urn:database:json-db:guitar_%guitarnamesix%"`,`n "Name": "%guitarname%",`n "PreviewArt": "urn:image:dds:reward_inlay_%guitarnamesix%"`,`n "PersistentID": "%ID1MAJ%"`n }`n }`n }`,`n "ModelName": "RSEnumerable_Guitars"`,`n "IterationVersion": 2`,`n "InsertRoot": "Static.Guitars.Entries"`n}`n
- FileAppend, %newfilesjson%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\songs_dlc_multipack\dlc_guitar_%guitarnamesix%.json
- FileAppend, %newfilesjson%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\manifests\guitars\guitar_%guitarnamesix%.json
- FileRead, setupfiles, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\goingdown_aggregategraph.nt
- FileDelete, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\goingdown_aggregategraph.nt
- Random, RDM2, 0x000018700, 0x0000F3FFF
- Random, RDM3, 0x000018700, 0x0000F3FFF
- Random, RDM4, 0x000018700, 0x0000F3FFF
- Random, RDM5, 0x000018700, 0x0000F3FFF
- Random, RDM6, 0x000018700, 0x0000F3FFF
- Random, RDM7, 0x000018700, 0x0000F3FFF
- Random, RDM8, 0x000018700, 0x0000F3FFF
- Random, RDM9, 0x000018700, 0x0000F3FFF
- Random, RDM10, 0x000018700, 0x0000F3FFF
- Random, RDM11, 0x000989680, 0x005F5E0FF
- Random, RDM12, 0x000989680, 0x005F5E0FF
- Random, RDM13, 0x000989680, 0x005F5E0FF
- Random, RDM14, 0x000989680, 0x005F5E0FF
- Random, RDM15, 0x000989680, 0x005F5E0FF
- Random, RDM16, 0x000989680, 0x005F5E0FF
- Random, RDM17, 0x000989680, 0x005F5E0FF
- Random, RDM18, 0x000989680, 0x005F5E0FF
- newinlaysetupadd =`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_multipack/dlc_guitar_%guitarnamesix%.json".`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_multipack".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "database".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "json-db".`n`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "hsan-db".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_multipack/dlc_multipack.hsan".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/name> "guitars".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_multipack".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "database".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/name> "%guitarnamesix%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/%filenifname%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/llid> "%RDM12%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM4%> <http://emergent.net/aweb/1.0/tag> "application".`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/tag> "gamebryo-scenegraph".`n`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/%filenifname%".`n`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/name> "inlay_%guitarnamesix%".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "image".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/relpath> "/gamexblocks/nguitars/guitar_%guitarnamesix%.xblock".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/canonical> "/gamexblocks/nguitars".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "emergent-world".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "x-world".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_64".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/name> "reward_inlay_mintol_128".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_256".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_512".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".
- FileAppend, %setupfiles%`n%newinlaysetupadd%, %A_ScriptDir%\tmp\GuitarInlayPack_ps3\goingdown_aggregategraph.nt
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --pack --input="%A_ScriptDir%\tmp\GuitarInlayPack_ps3" --output="%A_ScriptDir%\tmp\GuitarInlayPack_p3.psarc",,Hide
- FileCopy, "%A_ScriptDir%\tmp\GuitarInlayPack_p3.psarc", "%A_ScriptDir%\ressources\packer\EDAT\GuitarInlayPack_p3.psarc"
- SetWorkingDir %A_ScriptDir%\ressources\packer\
- RunWait, "%A_ScriptDir%\ressources\packer\ps3_encrypt.cmd"
- SetWorkingDir %A_ScriptDir%
- FileDelete, %ps3versionwork%\GuitarInlayPack_ps3.psarc.edat
- FileCopy, "%A_ScriptDir%\ressources\packer\EDAT\GuitarInlayPack_ps3.psarc", "%ps3versionwork%\GuitarInlayPack_ps3.psarc.edat"
- loop
- {
- ifexist, "%ps3versionwork%\GuitarInlayPack_ps3.psarc.edat""%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*" -prescale 1024 512 -quality_highest -max -dxt5 -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds",,Hide
- }
- else
- {
- Runwait, %A_ScriptDir%\ressources\packer\topng.exe -overwrite -yflip "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*" -prescale 1024 512 -quality_highest -max -dxt5 -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds",,Hide
- }
- }
- else
- {
- if flipud = 0
- {
- Runwait, %A_ScriptDir%\ressources\packer\topng.exe -overwrite -xflip "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*" -prescale 1024 512 -quality_highest -max -dxt5 -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds",,Hide
- }
- else
- {
- Runwait, %A_ScriptDir%\ressources\packer\topng.exe -overwrite -xflip -yflip "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.*" -prescale 1024 512 -quality_highest -max -dxt5 -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds",,Hide
- }
- }
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_512.*" -prescale 512 512 -quality_highest -max -dxt5 -quality_highest -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_512.dds",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_256.*" -prescale 256 256 -quality_highest -max -dxt5 -quality_highest -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_256.dds",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.*" -prescale 128 128 -quality_highest -max -dxt5 -quality_highest -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.dds",,Hide
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_64.*" -prescale 64 64 -quality_highest -max -dxt5 -quality_highest -nomipmap -alpha -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_64.dds",,Hide
- FileAppend, %dlcid2%, %A_ScriptDir%\tmp\newguitarpack\appid.appid
- if 24finlay = 0
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\newguitarpack\assets\gameplay\inlay\inlay_%guitarnamesix%.dds
- TestString = inlay_%guitarnamesix%.dds
- }
- else
- {
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%.dds, %A_ScriptDir%\tmp\newguitarpack\assets\gameplay\inlay\inlay_24fret_%guitarnamesix%.dds
- TestString = inlay_24fret_%guitarnamesix%.dds
- }
- Output := StringToHex(TestString)
- Ootput = %Output%
- newhexname = %Output%
- StringReplace newhexname, newhexname, %A_Space%, , All
- filenifname = %guitarnamesix%.nif
- HexString=
- ( Join
- %nif1%%newhexname%%nif2%
- )
- Tfh := OpenFileForWrite(filenifname)
- l := Hex2Bin(data, HexString)
- WriteInFile(Tfh, data, l)
- CloseFile(Tfh)
- FileCopy,%A_ScriptDir%\%filenifname%, %A_ScriptDir%\tmp\newguitarpack\assets\gameplay\inlay\%filenifname%
- FileDelete,%A_ScriptDir%\%filenifname%
- Random, RDM20, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM21, 0x005F5E100, 0x03B9AC9FF
- Random, RDM22, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM23, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM24, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM25, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM26, 0x03B9ACA00, 0x2540BE3FF
- Random, RDM27, 0x03B9ACA00, 0x2540BE3FF
- rsflat1 =
- (
- <?xml version="1.0" encoding="utf-8"?>
- <model
- name="RSEnumerable_Guitars"
- id="%RDM21%">
- <trait
- value="Active" />
- <mixin
- name="RSEnumerable_Root"
- id="%RDM20%"
- type="Active" />
- <property
- type="AssetID"
- name="DecorativeInlays"
- id="%RDM22%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="PreviewArtSmall"
- id="%RDM23%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="PreviewArtMedium"
- id="%RDM24%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="PreviewArtLarge"
- id="%RDM25%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="Manifest"
- id="%RDM26%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="Header"
- id="%RDM27%">
- <set
- value="" />
- </property>
- </model>
- )
- rsflat2 =
- (
- <?xml version="1.0" encoding="utf-8"?>
- <model
- name="RSEnumerable_Root"
- id="%RDM20%">
- <trait
- value="Active" />
- <property
- type="AssetID"
- name="Manifest"
- id="%RDM26%">
- <set
- value="" />
- </property>
- <property
- type="AssetID"
- name="Header"
- id="%RDM27%">
- <set
- value="" />
- </property>
- </model>
- )
- FileAppend, %rsflat1%, %A_ScriptDir%\tmp\newguitarpack\flatmodels\rs\RSEnumerable_Guitars.flat
- FileAppend, %rsflat2%, %A_ScriptDir%\tmp\newguitarpack\flatmodels\rs\RSEnumerable_Root.flat
- newfilesxblock = <?xml version="1.0" encoding="utf-8"?>`n<game>`n <entitySet>`n <entity id="%ID1%" modelName="RSEnumerable_Guitars" name="%guitarnamesix%" iterations="0">`n <properties>`n <property name="Header">`n <set value="urn:database:hsan-db:guitars" />`n </property>`n <property name="Manifest">`n <set value="urn:database:json-db:guitar_%guitarnamesix%" />`n </property>`n <property name="PreviewArt">`n <set value="urn:image:dds:reward_inlay_%guitarnamesix%" />`n </property>`n <property name="DecorativeInlays">`n <set value="urn:application:gamebryo-scenegraph:%guitarnamesix%" />`n </property>`n </properties>`n </entity>`n </entitySet>`n</game>`n
- FileAppend, %newfilesxblock%, %A_ScriptDir%\tmp\newguitarpack\gamexblocks\nguitars\guitar_%guitarnamesix%.xblock
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_512.dds, %A_ScriptDir%\tmp\newguitarpack\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_512.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_256.dds, %A_ScriptDir%\tmp\newguitarpack\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_256.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.dds, %A_ScriptDir%\tmp\newguitarpack\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_128.dds
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_64.dds, %A_ScriptDir%\tmp\newguitarpack\gfxassets\rewards\guitar_inlays\reward_inlay_%guitarnamesix%_64.dds
- newhsan =
- (
- {
- "Entries" : {
- "%ID1MAJ%" : {
- "Attributes" : {
- "DLC" : true,
- "LocName" : "%guitarname%",
- "ManifestUrn" : "urn:database:json-db:guitar_%guitarnamesix%",
- "Name" : "%guitarname%",
- "PersistentID" : "%ID1MAJ%",
- "PreviewArt" : "urn:image:dds:reward_inlay_%guitarnamesix%"
- }
- },
- },
- "InsertRoot" : "Static.Guitars.Headers"
- }
- )
- FileAppend, %newhsan%, %A_ScriptDir%\tmp\newguitarpack\manifests\guitars\guitars.hsan
- FileAppend, %newhsan%, %A_ScriptDir%\tmp\newguitarpack\manifests\songs_dlc_%guitarnamesix%\dlc_%guitarnamesix%.hsan
- newfilesjson5 = {`n "Entries": {`n "%ID1MAJ%": {`n "Attributes": {`n "DecorativeInlays": "urn:application:gamebryo-scenegraph:%guitarnamesix%"`,`n "DLC": true`,`n "LocName": "%guitarname%"`,`n "ManifestUrn": "urn:database:json-db:guitar_%guitarnamesix%"`,`n "Name": "%guitarname%",`n "PreviewArt": "urn:image:dds:reward_inlay_%guitarnamesix%"`,`n "PersistentID": "%ID1MAJ%"`n }`n }`n }`,`n "ModelName": "RSEnumerable_Guitars"`,`n "IterationVersion": 2`,`n "InsertRoot": "Static.Guitars.Entries"`n}`n
- FileAppend, %newfilesjson5%, %A_ScriptDir%\tmp\newguitarpack\manifests\songs_dlc_%guitarnamesix%\dlc_guitar_%guitarnamesix%.json
- FileAppend, %newfilesjson5%, %A_ScriptDir%\tmp\newguitarpack\manifests\guitars\guitar_%guitarnamesix%.json
- Random, RDM2, 0x000018700, 0x0000F3FFF
- Random, RDM3, 0x000018700, 0x0000F3FFF
- Random, RDM4, 0x000018700, 0x0000F3FFF
- Random, RDM5, 0x000018700, 0x0000F3FFF
- Random, RDM6, 0x000018700, 0x0000F3FFF
- Random, RDM7, 0x000018700, 0x0000F3FFF
- Random, RDM8, 0x000018700, 0x0000F3FFF
- Random, RDM9, 0x000018700, 0x0000F3FFF
- Random, RDM10, 0x000018700, 0x0000F3FFF
- Random, RDM11, 0x000989680, 0x005F5E0FF
- Random, RDM12, 0x000989680, 0x005F5E0FF
- Random, RDM13, 0x000989680, 0x005F5E0FF
- Random, RDM14, 0x000989680, 0x005F5E0FF
- Random, RDM15, 0x000989680, 0x005F5E0FF
- Random, RDM16, 0x000989680, 0x005F5E0FF
- Random, RDM17, 0x000989680, 0x005F5E0FF
- Random, RDM18, 0x000989680, 0x005F5E0FF
- newinlaysetup =`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_%guitarnamesix%/dlc_guitar_%guitarnamesix%.json".`n`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_%guitarnamesix%".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "database".`n<urn:uuid:%RDM13%-3f6b-e531-4ae1-%RDM2%%RDM3%> <http://emergent.net/aweb/1.0/tag> "json-db".`n`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "hsan-db".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/relpath> "/manifests/songs_dlc_%guitarnamesix%/dlc_%guitarnamesix%.hsan".`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/name> "guitars".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/canonical> "/manifests/songs_dlc_%guitarnamesix%".`n`n<urn:uuid:%RDM14%-65a8-ec2a-9dac-%RDM3%%RDM4%> <http://emergent.net/aweb/1.0/tag> "database".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/name> "%guitarnamesix%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/%filenifname%".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/llid> "%RDM12%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM4%> <http://emergent.net/aweb/1.0/tag> "application".`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/tag> "gamebryo-scenegraph".`n`n`n<urn:uuid:%RDM15%-ff29-5301-b813-%RDM4%%RDM5%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/%filenifname%".`n`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/name> "inlay_%guitarnamesix%".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/relpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/canonical> "/assets/gameplay/inlay".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "image".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM5%%RDM6%> <http://emergent.net/aweb/1.0/logpath> "/assets/gameplay/inlay/inlay_%guitarnamesix%.dds".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/name> "guitar_%guitarnamesix%".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/relpath> "/gamexblocks/nguitars/guitar_%guitarnamesix%.xblock".`n`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/canonical> "/gamexblocks/nguitars".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "emergent-world".`n<urn:uuid:%RDM17%-38aa-5335-cf1b-%RDM6%%RDM7%> <http://emergent.net/aweb/1.0/tag> "x-world".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_64".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_64.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM7%%RDM8%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/name> "reward_inlay_mintol_128".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_128.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM8%%RDM9%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_256".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_256.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM9%%RDM10%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "image".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/tag> "dds".`n`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/canonical> "/gfxassets/rewards/guitar_inlays".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/name> "reward_inlay_%guitarnamesix%_512".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/relpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/logpath> "/gfxassets/rewards/guitar_inlays/reward_inlay_%guitarnamesix%_512.dds".`n<urn:uuid:%RDM16%-8deb-bdf6-0f80-%RDM10%%RDM2%> <http://emergent.net/aweb/1.0/llid> "%RDM11%-0000-0000-0000-000000000000".
- FileAppend, %newinlaysetup%, %A_ScriptDir%\tmp\newguitarpack\%guitarname%_aggregategraph.nt
- if pcversion = 1
- {
- Run, cmd /k cd ressources & cd packer & packer.exe --pack --input="%A_ScriptDir%\tmp\newguitarpack" --output="%locinstallpack%\%guitarname%_p.psarc",,Hide
- loop
- {
- ifexist, %locinstallpack%\%guitarname%_p.psarc
- break
- }
- }
- else
- {
- }
- if macversion = 1
- {
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --pack --input="%A_ScriptDir%\tmp\newguitarpack" --output="%locinstallpack%\%guitarname%_m.psarc",,Hide
- loop
- {
- ifexist, %locinstallpack%\%guitarname%_m.psarc
- break
- }
- }
- else
- {
- }
- if x360version = 1
- {
- StringReplace, guitarname2, guitarname, ., , All
- StringReplace, guitarname2, guitarname, %A_Space%, , All
- FileCopyDir, %A_ScriptDir%\tmp\newguitarpack, %A_ScriptDir%\tmp\newguitarpackx360\Root\%guitarname2%
- FileAppend, %guitarname2%, %A_ScriptDir%\tmp\newguitarpackx360\Root\PackageList.txt
- FileGetSize, rootsize, "%A_ScriptDir%\tmp\newguitarpackx360\Root", K
- Random, RDMX360ID, 0x000989680, 0x005F5E0FF
- x360signtest =
- (
- Signature Type - CON
- Package Licences:
- License 0 ID: FFFFFFFFFFFFFFFF
- License 0 Bits: 0
- License 0 Flags: 0
- License 1 ID: 0
- License 1 Bits: 0
- License 1 Flags: 0
- License 2 ID: 0
- License 2 Bits: 0
- License 2 Flags: 0
- License 3 ID: 0
- License 3 Bits: 0
- License 3 Flags: 0
- License 4 ID: 0
- License 4 Bits: 0
- License 4 Flags: 0
- License 5 ID: 0
- License 5 Bits: 0
- License 5 Flags: 0
- License 6 ID: 0
- License 6 Bits: 0
- License 6 Flags: 0
- License 7 ID: 0
- License 7 Bits: 0
- License 7 Flags: 0
- License 8 ID: 0
- License 8 Bits: 0
- License 8 Flags: 0
- License 9 ID: 0
- License 9 Bits: 0
- License 9 Flags: 0
- License 10 ID: 0
- License 10 Bits: 0
- License 10 Flags: 0
- License 11 ID: 0
- License 11 Bits: 0
- License 11 Flags: 0
- License 12 ID: 0
- License 12 Bits: 0
- License 12 Flags: 0
- License 13 ID: 0
- License 13 Bits: 0
- License 13 Flags: 0
- License 14 ID: 0
- License 14 Bits: 0
- License 14 Flags: 0
- License 15 ID: 0
- License 15 Bits: 0
- License 15 Flags: 0
- Package Type: MarketPlace
- Meta Data Version: 2
- Recorded ContentSize: %rootsize% bytes
- Media ID: 0
- Version: 0
- Version Base: 0
- Title ID: 555308C0
- Platform: 0
- Executable Type: 0
- Disc Number: 0
- Disc In Set: 0
- Save Game ID: 0
- Creator's Console ID: 00
- Creator's Profile ID: 00
- Data File Count: 0
- Data File Size: 0
- Series ID: 00000000000000000000000000000000
- Season ID: 00000000000000000000000000000000
- Season Number: 0
- Epidsode Number: 0
- Device ID: 0000000000000000000000000000000000000000
- Languages:
- English Display Title and Description:
- Inlay : %guitarname% by %creatorname%
- Inlay : %guitarname% by %creatorname%
- Japanese Display Title and Description:
- German Display Title and Description:
- French Display Title and Description:
- Spanish Display Title and Description:
- Italian Display Title and Description:
- Korean Display Title and Description:
- Chinese Display Title and Description:
- Portuguese Display Title and Description:
- Publisher Name: %softname% - v%buildversion%
- Package Title: Rocksmith 2014
- Package Transfer Type: AllowTransfer
- )
- Random, RDMX360N1, 0x000989680, 0x005F5E0FF
- Random, RDMX360N2, 0x000989680, 0x005F5E0FF
- Random, RDMX360N3, 0x000989680, 0x005F5E0FF
- Random, RDMX360N4, 0x000989680, 0x005F5E0FF
- Random, RDMX360N5, 0x000989680, 0x005F5E0FF
- FileAppend, %x360signtest%, %A_ScriptDir%\tmp\newguitarpackx360\CC%RDMX360N1%%RDMX360N2%%RDMX360N3%%RDMX360N4%%RDMX360N5%.txt
- Runwait, %A_ScriptDir%\ressources\packer\nvdxt.exe -file "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.*" -prescale 128 128 -max -quality_highest -nomipmap -output "%A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.png",,Hide
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.png, %A_ScriptDir%\tmp\newguitarpackx360\Content Image.png
- FileCopy, %A_ScriptDir%\tmp\images\inlay_%guitarnamesix%_128.png, %A_ScriptDir%\tmp\newguitarpackx360\Package Image.png
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --pack --input="%A_ScriptDir%\tmp\newguitarpackx360" --output="%A_ScriptDir%\tmp\%guitarname%_xbox",,Hide
- FileCopy, %A_ScriptDir%\tmp\%guitarname%_xbox, %locinstallpack%\%guitarname%_xbox
- loop
- {
- ifexist, %locinstallpack%\%guitarname%_xbox
- break
- }
- }
- else
- {
- }
- if ps3version = 1
- {
- RunWait, %A_ScriptDir%\ressources\packer\packer.exe --pack --input="%A_ScriptDir%\tmp\newguitarpack" --output="%A_ScriptDir%\tmp\%guitarname%_ps3.psarc",,Hide
- StringReplace, newenglishname, guitarname, %A_Space%, _, All
- FileCreateDir, %A_ScriptDir%\ressources\packer\EDAT
- FileCopy, %A_ScriptDir%\tmp\%guitarname%_ps3.psarc, %A_ScriptDir%\ressources\packer\EDAT\%newenglishname%_ps3.psarc
- loop
- {
- ifexist, %A_ScriptDir%\ressources\packer\EDAT\%newenglishname%_ps3.psarc
- break
- }
- SetWorkingDir %A_ScriptDir%\ressources\packer\
- RunWait, "%A_ScriptDir%\ressources\packer\ps3_encrypt.cmd",,Hide
- SetWorkingDir %A_ScriptDir%
- FileCopy, %A_ScriptDir%\ressources\packer\EDAT\%newenglishname%_ps3.psarc, %locinstallpack%\%newenglishname%_ps3.psarc.edat
- loop
- {
- ifexist, %locinstallpack%\%newenglishname%_ps3.psarc.edat
- break
- }
- }
- else
- {
- }
- progress = 100
- progresstext = %parse4%
- GuiControl,, progresstxt, %progresstext%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- msgbox, %doneconfirm2%
- progress = 0
- progresstext = %defstateprogresstxt%
- GuiControl,, progresstxt, %progresstext%
- GuiControl,, progressbar, %progress%
- GuiControl,, progressbar2, %progress%
- enableUI()
- RandomName = % RandomName(6,6)
- StringLower, RandomName, RandomName
- guitarnamesix = %RandomName%
- GuiControl,, default6name, %guitarnamesix%
- IDString = a0b1c2d3e4f5a6b7c8d9e0f
- Random, RDM1, 0x00F000000, 0x00fffffff
- ID1 = %IDString%%RDM1%
- StringUpper, ID1MAJ, ID1
- ccg++
- ccg2++
- IniWrite, %ccg%, CustomGuitarList.ini, NumberInstance, NumberSet
- IniWrite, %ccg2%, CustomGuitarList.ini, NumberInstance, NumberGuitar
- GuiControl,, idmaster, %ID1MAJ%
- GuiControl,, guitarid, %ccg2%
- return
- GuiClose:
- FileRemoveDir, %A_ScriptDir%\tmp, 1
- FileRemoveDir, %A_ScriptDir%\ressources, 1
- ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement