Clan SliD Index du Forum
Clan SliD Index du ForumFAQRechercherS’enregistrerConnexion

Demande de tutoriel : Comment protéger une map
Aller à la page: 1, 2  >
 
Poster un nouveau sujet   Répondre au sujet    Clan SliD Index du Forum -> Worldedit -> Tutorials
Sujet précédent :: Sujet suivant  
Auteur Message
Khuzun
Visiteur
Visiteur

Hors ligne

Inscrit le: 19 Déc 2010
Messages: 354
Localisation: France, Isere
Masculin Lion (24juil-23aoû) 羊 Chèvre
Point(s): 3
Niveau de slide:

MessagePosté le: 24/07/2011, 12:32    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Je cherche à protéger ma map "en cours de création" afin de pouvoir la faire tester histoire de savoir si je fais fausse route ou non!
Voila donc si une âme louable pouvais l'expliquer ce serait top =)


Revenir en haut
Publicité






MessagePosté le: 24/07/2011, 12:32    Sujet du message: Publicité

PublicitéSupprimer les publicités ?
Revenir en haut
Seiraw
Membres
Membres

Hors ligne

Inscrit le: 13 Déc 2010
Messages: 2 164
Localisation: Au sommet de ma connerie
Masculin Poissons (20fev-20mar)
Point(s): 71
Niveau de slide:

MessagePosté le: 24/07/2011, 12:50    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Après, tu peux toujours la faire tester juste aux membres du clan, tant que cela reste un test et non la vraie map, il suffit de la host seulement une fois !
_________________
╭∩╮(︶︿︶)╭∩╮


Revenir en haut
SliDerMaNiaC
Membres
Membres

Hors ligne

Inscrit le: 13 Déc 2010
Messages: 831
Point(s): 13
Niveau de slide:

MessagePosté le: 24/07/2011, 12:55    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Exact, mais il finira par vouloir la proteger une foi fini, dc la reponse serai quand meme utile surtout que c'est pas le seul a demander sa je crois
_________________
░ █▀▀ ░█▀█ ░█ ░█▀▀ ░
░ █▀▀ ░█▀▀ ░█ ░█ ░░░
░ ▀▀▀ ░▀ ░░ ▀ ░▀▀▀ ░


Revenir en haut
Vladadamm
Flooder n°1
Flooder n°1

Hors ligne

Inscrit le: 23 Juil 2011
Messages: 1 587
Localisation: Toulouse
Masculin
Point(s): 110
Niveau de slide:

MessagePosté le: 24/07/2011, 15:04    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Il faut utiliser un logiciel exprès et/ou toucher aux MPQ.

Je crois que xdep peut être utilisé pour protéger une map. Mais après, je ne sait pas exactement comment faire comme j'ai jamais essayé.
_________________


Revenir en haut
Skype
Khuzun
Visiteur
Visiteur

Hors ligne

Inscrit le: 19 Déc 2010
Messages: 354
Localisation: France, Isere
Masculin Lion (24juil-23aoû) 羊 Chèvre
Point(s): 3
Niveau de slide:

MessagePosté le: 06/08/2011, 09:55    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Non mais en fait je réclame pas un débat, mais un tutoriel, qui me serais très très utile lui. Merci à l'âme généreuse qui sera touché par mon appel

Revenir en haut
fulldragon
Membres
Membres

Hors ligne

Inscrit le: 16 Déc 2010
Messages: 1 295
Point(s): 50
Niveau de slide:

MessagePosté le: 06/08/2011, 10:25    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

mapconv :

étape 1 trouver le programme
étape 2 dézipper le programme
étape 3 sélectionner la map à convertir
étape 4 la faire glisser sur mapconv
étape 5 lacher le clique
étape 6 attendre
étape 7 c'est fini, la map en w3m apparait à côté du programme.


Revenir en haut
Khuzun
Visiteur
Visiteur

Hors ligne

Inscrit le: 19 Déc 2010
Messages: 354
Localisation: France, Isere
Masculin Lion (24juil-23aoû) 羊 Chèvre
Point(s): 3
Niveau de slide:

MessagePosté le: 06/08/2011, 11:38    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Merci! Un lien de téléchargement et je t'embrasse

