Skip to content

Commit

Permalink
Merge pull request #42 from RoootTheFox/2206
Browse files Browse the repository at this point in the history
docs: windows gd is 64bit now
  • Loading branch information
Fleeym authored Jun 2, 2024
2 parents 8279dca + 8227436 commit 7c26d9d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
5 changes: 1 addition & 4 deletions getting-started/create-mod.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ geode build
If you have an issue running that command for whatever reason ([let us know!](https://github.com/geode-sdk/cli/issues)), you can build your mod the same way using these commands:
```bash
# Configure CMake (WINDOWS)
cmake -B build -A win32

# Configure CMake (Other platforms)
# Configure CMake
cmake -B build

# Build the project
Expand Down
5 changes: 2 additions & 3 deletions getting-started/ide-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ There are a few steps you should follow to get proper intellisense (you should o
1. With VSCode open on your project, **press F1** and run `CMake: Select a Kit`. This will bring up a list of installed compilers on your machine.
![Image showing a bunch of compilers CMake detected in VS Code](/assets/win_compilers.png) \
\
You should pick a **Visual Studio 2022+** compiler, using either the `x86` or `amd64_x86` version. Nothing else!!
You should pick a **Visual Studio 2022+** compiler, specifically the `amd64` version. Nothing else!!

> :warning: Please pay attention to this
2. Now select the build variant, **press F1** and run `CMake: Select Variant`. \
Expand Down Expand Up @@ -79,7 +79,7 @@ Now, before you build, make sure to change these settings (these need to be chan
![Image showing the Manage Configurations button in the drop-down](/assets/vs_manage_configurations.png)

1. Change config type to Release or RelWithDebInfo. We recommend RelWithDebInfo, since it provides easier debugging. You **cannot** use Debug for this!
1. Change toolset to x86 (`msvc_x86`)
1. Make sure the toolset is set to x64
1. At this point you can also give your configuration a friendly name such as "default" or "release" or "mat" or something like that.
1. And make sure to press Ctrl+S to save your changes

Expand All @@ -103,7 +103,6 @@ Here you need to make sure that:
2. Toolchain is set to *Visual Studio*
3. Generator is set to *Visual Studio 17 2022* or newer
4. Build directory is set to *build*
5. CMake options contains `-A win32`

In the end it should look like this:
![Image showing the CLion Open Project Wizard set up for Geode](/assets/clion_openprojectwizardsetup.png)
Expand Down
4 changes: 2 additions & 2 deletions handbook/vol2/chap2_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ There are a lot of tools GD modders use for reverse engineering, but some of the

* [Ghidra](https://ghidra-sre.org/)
* [IDA Pro](https://hex-rays.com/IDA-pro/) (which every modder most definitely has legally bought :wink:)
* [x32dbg](https://x64dbg.com/) (Windows)
* [x64dbg](https://x64dbg.com/) (Windows)
* [Cheat Engine](https://cheatengine.org/) (Windows)
* [ReClass](https://github.com/ReClassNET/ReClass.NET) (Windows)
* [DevTools](https://github.com/geode-sdk/DevTools) (Traditionally [CocosExplorer](https://github.com/matcool/CocosExplorer))
* [Slicer](https://github.com/zorgiepoo/Bit-Slicer) (Mac)
* [LLDB](https://lldb.llvm.org/)

For this tutorial, we will be using **Ghidra** and **x32dbg**.
For this tutorial, we will be using **Ghidra** and **x64dbg**.

## Setting Up Ghidra

Expand Down
4 changes: 2 additions & 2 deletions tutorials/dictionary.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ A popular library used in [traditional mods](#traditional-modding) consisting of
## Debugger

A tool used for debugging another application (usually GD) for issues (usually crashes), such as [x32dbg](#x32dbg) or [Cheat Engine](#cheat-engine).
A tool used for debugging another application (usually GD) for issues (usually crashes), such as [x64dbg](#x64dbg) or [Cheat Engine](#cheat-engine).

> Further reading: [Wikipedia](https://en.m.wikipedia.org/wiki/Debugger)
Expand Down Expand Up @@ -276,7 +276,7 @@ Code where the C++ standard does not say what should happen, and as such the res

> Further reading: [cppreference.com](https://en.cppreference.com/w/cpp/language/ub)
## x32dbg
## x64dbg

A [debugger](#debugger) commonly used by Windows modders.

Expand Down

0 comments on commit 7c26d9d

Please sign in to comment.