Batch Index du Forum
S’enregistrerRechercherFAQMembresGroupesConnexion
Répondre au sujet Page 4 sur 4
Aller à la page: <  1, 2, 3, 4
PAC-MAN -Batch-
Auteur Message
Répondre en citant
Message PAC-MAN -Batch- 
Revue du message précédent :

Je vois que ma commande externe a servi ^^!

Bilou.

Message Publicité 
PublicitéSupprimer les publicités ?


Répondre en citant
Message PAC-MAN -Batch- 
stryk a écrit:
Mmm,

Ca serais quand même bien de pouvoir integrer la commande key.exe dans le batch, comme reply.com ...


Voila le code pour déployer "key.exe" (j'ai étudié le txtcolor de carlos et j'ai réussi à me faire un "assistant de déployeur de fichiers en bat" Smile
Comme key.exe fait environ 15Ko c'est plutôt long, à toi de voir si sa vaut le coup de l'intégrer Stryk


Code:

@echo off
Del /f /q /a t.dat >nul 2>&1
For %%b In (
4D5A90000300000004000000FFFF0000B800000000000000400000000000000000000000000000000000000000000000
000000000000000000000000800000000E1FBA0E00B409CD21B8014CCD21546869732070726F6772616D2063616E6E6F
742062652072756E20696E20444F53206D6F64652E0D0D0A2400000000000000504500004C010500177C944A00160000
D8010000E00007030B010238000A00000012000000020000201200000010000000200000000040000010000000020000
040000000100000004000000000000000060000000040000956C00000300000000002000001000000000100000100000
0000000010000000000000000000000000500000C0020000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000002E74657874000000
5409000000100000000A000000040000000000000000000000000000600000602E646174610000004000000000200000
00020000000E0000000000000000000000000000400000C02E72646174610000F0000000003000000002000000100000
000000000000000000000000400000402E62737300000000B00000000040000000000000000000000000000000000000
00000000800000C02E69646174610000C0020000005000000004000000120000000000000000000000000000400000C0
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000005589E583EC18895DF88B550831DB8975FC8B0231F68B003D910000C077433D8D
0000C0725BBE01000000C704240800000031C089442404E8E407000083F801746C85C0742AC7042408000000FFD0BBFF
FFFFFF89D88B75FC8B5DF889EC5DC204003D930000C074BD3D940000C074BB89D88B75FC8B5DF889EC5DC204008D7600
3D050000C075E8C704240B00000031F689742404E88707000083F801743485C074CDC704240B000000FFD0EBA1C70424
08000000BB01000000895C2404E85E07000085F67488E895020000BBFFFFFFFFEB81C704240B000000B901000000BBFF
FFFFFF894C2404E834070000E962FFFFFFEB0D909090909090909090909090905589E55383EC248D5DF8C70424001040
00E8CA07000083EC04E842020000C745F800000000B8004040008D55F4895C24108B0D00204000894424048954240889
4C240CC7042404404000E801070000A11040400085C07458A3102040008B15E050400085D20F858B00000083FAE07420
A110404000894424048B1DE05040008B4B30890C24E8B60600008B15E050400083FAC0741B8B1D10404000895C24048B
0DE05040008B5150891424E890060000E87B0600008B1D102040008918E86E01000083E4F0E8460600008B08894C2408
8B150040400089542404A104404000890424E8A900000089C3E812060000891C24E8FA060000894424048B15E0504000
8B4210890424E8350600008B15E0504000E955FFFFFF8D76008DBC27000000005589E583EC08C7042401000000FF15D4
504000E8C8FEFFFF908DB426000000005589E583EC08C7042402000000FF15D4504000E8A8FEFFFF908DB42600000000
558B0DF450400089E55DFFE18D742600558B0DE850400089E55DFFE1909090905589E55DE9A702000090909090909090
5589E583EC1883E4F0B80000000083C00F83C00FC1E804C1E0048945EC8B45ECE8BB040000E856010000C745FCFFFFFF
FFE8BA05000050DB04248D642404DD0500304000DEC1D97DF60FB745F6660D000C668945F4D96DF4DB5DF8D96DF6E88D
0500003B45F87D13E87305000085C074EDE85A0500008945FCEBE3837DFCFF74088B45FC8945F0EB07C745F084030000
8B45F0C9C3909090909090909090909055B9F030400089E5EB148DB6000000008B51048B0183C10801820000400081F9
F030400072EA5DC390909090909090905589E5DBE35DC39090909090909090905589E583EC08A1202040008B0885C974
26EB0D90909090909090909090909090FF108B0D202040008B51048D4104A32020400085D275E9C9C38DB42600000000
5589E55383EC04A14019400083F8FF742985C089C3741389F68DBC2700000000FF149D401940004B75F6C70424701340
00E87AFEFFFF5B5B5DC38B0D4419400031C085C9EB0A408B14854419400085D275F4EBBD8DB6000000008DBF00000000
5589E55383EC04A12040400085C07536A140194000BB01000000891D2040400083F8FF742585C089C3740F908D742600
FF149D401940004B75F6C7042470134000E80AFEFFFF5B5B5DC38B0D4419400031C085C9EB0A408B14854419400085D2
75F4EBC190909090909090909090909055A17040400089E55D8B4804FFE189F655BA4200000089E5530FB7C083EC6489
5424088D55A831DB89542404890424FF15B8504000BA1F000000B90100000083EC0C85C07507EB4601C94A780E807C2A
A84175F409CB01C94A79F2833B3C750789D88B5DFCC9C3B934304000BAEA000000894C240C89542408C7042461304000
B88030400089442404E892020000B8AC304000BBE40000008944240C895C2408EBD78DB426000000008DBC2700000000
5589E557565381ECCC0000008B0D7040400085C974088D65F45B5E5F5DC3C7459841414141A1103040008D7598C7459C
41414141C745A0414141418945B8A114304000C745A441414141C745A8414141418945BCA118304000C745AC41414141
C745B0414141418945C0A11C304000C745B4414141418945C4A1203040008945C8A1243040008945CCA1283040008945
D0A12C3040008945D40FB70530304000668945D8893424FF15B45040000FB7C083EC0485C0898544FFFFFF0F853B0100
00C704243C000000E8A302000085C089C30F8459010000FC89C78B8544FFFFFFB90F000000F3ABC74304B0184000B901
000000C7430880144000A140404000C7033C0000008B1544404000C7432800000000894314A1302040008953188B1534
20400089431CA150404000895320C74330FFFFFFFF89432C8B153C204000A138204000895338BA1F00000089433489F6
89D821C883F80119C0242001C9044188842A48FFFFFF4A79E7A110304000898568FFFFFFA11430400089856CFFFFFFA1
18304000898570FFFFFFA11C304000898574FFFFFFA120304000898578FFFFFFA12430400089857CFFFFFFA128304000
894580A12C3040008945840FB70530304000668945888D8548FFFFFF890424FF15AC5040000FB7F883EC0485FF754231
D285D2751E891C24E873010000893424FF15B450400083EC040FB7C0E85FFDFFFF89C3891D704040008D4304A3604040
008D4308A3804040008D65F45B5E5F5DC389F8E838FDFFFF39D889FA75B1EBB1E84B0100009090909090909090909090
5189E183C1083D00100000721081E9001000008309002D00100000EBE929C183090089E089CC8B088B4004FFE0909090
5589E583EC188B4514894424108B45108944240C8B450C894424088B450889442404A1E050400083C040890424E8FE00
0000A1E050400083C040890424E8DE000000E8C9000000909090909090909090FF25D450400090900000000000000000
FF25D850400090900000000000000000FF25CC50400090900000000000000000FF250C51400090900000000000000000
FF25D050400090900000000000000000FF25EC50400090900000000000000000FF25C850400090900000000000000000
FF25DC50400090900000000000000000FF25E450400090900000000000000000FF25F850400090900000000000000000
FF250451400090900000000000000000FF250851400090900000000000000000FF25F050400090900000000000000000
FF25FC50400090900000000000000000FF250051400090900000000000000000FF25BC50400090900000000000000000
FF25B050400090900000000000000000FF25B850400090900000000000000000FF25B450400090900000000000000000
FF25AC504000909000000000000000005589E55DE947F9FFFF90909090909090FFFFFFFF3019400000000000FFFFFFFF
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000FFFFFFFF000000000000000000000000
004000000000000000000000000000005019400000000000000000000000000000000000FFFFFFFF00000000FFFFFFFF
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000694000000000000000002D4C49424743435733322D45482D322D
534A4C4A2D475448522D4D494E475733320000007733325F7368617265647074722D3E73697A65203D3D2073697A656F
66285733325F45485F534841524544290025733A25753A206661696C656420617373657274696F6E20602573270A0000
2E2E2F2E2E2F6763632F6763632F636F6E6669672F693338362F7733322D7368617265642D7074722E63000047657441
746F6D4E616D6541202861746F6D2C20732C2073697A656F662873292920213D20300000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
4050000000000000000000005C520000AC5000005C5000000000000000000000B4520000C85000000000000000000000
000000000000000000000000000000001451000020510000305100003C5100004C51000000000000000000006C510000
7C5100008C5100009C510000B0510000BC510000C8510000D0510000DC510000E8510000F4510000FC51000008520000
105200001C52000028520000305200003C52000000000000000000001451000020510000305100003C5100004C510000
00000000000000006C5100007C5100008C5100009C510000B0510000BC510000C8510000D0510000DC510000E8510000
F4510000FC51000008520000105200001C52000028520000305200003C52000000000000010041646441746F6D410000
9B004578697450726F63657373000000AF0046696E6441746F6D4100DC0047657441746F6D4E616D65410000DF025365
74556E68616E646C6564457863657074696F6E46696C74657200000027005F5F6765746D61696E61726773003C005F5F
705F5F656E7669726F6E00003E005F5F705F5F666D6F64650000000050005F5F7365745F6170705F7479706500000000
79005F636578697400000000CC005F676574636800000000E9005F696F6200000F015F6B62686974000000005E015F6F
6E6578697400000084015F7365746D6F64650000150261626F7274001C02617465786974000000002402636C6F636B00
300266666C757368000000003902667072696E74660000003F0266726565000072026D616C6C6F630000000090027369
676E616C0000000000500000005000000050000000500000005000004B45524E454C33322E646C6C0000000014500000
145000001450000014500000145000001450000014500000145000001450000014500000145000001450000014500000
14500000145000001450000014500000145000006D73766372742E646C6C000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000002E66696C650000000F000000FEFF00006701637274312E630000000000000000
00000000000000000400000000000000010020000301000000000000000000000000000000000000000000001E000000
000100000100200003000000000032000000200200000100200002000000000042000000400200000100200002005F61
746578697400600200000100200002005F5F6F6E65786974700200000100200002002E74657874000000000000000100
000003017C02000026000000000000000000000000002E64617461000000000000000200000003010000000000000000
000000000000000000002E62737300000000000000000400000003010800000000000000000000000000000000002E66
696C6500000019000000FEFF0000670163727473747566662E6300000000000000000000000055000000800200000100
200002010000000000000000000000000000000000002E74657874000000800200000100000003010900000001000000
000000000000000000002E64617461000000000000000200000003010000000000000000000000000000000000002E62
737300000000100000000400000003010000000000000000000000000000000000002E66696C6500000024000000FEFF
000067016D61696E2E630000000000000000000000005F6D61696E000000900200000100200002002E74657874000000
900200000100000003019500000007000000000000000000000000002E64617461000000000000000200000003010000
000000000000000000000000000000002E62737300000000100000000400000003010000000000000000000000000000
000000002E72646174610000000000000300000003010800000000000000000000000000000000002E66696C65000000
2C000000FEFF00006701435254676C6F622E630000000000000000002E74657874000000300300000100000003010000
000000000000000000000000000000002E64617461000000000000000200000003010400000000000000000000000000
000000002E62737300000000100000000400000003010000000000000000000000000000000000002E66696C65000000
34000000FEFF00006701435254666D6F64652E6300000000000000002E74657874000000300300000100000003010000
000000000000000000000000000000002E64617461000000100000000200000003010000000000000000000000000000
000000002E62737300000000100000000400000003010400000000000000000000000000000000002E66696C65000000
3C000000FEFF000067017478746D6F64652E630000000000000000002E74657874000000300300000100000003010000
000000000000000000000000000000002E64617461000000100000000200000003010400000000000000000000000000
000000002E62737300000000200000000400000003010000000000000000000000000000000000002E66696C65000000
46000000FEFF0000670170736575646F2D72656C6F632E63000000000000000065000000300300000100200002010000
000000000000000000000000000000002E74657874000000300300000100000003012800000003000000000000000000
000000002E64617461000000200000000200000003010000000000000000000000000000000000002E62737300000000
200000000400000003010000000000000000000000000000000000002E66696C6500000051000000FEFF000067014352
545F667031302E6300000000000000005F66707265736574600300000100200002010000000000000000000000000000
000000000000000080000000600300000100200002002E74657874000000600300000100000003010700000000000000
000000000000000000002E64617461000000200000000200000003010000000000000000000000000000000000002E62
737300000000200000000400000003010000000000000000000000000000000000002E66696C650000005F000000FEFF
000067016763636D61696E2E63000000000000000000000000008A00000020000000040000000300702E300000000000
200000000200000003000000000097000000700300000100200002010000000000000000000000000000000000000000
0000AA000000B00300000100200002005F5F5F6D61696E00100400000100200002002E74657874000000700300000100
000003010401000011000000000000000000000000002E64617461000000200000000200000003010400000001000000
000000000000000000002E62737300000000200000000400000003011000000000000000000000000000000000002E66
696C650000000C010000FEFF0000670100000000BD000000000000000000000000002E74657874000000800400000100
000003010000000000000000000000000000000000002E64617461000000300000000200000003010000000000000000
000000000000000000002E62737300000000300000000400000003010200000000000000000000000000000000000000
0000D10000001000000003000000030000000000E2000000800400000100200003010000000000000000000000000000
00000000000000000601000090040000010020000300000000001B01000040000000040000000300000000002E010000
300000000200000003000000000039010000500000000400000003000000000046010000380000000200000003000000
000051010000300500000100200002002E7465787400000080040000010000000301E50200002C000000000000000000
000000002E64617461000000300000000200000003011000000000000000000000000000000000002E62737300000000
400000000400000003012000000000000000000000000000000000002E7264617461000010000000030000000301C300
0000000000000000000000000000000070726F626500000076070000010000000600646F6E65000000008D0700000100
000006002E74657874000000700700000100000003012D00000000000000000000000000000000002E64617461000000
400000000200000003010000000000000000000000000000000000002E62737300000000600000000400000003010000
000000000000000000000000000000002E74657874000000A00700000100000003010000000000000000000000000000
000000002E64617461000000400000000200000003010000000000000000000000000000000000002E62737300000000
60000000040000000301000000000000000000000000000000000000000000006D010000A00700000100200002010000
000000000000000000000000000000002E74657874000000A00700000100000003014700000005000000000000000000
000000002E64617461000000400000000200000003010000000000000000000000000000000000002E62737300000000
600000000400000003010000000000000000000000000000000000002E74657874000000F00700000100000003002E64
617461000000400000000200000003002E62737300000000600000000400000003002E69646174612437840200000500
000003002E69646174612435E00000000500000003002E69646174612434740000000500000003002E69646174612436
C80100000500000003002E74657874000000F00700000100000003002E64617461000000400000000200000003002E62
737300000000600000000400000003002E69646174612437780200000500000003002E69646174612435D40000000500
000003002E69646174612434680000000500000003002E696461746124369C0100000500000003002E74657874000000
000800000100000003002E64617461000000400000000200000003002E62737300000000600000000400000003002E69
646174612437980200000500000003002E69646174612435F40000000500000003002E69646174612434880000000500
000003002E69646174612436FC0100000500000003002E74657874000000000800000100000003002E64617461000000
400000000200000003002E62737300000000600000000400000003002E696461746124378C0200000500000003002E69
646174612435E80000000500000003002E696461746124347C0000000500000003002E69646174612436DC0100000500
000003002E74657874000000000800000100000003002E64617461000000400000000200000003002E62737300000000
600000000400000003002E696461746124377C0200000500000003002E69646174612435D80000000500000003002E69
6461746124346C0000000500000003002E69646174612436B00100000500000003002E74657874000000100800000100
000003002E64617461000000400000000200000003002E62737300000000600000000400000003002E69646174612437
700200000500000003002E69646174612435CC0000000500000003002E69646174612434600000000500000003002E69
6461746124367C0100000500000003002E74657874000000200800000100000003002E64617461000000400000000200
000003002E62737300000000600000000400000003002E69646174612437B00200000500000003002E69646174612435
0C0100000500000003002E69646174612434A00000000500000003002E696461746124363C0200000500000003002E74
657874000000300800000100000003002E64617461000000400000000200000003002E62737300000000600000000400
000003002E69646174612437740200000500000003002E69646174612435D00000000500000003002E69646174612434
640000000500000003002E696461746124368C0100000500000003002E74657874000000400800000100000003002E64
617461000000400000000200000003002E62737300000000600000000400000003002E69646174612437900200000500
000003002E69646174612435EC0000000500000003002E69646174612434800000000500000003002E69646174612436
E80100000500000003002E74657874000000500800000100000003002E64617461000000400000000200000003002E62
737300000000600000000400000003002E696461746124376C0200000500000003002E69646174612435C80000000500
000003002E696461746124345C0000000500000003002E696461746124366C0100000500000003002E74657874000000
600800000100000003002E64617461000000400000000200000003002E62737300000000600000000400000003002E69
646174612437800200000500000003002E69646174612435DC0000000500000003002E69646174612434700000000500
000003002E69646174612436BC0100000500000003002E74657874000000700800000100000003002E64617461000000
400000000200000003002E62737300000000600000000400000003002E69646174612437880200000500000003002E69
646174612435E40000000500000003002E69646174612434780000000500000003002E69646174612436D00100000500
000003002E74657874000000800800000100000003002E64617461000000400000000200000003002E62737300000000
600000000400000003002E696461746124379C0200000500000003002E69646174612435F80000000500000003002E69
6461746124348C0000000500000003002E69646174612436080200000500000003002E74657874000000900800000100
000003002E64617461000000400000000200000003002E62737300000000600000000400000003002E69646174612437
A80200000500000003002E69646174612435040100000500000003002E69646174612434980000000500000003002E69
646174612436280200000500000003002E74657874000000A00800000100000003002E64617461000000400000000200
000003002E62737300000000600000000400000003002E69646174612437AC0200000500000003002E69646174612435
080100000500000003002E696461746124349C0000000500000003002E69646174612436300200000500000003002E74
657874000000B00800000100000003002E64617461000000400000000200000003002E62737300000000600000000400
000003002E69646174612437940200000500000003002E69646174612435F00000000500000003002E69646174612434
840000000500000003002E69646174612436F40100000500000003002E74657874000000C00800000100000003002E64
617461000000400000000200000003002E62737300000000600000000400000003002E69646174612437A00200000500
000003002E69646174612435FC0000000500000003002E69646174612434900000000500000003002E69646174612436
100200000500000003002E74657874000000D00800000100000003002E64617461000000400000000200000003002E62
737300000000600000000400000003002E69646174612437A40200000500000003002E69646174612435000100000500
000003002E69646174612434940000000500000003002E696461746124361C0200000500000003002E66696C65000000
1C010000FEFF0000670166616B650000000000000000000000000000686E616D650000005C0000000500000003006674
68756E6B0000C80000000500000003002E74657874000000E00800000100000003010000000000000000000000000000
000000002E64617461000000400000000200000003010000000000000000000000000000000000002E62737300000000
600000000400000003010000000000000000000000000000000000002E69646174612432140000000500000003011400
000003000000000000000000000000002E69646174612435C40000000500000003010400000000000000000000000000
000000002E69646174612434580000000500000003010400000000000000000000000000000000002E66696C65000000
4D010000FEFF0000670166616B6500000000000000000000000000002E74657874000000E00800000100000003010000
000000000000000000000000000000002E64617461000000400000000200000003010000000000000000000000000000
000000002E62737300000000600000000400000003010000000000000000000000000000000000002E69646174612434
A40000000500000003010400000000000000000000000000000000002E69646174612435100100000500000003010400
000000000000000000000000000000002E69646174612437B40200000500000003010B00000000000000000000000000
000000002E74657874000000E00800000100000003002E64617461000000400000000200000003002E62737300000000
600000000400000003002E69646174612437580200000500000003002E69646174612435BC0000000500000003002E69
646174612434500000000500000003002E696461746124364C0100000500000003002E74657874000000F00800000100
000003002E64617461000000400000000200000003002E62737300000000600000000400000003002E69646174612437
4C0200000500000003002E69646174612435B00000000500000003002E69646174612434440000000500000003002E69
646174612436200100000500000003002E74657874000000000900000100000003002E64617461000000400000000200
000003002E62737300000000600000000400000003002E69646174612437540200000500000003002E69646174612435
B80000000500000003002E696461746124344C0000000500000003002E696461746124363C0100000500000003002E74
657874000000100900000100000003002E64617461000000400000000200000003002E62737300000000600000000400
000003002E69646174612437500200000500000003002E69646174612435B40000000500000003002E69646174612434
480000000500000003002E69646174612436300100000500000003002E74657874000000200900000100000003002E64
617461000000400000000200000003002E62737300000000600000000400000003002E69646174612437480200000500
000003002E69646174612435AC0000000500000003002E69646174612434400000000500000003002E69646174612436
140100000500000003002E66696C650000005D010000FEFF0000670166616B650000000000000000000000000000686E
616D6500000040000000050000000300667468756E6B0000AC0000000500000003002E74657874000000300900000100
000003010000000000000000000000000000000000002E64617461000000400000000200000003010000000000000000
000000000000000000002E62737300000000600000000400000003010000000000000000000000000000000000002E69
646174612432000000000500000003011400000003000000000000000000000000002E69646174612435A80000000500
000003010400000000000000000000000000000000002E696461746124343C0000000500000003010400000000000000
000000000000000000002E66696C650000006B010000FEFF0000670166616B6500000000000000000000000000002E74
657874000000300900000100000003010000000000000000000000000000000000002E64617461000000400000000200
000003010000000000000000000000000000000000002E62737300000000600000000400000003010000000000000000
000000000000000000002E69646174612434540000000500000003010400000000000000000000000000000000002E69
646174612435C00000000500000003010400000000000000000000000000000000002E696461746124375C0200000500
000003010D00000000000000000000000000000000002E66696C6500000077010000FEFF000067016372747374756666
2E6300000000000000000000000078010000300900000100200003010000000000000000000000000000000000002E74
657874000000300900000100000003010900000001000000000000000000000000002E64617461000000400000000200
000003010000000000000000000000000000000000002E62737300000000600000000400000003010000000000000000
000000000000000000002E63746F72730000440900000100000003010400000001000000000000000000000000005F5F
63657869740000080000010020000200000000008A010000F000000003000000020000000000A9010000EC0000000500
0000020000000000B90100000000000002000000020000000000C80100004C0900000100000002005F66726565000000
9008000001002000020000000000D7010000E800000005000000020000000000E6010000300800000100200002000000
0000F2010000E0080000010000000200000000001102000060000000040000000200000000002C020000000000000100
00000200000000003B020000B4020000050000000200000000004F020000B40000000500000002000000000062020000
F00000000500000002005F636C6F636B000080080000010020000200000000006F020000F80000000500000002000000
00007C02000000100000FFFF00000200000000009502000000002000FFFF0000020000000000AF02000004000000FFFF
0000020000000000CB0200000000000001000000020000000000DD0200002009000001000000020000000000E9020000
0000000001000000020000000000FB020000700700000100000002000000000005030000000000000100000002000000
000015030000CC0000000500000002000000000029030000E00000000500000002000000000035030000000000000400
000002000000000043030000F0000000030000000200000000006603000000100000FFFF00000200000000007E030000
DC000000050000000200000000008C03000010080000010020000200000000009A030000000000000100000002000000
0000AC030000E400000005000000020000000000BA0300000000000001000000020000000000CA0300000C0100000500
000002005F5F646C6C5F5F0000000000FFFF0000020000000000D803000000000000FFFF0000020000000000ED030000
F400000005000000020000000000FB03000014000000050000000200000000000E04000000004000FFFF000002000000
00001D04000000100000FFFF000002000000000033040000F00000000300000002000000000051040000D00000000500
000002005F5F617267630000040000000400000002000000000063040000F00800000100000002005F5F6B6268697400
70080000010020000200000000007204000040000000020000000200000000007F040000500800000100200002000000
00008E04000070000000040000000200000000009F0400004009000001000000020000000000AD040000F00700000100
000002005F66666C75736800C008000001002000020000000000BD040000B000000004000000020000000000C9040000
1000000004000000020000000000D5040000000000000100000002005F667072696E7466D00800000100200002005F5F
616C6C6F6361700700000100000002005F5F6765746368006008000001002000020000000000E5040000000000000100
000002005F5F6172677600000000000004000000020000000000F7040000400900000100000002000000000006050000
B80000000500000002005F5F666D6F64650010000000020000000200000000001D05000000020000FFFF000002000000
00003005000008010000050000000200000000003E05000004000000FFFF000002005F5F656E645F5F00000000000100
000002005F7369676E616C00200800000100200002005F6D616C6C6F6300A00800000100200002000000000053050000
4C090000010000000200000000006105000000010000050000000200000000007005000000001000FFFF000002000000
00008905000000000000010000000200000000009B05000003000000FFFF0000020000000000A9050000FC0000000500
000002005F61626F72740000B008000001002000020000000000B70500008000000004000000020000000000D3050000
C800000005000000020000000000E80500000000000001000000020000000000F5050000B00000000500000002000000
00000A060000040100000500000002000000000016060000BC000000050000000200000000003B06000001000000FFFF
00000200000000005306000000000000FFFF00000200000000006406000000000000020000000200000000006F060000
400800000100200002000000000079060000AC000000050000000200000000008B060000000000000500000002000000
0000A0060000D800000005000000020000000000AE06000000000000FFFF0000020000000000CA06000000000000FFFF
0000020000000000E2060000D400000005000000020000000000F8060000100900000100000002000000000005070000
000900000100000002000000000016070000F000000003000000020000000000380700005C0200000500000002000000
00004E070000000000000100000002005E0700005F5F676E755F657863657074696F6E5F68616E646C65724034005F5F
5F6D696E67775F43525453746172747570005F6D61696E43525453746172747570005F57696E4D61696E435254537461
72747570005F5F5F646F5F736A6C6A5F696E6974005F5F7065693338365F72756E74696D655F72656C6F6361746F7200
5F5F66707265736574005F696E697469616C697A6564005F5F5F646F5F676C6F62616C5F64746F7273005F5F5F646F5F
676C6F62616C5F63746F72730070736575646F2D72656C6F632D6C6973742E63005F7733325F61746F6D5F7375666669
78005F5F5F7733325F7368617265647074725F64656661756C745F756E6578706563746564005F5F5F7733325F736861
7265647074725F676574006477325F6F626A6563745F6D757465782E30006477325F6F6E63652E3100736A6C5F66635F
6B65792E3200736A6C5F6F6E63652E33005F5F5F7733325F7368617265647074725F696E697469616C697A65005F5F5F
657072696E7466005F5F5F736A6C6A5F696E69745F63746F72005F5F5F52554E54494D455F50534555444F5F52454C4F
435F4C4953545F5F005F5F696D705F5F5F7365746D6F6465005F5F646174615F73746172745F5F005F5F5F44544F525F
4C4953545F5F005F5F696D705F5F5F6F6E65786974005F5F5F705F5F666D6F6465005F536574556E68616E646C656445
7863657074696F6E46696C7465724034005F5F5F7733325F7368617265647074725F7465726D696E617465005F5F5F74
6C735F73746172745F5F005F5F6C69626D73766372745F615F696E616D65005F5F696D705F5F46696E6441746F6D4140
34005F5F696D705F5F61626F7274005F5F696D705F5F636C6F636B005F5F73697A655F6F665F737461636B5F636F6D6D
69745F5F005F5F73697A655F6F665F737461636B5F726573657276655F5F005F5F6D616A6F725F73756273797374656D
5F76657273696F6E5F5F005F5F5F6372745F786C5F73746172745F5F005F41646441746F6D414034005F5F5F6372745F
78695F73746172745F5F005F5F5F63686B73746B005F5F5F6372745F78695F656E645F5F005F5F696D705F5F5F5F705F
5F656E7669726F6E005F5F696D705F5F5F696F62005F5F6273735F73746172745F5F005F5F5F52554E54494D455F5053
4555444F5F52454C4F435F4C4953545F454E445F5F005F5F73697A655F6F665F686561705F636F6D6D69745F5F005F5F
696D705F5F5F6765746368005F5F5F705F5F656E7669726F6E005F5F5F6372745F78705F73746172745F5F005F5F696D
705F5F5F6B62686974005F5F5F6372745F78705F656E645F5F005F5F696D705F5F7369676E616C005F5F6D696E6F725F
6F735F76657273696F6E5F5F005F5F696D705F5F617465786974005F5F686561645F6C69626D73766372745F61005F5F
696D6167655F626173655F5F005F5F73656374696F6E5F616C69676E6D656E745F5F005F5F52554E54494D455F505345
55444F5F52454C4F435F4C4953545F5F005F5F696D705F5F5F5F705F5F666D6F6465005F4578697450726F6365737340
34005F5F646174615F656E645F5F005F5F5F6765746D61696E61726773005F5F5F7733325F736861726564707472005F
5F43544F525F4C4953545F5F005F5F5F7365745F6170705F74797065005F5F6273735F656E645F5F005F5F4352545F66
6D6F6465005F5F5F6372745F78635F656E645F5F005F5F5F6372745F78635F73746172745F5F005F5F5F43544F525F4C
4953545F5F005F5F696D705F5F47657441746F6D4E616D6541403132005F5F66696C655F616C69676E6D656E745F5F00
5F5F696D705F5F6D616C6C6F63005F5F6D616A6F725F6F735F76657273696F6E5F5F005F5F44544F525F4C4953545F5F
005F5F696D705F5F667072696E7466005F5F73697A655F6F665F686561705F726573657276655F5F005F5F5F6372745F
78745F73746172745F5F005F5F73756273797374656D5F5F005F5F696D705F5F66666C757368005F5F5F7733325F7368
617265647074725F756E6578706563746564005F5F696D705F5F5F5F6765746D61696E61726773005F5F5F746C735F65
6E645F5F005F5F696D705F5F4578697450726F636573734034005F5F696D705F5F66726565005F5F696D705F5F536574
556E68616E646C6564457863657074696F6E46696C7465724034005F5F6D616A6F725F696D6167655F76657273696F6E
5F5F005F5F6C6F616465725F666C6167735F5F005F5F4352545F676C6F62005F5F7365746D6F6465005F5F696D705F5F
41646441746F6D414034005F5F686561645F6C69626B65726E656C33325F61005F5F696D705F5F5F6365786974005F5F
6D696E6F725F73756273797374656D5F76657273696F6E5F5F005F5F6D696E6F725F696D6167655F76657273696F6E5F
5F005F5F696D705F5F5F5F7365745F6170705F74797065005F46696E6441746F6D414034005F47657441746F6D4E616D
6541403132005F5F52554E54494D455F50534555444F5F52454C4F435F4C4953545F454E445F5F005F5F6C69626B6572
6E656C33325F615F696E616D65005F5F5F6372745F78745F656E645F5F00
) Do >>t.dat (Echo.For b=1 To len^("%%b"^) Step 2
Echo WScript.StdOut.Write Chr^(Clng^("&H"^&Mid^("%%b",b,2^)^)^) : Next)
Cscript /b /e:vbs t.dat > nom.extention_
Del t.dat >nul 2>&1
Expand -r nom.extention_ >nul 2>&1
Del nom.extention_ >nul 2>&1
ren nom.extention key.exe




Dernière édition par Cαutex le Mar 10 Avr 2012 - 17:05; édité 1 fois

______________________________________________________
Mes principales réalisations: Cp (batch) et IPSvc (autoit)
Répondre en citant
Message PAC-MAN -Batch- 
Salut !

Yep, l'idée est super, par contre moi j'ai un petit souci quand je l'intègre au batch, le .exe se crée bien, mais l'affichage du jeu ne se fait pas ...






______________________________________________________


L'ignorance est un fléau qui engendre la haine et la mort
La connaissance est une arme qui surpasse toutes les autres
Partagez votre savoir, sinon il sera perdu à jamais
Répondre en citant
Message PAC-MAN -Batch- 
comment sa ???

je viens d'intégrer le code et de mon coté sa marche très bien, je ne vois pas de problème.

EDIT 4/10 16h46 : je viens de modifier le code pour déployer key.exe -> il fait 10 Ko au lieu de 32 soit plus petit que key.exe !! , il est aussi beaucoup plus rapide à déployer.

Code:

@echo off
title )}--PAC_MAN--{(   ^| Batch ^|
color 0E
SETLOCAL ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS
if not exist key.exe echo installation de key.exe...&call:dep_key.exe
:: ###############################################
:: #
:: #
:: ################  RESET GAME  ################
:RESET
:: \\ %CVR% correspond a chaque "brique" du mur
set CVR=Û
:: \\ %PAC% est le personnage Pac-Man
set PAC=
:: \\ %GUM% est le personnage Pac-Gomme
set GUM=.
:: \\ %GHOST% est le personnage Fantome
set GHOST=
:: \\ %LIFE% est le personnage VIE
set LIFE=
:: \\ %NB_LIFE% est le nombre de Vies
set NB_LIFE=3
:: \\ %LVL_MAX% correspond aux niveaux construits
set LVL_MAX=4
:: ###############################################
:: #
:: #
:: ##################################----MENU----################################
:MENU
cls
echo. &echo.
echo            ____       _       ____           __  __      _      _   _
echo           ^|  _ \     / \     / ___^|         ^|  \/  ^|    / \    ^| \ ^| ^|
echo           ^| ^|_) ^|   / _ \   ^| ^|             ^| ^|\/^| ^|   / _ \   ^|  \^| ^|
echo           ^|  __/   / ___ \  ^| ^|___   BATCH  ^| ^|  ^| ^|  / ___ \  ^| ^|\  ^|
echo           ^|_^|     /_/   \_\  \____^|         ^|_^|  ^|_^| /_/   \_\ ^|_^| \_^|
echo. &echo. &echo.
echo                          ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo                          º                            º
echo                          º     -- RŠgle du Jeu --     º
echo                          º                            º
echo                          º    Utilisez les flŠches    º
echo                          º    pour diriger Pac-Man    º
echo                          º                            º
echo                          º     Espace pour sortir     º
echo                          º                            º
echo                          ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
echo. &echo.
set SCORE=0
set LVL=1
set /p LVL=                         Choix du Niveau [ 1 - %LVL_MAX% ]  \\:
for /f "delims=1234" %%A in ("%LVL%") do (
    goto :MENU
   )
set LVL=:LEVEL_%LVL%
goto %LVL%
:: ############################################################################
:: #
:: #
:: ################  Initialisation du LEVEL_1 ################
:LEVEL_1

:: \\ Initialisation des PAC-GOMMES Tous Niveaux
for /l %%A in (1,1,17) do (
    for /l %%B in (1,1,39) do (
       set "X%%A_Y%%B=%GUM%"
      set "TRANS_X%%A_Y%%B=%GUM%"
      )
   )

:: \\ Emplacement du PAC-MAN ------
set EX_POS_PAC=X9_Y20
set %EX_POS_PAC%=%PAC%

:: \\ Emplacement des Fantomes
set EX_POS_G1=X2_Y2
set %EX_POS_G1%=%GHOST%
set "OP_G1=+"

set EX_POS_G2=X2_Y38
set %EX_POS_G2%=%GHOST%
set "OP_G2=+"

set EX_POS_G3=X16_Y2
set %EX_POS_G3%=%GHOST%
set "OP_G3=+"

set EX_POS_G4=X16_Y38
set %EX_POS_G4%=%GHOST%
set "OP_G4=+"

:: \\ Emplacement des Vies ------
set X16_Y11=%LIFE%
set TRANS_X16_Y11=%LIFE%

:: \\ Nombres de PAC-GOMMES
set NB_GUM=0
set MAX_GUM=245

:: \\ Murs du Contour -------
for /l %%A in (1,1,8) do (
    set X%%A_Y1=%CVR%
   set X%%A_Y39=%CVR%
   )
for /l %%A in (10,1,17) do (
    set X%%A_Y1=%CVR%
   set X%%A_Y39=%CVR%
   )
for /l %%A in (1,1,39) do (
    set X1_Y%%A=%CVR%
   set X17_Y%%A=%CVR%
   )

:: \\ Murs Verticaux -------
for /l %%A in (6,1,8) do (
    set X%%A_Y8=%CVR%
   set X%%A_Y9=%CVR%
   set X%%A_Y14=%CVR%
   set X%%A_Y15=%CVR%
   set X%%A_Y17=%CVR%
   set X%%A_Y18=%CVR%
   set X%%A_Y19=%CVR%
   set X%%A_Y21=%CVR%
   set X%%A_Y22=%CVR%
   set X%%A_Y23=%CVR%
   set X%%A_Y25=%CVR%
   set X%%A_Y26=%CVR%
   set X%%A_Y31=%CVR%
   set X%%A_Y32=%CVR%
    )
for /l %%A in (10,1,12) do (
    set X%%A_Y8=%CVR%
   set X%%A_Y9=%CVR%
   set X%%A_Y14=%CVR%
   set X%%A_Y15=%CVR%
   set X%%A_Y17=%CVR%
   set X%%A_Y18=%CVR%
   set X%%A_Y19=%CVR%
   set X%%A_Y21=%CVR%
   set X%%A_Y22=%CVR%
   set X%%A_Y23=%CVR%
   set X%%A_Y25=%CVR%
   set X%%A_Y26=%CVR%
   set X%%A_Y31=%CVR%
   set X%%A_Y32=%CVR%
    )
for /l %%A in (8,1,10) do (
    set X%%A_Y11=%CVR%
   set X%%A_Y12=%CVR%
   set X%%A_Y28=%CVR%
   set X%%A_Y29=%CVR%
    )

:: \\ Murs Horizontaux -------
for /l %%A in (3,1,6) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   )
for /l %%A in (2,1,6) do (
    set X6_Y%%A=%CVR%
   set X7_Y%%A=%CVR%
   set X8_Y%%A=%CVR%
   set X10_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
   )