Revenir en haut
fulldragon
Membres
Membres

Hors ligne

Inscrit le: 16 Déc 2010
Messages: 1 295
Point(s): 50
Niveau de slide:

MessagePosté le: 06/08/2011, 14:08    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

c'est ton jours de chance, j'pensais que j'l'avais pas qu'il était resté sur mon pc fixe à paris (chuis à arcachon) mais en copiant le dossier war3, j'ai embarqué mapconv !

il est en fichier doc, j'l'avais changé car sur msn ça s'envoyait pas sinon.

change et met exe u_u

http://www.sendspace.com/file/kgbz7y


Revenir en haut
DarkGuitar
Membres
Membres

Hors ligne

Inscrit le: 26 Fév 2011
Messages: 149
Localisation: Yvelines
Masculin
Point(s): 0
Niveau de slide:

MessagePosté le: 06/08/2011, 18:27    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Voilà aussi un autre excellent programme pour protéger ta map : http://www.wc3c.net/showthread.php?t=79326

Revenir en haut
Khuzun
Visiteur
Visiteur

Hors ligne

Inscrit le: 19 Déc 2010
Messages: 354
Localisation: France, Isere
Masculin Lion (24juil-23aoû) 羊 Chèvre
Point(s): 3
Niveau de slide:

MessagePosté le: 06/08/2011, 20:30    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Ya pas à chier, t'est une bête full

Revenir en haut
Khuzun
Visiteur
Visiteur

Hors ligne

Inscrit le: 19 Déc 2010
Messages: 354
Localisation: France, Isere
Masculin Lion (24juil-23aoû) 羊 Chèvre
Point(s): 3
Niveau de slide:

MessagePosté le: 06/08/2011, 20:41    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Sauf que même en w3m ça s'ouvre se modifie et s'enregistre dans Worldedit... zéro protection...

Revenir en haut
fulldragon
Membres
Membres

Hors ligne

Inscrit le: 16 Déc 2010
Messages: 1 295
Point(s): 50
Niveau de slide:

MessagePosté le: 07/08/2011, 00:42    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

j'ai dit que ça convertissait, pas que ça protégeait. faut pas croire au père noël non plus x) ce qui est simple n'est jamais parfais ! et si tu as pris un héros tft, il ne sera pas gardé mais supprimé.
en faite, tout modèle venant de tft sera, si un modèle équivalent existe en roc transformé, si il est unique supprimé. (exemple : murloc tft => murloc roc et un héros tft => rien du tout)

murloc slide a été converti avec ce logiciel.

si tu veux protéger, darky t'a amené un logiciel. je le connais pas je sais pas ce qu'il vaut.
tu as aussi WMPQ, mais extrêmement compliqué. il convertit et protège. vlad a donné un lien déjà.
xdep, le plus complet, et moyennement compliqué. il protège, converti, déprotège. je n'ai aucun lien de téléchargement, je n'ai pas pris ce programme.

sinon je connais un ultime moyen de protéger une map, en faite elle reste ouvrable mais si le mec modifie ne serais-ce qu'un truc, elle plantera au lancement. (clin d'oeil à vlad )


Revenir en haut
MaiNGueT
Membres
Membres

Hors ligne

Inscrit le: 17 Déc 2010
Messages: 868
Localisation: Paris
Masculin
Point(s): 9

MessagePosté le: 10/08/2011, 15:26    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Xdep ==> Merci à Max qui me l'avait filé il y a un moment. Cependant, le fichier de config est en russe (je crois) donc...

Revenir en haut
fulldragon
Membres
Membres

Hors ligne

Inscrit le: 16 Déc 2010
Messages: 1 295
Point(s): 50
Niveau de slide:

MessagePosté le: 10/08/2011, 16:41    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

en russe ? t'es sur ?
tu as pas l'explication de max qui va avec ? x)


Revenir en haut
Khuzun
Visiteur
Visiteur

Hors ligne

Inscrit le: 19 Déc 2010
Messages: 354
Localisation: France, Isere
Masculin Lion (24juil-23aoû) 羊 Chèvre
Point(s): 3
Niveau de slide:

MessagePosté le: 10/08/2011, 20:47    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Je suis peut-être chiant, mais c'est une demande de tutoriel, pas un "moi je sais" ... merci de s'abstenir si vous n'avez pas envie d'expliquer (et full ton logiciel je n'en ai pas besoin, il n'as rien à voire avec ma demande, va étaler ta connaissance ailleurs)

Revenir en haut
Seiraw
Membres
Membres

Hors ligne

Inscrit le: 13 Déc 2010
Messages: 2 164
Localisation: Au sommet de ma connerie
Masculin Poissons (20fev-20mar)
Point(s): 71
Niveau de slide:

MessagePosté le: 10/08/2011, 22:09    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Vlan lol
_________________
╭∩╮(︶︿︶)╭∩╮


Revenir en haut
Vladadamm
Flooder n°1
Flooder n°1

Hors ligne

Inscrit le: 23 Juil 2011
Messages: 1 587
Localisation: Toulouse
Masculin
Point(s): 110
Niveau de slide:

MessagePosté le: 10/08/2011, 22:21    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Tu as tout là :
Pour déprotéger et protéger une map.
nathanmx a écrit:
DEPROTECT v2.3
Nathanmx
deprotect@nathanmx.com
Copyright (c) 2006 Nathanmx. All Rights Reserved.

This program is a continuation of source code previously developed
by Zuitek. He can be reached at zuitek@home.nl

//================================================
// Foreword
//================================================
I GUARANTEE that Deprotect can deprotect ANY MAP and make it editble with the world editor. There are some cases of extreme protection in which you may lose /some/ data, but not much. There is no map Deprotect can't retrieve the triggers, object/item data, or terrain from. None.

INSTALLATION:
I suggest you install this Deprotect folder into the default WCIII installation directory, i.e. C:\Program Files\Warcraft III\. It really doesn't matter where you place it, but if you don't put it there you have to remember to change your work and listfiles directory in the MPQ editor (see the options).

4 (or so) STEP PROCESS TO OPEN ANY MAP:
Step 1: Now, if you want to save time and not have to try out all the options of deprotect, open MPQEditor.exe in the Deprotect Folder and open the map file of the map you want to Deprotect. Choose your listfile* (see note below if you are unsure). Now, look for the war3map.j file, its either in the root directory or in /scripts. 'Right click > extract' or you can double click it to extract AND open it. You can open it with Notepad - it may be a large file just let it load. If the code has been obfuscated then Deprotect will probably have a hard time recovering the GUI triggers ** (see below if you are confused) so remember not to try. Otherwise if the code seems untouched you can try to restore GUI triggers.

Step 2: Close the MPQ editor and BACK UP YOUR MAP.

Step 3: Open up Deprotect, select the appropriate options (usually none other than the default options unless you want to restore GUI triggers ***), click browse, find your map hit 'Open' then hit Deprotect. That should do it for the most part. If you get an error, see below for explanations of some of the more common errors and how to solve them.

Step 4: Open your map in World Editor - if it doesn't work, depending on the error you might need to change a file or two. Just use the MPQ editor to splice in blank files from the BaseMapFiles folder. Sound confusing? Well it is! I'll give a good example:
Sometimes when opening a map in WE just newly deprotected still produces an error like:

"This application has encountered a critical error:

Not enough storage is available to process this command.

Program: c:\program fiels\warcraft iii\worldedit.exe
Object: WERandomGroupSet (.?AUERandomGroupSet@@)


Press OK to terminate the application."

Now, the thing you have to look at here is the Object, and in this case the problem is with "WERandomGroupSet (.?AUERandomGroupSet@@)". Keyword: Group. This indicates the problem is with the war3map.w3i file. This is the file that deals with the map info and player grouping / forces.
So, how do you fix this? There is more than one way, but the easiest way is to just overwrite the .w3i file. Open the map with the MPQ editor, go to 'Operations > Add file(s)...' and add a blank war3map.w3i file (there's a blank one in the BaseMapFiles folder included in the Deprotect package). If you installed Deprotect in the location I suggested, it should be "C:\Program Files\Warcraft III\Deprotect\Work". Just click 'ok' if the 'Add File(s) Options' window appears (you can set it so it doesn't appear in the future) and your file will be added. Close the MPQ editor and you should be all set to open the map in the World Editor.

