Welcome on Saint Seiya Online Community.

To take full advantage of everything offered by our forum, please log in if you are already a member or join our community if you're not yet... Please Register.

[Guide] Decrypt .lua files from script.pck!(FR/EN)

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

[Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by GendaFX on Thu Oct 24, 2013 11:56 pm

Rouge : Français
Blue : English

Bonjour à tous, bienvenue pour ce tutoriel qui sera simultanément en anglais et en Français pour une plus grande lisibilité pour les éventuels francophones ici :D

Hi everyone, welcome to this tutorial in french AND English, because I saw that some members are French and I’m French too so I think it can be cool for them and also easier for me to explain. :)


Here we go ! / On y va !

Tutorial Français :

Spoiler:
Tout d’abord, téléchargez le pack que je met à disposition, voici ce qu’il contient :
- Le logiciel Quickbms, essentiel pour extraire les fichiers (déjà donné par lishell)
- Le fichier script.bms, qui est un script spécifique à SSO pour extraire les fichiers du script.pck (et seulement ce fichier.)
- Un Décrypteur
- Notepad++ 6.4.5
- Send2Toys (Je vous expliquerai après)

Alors, voici comment nous allons procéder :
A l’aide de Quickbms et du script que je vous ai donné, vous allez extraire les fichiers .lua du script.pck. Pour cela rien de plus simple : Ouvrez le logiciel, sélectionnez le script.pck, puis le script.bms et enfin sélectionnez un dossier où extraire tous les fichiers, je vous suggère d’en créer un pour ne pas vous retrouver avec beauuuucoup de dossiers flottants !

Maintenant que vos fichiers sont extraits, prenez un fichier .lua, n’importe lequel provenant de vos sous-dossiers du script. (Pour ma part, je vais prendre le fichier login.lua du dossier i18n) une fois ouvert dans notepad++, vous devez juste faire « enregistrer sous » et faire « tous les formats » dans le choix du format (en dessous du nom) et de mettre le nom qui vous plait, mettez simplement .luac en tant qu’extension. Une fois le fichier .luac crée, rendez-vous dans le décrypteur et cliquez sur le fichier .bat puis suivez les instructions. Vous obtenez un fichier décrypté à 100% par cette méthode qui est plutôt simple. ^-^

“Mais à quoi sert Send2Toys” me direz vous ? Hé bien c’est très simple. Il va vous permettre d’envoyer vos fichiers vers l’invite de commande, ce qui est plus pratique qu’un fichier .bat. Du coup, vous pouvez directement faire clic droit et « envoyer vers -> invite de commandes (cmd) »

Une fois que vous avez modifié vos fichiers correctement, vous pouvez recompiler le tout ! Pour cela, rien de plus simple, mais je vous conseille de créer, à nouveau un dossier exprès pour vos fichiers modifiés, ça vous évitera je pense des désagréments du genre « est-ce que j’lai modif celui-là ? » « Quel est le fichier qui pose problème ? ». Une fois les dossiers créés (dossier pour les fichiers + sous-dossier, pour ma part c’était i18n donc) vous pouvez procéder au recompilage. Pour cela rien de plus simple, grâce à la manipulation précédente (avec Send2Toys) vous pouvez envoyer directement l’exe de Quickbms a l’invite de commande, et vous écrivez donc :  quickbms.exe –w –r script.bms script.pck [DossierFichiersModifiés] et votre script.pck est créée, bravo ! :D



English Tutorial :

Spoiler:
First, you need to download my translation pack, here’s what the pack contains :
- Quickbms, essential software to extract files from all files. (already given by lishell)
- The script.bms file, a special script for SSO to extract files from script.pck (and only this file.)
- A Decompiler
- Notepad++ 6.4.5 (BTW : If it’s in French, just go in “Langue” and put it in English ;))
- Send2Toys (I will explain it later)