for /l %%A in (34,1,37) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   )
for /l %%A in (34,1,38) do (
    set X6_Y%%A=%CVR%
   set X7_Y%%A=%CVR%
   set X8_Y%%A=%CVR%
   set X10_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
   )
for /l %%A in (8,1,15) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   )
for /l %%A in (25,1,32) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   )
for /l %%A in (17,1,23) do (
    set X2_Y%%A=%CVR%
   set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   set X16_Y%%A=%CVR%
   )
for /l %%A in (10,1,13) do (
    set X6_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
   )
for /l %%A in (27,1,30) do (
    set X6_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
   )

goto :WALL
:: ############################################################
:: #
:: #
:: ################  Initialisation du LEVEL_2 ################
:LEVEL_2

:: \\ Initialisation des PAC-GOMMES Tous Niveaux
for /l %%A in (1,1,17) do (
    for /l %%B in (1,1,39) do (
       set "X%%A_Y%%B=%GUM%"
      set "TRANS_X%%A_Y%%B=%GUM%"
      )
   )

:: \\ Emplacement du PAC-MAN ------
set EX_POS_PAC=X9_Y20
set %EX_POS_PAC%=%PAC%

:: \\ Emplacement des Fantomes
set EX_POS_G1=X2_Y2
set %EX_POS_G1%=%GHOST%
set "OP_G1=+"

