forked from CXUtk/WireShark
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
174 changed files
with
4,958 additions
and
821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Wireshark | ||
|
||
Wireshark is a wire accelarator for terraria, which can run in both jit and aot mode. | ||
|
||
### Usage | ||
|
||
#### JIT mode | ||
|
||
Just load WireShark mod into the game and enjoy | ||
|
||
#### AOT mode | ||
|
||
Now that only Windows platform is supported, but migrating to other platforms is easy. | ||
|
||
1. Codegen | ||
|
||
Load WireShark mod into game, and enter the map once. The mod will write `impl.cpp` into your mod folder. | ||
|
||
2. Compile | ||
|
||
move the file `impl.cpp` to WireSharkLib folder and run cmake, release mode is suggested. | ||
|
||
3. Run | ||
|
||
move the `libWireSharkLib.dll` to your mod folder, **disable the WireShark mod** and load WireSharkRuntime mod into the game and enter the same map as which you run codegen on. |
Oops, something went wrong.