So, now let’s proceed :
With Quickbms and the script that I gave, you’re going to extract .lua files from script.pck. Piece of cake! Just open Quickbms, select the script.pck and after, click on the script.bms aaand finally, select a folder, all your files will be in that folder. You should create a folder especially for that.

Now, the files are extracted. Just take a .lua file(I’m taking the login.lua from i18n folder) and open it in notepad++, you just need to “save as”  and do “all formats”(it’s under the filename) and name your file like you want but you must write “.luac”.(For me it’s : login.luac). Now go to the Decrypter and open the .bat file and follow the instructions. Now you have a .lua file fully decrypted. Pretty simple, huh? ^-^

« Why Send2Toys is needed », is that the question you ask to yourself? Good question. Send2Toys will “send” files to some programs that you can easily configure. Now you can right click on quickbms.exe and do -> send to commands(cmd).

When you have finished your work, you just have to recompile all the files! Simple advice : Make a new folder for ALL your modded files, it’ll be easier for you to modify it later. When you’ve done that, you can recompile the files by opening quickbms.exe with the cmd (remember : right click, send to, commands or cmd) and you will have a line which ends with “quickbms.exe”, you have to finish this line and make it like that at the end : quickbms.exe –w –r script.bms script.pck [ModdedFilesFolder]. Congratulations, you just made you own patch!  :D



Screenshots :
Spoiler:
[You must be registered and logged in to see this image.]
                              [You must be registered and logged in to see this image.]
                              [You must be registered and logged in to see this image.]
                              [You must be registered and logged in to see this image.]
                              [You must be registered and logged in to see this image.]

Lien du Pack FR : [You must be registered and logged in to see this link.]
English Pack Link : [You must be registered and logged in to see this link.]

If you have some questions, I can answer on this topic or in PM ! ^^
Si vous avez des questions, n'hésitez pas à me les poser ici ou par MP ! ^^

Please tell me if that tutorial was useful ! :)
Dites moi si le tutorial vous a été utile ! :)

GendaFX
God Saint
God Saint

Posts : 111
Join date : 2013-06-02
Age : 20

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by xSeMix on Fri Oct 25, 2013 1:52 am

Thanks!

▬SIGNATURE▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
[You must be registered and logged in to see this image.]
avatar
xSeMix
Gold Saint
Gold Saint

Posts : 69
Join date : 2013-07-08

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by tono9476 on Fri Oct 25, 2013 4:44 am

Can you do it with a non translated file (a file in chinese) ? :D  And put some screenshots of your result? thanks !!! :| 
avatar
tono9476
Athena's Saint
Athena's Saint

Posts : 369
Join date : 2013-05-18
Age : 21
Location : Guatemala

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by GendaFX on Fri Oct 25, 2013 7:00 am

Sure, but I don't have any chinese files anymore, can you give me a chinese script?

GendaFX
God Saint
God Saint

Posts : 111
Join date : 2013-06-02
Age : 20

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by tono9476 on Fri Oct 25, 2013 5:54 pm

So you already translated ALL the game? Wow that's awesome!
avatar
tono9476
Athena's Saint
Athena's Saint

Posts : 369
Join date : 2013-05-18
Age : 21
Location : Guatemala

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by GendaFX on Fri Oct 25, 2013 6:05 pm

No, there's a little misunderstanding ^^ I mean, I don't have a full chinese script. I haven't translate all the game yet, but I've got a major part of the game with translations, sometimes one or two lines, but If you want me to decompile a file which is only in chinese, you just have to give me the file. ^^

Sorry for the misunderstanding, I didn't made myself clear.

GendaFX
God Saint
God Saint

Posts : 111
Join date : 2013-06-02
Age : 20

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by MrNice on Wed Jan 01, 2014 3:27 am

very hard to understand when you dont know much about this things .. i got lost when i had to use the Decompiler .. i used it but i just see a buch of letters and stuufs all togheter.

▬SIGNATURE▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
[You must be registered and logged in to see this image.] [You must be registered and logged in to see this image.]  [You must be registered and logged in to see this image.] 
[You must be registered and logged in to see this link.]
:
avatar
MrNice
Gold Saint
Gold Saint