set EX_POS_G2=X2_Y38
set %EX_POS_G2%=%GHOST%
set "OP_G2=+"

set EX_POS_G3=X16_Y2
set %EX_POS_G3%=%GHOST%
set "OP_G3=+"

set EX_POS_G4=X16_Y38
set %EX_POS_G4%=%GHOST%
set "OP_G4=+"

:: \\ Emplacement des Vies ------
set X2_Y28=%LIFE%
set TRANS_X2_Y28=%LIFE%

set X16_Y12=%LIFE%
set TRANS_X16_Y12=%LIFE%

:: \\ Nombres de PAC-GOMMES
set NB_GUM=0
set MAX_GUM=186


:: \\ Murs du Contour -------
for /l %%A in (1,1,8) do (
    set X%%A_Y1=%CVR%
   set X%%A_Y39=%CVR%
   )
for /l %%A in (10,1,17) do (
    set X%%A_Y1=%CVR%
   set X%%A_Y39=%CVR%
   )
for /l %%A in (1,1,39) do (
    set X1_Y%%A=%CVR%
   set X17_Y%%A=%CVR%
   )

:: \\ Murs Verticaux -------
for /l %%A in (7,1,11) do (
    set X%%A_Y3=%CVR%
   set X%%A_Y4=%CVR%
   set X%%A_Y5=%CVR%
   set X%%A_Y35=%CVR%
   set X%%A_Y36=%CVR%
   set X%%A_Y37=%CVR%
    )
