From fbc94b02789a7012a5ce228b94cd6bfc3abb1fbd Mon Sep 17 00:00:00 2001
From: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com>
Date: Fri, 19 May 2023 18:21:17 -0500
Subject: [PATCH 1/7] Update run_with_tcc.bat
---
run_with_tcc.bat | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/run_with_tcc.bat b/run_with_tcc.bat
index 476fe4e..d04d09d 100644
--- a/run_with_tcc.bat
+++ b/run_with_tcc.bat
@@ -1,11 +1,11 @@
@echo off
-set SDL2=third_party\SDL2-2.24.1
+set SDL2=third_party\SDL2-2.26.5
IF NOT EXIST "third_party\tcc\tcc.exe" (
ECHO:
ECHO ERROR: src\third_party\tcc\tcc.exe doesn't exist. Please verify that you have put it in the right location.
- ECHO Download it from https://github.com/FitzRoyX/tinycc/releases/download/tcc_20221020/tcc_20221020.zip
+ ECHO Download it from https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20230519.zip
ECHO It needs to be the 64-bit version.
ECHO:
PAUSE
@@ -17,7 +17,7 @@ IF NOT EXIST "third_party\tcc\tcc.exe" (
IF NOT EXIST "%SDL2%\lib\x64\SDL2.dll" (
ECHO:
ECHO ERROR: SDL is not unzipped properly into %SDL2%
- ECHO Download it from https://github.com/libsdl-org/SDL/releases/download/release-2.24.1/SDL2-devel-2.24.1-VC.zip
+ ECHO Download it from https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-VC.zip
ECHO:
PAUSE
EXIT /B 1
From 2fa1c5dd80d4a9f7cf7fe1b4a32b9f736c50a580 Mon Sep 17 00:00:00 2001
From: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com>
Date: Fri, 19 May 2023 18:22:35 -0500
Subject: [PATCH 2/7] Update BUILDING.md
---
BUILDING.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BUILDING.md b/BUILDING.md
index e40b009..0da0fbf 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -54,7 +54,7 @@ Download VS installer. On installer prompt, make sure you're on "Workloads" and
## Building with Tiny C Compiler
Dependencies and requirements:
- * You'll need [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20221020/tcc_20221020.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.24.1/SDL2-devel-2.24.1-VC.zip) in order to compile using TCC.
+ * You'll need [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20220519.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-VC.zip) in order to compile using TCC.
1. Unzip both TCC and SDL and place them in `third_party` folder.
2. Double click `run_with_tcc.bat`
From 712a988bbcc0d6010c3a6ea26b1f1733b6d0b844 Mon Sep 17 00:00:00 2001
From: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com>
Date: Wed, 31 May 2023 04:49:51 -0500
Subject: [PATCH 3/7] Update BUILDING.md
---
BUILDING.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BUILDING.md b/BUILDING.md
index 0da0fbf..01f50b7 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -54,7 +54,7 @@ Download VS installer. On installer prompt, make sure you're on "Workloads" and
## Building with Tiny C Compiler
Dependencies and requirements:
- * You'll need [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20220519.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-VC.zip) in order to compile using TCC.
+ * You'll need [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20230519.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-VC.zip) in order to compile using TCC.
1. Unzip both TCC and SDL and place them in `third_party` folder.
2. Double click `run_with_tcc.bat`
From 175df8feab4d338fea5179a6e9fb58fbb65910ab Mon Sep 17 00:00:00 2001
From: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com>
Date: Mon, 21 Aug 2023 01:16:30 -0500
Subject: [PATCH 4/7] Update run_with_tcc.bat
---
run_with_tcc.bat | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/run_with_tcc.bat b/run_with_tcc.bat
index d04d09d..e38105c 100644
--- a/run_with_tcc.bat
+++ b/run_with_tcc.bat
@@ -1,6 +1,6 @@
@echo off
-set SDL2=third_party\SDL2-2.26.5
+set SDL2=third_party\SDL2-2.28.2
IF NOT EXIST "third_party\tcc\tcc.exe" (
ECHO:
@@ -17,7 +17,7 @@ IF NOT EXIST "third_party\tcc\tcc.exe" (
IF NOT EXIST "%SDL2%\lib\x64\SDL2.dll" (
ECHO:
ECHO ERROR: SDL is not unzipped properly into %SDL2%
- ECHO Download it from https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-VC.zip
+ ECHO Download it from https://github.com/libsdl-org/SDL/releases/download/release-2.28.2/SDL2-devel-2.28.2-VC.zip
ECHO:
PAUSE
EXIT /B 1
From 7512592705a1aa90d12e1fd701d6030b3d092e81 Mon Sep 17 00:00:00 2001
From: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com>
Date: Mon, 21 Aug 2023 01:26:36 -0500
Subject: [PATCH 5/7] Update README.md
---
README.md | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 4e9dc03..77106ce 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,15 @@ Our discord server is: https://discord.gg/AJJbJAzNNJ
Early version. It has bugs and the code is messy.
-For building instructions, see: https://github.com/snesrev/sm/blob/main/BUILDING.md
+You must self-build for now. Easy method on 64-bit Windows (no terminal or big downloads):
+(1) Download [Python](https://www.python.org/ftp/python/3.11.4/python-3.11.4-amd64.exe) if you don't have it and install with "Add to PATH" checked
+(2) Click the green button "Code > Download ZIP" on the github page and extract the ZIP
+(3) Place your USA rom named sm.sfc in that folder
+(4) Download [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20230519.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.28.2/SDL2-devel-2.28.2-VC.zip) and extract each ZIP into the "third-party" subfolder
+(5) Double click "extract_assets.bat" in the main dir. This will create sm_assets.dat.
+(6) Double-click "run_with_tcc.bat" in the main dir. This will create sm.exe and run it.
+(7) Configure with sm.ini in a text editor like notepad++
-Put sm.smc (sha1 hash da957f0d63d14cb441d215462904c4fa8519c613) in the root folder. When running, it will run both versions and compare frame by frame. If it detects a mismatch, it saves a snapshot in saves/ and displays a counter on screen counting down from 300.
+For other platforms and compilers, see: https://github.com/snesrev/sm/blob/main/BUILDING.md
+When running, it runs an emulated version in the background and compares the ram state every frame. If it detects a mismatch, it saves a snapshot in saves/ and displays a counter on screen counting down from 300. Please submit these bug snapshots on discord so that they can be fixed.
From 73a67d9ef1f5ebb73037665e299b6d7ef6cf807f Mon Sep 17 00:00:00 2001
From: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com>
Date: Mon, 21 Aug 2023 01:27:29 -0500
Subject: [PATCH 6/7] Update BUILDING.md
---
BUILDING.md | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/BUILDING.md b/BUILDING.md
index 01f50b7..8f9e4c8 100644
--- a/BUILDING.md
+++ b/BUILDING.md
@@ -51,15 +51,6 @@ Download VS installer. On installer prompt, make sure you're on "Workloads" and
2. Change the build target from `Debug` to `Release`
3. Build the solution.
-## Building with Tiny C Compiler
-
- Dependencies and requirements:
- * You'll need [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20230519.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.26.5/SDL2-devel-2.26.5-VC.zip) in order to compile using TCC.
-
-1. Unzip both TCC and SDL and place them in `third_party` folder.
-2. Double click `run_with_tcc.bat`
-3. Wait for it to compile and the game will automatically boot-up.
-
# Linux/MacOS
CD to your SM root folder and open the terminal and type:
From 364c8c5c76a9e402945cdab6a1ae22b92ed52f5d Mon Sep 17 00:00:00 2001
From: FitzRoyX <57089001+FitzRoyX@users.noreply.github.com>
Date: Mon, 21 Aug 2023 17:53:47 -0500
Subject: [PATCH 7/7] Update README.md
---
README.md | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 77106ce..f800bcc 100644
--- a/README.md
+++ b/README.md
@@ -4,15 +4,16 @@ Our discord server is: https://discord.gg/AJJbJAzNNJ
Early version. It has bugs and the code is messy.
-You must self-build for now. Easy method on 64-bit Windows (no terminal or big downloads):
-(1) Download [Python](https://www.python.org/ftp/python/3.11.4/python-3.11.4-amd64.exe) if you don't have it and install with "Add to PATH" checked
-(2) Click the green button "Code > Download ZIP" on the github page and extract the ZIP
-(3) Place your USA rom named sm.sfc in that folder
-(4) Download [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20230519.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.28.2/SDL2-devel-2.28.2-VC.zip) and extract each ZIP into the "third-party" subfolder
-(5) Double click "extract_assets.bat" in the main dir. This will create sm_assets.dat.
-(6) Double-click "run_with_tcc.bat" in the main dir. This will create sm.exe and run it.
-(7) Configure with sm.ini in a text editor like notepad++
+When running, it runs an emulated version in the background and compares the ram state every frame. If it detects a mismatch, it saves a snapshot in saves/ and displays a counter on screen counting down from 300. Please submit these bug snapshots on discord so that they can be fixed.
-For other platforms and compilers, see: https://github.com/snesrev/sm/blob/main/BUILDING.md
+## Building
+You must self-build for now. Steps for 64-bit Windows:
+(0) Download [Python](https://www.python.org/ftp/python/3.11.4/python-3.11.4-amd64.exe) and install with "Add to PATH" checked
+(1) Click the green button "Code > Download ZIP" on the github page and extract the ZIP
+(2) Place your USA rom named sm.sfc in that folder
+(3) Download [TCC](https://github.com/FitzRoyX/tinycc/releases/download/tcc_20230519/tcc_20230519.zip) and [SDL2](https://github.com/libsdl-org/SDL/releases/download/release-2.28.2/SDL2-devel-2.28.2-VC.zip) and extract each ZIP into the "third-party" subfolder
+(4) Double click "extract_assets.bat" in the main dir. This will create sm_assets.dat.
+(5) Double-click "run_with_tcc.bat" in the main dir. This will create sm.exe and run it.
+(6) Configure with sm.ini in a text editor like notepad++
-When running, it runs an emulated version in the background and compares the ram state every frame. If it detects a mismatch, it saves a snapshot in saves/ and displays a counter on screen counting down from 300. Please submit these bug snapshots on discord so that they can be fixed.
+For other platforms and compilers, see: https://github.com/snesrev/sm/blob/main/BUILDING.md