* If you are unsure, ALWAYS pick the DEPROTECT.txt listfile from the listfiles selection, unless you abosolutely know what you are doing. The DEPROTECT.txt listfile is a merger of all the listfiles for WC3 and has additional data as well.

** If you are unsure what the difference is between normal WC3 Editor produced JASS script and obfuscated JASS script, then just do a search for "*****" (without the quotes). If a ton of them appear in the file (often strings of asterisks 25+ characters wide) this is usually a good sign that the war3map.j (the JASS file) has been untouched (they are comment lines put there by the editor).

*** Full explanations of all the options is below.

//================================================
// Introduction
//================================================

>> What is Deprotect?
Deprotect is a program that allows a user to unprotect (or "deprotect") Warcraft III maps that have been previously protected via map protection programs such as Heavy Locker, Extprotect, and others. The goal originally was to create a program that unprotect maps, let's you view their triggers in a seperate Editor, but ultimately not let you open the map in the world editor. However, I have decided to keep deprotect the way it is and let it completey unprotect maps. Map protection in itself is corruption by definition. Map protection programs corrupt the headersize, remove editor files so the editor crashes, and obfusticates the code so it can't be read easily by humans. Deprotect reverses this corruption by fixing these problems to the best possible extent.

>> What features does Deprotect currently support?
Deprotect has been loaded with features since it's last BETA release. In fact, version's 1.0 through 2.0 were NEVER released publicly due to the overwhelming demand that this project be halted. This version is a fully functional version of Deprotect and supports the following features:

- ROC and TFT Map unprotection
- Breaks all map protection methods including:
- Hiding the war3map.j file in "scripts\"
- Changing the MPQ headersize information
- Code obfustication (doesn't unscramble, that's impossible)
- .w3r, .w3c, .w3s, .wct, .wtg file deletion
- Creates back-up maps
- Debug Mode to further analyze problems with deprotection
- User-friendly interface
- Restored File saving
- Restore GUI triggers option
- Auto-create war3mapunits.doo file
- Alternate Processing Order
- Full Jass Script trigger


>> What are some of the Pro and Cons of Map protecting?

Pros:
- Keeps inexperienced users from opening your map and stealing credit and/or hacking the game
Cons:
- People cannot learn from your maps
- if you lose the original, you're screwed


//================================================
// Methods of Security
//================================================

There are a lot of different ways of protecting a warcraft 3 map. Here are some:

>> 1: Damaging the MPQ headersize information.
A warcraft3 map is like a zip file. You have first a 512 bytes big map header with some informations. Then you have a MPQ archive attached. The MPQ archive contains all the numerous files needed for a map. The first 4 bytes of the MPQ file are the identifier. It can be read as 'MPQ'. The next four bytes are the header size, which is always hex 0x20 00 00 00. Some map protectors now change the size from 0x20 00 00 00 to a random number which can look like this for example: hex 0xF6 6E BA 76. Most MPQ applications now cannot open the MPQ archive anymore because of that wrong size entry. Warcraft3 seems to ignore false header size entries, so those maps still run in war3.
This protection can be very easily be repaired by just setting the value back to 0x20 00 00 00.

>> 2: Delete the war3map.wgt file inside a map The war3map.wgt contains all the necessairy information about the variables, triggers and groups your map uses. This file is only used by the World-Editor. A missing or altered war3map.wgt file results the World-Editor to fail loading the map.
This protection can be removed pretty easily as well. With a Deprotects parser scripts, you can rebuild the war3map.wgt file using the information stored in the war3map.j file (The Map script file).

2b: Deleting the war3map.w3c, war3map.w3s, war3map.w3r, .war3mapunits.doo files
war3map.w3c stores the camera settings for the world editor. war3map.w3s stores the sounds used by a map world editor. war3map.w3r defines the regions used in a map for world editor.
All those files are also only used by the world editor and can be easily regenerated by the war3map.j file. See "Delete the war3map.wgt file inside a map" above.

>> 3: Hiding the war3map.j file
Some clever map protecting people figured out a way to hide the war3map.j file, so you cannot extract it easily with some programs. Regular map files contains the war3map.j file directly in the root directory. The map protector guys figured out that a map still works if the file is moved into a directory called "Scripts\".
This protection can be broken very easily... just by know this and placing the war3map.j file back in its normal location.