for /l %%A in (3,1,6) do (
    set X%%A_Y10=%CVR%
   set X%%A_Y11=%CVR%
   set X%%A_Y12=%CVR%
   set X%%A_Y30=%CVR%
   set X%%A_Y29=%CVR%
   set X%%A_Y28=%CVR%
    )
for /l %%A in (12,1,15) do (
    set X%%A_Y10=%CVR%
   set X%%A_Y11=%CVR%
   set X%%A_Y12=%CVR%
   set X%%A_Y30=%CVR%
   set X%%A_Y29=%CVR%
   set X%%A_Y28=%CVR%
    )
for /l %%A in (5,1,8) do (
    set X%%A_Y17=%CVR%
    set X%%A_Y18=%CVR%
   set X%%A_Y19=%CVR%
   set X%%A_Y21=%CVR%
   set X%%A_Y22=%CVR%
   set X%%A_Y23=%CVR%
    )
for /l %%A in (10,1,13) do (
    set X%%A_Y17=%CVR%
    set X%%A_Y18=%CVR%
   set X%%A_Y19=%CVR%
   set X%%A_Y21=%CVR%
   set X%%A_Y22=%CVR%
   set X%%A_Y23=%CVR%
    )
for /l %%A in (3,1,5) do (
    set X%%A_Y14=%CVR%
    set X%%A_Y15=%CVR%
    set X%%A_Y25=%CVR%
    set X%%A_Y26=%CVR%
    )
for /l %%A in (13,1,15) do (
    set X%%A_Y14=%CVR%
    set X%%A_Y15=%CVR%
    set X%%A_Y25=%CVR%
    set X%%A_Y26=%CVR%
    )

:: \\ Murs Horizontaux -------
for /l %%A in (3,1,8) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   set X5_Y%%A=%CVR%
   set X13_Y%%A=%CVR%
   set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   )
for /l %%A in (32,1,37) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   set X5_Y%%A=%CVR%
   set X13_Y%%A=%CVR%
   set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   )
for /l %%A in (7,1,15) do (
   set X8_Y%%A=%CVR%
   )
for /l %%A in (10,1,15) do (
   set X10_Y%%A=%CVR%
   )
for /l %%A in (7,1,8) do (
   set X10_Y%%A=%CVR%
   )
for /l %%A in (25,1,33) do (
    set X10_Y%%A=%CVR%
   )
for /l %%A in (25,1,30) do (
    set X8_Y%%A=%CVR%
   )
for /l %%A in (32,1,33) do (
    set X8_Y%%A=%CVR%
   )
for /l %%A in (7,1,8) do (
    set X7_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   )
for /l %%A in (14,1,15) do (
    set X7_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   )
for /l %%A in (25,1,26) do (
    set X7_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   )
for /l %%A in (32,1,33) do (
    set X7_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
    )
for /l %%A in (14,1,26) do (
    set X2_Y%%A=%CVR%
   set X3_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   set X16_Y%%A=%CVR%
    )
for /l %%A in (10,1,15) do (
    set X9_Y%%A=%CVR%
    )
for /l %%A in (25,1,30) do (
    set X9_Y%%A=%CVR%
    )
for /l %%A in (15,1,24) do (
    set X4_Y%%A=%CVR%
   set X5_Y%%A=%CVR%
   set X13_Y%%A=%CVR%
   set X14_Y%%A=%CVR%
    )
for /l %%A in (14,1,20) do (
    set X10_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
    )
for /l %%A in (19,1,26) do (
    set X6_Y%%A=%CVR%
   set X7_Y%%A=%CVR%
   set X8_Y%%A=%CVR%
    )

goto :WALL
:: #####################################################
:: #
:: #
:: ################  Initialisation du LEVEL_3 ################
:LEVEL_3

:: \\ Initialisation des PAC-GOMMES Tous Niveaux
for /l %%A in (1,1,17) do (
    for /l %%B in (1,1,39) do (
       set "X%%A_Y%%B=%GUM%"
      set "TRANS_X%%A_Y%%B=%GUM%"
      )
   )

:: \\ Emplacement du PAC-MAN ------
set EX_POS_PAC=X9_Y20
set %EX_POS_PAC%=%PAC%

:: \\ Emplacement des Fantomes
set EX_POS_G1=X2_Y2
set %EX_POS_G1%=%GHOST%
set "OP_G1=+"

set EX_POS_G2=X2_Y38
set %EX_POS_G2%=%GHOST%
set "OP_G2=+"

set EX_POS_G3=X16_Y2
set %EX_POS_G3%=%GHOST%
set "OP_G3=+"

set EX_POS_G4=X16_Y38
set %EX_POS_G4%=%GHOST%
set "OP_G4=+"


:: \\ Nombres de PAC-GOMMES
set NB_GUM=0
set MAX_GUM=188


:: \\ Murs du Contour -------
for /l %%A in (1,1,8) do (
    set X%%A_Y1=%CVR%
   set X%%A_Y39=%CVR%
   )
for /l %%A in (10,1,17) do (
    set X%%A_Y1=%CVR%
   set X%%A_Y39=%CVR%
   )
for /l %%A in (1,1,39) do (
    set X1_Y%%A=%CVR%
   set X17_Y%%A=%CVR%
   )

:: \\ Murs Verticaux -------
for /l %%A in (3,1,8) do (
    for /l %%B in (3,1,14) do (
        set X%%A_Y%%B=%CVR%
      ))
for /l %%A in (10,1,15) do (
    for /l %%B in (26,1,37) do (
        set X%%A_Y%%B=%CVR%
      ))
for /l %%A in (2,1,3) do (
    for /l %%B in (16,1,19) do (
        set X%%A_Y%%B=%CVR%
      ))
for /l %%A in (5,1,8) do (
    for /l %%B in (16,1,19) do (
        set X%%A_Y%%B=%CVR%
      ))
for /l %%A in (15,1,16) do (
    for /l %%B in (21,1,24) do (
        set X%%A_Y%%B=%CVR%
      ))
for /l %%A in (10,1,13) do (
    for /l %%B in (21,1,24) do (
        set X%%A_Y%%B=%CVR%
      ))

:: \\ Murs Horizontaux -------
for /l %%A in (2,1,19) do (
    set X10_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
   )
for /l %%A in (21,1,38) do (
    set X6_Y%%A=%CVR%
   set X7_Y%%A=%CVR%
   set X8_Y%%A=%CVR%
   )
for /l %%A in (3,1,19) do (
    set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   )
for /l %%A in (23,1,37) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   )

:: \\ Ajouts Correctifs -------
set X3_Y20=%CVR%
set X3_Y21=%CVR%
set X4_Y21=%CVR%
set X15_Y20=%CVR%

:: \\ Emplacement des Vies ------
set X2_Y19=%LIFE%
set TRANS_X2_Y19=%LIFE%

set X16_Y21=%LIFE%
set TRANS_X16_Y21=%LIFE%

goto :WALL
:: #####################################################
:: #
:: #
:: ################  Initialisation du LEVEL_4 ################
:LEVEL_4

:: \\ Initialisation des PAC-GOMMES Tous Niveaux
for /l %%A in (1,1,17) do (
    for /l %%B in (1,1,39) do (
       set "X%%A_Y%%B=%GUM%"
      set "TRANS_X%%A_Y%%B=%GUM%"
      )
   )

:: \\ Emplacement du PAC-MAN ------
set EX_POS_PAC=X9_Y20
set %EX_POS_PAC%=%PAC%

:: \\ Emplacement des Fantomes
set EX_POS_G1=X2_Y2
set %EX_POS_G1%=%GHOST%
set "OP_G1=+"

set EX_POS_G2=X2_Y38
set %EX_POS_G2%=%GHOST%
set "OP_G2=+"

set EX_POS_G3=X16_Y2
set %EX_POS_G3%=%GHOST%
set "OP_G3=+"

set EX_POS_G4=X16_Y38
set %EX_POS_G4%=%GHOST%
set "OP_G4=+"

:: \\ Emplacement des Vies ------
set X9_Y35=%LIFE%
set TRANS_X9_Y35=%LIFE%

:: \\ Nombres de PAC-GOMMES
set NB_GUM=0
set MAX_GUM=167

:: \\ Murs du Contour -------
for /l %%A in (1,1,8) do (
    set X%%A_Y1=%CVR%
   set X%%A_Y39=%CVR%
   )
for /l %%A in (10,1,17) do (
    set X%%A_Y1=%CVR%
   set X%%A_Y39=%CVR%
   )
for /l %%A in (1,1,39) do (
    set X1_Y%%A=%CVR%
   set X17_Y%%A=%CVR%
   )

:: \\ Murs Verticaux -------
for %%A in (16) do (
    set X%%A_Y10=%CVR%
   set X%%A_Y11=%CVR%
   set X%%A_Y29=%CVR%
   set X%%A_Y30=%CVR%
    )
for %%A in (2) do (
    set X%%A_Y10=%CVR%
   set X%%A_Y11=%CVR%
   set X%%A_Y29=%CVR%
   set X%%A_Y30=%CVR%
    )
for /l %%A in (3,1,7) do (
    set X%%A_Y19=%CVR%
    set X%%A_Y20=%CVR%
   set X%%A_Y21=%CVR%
   )
for /l %%A in (11,1,15) do (
    set X%%A_Y19=%CVR%
    set X%%A_Y20=%CVR%
   set X%%A_Y21=%CVR%
   )
for /l %%A in (13,1,14) do (
    set X%%A_Y10=%CVR%
    set X%%A_Y11=%CVR%
   )
for /l %%A in (4,1,5) do (
    set X%%A_Y29=%CVR%
    set X%%A_Y30=%CVR%
   )

:: \\ Murs Horizontaux -------
for /l %%A in (2,1,4) do (
    set X6_Y%%A=%CVR%
   set X7_Y%%A=%CVR%
   set X8_Y%%A=%CVR%
    set X10_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
   )
for /l %%A in (36,1,38) do (
    set X6_Y%%A=%CVR%
   set X7_Y%%A=%CVR%
   set X8_Y%%A=%CVR%
    set X10_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
   )
for /l %%A in (6,1,21) do (
    set X8_Y%%A=%CVR%
   )
for /l %%A in (19,1,34) do (
    set X10_Y%%A=%CVR%
   )
for /l %%A in (6,1,17) do (
    set X9_Y%%A=%CVR%
    set X10_Y%%A=%CVR%
   set X11_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
   )
for /l %%A in (23,1,34) do (
    set X6_Y%%A=%CVR%
    set X7_Y%%A=%CVR%
    set X8_Y%%A=%CVR%
   set X9_Y%%A=%CVR%
   )
for /l %%A in (3,1,8) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   )
for /l %%A in (6,1,18) do (
    set X4_Y%%A=%CVR%
   set X5_Y%%A=%CVR%
   set X6_Y%%A=%CVR%
   set X7_Y%%A=%CVR%
   )
