Skip to content

Commit 8ae2e15

Browse files
YommyYommy
Yommy
authored and
Yommy
committed
Commit rewrite <3
todo : edit full_info.php to show enums todo : add support for new modes ( removing full_info specific output from parser_cls.php )
1 parent eff2ebc commit 8ae2e15

21 files changed

+30795
-3
lines changed

bin/p.exe

71.5 KB
Binary file not shown.

bin/p.php

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
$clients = glob("*.exe");
3+
if(sizeof($clients) == 1)
4+
die("Place a ragnarok client into this folder\n");
5+
6+
foreach ($clients as $i => $client) {
7+
$filename = basename($client);
8+
echo "$i : $filename\n";
9+
}
10+
fwrite(STDOUT, "\nInject dll into which client? : ");
11+
$choice = trim(fgets(STDIN));
12+
if (!isset($clients[$choice])){
13+
die("Bad Choice\n");
14+
}
15+
$client = basename($clients[$choice]);
16+
$rename = basename($clients[$choice], ".exe");
17+
exec("p.exe $client wpp.dll");
18+
rename($client.".patched", $rename."_wpp.exe");
19+
echo "Copy patched client and wpp.dll to RO folder <3\n";
20+
?>

bin/patcher.bat

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@echo off
2+
php "p.php"
3+
pause

bin/wpp.dll

72.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)