>> 4: Scrambling the war3map.j file
Some protecting dudes think they are clever, so they renamee all the variables and function names with random numbers. This renders the war3map.j file very hard to read by normal people, but it's useless for parser scripts. Deprotect's parser scripts do not care for keywords. It only scans for patterns and therefore it can still extract any information from the map.


//================================================
// How safe is map protecting?
//================================================

As you've already read above, map protecting might keep some "noobs" away from opening your maps in world editor.
The fact is, as long as warcraft 3 can open your map, theres a way to repair the map, so it can be opened by the World Editor.

//================================================
// Instructions - Intro
//================================================

There are many events that can occur with Deprotect not being able to deprotect a map, and if you know what they are, you should be able to get around the error and force deprotect it. That's why you're reading this.

First off, just to let you know, Deprotect doesn't restore the war3mapunits.doo file. I removed this implementation from the system so as to avoid direct map stealing. This way, the average person won't be able to unprotect the average map completely and rename it - however, you will still be able to view the triggers and such. If you think about it - the only reason you should be wanting to deprotect a map anyways is because you want to learn from the triggers and maybe other object data. So it's not like you need to be able to save the map anyways.

However, if the war3mapunits.doo file IS in the map, well, then today's your lucky day. And even if it isn't there are definately a few ways of getting the war3mapunits.doo file if you have the know how... Anyways, let's get on with Deprotect. Below are some of the tips to success.

//================================================
// Tips (to Success)
//================================================

- Keep the original Deprotect folder and files intact. You'll need the war3mapunits.doo file anyways, and this document will undoubtably be useful in the future.

- When you use the "Save Restored Files" option, the files that will be saved are of the following extentions: .wtg, .wct, .w3r, and .w3c.

- The option "Create backup" can sometimes cause errors. Back up your maps manually instead and uncheck the option in Deprotect for the best results.

- Restoring GUI triggers may fail. So try restoring first, and if that fails, don't restore them. Deprotect will 99% of the time be able to restore triggers in at least custom text form.

//================================================
// Common Errors
//================================================

"The parameter is incorrect"
- Which means that you probably typed the maps file's location in wrong or Deprotect simple can't access it. You don't need to put it in the same folder necessarily anymore, that bug has been fixed.

"The program cannot access the file because it is being used by another process."
- This can be the same as the above error, or it could mean that something else on your computer (such as WE) is using the map file you are pointing to. Close the map in WE before you use this program. If this still doesn't work, the easiest way to fix this is to restart your computer.