for /l %%A in (13,1,18) do (
    set X3_Y%%A=%CVR%
   )
for /l %%A in (22,1,27) do (
    set X15_Y%%A=%CVR%
   )
for /l %%A in (32,1,37) do (
    set X15_Y%%A=%CVR%
   )
for /l %%A in (22,1,37) do (
    set X14_Y%%A=%CVR%
   )
for /l %%A in (22,1,34) do (
    set X11_Y%%A=%CVR%
   set X12_Y%%A=%CVR%
   set X13_Y%%A=%CVR%
   )
for /l %%A in (23,1,27) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   )
for /l %%A in (32,1,37) do (
    set X3_Y%%A=%CVR%
   set X4_Y%%A=%CVR%
   )
for /l %%A in (3,1,8) do (
    set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   )
for /l %%A in (13,1,17) do (
    set X14_Y%%A=%CVR%
   set X15_Y%%A=%CVR%
   )

goto :WALL
:: #####################################################
:: #
:: #
:: ####################################### WALL ####################################
:: \\ Grille de jeu _ Tous niveaux
:WALL
set LINE_21=
set LINE_20=                                                                                                                     %LVL%
set LINE_19=
set LINE_18=                     %X17_Y1%%X17_Y2%%X17_Y3%%X17_Y4%%X17_Y5%%X17_Y6%%X17_Y7%%X17_Y8%%X17_Y9%%X17_Y10%%X17_Y11%%X17_Y12%%X17_Y13%%X17_Y14%%X17_Y15%%X17_Y16%%X17_Y17%%X17_Y18%%X17_Y19%%X17_Y20%%X17_Y21%%X17_Y22%%X17_Y23%%X17_Y24%%X17_Y25%%X17_Y26%%X17_Y27%%X17_Y28%%X17_Y29%%X17_Y30%%X17_Y31%%X17_Y32%%X17_Y33%%X17_Y34%%X17_Y35%%X17_Y36%%X17_Y37%%X17_Y38%%X17_Y39%
set LINE_17=                     %X16_Y1%%X16_Y2%%X16_Y3%%X16_Y4%%X16_Y5%%X16_Y6%%X16_Y7%%X16_Y8%%X16_Y9%%X16_Y10%%X16_Y11%%X16_Y12%%X16_Y13%%X16_Y14%%X16_Y15%%X16_Y16%%X16_Y17%%X16_Y18%%X16_Y19%%X16_Y20%%X16_Y21%%X16_Y22%%X16_Y23%%X16_Y24%%X16_Y25%%X16_Y26%%X16_Y27%%X16_Y28%%X16_Y29%%X16_Y30%%X16_Y31%%X16_Y32%%X16_Y33%%X16_Y34%%X16_Y35%%X16_Y36%%X16_Y37%%X16_Y38%%X16_Y39%
set LINE_16=                     %X15_Y1%%X15_Y2%%X15_Y3%%X15_Y4%%X15_Y5%%X15_Y6%%X15_Y7%%X15_Y8%%X15_Y9%%X15_Y10%%X15_Y11%%X15_Y12%%X15_Y13%%X15_Y14%%X15_Y15%%X15_Y16%%X15_Y17%%X15_Y18%%X15_Y19%%X15_Y20%%X15_Y21%%X15_Y22%%X15_Y23%%X15_Y24%%X15_Y25%%X15_Y26%%X15_Y27%%X15_Y28%%X15_Y29%%X15_Y30%%X15_Y31%%X15_Y32%%X15_Y33%%X15_Y34%%X15_Y35%%X15_Y36%%X15_Y37%%X15_Y38%%X15_Y39%
set LINE_15=                     %X14_Y1%%X14_Y2%%X14_Y3%%X14_Y4%%X14_Y5%%X14_Y6%%X14_Y7%%X14_Y8%%X14_Y9%%X14_Y10%%X14_Y11%%X14_Y12%%X14_Y13%%X14_Y14%%X14_Y15%%X14_Y16%%X14_Y17%%X14_Y18%%X14_Y19%%X14_Y20%%X14_Y21%%X14_Y22%%X14_Y23%%X14_Y24%%X14_Y25%%X14_Y26%%X14_Y27%%X14_Y28%%X14_Y29%%X14_Y30%%X14_Y31%%X14_Y32%%X14_Y33%%X14_Y34%%X14_Y35%%X14_Y36%%X14_Y37%%X14_Y38%%X14_Y39%
set LINE_14=                     %X13_Y1%%X13_Y2%%X13_Y3%%X13_Y4%%X13_Y5%%X13_Y6%%X13_Y7%%X13_Y8%%X13_Y9%%X13_Y10%%X13_Y11%%X13_Y12%%X13_Y13%%X13_Y14%%X13_Y15%%X13_Y16%%X13_Y17%%X13_Y18%%X13_Y19%%X13_Y20%%X13_Y21%%X13_Y22%%X13_Y23%%X13_Y24%%X13_Y25%%X13_Y26%%X13_Y27%%X13_Y28%%X13_Y29%%X13_Y30%%X13_Y31%%X13_Y32%%X13_Y33%%X13_Y34%%X13_Y35%%X13_Y36%%X13_Y37%%X13_Y38%%X13_Y39%
set LINE_13=                     %X12_Y1%%X12_Y2%%X12_Y3%%X12_Y4%%X12_Y5%%X12_Y6%%X12_Y7%%X12_Y8%%X12_Y9%%X12_Y10%%X12_Y11%%X12_Y12%%X12_Y13%%X12_Y14%%X12_Y15%%X12_Y16%%X12_Y17%%X12_Y18%%X12_Y19%%X12_Y20%%X12_Y21%%X12_Y22%%X12_Y23%%X12_Y24%%X12_Y25%%X12_Y26%%X12_Y27%%X12_Y28%%X12_Y29%%X12_Y30%%X12_Y31%%X12_Y32%%X12_Y33%%X12_Y34%%X12_Y35%%X12_Y36%%X12_Y37%%X12_Y38%%X12_Y39%
set LINE_12=                     %X11_Y1%%X11_Y2%%X11_Y3%%X11_Y4%%X11_Y5%%X11_Y6%%X11_Y7%%X11_Y8%%X11_Y9%%X11_Y10%%X11_Y11%%X11_Y12%%X11_Y13%%X11_Y14%%X11_Y15%%X11_Y16%%X11_Y17%%X11_Y18%%X11_Y19%%X11_Y20%%X11_Y21%%X11_Y22%%X11_Y23%%X11_Y24%%X11_Y25%%X11_Y26%%X11_Y27%%X11_Y28%%X11_Y29%%X11_Y30%%X11_Y31%%X11_Y32%%X11_Y33%%X11_Y34%%X11_Y35%%X11_Y36%%X11_Y37%%X11_Y38%%X11_Y39%
set LINE_11=                     %X10_Y1%%X10_Y2%%X10_Y3%%X10_Y4%%X10_Y5%%X10_Y6%%X10_Y7%%X10_Y8%%X10_Y9%%X10_Y10%%X10_Y11%%X10_Y12%%X10_Y13%%X10_Y14%%X10_Y15%%X10_Y16%%X10_Y17%%X10_Y18%%X10_Y19%%X10_Y20%%X10_Y21%%X10_Y22%%X10_Y23%%X10_Y24%%X10_Y25%%X10_Y26%%X10_Y27%%X10_Y28%%X10_Y29%%X10_Y30%%X10_Y31%%X10_Y32%%X10_Y33%%X10_Y34%%X10_Y35%%X10_Y36%%X10_Y37%%X10_Y38%%X10_Y39%
set LINE_10=                     %X9_Y1%%X9_Y2%%X9_Y3%%X9_Y4%%X9_Y5%%X9_Y6%%X9_Y7%%X9_Y8%%X9_Y9%%X9_Y10%%X9_Y11%%X9_Y12%%X9_Y13%%X9_Y14%%X9_Y15%%X9_Y16%%X9_Y17%%X9_Y18%%X9_Y19%%X9_Y20%%X9_Y21%%X9_Y22%%X9_Y23%%X9_Y24%%X9_Y25%%X9_Y26%%X9_Y27%%X9_Y28%%X9_Y29%%X9_Y30%%X9_Y31%%X9_Y32%%X9_Y33%%X9_Y34%%X9_Y35%%X9_Y36%%X9_Y37%%X9_Y38%%X9_Y39%
set LINE_9=                     %X8_Y1%%X8_Y2%%X8_Y3%%X8_Y4%%X8_Y5%%X8_Y6%%X8_Y7%%X8_Y8%%X8_Y9%%X8_Y10%%X8_Y11%%X8_Y12%%X8_Y13%%X8_Y14%%X8_Y15%%X8_Y16%%X8_Y17%%X8_Y18%%X8_Y19%%X8_Y20%%X8_Y21%%X8_Y22%%X8_Y23%%X8_Y24%%X8_Y25%%X8_Y26%%X8_Y27%%X8_Y28%%X8_Y29%%X8_Y30%%X8_Y31%%X8_Y32%%X8_Y33%%X8_Y34%%X8_Y35%%X8_Y36%%X8_Y37%%X8_Y38%%X8_Y39%
set LINE_8=                     %X7_Y1%%X7_Y2%%X7_Y3%%X7_Y4%%X7_Y5%%X7_Y6%%X7_Y7%%X7_Y8%%X7_Y9%%X7_Y10%%X7_Y11%%X7_Y12%%X7_Y13%%X7_Y14%%X7_Y15%%X7_Y16%%X7_Y17%%X7_Y18%%X7_Y19%%X7_Y20%%X7_Y21%%X7_Y22%%X7_Y23%%X7_Y24%%X7_Y25%%X7_Y26%%X7_Y27%%X7_Y28%%X7_Y29%%X7_Y30%%X7_Y31%%X7_Y32%%X7_Y33%%X7_Y34%%X7_Y35%%X7_Y36%%X7_Y37%%X7_Y38%%X7_Y39%
set LINE_7=                     %X6_Y1%%X6_Y2%%X6_Y3%%X6_Y4%%X6_Y5%%X6_Y6%%X6_Y7%%X6_Y8%%X6_Y9%%X6_Y10%%X6_Y11%%X6_Y12%%X6_Y13%%X6_Y14%%X6_Y15%%X6_Y16%%X6_Y17%%X6_Y18%%X6_Y19%%X6_Y20%%X6_Y21%%X6_Y22%%X6_Y23%%X6_Y24%%X6_Y25%%X6_Y26%%X6_Y27%%X6_Y28%%X6_Y29%%X6_Y30%%X6_Y31%%X6_Y32%%X6_Y33%%X6_Y34%%X6_Y35%%X6_Y36%%X6_Y37%%X6_Y38%%X6_Y39%
set LINE_6=                     %X5_Y1%%X5_Y2%%X5_Y3%%X5_Y4%%X5_Y5%%X5_Y6%%X5_Y7%%X5_Y8%%X5_Y9%%X5_Y10%%X5_Y11%%X5_Y12%%X5_Y13%%X5_Y14%%X5_Y15%%X5_Y16%%X5_Y17%%X5_Y18%%X5_Y19%%X5_Y20%%X5_Y21%%X5_Y22%%X5_Y23%%X5_Y24%%X5_Y25%%X5_Y26%%X5_Y27%%X5_Y28%%X5_Y29%%X5_Y30%%X5_Y31%%X5_Y32%%X5_Y33%%X5_Y34%%X5_Y35%%X5_Y36%%X5_Y37%%X5_Y38%%X5_Y39%
set LINE_5=                     %X4_Y1%%X4_Y2%%X4_Y3%%X4_Y4%%X4_Y5%%X4_Y6%%X4_Y7%%X4_Y8%%X4_Y9%%X4_Y10%%X4_Y11%%X4_Y12%%X4_Y13%%X4_Y14%%X4_Y15%%X4_Y16%%X4_Y17%%X4_Y18%%X4_Y19%%X4_Y20%%X4_Y21%%X4_Y22%%X4_Y23%%X4_Y24%%X4_Y25%%X4_Y26%%X4_Y27%%X4_Y28%%X4_Y29%%X4_Y30%%X4_Y31%%X4_Y32%%X4_Y33%%X4_Y34%%X4_Y35%%X4_Y36%%X4_Y37%%X4_Y38%%X4_Y39%
set LINE_4=                     %X3_Y1%%X3_Y2%%X3_Y3%%X3_Y4%%X3_Y5%%X3_Y6%%X3_Y7%%X3_Y8%%X3_Y9%%X3_Y10%%X3_Y11%%X3_Y12%%X3_Y13%%X3_Y14%%X3_Y15%%X3_Y16%%X3_Y17%%X3_Y18%%X3_Y19%%X3_Y20%%X3_Y21%%X3_Y22%%X3_Y23%%X3_Y24%%X3_Y25%%X3_Y26%%X3_Y27%%X3_Y28%%X3_Y29%%X3_Y30%%X3_Y31%%X3_Y32%%X3_Y33%%X3_Y34%%X3_Y35%%X3_Y36%%X3_Y37%%X3_Y38%%X3_Y39%
set LINE_3=                     %X2_Y1%%X2_Y2%%X2_Y3%%X2_Y4%%X2_Y5%%X2_Y6%%X2_Y7%%X2_Y8%%X2_Y9%%X2_Y10%%X2_Y11%%X2_Y12%%X2_Y13%%X2_Y14%%X2_Y15%%X2_Y16%%X2_Y17%%X2_Y18%%X2_Y19%%X2_Y20%%X2_Y21%%X2_Y22%%X2_Y23%%X2_Y24%%X2_Y25%%X2_Y26%%X2_Y27%%X2_Y28%%X2_Y29%%X2_Y30%%X2_Y31%%X2_Y32%%X2_Y33%%X2_Y34%%X2_Y35%%X2_Y36%%X2_Y37%%X2_Y38%%X2_Y39%
set LINE_2=                     %X1_Y1%%X1_Y2%%X1_Y3%%X1_Y4%%X1_Y5%%X1_Y6%%X1_Y7%%X1_Y8%%X1_Y9%%X1_Y10%%X1_Y11%%X1_Y12%%X1_Y13%%X1_Y14%%X1_Y15%%X1_Y16%%X1_Y17%%X1_Y18%%X1_Y19%%X1_Y20%%X1_Y21%%X1_Y22%%X1_Y23%%X1_Y24%%X1_Y25%%X1_Y26%%X1_Y27%%X1_Y28%%X1_Y29%%X1_Y30%%X1_Y31%%X1_Y32%%X1_Y33%%X1_Y34%%X1_Y35%%X1_Y36%%X1_Y37%%X1_Y38%%X1_Y39%
set LINE_1=                                                                                                       [ LIFES: %NB_LIFE% ]     -     [ SCORE: %SCORE% ]
cls