Posts : 65
Join date : 2013-09-19
Age : 30
Location : USA

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by MrNice on Wed Jan 01, 2014 5:09 am

how do i put back all files that are translated back to Script file so i can try and see if its working

▬SIGNATURE▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
[You must be registered and logged in to see this image.] [You must be registered and logged in to see this image.]  [You must be registered and logged in to see this image.] 
[You must be registered and logged in to see this link.]
:
avatar
MrNice
Gold Saint
Gold Saint

Posts : 65
Join date : 2013-09-19
Age : 30
Location : USA

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by arabez on Wed Jan 01, 2014 1:19 pm

can you thoroughly explained and capture how to Decrypt again?

avatar
arabez
Bronze Saint
Bronze Saint

Posts : 2
Join date : 2013-11-13

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by manigoldo on Sun Jan 05, 2014 1:04 am

Merci! I got it...I'm gonna start using google translate A LOT now!


EDIT: What files do you have translated right now?
avatar
manigoldo
Black Saint
Black Saint

Posts : 15
Join date : 2013-10-05
Age : 23
Location : USA

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by haguen on Sat Feb 22, 2014 12:25 pm

Hello

I have a problem for encrypt the translated files : [You must be registered and logged in to see this link.]

Could you help me ???
avatar
haguen
Bronze Saint
Bronze Saint

Posts : 6
Join date : 2013-08-21

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by vangal94 on Mon Feb 24, 2014 5:14 pm

i've the same problem
avatar
vangal94
Bronze Saint
Bronze Saint

Posts : 6
Join date : 2013-10-19
Age : 23
Location : Mexico

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by GendaFX on Fri Feb 28, 2014 2:22 pm

Maybe the encrypt system has changed. I don't really know because I haven't translated for months but i'm just, you know, go on the forum sometimes. :)

I'm really sorry about this :/

GendaFX
God Saint
God Saint

Posts : 111
Join date : 2013-06-02
Age : 20

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by tono9476 on Fri Feb 28, 2014 4:25 pm

there's no problem with the files, they're the same... maybe they making something wrong...
avatar
tono9476
Athena's Saint
Athena's Saint

Posts : 369
Join date : 2013-05-18
Age : 21
Location : Guatemala

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by tiger316 on Fri Feb 28, 2014 5:01 pm

Their problem is probably that, they can't put translated files back to script.pck. I have the same problem when I started doing english patch. Now I'm using other way to put the files back.
I do a shortcut of quickbms, open Properties(shortcut tab) of it and added in the end of target line "–w –r" to look like that "F:\****\SSO Translation\quickbms\quickbms.exe" -w -r. And as you know I don't have that problem anymore.

PS. And I'm not using "send to toys" thing. Is useless when I done the shortcut, because it works the same way.

▬SIGNATURE▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.]
avatar
tiger316
Silver Saint
Silver Saint

Posts : 39
Join date : 2013-05-18
Age : 24
Location : Poland

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by tono9476 on Fri Feb 28, 2014 9:19 pm

I'm still using the "original" way, maybe the problem is some translated files are bigger than the original ones.... check that
avatar
tono9476
Athena's Saint
Athena's Saint

Posts : 369
Join date : 2013-05-18
Age : 21
Location : Guatemala

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by GokuSan2014 on Thu Mar 06, 2014 12:39 am

Hi guys, Do you know tell me how I can open the file cpk?, I tried this guide but I just can not, Please I need it urgently.
avatar
GokuSan2014
Bronze Saint
Bronze Saint

Posts : 5
Join date : 2014-02-26
Age : 24
Location : Italy

http://seiya.forumotion.com/

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by GokuSan2014 on Fri Mar 07, 2014 12:32 am

UP
avatar
GokuSan2014
Bronze Saint
Bronze Saint

Posts : 5
Join date : 2014-02-26
Age : 24
Location : Italy