"The system could not find the file specified."
- The error is pretty much as it says - the file you specified no longer exists. Try re-browsing for the file (you may have moved it by accident before you hit 'Deprotect!'.

"The Application Failed to Initialize.... (0000000000x5)" etc etc etc
- This error could be from many things, and it is hard to pinpoint any one cause of this. It's usually a problem in conjunction with missing .dll errors, meaning that your computer cannot properly read the a needed .dll file, even if you installed it correctly. Also, it might be that for some reason your operating system is trying to bring up same application up but its already loaded and there is not enough memory to start the same application over again... Make sure your computer is using Microsoft's latest Service Pack installed and try again.

"Out of Memory"
- Usually the way to solve this involves unchecking the "Full JASS script Trigger" option before you Deprotect a map. Since the entire JASS script is stored in memory, large maps will more often than not cause this error.

//================================================
// .DLL Problems
//================================================
A lot of older computers can't handle Deprotects use of newer library calls, and thus, they won't work. You can change this easily by adding to your existing library some files known as dynamic link libraries. To do this, simply go to http://deprotect.nathanmx.com, download the .dll(s) you need from the bottom of the website, and place them in the same folder as Deprotect.


//================================================
// The Options Explained
//================================================
- The Auto-create war3mapunits.doo option automatically adds a blank war3mapunits.doo file to your map. Use this if the map doesn't have one to begin, so you will be able to open the map in WE. It's best to check this if you're unsure because it will never overwrite any existing file - it only writes if no file of that name exists (it will tell you).

- Debug Mode stops at certain checkpoints in the program and gives the user information on where it is. In debug mode you'll be informed of every stop so if the program randomly quits/fails, you'll know the location. Thus, you know what caused the error and so you can avoid it by changing your options in the future (such as alternate processing order).

- Save Restored Files lets you keep the files that were restored. They are .wtg, .wct, .w3r, and .w3c.

- Create Backup creates a back up of the map. This option may cause problems. I suggest backing up your map by hand first and unchecking this option when Deprotecting a map.

- Restore GUI triggers attempts to restore all the GUI triggers in a map. It may fail on huge maps with lots of triggers, and it will almost certainly fail on maps whose code has been obfusticated / scrambled. If it does fail, simply uncheck it and try re-Deprotecting the map - you'll always succeed in restoring at least the custom text version of the triggers.

- The Alternate Processing Order option simply changes the order of the process's that are run by Deprotect. Enabling this can help you unprotect files that would not have shown before. For example, if you cannot deprotect a map initially, try to deprotect it in Debug Mode. Then, try again on the same map file but with the extra option of alternative proccessing order. You'll see that via Debug Mode that the order is changed around - hopefully you can at least be able to get the files you need extracted (via save restored files) so you can put them in yourself later with an MPQ editor.

- The 'Full JASS script trigger' option adds the full JASS script to a single custom trigger in your WTG file. This is in case Restore GUI triggers fails and Deprotect cannot restore the custom text triggers individually. The map won't run correctly unless you disable that trigger but at least you will be able to see the maps JASS triggers from the WE.


There's not much more to know other than that... Good luck, have fun, and deprotect responsibly!

Regards,
Nathanmx

_________________


Revenir en haut
Skype
Seiraw
Membres
Membres

Hors ligne

Inscrit le: 13 Déc 2010
Messages: 2 164
Localisation: Au sommet de ma connerie
Masculin Poissons (20fev-20mar)
Point(s): 71
Niveau de slide:

MessagePosté le: 10/08/2011, 22:22    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

C'est long $-$ je lirais pas xD
_________________
╭∩╮(︶︿︶)╭∩╮


Revenir en haut
Vladadamm
Flooder n°1
Flooder n°1

Hors ligne

Inscrit le: 23 Juil 2011
Messages: 1 587
Localisation: Toulouse
Masculin
Point(s): 110
Niveau de slide:

MessagePosté le: 10/08/2011, 22:26    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

ouais, bon, je sais ça vient de mon pack d'unprotection de maps ^^
Mais au moins y a tout.
_________________


Revenir en haut
Skype
Khuzun
Visiteur
Visiteur

Hors ligne

Inscrit le: 19 Déc 2010
Messages: 354
Localisation: France, Isere
Masculin Lion (24juil-23aoû) 羊 Chèvre
Point(s): 3
Niveau de slide:

MessagePosté le: 11/08/2011, 19:20    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Protéger
Tu lis mieux la? omg, dire que j'ai lus...


Revenir en haut
Vladadamm
Flooder n°1
Flooder n°1

Hors ligne

Inscrit le: 23 Juil 2011
Messages: 1 587
Localisation: Toulouse
Masculin
Point(s): 110
Niveau de slide:

MessagePosté le: 11/08/2011, 19:31    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Nathanmx a écrit:
//================================================
// Methods of Security
//================================================

There are a lot of different ways of protecting a warcraft 3 map. Here are some:

>> 1: Damaging the MPQ headersize information.
A warcraft3 map is like a zip file. You have first a 512 bytes big map header with some informations. Then you have a MPQ archive attached. The MPQ archive contains all the numerous files needed for a map. The first 4 bytes of the MPQ file are the identifier. It can be read as 'MPQ'. The next four bytes are the header size, which is always hex 0x20 00 00 00. Some map protectors now change the size from 0x20 00 00 00 to a random number which can look like this for example: hex 0xF6 6E BA 76. Most MPQ applications now cannot open the MPQ archive anymore because of that wrong size entry. Warcraft3 seems to ignore false header size entries, so those maps still run in war3.
This protection can be very easily be repaired by just setting the value back to 0x20 00 00 00.

>> 2: Delete the war3map.wgt file inside a map The war3map.wgt contains all the necessairy information about the variables, triggers and groups your map uses. This file is only used by the World-Editor. A missing or altered war3map.wgt file results the World-Editor to fail loading the map.
This protection can be removed pretty easily as well. With a Deprotects parser scripts, you can rebuild the war3map.wgt file using the information stored in the war3map.j file (The Map script file).

2b: Deleting the war3map.w3c, war3map.w3s, war3map.w3r, .war3mapunits.doo files
war3map.w3c stores the camera settings for the world editor. war3map.w3s stores the sounds used by a map world editor. war3map.w3r defines the regions used in a map for world editor.
All those files are also only used by the world editor and can be easily regenerated by the war3map.j file. See "Delete the war3map.wgt file inside a map" above.

>> 3: Hiding the war3map.j file
Some clever map protecting people figured out a way to hide the war3map.j file, so you cannot extract it easily with some programs. Regular map files contains the war3map.j file directly in the root directory. The map protector guys figured out that a map still works if the file is moved into a directory called "Scripts\".
This protection can be broken very easily... just by know this and placing the war3map.j file back in its normal location.

>> 4: Scrambling the war3map.j file
Some protecting dudes think they are clever, so they renamee all the variables and function names with random numbers. This renders the war3map.j file very hard to read by normal people, but it's useless for parser scripts. Deprotect's parser scripts do not care for keywords. It only scans for patterns and therefore it can still extract any information from the map.


//================================================
// How safe is map protecting?
//================================================

As you've already read above, map protecting might keep some "noobs" away from opening your maps in world editor.
The fact is, as long as warcraft 3 can open your map, theres a way to repair the map, so it can be opened by the World Editor.

Et ça c'est quoi ?
_________________


Revenir en haut
Skype
DarkGuitar
Membres
Membres

Hors ligne

Inscrit le: 26 Fév 2011
Messages: 149
Localisation: Yvelines
Masculin
Point(s): 0
Niveau de slide:

MessagePosté le: 11/08/2011, 21:09    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Tiens, moi j'vais te donner le tutoriel pour le MapOptimizer : http://www.3ice.hu/blog/protect-warcraft-maps/

Revenir en haut
Khuzun
Visiteur
Visiteur

Hors ligne

Inscrit le: 19 Déc 2010
Messages: 354
Localisation: France, Isere
Masculin Lion (24juil-23aoû) 羊 Chèvre
Point(s): 3
Niveau de slide:

MessagePosté le: 11/08/2011, 23:13    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Darky, je t'aime, tu est magique! Tu mérite une longue tirade de reconnaissance, je vais potasser ça... en tout cas je n'oublierais pas que toi et moi on ce comprend <3

Revenir en haut
Vladadamm
Flooder n°1
Flooder n°1

Hors ligne

Inscrit le: 23 Juil 2011
Messages: 1 587
Localisation: Toulouse
Masculin
Point(s): 110
Niveau de slide:

MessagePosté le: 11/08/2011, 23:17    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

Et moi, même pas un petit merci ?
_________________


Revenir en haut
Skype
Khuzun
Visiteur
Visiteur

Hors ligne

Inscrit le: 19 Déc 2010
Messages: 354
Localisation: France, Isere
Masculin Lion (24juil-23aoû) 羊 Chèvre
Point(s): 3
Niveau de slide:

MessagePosté le: 11/08/2011, 23:22    Sujet du message: Demande de tutoriel : Comment protéger une map Répondre en citant

On vera pour toi une fois que j'aurais répondu à ton poste http://clanslid.board.fm/t246-Les-rangs-du-clan.htm?start=50#p2797


Revenir en haut
Contenu Sponsorisé






MessagePosté le: Aujourd’hui à 01:11    Sujet du message: Demande de tutoriel : Comment protéger une map

Revenir en haut
Montrer les messages depuis:   
Poster un nouveau sujet   Répondre au sujet    Clan SliD Index du Forum -> Worldedit -> Tutorials Toutes les heures sont au format GMT + 2 Heures
Aller à la page: 1, 2  >
Page 1 sur 2

 
Sauter vers:  

Portail | Index | créer son forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
darkages Template © larme d'ange
Powered by phpBB © 2001, 2005 phpBB Group
Traduction par : phpBB-fr.com