Skip to content

Commit 7c1d19d

Browse files
committed
2.2.0 update
1 parent 2ec1367 commit 7c1d19d

53 files changed

Lines changed: 2036 additions & 2036 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1+
/donor/
12
build/
23
__pycache__/
34
*.pyc
4-
*.z64

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SM64Net - An Internet framework for SM64
2-
Copyright (C) 2019 - 2021 devwizard
2+
Copyright (C) 2019 - 2022 devwizard
33

44
This project is licensed under the terms of the GNU General Public License
55
version 2. See `LICENSE` for more information.
@@ -32,7 +32,7 @@ Use WSL to compile the server on Windows.
3232

3333
### Dependencies (Server)
3434
* `apt install make gcc-mips-linux-gnu`
35-
* `pip install windows-curses`
35+
* `pip install windows-curses` **(Windows)**
3636

3737
## Client
3838

@@ -51,4 +51,4 @@ Use WSL to compile the server on Windows.
5151

5252
### Dependencies
5353
* `apt install make gcc gcc-mips-linux-gnu libftdi1-dev`
54-
* An English SM64 ROM - Name it `UNSME0.z64` and place it in `usb/`.
54+
* An English SM64 ROM - Name it `UNSME0.z64` and place it in `donor/`.

client/makefile

Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,19 @@
11
# SM64Net - An Internet framework for SM64
2-
# Copyright (C) 2019 - 2021 devwizard
2+
# Copyright (C) 2019 - 2022 devwizard
33
# This project is licensed under the terms of the GNU General
44
# Public License version 2. See LICENSE for more information.
55

6-
VERSION := 2.1
7-
REVISION := 0
6+
.PHONY: default
7+
default: build/sm64net build/sm64net.exe build/sm64net_usb
88

9-
CC := cc
10-
CCFLAG := -I ../include -D _VERSION=\"$(VERSION)\" -D _REVISION=\"$(REVISION)\"
11-
CCFLAG += -D _NATIVE -Wall -Wextra -Wpedantic -O2
12-
13-
OBJ := \
14-
build/sm64net \
15-
build/sm64net_usb \
16-
build/sm64net.exe \
17-
build/SM64NetLauncher.exe
18-
19-
default: $(OBJ)
20-
21-
SRC := src/client/main.c src/client/mem.c src/client/net.c
9+
SRC := src/main.c src/net.c src/mem.c
2210
build/sm64net: $(SRC)
23-
build/sm64net.exe: CC := i686-w64-mingw32-gcc -mconsole -D _WIN32_WINNT=0x0600
24-
build/sm64net.exe: LIB := -l ws2_32
2511
build/sm64net.exe: $(SRC)
12+
build/sm64net.exe: CC := i686-w64-mingw32-gcc -mconsole -D_WIN32_WINNT=0x0600
13+
build/sm64net.exe: LIB := -lws2_32
2614

27-
SRC := src/client/main.c src/client/mem_usb.c src/client/net.c
28-
build/sm64net_usb: LIB := -l ftdi
15+
SRC := src/main.c src/net.c src/mem_usb.c
2916
build/sm64net_usb: $(SRC)
17+
build/sm64net_usb: LIB := -lftdi
3018

31-
SRC := src/launcher/main.c src/launcher/window.c src/launcher/config.c
32-
build/SM64NetLauncher.exe: CC := i686-w64-mingw32-gcc -mwindows
33-
build/SM64NetLauncher.exe: LIB := -l comctl32
34-
build/SM64NetLauncher.exe: $(SRC)
35-
36-
build/%: | build
37-
@$(CC) $(CCFLAG) -o $@ $^ $(LIB)
38-
39-
build:
40-
@mkdir -p $@
41-
42-
clean:
43-
@rm -rf build
44-
45-
.PHONY: default clean
19+
include ../include/native.mk

client/src/client/mem.c

Lines changed: 0 additions & 203 deletions
This file was deleted.

client/src/client/mem_usb.c

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)