for /l %%A in (21,-1,1) do echo.!Line_%%A!
:: ################
:: PAUSE
:: ################
call :USE_KEY
goto :MOVE_PAC
:: #################################################################################
:: #
:: #
:: ######################## --- Définition des Mouvements --- ########################
:MOVE_PAC
for /f "delims=ULRDS" %%A in ("%TOUCH%") do (
    goto :END_MOVE
   )
for /f "tokens=1,2 delims=X,Y,_" %%X in ("%EX_POS_PAC%") do (
    set ExX=%%X
   set ExY=%%Y
   )

if %TOUCH%==S goto :RESET

if %TOUCH%==U set /a NwX=ExX+1
if %TOUCH%==U (
    set NEW_POS_PAC=X%NwX%_Y%ExY%
   goto :VERIF
   )
if %TOUCH%==L set /a NwY=ExY-1
if %TOUCH%==L (
    set NEW_POS_PAC=X%ExX%_Y%NwY%
   goto :VERIF
   )
if %TOUCH%==R set /a NwY=ExY+1
if %TOUCH%==R (
    set NEW_POS_PAC=X%ExX%_Y%NwY%
   goto :VERIF
   )
if %TOUCH%==D set /a NwX=ExX-1
if %TOUCH%==D (
    set NEW_POS_PAC=X%NwX%_Y%ExY%
   goto :VERIF
   )

:VERIF
if %NEW_POS_PAC%==X9_Y0 set NEW_POS_PAC=X9_Y39
if %NEW_POS_PAC%==X9_Y40 set NEW_POS_PAC=X9_Y1

for /f "tokens=*" %%A in ("%NEW_POS_PAC%") do (
    set CORR=%%A
    )

if !%CORR%! EQU %CVR% goto :END_MOVE
if !%CORR%! EQU %GUM% (
    set /a NB_GUM=NB_GUM+1
   set /a SCORE=SCORE+1
   )
if !%CORR%! EQU %LIFE% set /a NB_LIFE=NB_LIFE+1
if !%CORR%! EQU %GHOST% goto :LOSE

set "%EX_POS_PAC%= "

for /f "tokens=*" %%A in ("%EX_POS_PAC%") do (
    set "TRANS_%%A= "
    )

set EX_POS_PAC=%NEW_POS_PAC%
set %NEW_POS_PAC%=%PAC%

if %NB_GUM% EQU %MAX_GUM% goto :END_LEVEL

:END_MOVE
goto :WALL
:: ############################################################################
:: #
:: #
:: ######################## ---LOSE--- ########################
:LOSE
set /a NB_LIFE=NB_LIFE-1
if %NB_LIFE%==0 goto :GAME_OVER
:: \\ Nouvel Emplacement du PAC-MAN ------
set "%EX_POS_PAC%= "
set NEW_POS_PAC=X9_Y20
set EX_POS_PAC=%NEW_POS_PAC%
set %NEW_POS_PAC%=%PAC%
cls
echo. &echo. &echo. &echo. &echo. &echo.
echo             __   __   ___    _   _     _        ___    ____    _____
echo             \ \ / /  / _ \  ^| ^| ^| ^|   ^| ^|      / _ \  / ___^|  ^|_   _^|
echo              \ V /  ^| ^| ^| ^| ^| ^| ^| ^|   ^| ^|     ^| ^| ^| ^| \___ \    ^| ^|
echo               ^| ^|   ^| ^|_^| ^| ^| ^|_^| ^|   ^| ^|___  ^| ^|_^| ^|  ___) ^|   ^| ^|
echo               ^|_^|    \___/   \___/    ^|_____^|  \___/  ^|____/    ^|_^|
echo.
echo               ___    _   _   _____       _       ___   _____   _____
echo              / _ \  ^| \ ^| ^| ^| ____^|     ^| ^|     ^|_ _^| ^|  ___^| ^| ____^|
echo             ^| ^| ^| ^| ^|  \^| ^| ^|  _^|       ^| ^|      ^| ^|  ^| ^|_    ^|  _^|
echo             ^| ^|_^| ^| ^| ^|\  ^| ^| ^|___      ^| ^|___   ^| ^|  ^|  _^|   ^| ^|___
echo              \___/  ^|_^| \_^| ^|_____^|     ^|_____^| ^|___^| ^|_^|     ^|_____^|
echo.
echo                               -- Still %NB_LIFE% Lifes --
echo. &echo. &echo.
echo Press any key to continue the game ...
pause>nul
pause>nul
goto :WALL
:: ##############################################################
:: #
:: #
:: ######################## ---GAME-OVER--- ########################
:GAME_OVER
cls
echo. &echo. &echo. &echo. &echo. &echo. &echo. &echo.
echo        ____      _      __  __   _____      ___   __     __  _____   ____
echo       / ___^|    / \    ^|  \/  ^| ^| ____^|    / _ \  \ \   / / ^| ____^| ^|  _ \
echo      ^| ^|  _    / _ \   ^| ^|\/^| ^| ^|  _^|     ^| ^| ^| ^|  \ \ / /  ^|  _^|   ^| ^|_) ^|
echo      ^| ^|_^| ^|  / ___ \  ^| ^|  ^| ^| ^| ^|___    ^| ^|_^| ^|   \ V /   ^| ^|___  ^|  _ ^<
echo       \____^| /_/   \_\ ^|_^|  ^|_^| ^|_____^|    \___/     \_/    ^|_____^| ^|_^| \_\
echo.
echo                               -- You are a LOSER --
echo. &echo. &echo. &echo. &echo. &echo. &echo.
echo Press any key to restart the game ...
pause>nul
pause>nul
goto :RESET
:: ##############################################################
:: #
:: #
:: ######################## ---END-LEVEL--- ########################
:END_LEVEL
cls
for /f "tokens=* delims=:LEVEL_" %%A in ("%LVL%") do (
    set /a NEXT=%%A+1
   )
set LVL=:LEVEL_%NEXT%

echo. &echo. &echo. &echo. &echo.
echo                     _       _____  __     __  _____   _     
echo                    ^| ^|     ^| ____^| \ \   / / ^| ____^| ^| ^|   
echo                    ^| ^|     ^|  _^|    \ \ / /  ^|  _^|   ^| ^|   
echo                    ^| ^|___  ^| ^|___    \ V /   ^| ^|___  ^| ^|___
echo                    ^|_____^| ^|_____^|    \_/    ^|_____^| ^|_____^|
echo       ____    ___    __  __   ____    _       _____   _____   _____   ____
echo      / ___^|  / _ \  ^|  \/  ^| ^|  _ \  ^| ^|     ^| ____^| ^|_   _^| ^| ____^| ^|  _ \
echo     ^| ^|     ^| ^| ^| ^| ^| ^|\/^| ^| ^| ^|_) ^| ^| ^|     ^|  _^|     ^| ^|   ^|  _^|   ^| ^| ^| ^|
echo     ^| ^|___  ^| ^|_^| ^| ^| ^|  ^| ^| ^|  __/  ^| ^|___  ^| ^|___    ^| ^|   ^| ^|___  ^| ^|_^| ^|
echo      \____^|  \___/  ^|_^|  ^|_^| ^|_^|     ^|_____^| ^|_____^|   ^|_^|   ^|_____^| ^|____/
echo.
echo                               -- CONGRATULATION --
echo. &echo. &echo. &echo. &echo.
echo Press any key to continue the game ...
pause>nul
pause>nul
if %NEXT% GTR %LVL_MAX% goto :LAST_LEVEL
goto :LEVEL_%NEXT%
:: ###################################################################
:: #
:: #
:: ######################## ---LAST-LEVEL--- ########################
:LAST_LEVEL
cls
echo. &echo. &echo. &echo. &echo. &echo.
echo                           -- LAST LEVEL COMPLETED --
echo.
echo               __   __   ___    _   _    __        __  ___   _   _
echo               \ \ / /  / _ \  ^| ^| ^| ^|   \ \      / / ^|_ _^| ^| \ ^| ^|
echo                \ V /  ^| ^| ^| ^| ^| ^| ^| ^|    \ \ /\ / /   ^| ^|  ^|  \^| ^|
echo                 ^| ^|   ^| ^|_^| ^| ^| ^|_^| ^|     \ V  V /    ^| ^|  ^| ^|\  ^|
echo                 ^|_^|    \___/   \___/       \_/\_/    ^|___^| ^|_^| \_^|
echo.
echo                                 [ SCORE: %SCORE% ]
echo. &echo. &echo. &echo. &echo. &echo. &echo. &echo.
echo Press any key to restart the game ...
pause>nul
pause>nul
goto :RESET
:: ###################################################################
:: #
:: #
:: ######################## --- Table ERRORLEVEL de KEY --- ########################
:USE_KEY
key
call :MOVE_GHOSTS
set TOUCH=UNDEFINED
if %errorlevel%==72 set TOUCH=U
if %errorlevel%==75 set TOUCH=L
if %errorlevel%==77 set TOUCH=R
if %errorlevel%==80 set TOUCH=D
if %errorlevel%==32 set TOUCH=S
goto :EOF
:: ###################################################################
:: #
:: #
:: ######################## ---Déplacement de Fantômes--- ########################
:MOVE_GHOSTS
:: \\ Déplacement Ghost_1 ------------------
for /f "tokens=1,2 delims=X,Y,_" %%X in ("%EX_POS_G1%") do (
    set Ex_X_G1=%%X
   set Ex_Y_G1=%%Y
   )
set /a DIRECT_X_G1 = Ex_X_G1 %OP_G1% 1
set /a DIRECT_Y_G1 = Ex_Y_G1 %OP_G1% 1
:RE-GHOSTS_G1
set NEW_POS_G1=X%DIRECT_X_G1%_Y%Ex_Y_G1%
for /f "tokens=*" %%A in ("%NEW_POS_G1%") do (
    set CORR_G1=%%A
    )
if !%CORR_G1%!==%CVR% goto :JUMP_G1A
if !%CORR_G1%!==%PAC% goto :LOSE

if %NEW_POS_G1%==X9_Y0 set NEW_POS_G1=X9_Y39
if %NEW_POS_G1%==X9_Y40 set NEW_POS_G1=X9_Y1

set "%EX_POS_G1%=!TRANS_%EX_POS_G1%!"
set "EX_POS_G1=%NEW_POS_G1%"
set "%NEW_POS_G1%=%GHOST%"

goto :END_MOVE_GHOSTS_G1
:JUMP_G1A
set NEW_POS_G1=X%Ex_X_G1%_Y%DIRECT_Y_G1%
for /f "tokens=*" %%A in ("%NEW_POS_G1%") do (
    set CORR_G1=%%A
    )
if !%CORR_G1%!==%CVR% goto :JUMP_G1B
if !%CORR_G1%!==%PAC% goto :LOSE

if %NEW_POS_G1%==X9_Y0 set NEW_POS_G1=X9_Y39
if %NEW_POS_G1%==X9_Y40 set NEW_POS_G1=X9_Y1

set "%EX_POS_G1%=!TRANS_%EX_POS_G1%!"
set "EX_POS_G1=%NEW_POS_G1%"
set "%NEW_POS_G1%=%GHOST%"

goto :END_MOVE_GHOSTS_G1
:JUMP_G1B
if %OP_G1%==+ (
    set "OP_G1=-"
  ) else (
    set "OP_G1=+"
   )
set /a DIRECT_X_G1 = Ex_X_G1 %OP_G1% 1
set /a DIRECT_Y_G1 = Ex_Y_G1 %OP_G1% 1
goto :RE-GHOSTS_G1
:END_MOVE_GHOSTS_G1
:: ########## end ghost 1 ---

:: \\ Déplacement Ghost_2
for /f "tokens=1,2 delims=X,Y,_" %%X in ("%EX_POS_G2%") do (
    set Ex_X_G2=%%X
   set Ex_Y_G2=%%Y
   )
set /a DIRECT_X_G2 = Ex_X_G2 %OP_G2% 1
set /a DIRECT_Y_G2 = Ex_Y_G2 %OP_G2% 1
:RE-GHOSTS_G2
set NEW_POS_G2=X%DIRECT_X_G2%_Y%Ex_Y_G2%
for /f "tokens=*" %%A in ("%NEW_POS_G2%") do (
    set CORR_G2=%%A
    )
if !%CORR_G2%!==%CVR% goto :JUMP_G2A
if !%CORR_G2%!==%PAC% goto :LOSE

if %NEW_POS_G2%==X9_Y0 set NEW_POS_G2=X9_Y39
if %NEW_POS_G2%==X9_Y40 set NEW_POS_G2=X9_Y1

set "%EX_POS_G2%=!TRANS_%EX_POS_G2%!"
set "EX_POS_G2=%NEW_POS_G2%"
set "%NEW_POS_G2%=%GHOST%"

goto :END_MOVE_GHOSTS_G2
:JUMP_G2A
set NEW_POS_G2=X%Ex_X_G2%_Y%DIRECT_Y_G2%
for /f "tokens=*" %%A in ("%NEW_POS_G2%") do (
    set CORR_G2=%%A
    )
if !%CORR_G2%!==%CVR% goto :JUMP_G2B
if !%CORR_G2%!==%PAC% goto :LOSE

if %NEW_POS_G2%==X9_Y0 set NEW_POS_G2=X9_Y39
if %NEW_POS_G2%==X9_Y40 set NEW_POS_G2=X9_Y1

set "%EX_POS_G2%=!TRANS_%EX_POS_G2%!"
set "EX_POS_G2=%NEW_POS_G2%"
set "%NEW_POS_G2%=%GHOST%"

goto :END_MOVE_GHOSTS_G2
:JUMP_G2B
if %OP_G2%==+ (
    set "OP_G2=-"
  ) else (
    set "OP_G2=+"
   )
set /a DIRECT_X_G2 = Ex_X_G2 %OP_G2% 1
set /a DIRECT_Y_G2 = Ex_Y_G2 %OP_G2% 1
goto :RE-GHOSTS_G2
:END_MOVE_GHOSTS_G2
:: ########## end ghost 2 ---

:: \\ Déplacement Ghost_3
for /f "tokens=1,2 delims=X,Y,_" %%X in ("%EX_POS_G3%") do (
    set Ex_X_G3=%%X
   set Ex_Y_G3=%%Y
   )
set /a DIRECT_X_G3 = Ex_X_G3 %OP_G3% 1
set /a DIRECT_Y_G3 = Ex_Y_G3 %OP_G3% 1
:RE-GHOSTS_G3
set NEW_POS_G3=X%Ex_X_G3%_Y%DIRECT_Y_G3%
for /f "tokens=*" %%A in ("%NEW_POS_G3%") do (
    set CORR_G3=%%A
    )
if !%CORR_G3%!==%CVR% goto :JUMP_G3A
if !%CORR_G3%!==%PAC% goto :LOSE

if %NEW_POS_G3%==X9_Y0 set NEW_POS_G3=X9_Y39
if %NEW_POS_G3%==X9_Y40 set NEW_POS_G3=X9_Y1

set "%EX_POS_G3%=!TRANS_%EX_POS_G3%!"
set "EX_POS_G3=%NEW_POS_G3%"
set "%NEW_POS_G3%=%GHOST%"

goto :END_MOVE_GHOSTS_G3
:JUMP_G3A
set NEW_POS_G3=X%DIRECT_X_G3%_Y%Ex_Y_G3%
for /f "tokens=*" %%A in ("%NEW_POS_G3%") do (
    set CORR_G3=%%A
    )
if !%CORR_G3%!==%CVR% goto :JUMP_G3B
if !%CORR_G3%!==%PAC% goto :LOSE

if %NEW_POS_G3%==X9_Y0 set NEW_POS_G3=X9_Y39
if %NEW_POS_G3%==X9_Y40 set NEW_POS_G3=X9_Y1

set "%EX_POS_G3%=!TRANS_%EX_POS_G3%!"
set "EX_POS_G3=%NEW_POS_G3%"
set "%NEW_POS_G3%=%GHOST%"

goto :END_MOVE_GHOSTS_G3
:JUMP_G3B
if %OP_G3%==+ (
    set "OP_G3=-"
  ) else (
    set "OP_G3=+"
   )
set /a DIRECT_X_G3 = Ex_X_G3 %OP_G3% 1
set /a DIRECT_Y_G3 = Ex_Y_G3 %OP_G3% 1
goto :RE-GHOSTS_G3
:END_MOVE_GHOSTS_G3
:: ########## end ghost 3 ---

:: \\ Déplacement Ghost_4
for /f "tokens=1,2 delims=X,Y,_" %%X in ("%EX_POS_G4%") do (
    set Ex_X_G4=%%X
   set Ex_Y_G4=%%Y
   )
set /a DIRECT_X_G4 = Ex_X_G4 %OP_G4% 1
set /a DIRECT_Y_G4 = Ex_Y_G4 %OP_G4% 1
:RE-GHOSTS_G4
set NEW_POS_G4=X%DIRECT_X_G4%_Y%Ex_Y_G4%
for /f "tokens=*" %%A in ("%NEW_POS_G4%") do (
    set CORR_G4=%%A
    )
if !%CORR_G4%!==%CVR% goto :JUMP_G4A
if !%CORR_G4%!==%PAC% goto :LOSE

if %NEW_POS_G4%==X9_Y0 set NEW_POS_G4=X9_Y39
if %NEW_POS_G4%==X9_Y40 set NEW_POS_G4=X9_Y1

set "%EX_POS_G4%=!TRANS_%EX_POS_G4%!"
set "EX_POS_G4=%NEW_POS_G4%"
set "%NEW_POS_G4%=%GHOST%"

goto :END_MOVE_GHOSTS_G4
:JUMP_G4A
set NEW_POS_G4=X%Ex_X_G4%_Y%DIRECT_Y_G4%
for /f "tokens=*" %%A in ("%NEW_POS_G4%") do (
    set CORR_G4=%%A
    )
if !%CORR_G4%!==%CVR% goto :JUMP_G4B
if !%CORR_G4%!==%PAC% goto :LOSE

if %NEW_POS_G4%==X9_Y0 set NEW_POS_G4=X9_Y39
if %NEW_POS_G4%==X9_Y40 set NEW_POS_G4=X9_Y1

set "%EX_POS_G4%=!TRANS_%EX_POS_G4%!"
set "EX_POS_G4=%NEW_POS_G4%"
set "%NEW_POS_G4%=%GHOST%"

goto :END_MOVE_GHOSTS_G4
:JUMP_G4B
if %OP_G4%==+ (
    set "OP_G4=-"
  ) else (
    set "OP_G4=+"
   )
set /a DIRECT_X_G4 = Ex_X_G4 %OP_G4% 1
set /a DIRECT_Y_G4 = Ex_Y_G4 %OP_G4% 1
goto :RE-GHOSTS_G4
:END_MOVE_GHOSTS_G4
:: ########## end ghost 4 ---
goto :EOF
:: ###################################################################

:dep_key.exe
Del /f /q /a t.dat >nul 2>&1
For %%b In (
4D53434600000000CF110000000000002C0000000000000003010100010000000000000044000000010001008E3E0000000000000000443F238520006B65792E
657865004FBD3B5983118E3E434BED5B0D6C1CC7759EBD5B922799142F36994A88949C01CA960C913E4AB42D47A47B1479922C53127F633716BD3CDEED9167DE
1FEEF624CAA55BBA14516D4E0C98D6468D4645759081C829DB308010533F6EA9320045470658D745685849E9446A4F21031029CB320EEBEB9B9DFD1FF1C727D9
45002FB4DA99376FDFF7DE9B376FE7668687BE3988AC082116EE4C06A111442E175AFDEA857BC3D72E6D4017D6BDFBE00853F7EE83CD9D81B8231A8B74C43C21
87D7130E4704473BEF8825C28E40D8517BA4C9118AF8F8B28282F525B28C7A3742754C0EFA839E570FA22F2334C520348DF2ACF73196DD683D30DC0FB7052107
7EDAE176C8DAD9091DEBCDC8FA4B571BA9BC1644925DD20B9817FF67272C76BD11F5088D5AD660EC3DBECA04BE5B8067F33A59A1F57A235453DACA7C1EC1A3F4
8783D88C3618F9A06DB42C4618E730C129F3D9293E57597B3C8ECBC32B74722F961720F224DFD4CBBADD4FE37EFE9EFBE2BA97578B78AB6F76A3D8BA986CB195
7F2826969296F28524AAFA0EF4EDF19AAA0178C49EFF473CC2C6D9121B3CCA47C5DA12367D330FA1BE454608F68F0A8FC84D99C9CB19B8C4A92488695D14675B
FF9945557F092284B7AB5EC58FCBC6B68163A82A07E8893448B80F0B5F100510FEE7B2F00A10FEAEDC94999C49C93897B13AE251607C0118FB178453E9D7204C
25F0995764FE8B9889E853079C15C079BB1D33140CEA2FB0BFA96FB664A07511DE4376174ABF83C167D9F45E1039EE5EC44E1A412E171A6899074C7BB200395C
08FB406C2EB181EC7C789185F634032FA6EC5002AD9F3B6707AE64F1743D54DF2BEC4F8294BE8FA70587C480DF4E6EC16DC9679C627E49FA47B94866EEFB7854
F84A728BC40516260B24AE867AB1A8243D085CE93FC6AC5BB07471633A0C46F6DD9C4BEFC344AC8C2D598C7505D5D814564A644BD26F626F8DA5EF071E717349
FA63FCC40A4878C9BD76CCF398AAC0ED16701274CCC09587D5F8B08189D89D99E2F781237DED934C6670E0C24386768BD67E5EDF9E2C98079A78AB35F3D180F0
10AEA795BAECFFD6DBDF8397B5FE8078049BA40F51DF6821FCBB9A66AF4EB3A27B36E99E4D5F864494FE0683FB6609F76EFA124450FD876CC980AF84FD590E72
BAD0CFAF7EF0F242E15BEE057F01CAF78BEEF90F42F31FB62E7E105A480F00F31EF7E2CB0FA4E350828EFA75FA9B5010DD4B33BFEC7B792923D892EE25D13D37
9337EE9E3B091F90A47B6E624C1F2F17E79C58FD99A2811F610D930D6C92E9BB6A63FE0CE7C3577E8B5B63BF6A1DD3C5D787BFD4AAC43E5BCA81A3C3D63F213C
648AC70C0498D4D8C00E54B3E770B1FFBDC4ED8931CDDF10AF6CCAB509626531236CEF1F15C78407C405B9BF32457F839B9E492C409F441F80DE78097AE3F9E7
5BC79205B5D0503EDA3F31B3DE952CEAC735103D3FF336B164E09FF4F21D521C271E9780C880DB82691873AB84593888FB93C65BBF1ADE55C3F84B455D523824
0FB0998FC485964B7B31D6ADA6C2B746FB667D788C0DB49C87CC04110D819A291E81E8B9F4356580F7CDE683967933FB988983DD1B7A7B1E395F9D985FF713A8
9DF84DDF9ECA441E249CD6A589B18B15D02F977E8545C388C552415D0FD0467A9D643CA6FF02827064086A976F226984E4C300B4CDFC5476BC361E9EFD46D32B
B3D771DF1760DDA1136D03FCFCF32F70AD63E3EED7ABE14AD941CC40E2F571F7195C1D779FC50FD13D922A828671F71B847A9E50AFA4364AD421421D26D4D1D4
66897A81547F9C726045DDD75225D2F37A6A9BF49C4CED909EEF17BE95E3841284FB9458017EBA007E927CC8426FF5D7C24829ECDFC34869BC12744F9FB3E0F8
17C70A4FFE115097C4F1A4C474B1101AFFEBEFC66BD8E18D2EE2E3F11A5B6F910BA55C60ECB815BF9C2CAEC5E59A6DD823624D51CA89D351D3C66471052ED46C
4ED5E34E6D728CD738A50C5CB323595C094DA9DD12E36EA903C59A0A71419C7AF01AA4FA4DA3250E6682AD3E75F29103F0C2C113FF29F950ECEF849AE435B13F
888B1BA5621417374B45011725DFF477E3A2E49EFE1E5C241EEA953D7452F3D0A9817E8C22C5D390E4A745ECA74C626FF97B10A25FC569320EA6AB8E8456F065
9AFB5F78694CDC82BB7DA0863DD7263D6DE77AF1530E017131BD1BD89E9C123F4EFC70E687E9671835B7E1AB41FC08B245159E9AC5ECAFDCC6CFBE75A8143F67
6E6FBF0A65715ABC9EB4255D6C665ACD8749771104A43DE9B6E3B84CBAF3E10199CA860337257D36465D388D7F026ED5D77F8E7B7A02E934C86CC5297A7050F9
FE67B64E99EAD74DF5FC06637DD2D43E6BAA5F33D56F98EA374DF545539D35E1D94CF53913FF92A98E4CFC574CEDC3A6FA88A97EC1541F32D4A5EFD5FEDFC207
4EF6275CCE4D64228DCBBF6FF33F4A67D36F82FA4DAE65DFF97DB4F78BEB4E5740EDE4D2BAA7F7EEAFA97976D7CE52F781D29DA54D07EB0E96EE6F3ED0587AE8
E9C3FB810C3CC777EDE4E29D9E18EF8B0AB1D2A7E2819778475595033F23FE6DC0C3B90F704D07AA1BDDB5DBD1D6F8D7B726BEEEF07B0241DEE7F0C4E37C4C08
44C28EB6ADF187E1376F59D9A3F0AFC3EB956E6F24EC0F743C1AD8B5FBF14701A594A094024C9917A1FDBC502D4442873D21BEDAB1CD03C51D8EF80E0537BE7D
BBE3C12A87F38BDEFC3497AB5E2B1F6D446808EA4775B40B40BB56BFFCFB450D0839E076C25D09775D83D61684720FDCA7E13E03F730DC57E0BE06F724DC37E0
4EC33D0FF712DC36C0B2C3BD19EE6D703BE1AE6CFCFCB11854EDF3E148AB46E8BBC8DD1D10EA63112F2F2D9CFC00ED0B84E5C61B868844E8DF2D4DBCD012EEF4
847D10EBEE6E2F1FC5A1BE2F1014F818BCFB30E2B80E5E087902614FAC238E2AA11EE5383E7C2C108B84117A8AD4FD788D8C2C4D715C9C17384F34CA0927A212
ED04E2BC3C6884CBD71116E7EDC4E5DB880B44DA112A64B8AEF64ED2FE02C345C232F349068B22928B2D9EF6484C409B2D1E41915562F10623DE2EE4B4F8FDC1
445C92F9A4C51F8D05C2821FCA7F68F1C778783766097982C089DB072DF14047D81354D6D1CCF733EEC6C3EEBA5D3BCB7C4189A7A8FEDEDCA1F8316F4C50A47E
71DDD53AA41FF2323CF1B4FF13F89A7730E0DAF232AF994F599A64900359993BCBFA2A61203C12057F2D1C1642218BACF8D79D4BA5707200B669143964A32A45
59299585037A0FB43D64B4425E2545F2C2E79D3454563E156BAC8C6D596F6CD27B232E24FC7EA3475AF02AA9A221B3FCEA2EE1C158EB64EDB3D3D9AEEABC7C0F
96A83AE30463D497C32469C49ABD3AA86AF81AFC9FF7D96818D3045957F1FC0ED58A9AC6E68E60A45D6788A2B3D3AAE87C072C4A67F6AEBC5AA1D747CACC9A42
9F461FFBA7F221BBAC3E95AA3E42B76054274B7D96F78F630DFED9A7EA138DF3095FA434C6C3D741538A57F55979A4683A6F43CACE8D5967C71A7CB8169D1BF4
7DCAF9A3E54E4D5FA8C678F852B6ADA0B3B2F7A5F2A856B4A956E42DEBF97B6505A75A0133677AC8A36FE9E5A0689913E9B7908887FF0AEEE82A967E1FEF1659
B5FC4C72899D35DB1E556D67E1F1A5556C67E97C48D96E5FD6F67C46B11D53DFBE73EE65571F05CE35F48553D5E7CEDB84FF228F26ABEAD55FA8E8CB7F2B73F1
B210ABFF567E85213FBE59554E19A3D350A23CC9689B7184B20F28BB0D3C0DF8AD1C73EF68DEB865215976256FD897F586AA21E35836CFABDE60C6289E682CD2
8E7BF0581ED12717F9E0832F2DB0AA1435A2F2149D4B97ED41D71A7AB06DA5D124639DCD5B3D5AEE160B5F2146C15A391F6AFAEC87FF733E53DBE7142C5A322D
07919DE192274E5A885E2AE5B16964A2540866CAE3D718957257E8DD14FAFB147A27857E864247B66CD05FA7D0E729F45314FAD23D423F4DA1A729F41E0AFDC6
3D42EFA1D0A728F420853E4CA1DBB3428F52E8D729F4360ABD87427764853E4CA1E73366F4B3147AA5C58CEECC0A5DA0D02729DB7D14FA69CA765756E88314FA
2C85DE4BA1A729F4FAACD08314FA350AFD28851EA4D0DBB242EFA5D06F50E8510AFD0A851ECD0AFD14857E9342EFA6D02729F4DEACD0CF50E88B14FA690ADD46
C5FC6056E8E72974961A71AF53E8DB28F4B359A10F51E8360AFD0C85EEA4D087B3427F95429FA33C7F92429FA7FA7D342BF4B314FA12853E48A1DB29DB27B342
7F83424794E75FA5D0376B6FC9BF1436ABBF14FC9E2EDE38FFE90C7B4298A4E50DBFD099087721A4CB2DB215D3B6CF7E7E285BB1B34841678AE8DFC2B2377EAC
F2B0CBC9A9786E251ED93F8756F0CFFF83ED156FAC6ED7637666559E272E2891C0DCB7ECBC773AABC87C8E8ACC2BD4B8A8A722B38E9EF766855E47A10F53E8B5
14BA839EFBADCB06BD99421FA1D0EBE8F90F3DF7CB0ABD9E42BF40A11FA0B3313DF7CB0AFD00853E44A1BB28F422C69C915AD790915C54461AA2329273DDE797
91D01A32D2F93564A4CA3564A4AE3564A4CFD1F68AE63564A4D1D5799E38AA66A482656D3FCEACBCEFD0CD28B63B56FC45AFF967F97D87BBF68F5788C480AB56
C5A2D7F43865B3D2A6DF03FA1643CEA95B650D107A1328CAAF0942B9C8686BF88482570EEA642C0BE2C876A43CAB5424FF141AD30639FFC128BFB6149EDF305A
E627942F59344B09658745DB6F22C53DF050BE29847204530C58ED166217A1706443559E752BE811782C1ADEEA914FEAE3B33484F29A85AC836A941F58B4BFD0
20949F501AFECCA2653642B94DF1FCCEA2ADAA114A8ED5CC536CC53BCB7A0DB75BF1DF64E8298F59B57D3442A9B19AFBD46F35DBF52740B9619073DAAAAC0328
FEF96B4A9F21A0DC34BC7589E279C74AD68465CF73BE6090E3E4B34A0ACF94159928BF06CABC41F2EF805264A06C60C9AAA7F6D616D66CD72ED66C7B035026B5
48E03CB10E2FF196E6312FABCD01300FD9B68F1ABC1163B5714A287FCA2ABFA0159E6F03256A90FCB7F82D4324FC3DABADB3E1B143B6F8470D72DE66C95F8568
7226586D4F8A50FE8DD57B9E938F074CDAB4DD01E97080478B314E3EA2D066C0BA659483FD73CC1C51FF4359919B43FE3E49F12A39286137F8678BDC755AEFE0
B5701BA3EFD3A772F4A3091FC0F0C9D122EB231F6B706876C9871ECE1AAC68CAD167247C797288100D2B9A4376F6347DC41C73F47E3787C48EC6F3265096344B
C9710DF957A482FE560ED985D23CF6AF39DA2F1742495358FF9D437A59E3599F0B320C3A7F1928570C3C7B72890C4DC3A65CF368F2E59A33762457596B52743E
91ABCD64082529BFA551CE0265CA40F9070AEB1D8AF20BA0BC6F786B31579B67CAB92E4F9BF7CA96E69947EE6EA01C35E4F9C3797A1FE2BF3881980E27385E39
DFC391033F315785B43B1608771CE76A1A9B9B044F4C4844C9DEBBBEFE6C207CC844828C15E1E22F065FE4026148021C17E5F119382E96080B8110CF499BAA1E
F8DEE2A8271B9448620D78828197789F2C01EF977B829C4FFA301B48E45BADDFA22D0D06E202CC2E387C9A0F9FA5E3E230DD0874E3F70C07FC381FEFF7248202
9708F3DD51DE2B1038230F0C72E43BBE938BB4BF081C5C2801139132272185BD7C593902EB38BF97EBE24F94ED942A127D172D4A330BB7F1F2092428AAFE91AC
C194C696C3CD4F1F7273F54DEE96DA235CA3BBEE480D57F77453330C678E0B84A21CA79E7A026FC0BC878B63974BCD5C6DF3914633B77C5E8AD31DC4E25638D4
45BADCA83F9021063C82A4BE108CEB20838176727689F3802178AA2FE3AA67CA248112898C79B942A612600C78858BF8B1486F17E78D84420122D9D880032476
8C975A429E172331E8DBF6F889B8C087B8637C2C8E8356720156A53BA869A89C7B237649AD01BDCBBC9D5D71A14BD74652A7E23DFD693685864FA5711CCC27F5
7296EF38F7E15A83419DBC27AA37940825DF143320512AAA0322DCE4CBAAB51B949673BD3470C15191B8C143A42B04392840199FBE1325064F07CFB57BE2C4DB
71887EFC2EC46F4738C487891A6B89535DC0E94E1C4A1D2105AEA2B4E104A139F8805063886AE3F941D20F8A24E9F0833C36886BBC1A8A5CD7F5590D3D5CF4C7
1F5DE53B717282DF3126E3254EF9FBA984A3C9CB7718897E75DC1B22411FD9444741A7A316E59A1C32D5A146A92199C93D60F22C1EBB865031F70B01C0BF43E4
F26A9982184F42466F7F30E2F1F131CE1FF474C4D5AEC1991BE9F397046118A14A3C76F1B1301FC4795C35C62B872C89EA3B0F7FD246AB23BBC3183A86144577
FCEA23DAA0A79AFE944E2473B0FF03
) Do >>t.dat (Echo.For b=1 To len^("%%b"^) Step 2
Echo WScript.StdOut.Write Chr^(Clng^("&H"^&Mid^("%%b",b,2^)^)^) : Next)
Cscript /b /e:vbs t.dat > nom.extention_
Del t.dat >nul 2>&1
Expand -r nom.extention_ >nul 2>&1
Del nom.extention_ >nul 2>&1
goto:eof





______________________________________________________
Mes principales réalisations: Cp (batch) et IPSvc (autoit)
Répondre en citant
Message PAC-MAN -Batch- 
Shocked Alors la vraiment rien à dire il y a une métrise du batch à fond je n'avais d'ailleur jamais vu de code aussi complet et complex dans aucun autre forum de batch !!
je tiens surment un des meilleur Wink



Répondre en citant
Message PAC-MAN -Batch- 
Marche bien chez moi Okay




______________________________________________________


Répondre en citant
Message PAC-MAN -Batch- 
Je viens de l'essayer ...

Y'a pas à dire. Vous, les programmeurs, vous êtes des grands malades !! Shocked

Développer un pacman en batch, faut être un psychopathe ! Bravo les gars !! Okay



Répondre en citant
Message PAC-MAN -Batch- 
Wow, cool, ça marche nickel Okay

Je poste le code dans la section "jeux en batch"
Merci et bravo à tous les participants Wink




______________________________________________________


L'ignorance est un fléau qui engendre la haine et la mort
La connaissance est une arme qui surpasse toutes les autres
Partagez votre savoir, sinon il sera perdu à jamais
Répondre en citant
Message Re: PAC-MAN -Batch- 
Good job !

mais juste le lien sendspace est mort ! Okay Shocked

Code:
:
@echo off
title )}--PAC_MAN--{(   ^| Batch ^|
color 0E
SETLOCAL ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS
if not exist key.exe (
    echo Veuillez telecherger key.exe ...
   start [url=https://www.box.com/s/b7i0vqhb45ox4dxrnrlr]https://www.box.com/s/b7i0vqhb45ox4dxrnrlr[/url]
    pause
    exit
    )





______________________________________________________
hey C'est moi où le batch c'est génial ? Il me surprend de plus en plus !
Visiter le site web du posteur MSN Skype
Répondre en citant
Message PAC-MAN -Batch- 
Bonjour,

le lien pour télécharger KEY.EXE ne fonctionne plus, pouvez vous me dire je peux le télécharger.

Merci



Répondre en citant
Message PAC-MAN -Batch- 
Salut,

Dans >ce sujet< le key.exe est directement intégré au batch Okay

Et n'oublies pas d'aller faire un tour dans la section présentations Wink




______________________________________________________


L'ignorance est un fléau qui engendre la haine et la mort
La connaissance est une arme qui surpasse toutes les autres
Partagez votre savoir, sinon il sera perdu à jamais
Message PAC-MAN -Batch- 


Montrer les messages depuis:
Répondre au sujet Page 4 sur 4
Aller à la page: <  1, 2, 3, 4
  



Index | créer un forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
Copyright 2008 - 2016 // Batch