http://seiya.forumotion.com/

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by tono9476 on Fri Mar 07, 2014 5:50 pm

Number 1: what is cpk file???? this guide is for the script.pck file.
Number 2: can't you read the guide??
avatar
tono9476
Athena's Saint
Athena's Saint

Posts : 369
Join date : 2013-05-18
Age : 21
Location : Guatemala

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by GokuSan2014 on Fri Mar 07, 2014 7:06 pm

You will excuse was that I was referring to that, I misspelled it xD Well done driving, I'm from errors.
avatar
GokuSan2014
Bronze Saint
Bronze Saint

Posts : 5
Join date : 2014-02-26
Age : 24
Location : Italy

http://seiya.forumotion.com/

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by iarf on Sun Mar 16, 2014 8:09 pm

hello sir,

i have atry with this, but i have a problem, why it only show squares and no chinese as i selected it? what i need to do?

btw .. do you know what i need to do to make this work after any update? what file i need to edit?

[You must be registered and logged in to see this link.]
ty

EDIT -

So, im giving a try to do this and this is what i did

for example, in the login.lue i selected an "easy" one

[You must be registered and logged in to see this link.]

with copy and paste in the goodle translator  i can see the chinese simbols .. but the translation is allways that hard? there is any TIPs?

[You must be registered and logged in to see this link.]
avatar
iarf
Gold Saint
Gold Saint

Posts : 63
Join date : 2013-12-15

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by tiger316 on Mon Mar 17, 2014 8:18 pm

[You must be registered and logged in to see this link.] wrote:
EDIT -

So, im giving a try to do this and this is what i did

for example, in the login.lue i selected an "easy" one

[You must be registered and logged in to see this link.]

with copy and paste in the goodle translator  i can see the chinese simbols .. but the translation is allways that hard? there is any TIPs?

[You must be registered and logged in to see this link.]

You need to fully decrypt the file before start with translation(to make translation sense)

[You must be registered and logged in to see this link.] wrote:Just take a .lua file(I’m taking the login.lua from i18n folder) and open it in notepad++, you just need to “save as”  and do “all formats”(it’s under the filename) and name your file like you want but you must write “.luac”.(For me it’s : login.luac).

Then copy that .luac file to the folder with decompiler
[You must be registered and logged in to see this link.]

Then open decompiler and do what program says. Now open newly created file(for example dec_login.lua) with notepad++ to start translation with sense.
Hope I helped.
avatar
tiger316
Silver Saint
Silver Saint

Posts : 39
Join date : 2013-05-18
Age : 24
Location : Poland

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by iarf on Mon Mar 17, 2014 11:27 pm

Yes, its helped and also solved some problems an this is the results:

Encoded the .lua with UTF-8 withoutBOM
[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]

Perfect traduction:
[You must be registered and logged in to see this link.]

I got this error .. but i did manually using the CMD not with Send2Toys ( all programs and files in the same folder )
[You must be registered and logged in to see this link.]

Also tryed optional solution .. not work and it seems its only to extract
[You must be registered and logged in to see this link.]
avatar
iarf
Gold Saint
Gold Saint

Posts : 63
Join date : 2013-12-15

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by tiger316 on Tue Mar 18, 2014 12:20 am

You need to put these translated files in original script.pck(Chinese One) not the one(0 KB) that quickbms(or whatever) made.
avatar
tiger316
Silver Saint
Silver Saint

Posts : 39
Join date : 2013-05-18
Age : 24
Location : Poland

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by iarf on Tue Mar 18, 2014 12:31 am

interesting .. when i extracted the data from the script.pck i didnt realize that it will be empty, i was thinking that it will copy the .lua


i will try after maintenance .. if it works and u r a woman i wana marry u hehe
avatar
iarf
Gold Saint
Gold Saint

Posts : 63
Join date : 2013-12-15

Back to top Go down

Re: [Guide] Decrypt .lua files from script.pck!(FR/EN)

Post by Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum