mirror of
https://github.com/pleonex/NitroDebugger.git
synced 2025-06-18 13:15:39 -04:00
Updated readme with compile instructions
This commit is contained in:
parent
ecbfe954f1
commit
3c61f53616
84
README.md
84
README.md
@ -1,15 +1,77 @@
|
||||
<img src="https://github.com/pleonex/NitroDebugger/blob/master/icon/icon_NitroDebugger.png" height="64" width="64" >
|
||||
[](https://travis-ci.org/pleonex/NitroDebugger)
|
||||
[](https://gitter.im/pleonex/NitroDebugger?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
# NitroDebugger [<img alt="Gitter" src="https://badges.gitter.im/Join Chat.svg" align="right" />](https://gitter.im/pleonex/NitroDebugger?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
**NitroDebugger** is a remote debugger for Nintendo DS games.
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.org/pleonex/NitroDebugger"><img alt="Build Status" src="https://travis-ci.org/pleonex/NitroDebugger.svg?branch=master" align="left" /></a>
|
||||
<a href="http://www.gnu.org/copyleft/gpl.html"><img alt="license" src="https://img.shields.io/badge/license-GPL%20V3-blue.svg?style=flat" /></a>
|
||||
<a href="https://github.com/fehmicansaglam/progressed.io"><img alt="progressed.io" src="http://progressed.io/bar/10" align="right" /></a>
|
||||
</p>
|
||||
|
||||
By using *GDB Remote Stub* from **DeSmuME** it will allow to pause, continue, set breakpoints,
|
||||
view RAM memory, change in runtime code and many other features.
|
||||
<br>
|
||||
<p align="center"><b>Look into game secrets.</b></p>
|
||||
<p align="center">
|
||||
<img alt="logo" src="https://raw.githubusercontent.com/pleonex/NitroDebugger/master/icon/icon_NitroDebugger.png" height="256" width="256" />
|
||||
</p>
|
||||
|
||||
At the moment, it require some patches to be applied to DeSmuME, the files to change
|
||||
are under *DeSmuMEmod* folder.
|
||||
**NitroDebugger** is a remote debugger for Nintendo DS games. It connects to [**DeSmuME**](http://desmume.org/) emulator with the [*GDB Remote Stub Protocol*](https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html).
|
||||
|
||||
It's been developped under *Fedora 20*, *mono 3.10.1* and *monodevelop 5.7*.
|
||||
* To compile in Linux either open the solution file in monodevelop or run `xbuild NitroDebugger.sln`.
|
||||
* To compile in Windows either open the solution file in Visual Studio or run `msbuild NitroDebugger.sln`.
|
||||
|
||||
## Usage
|
||||
To use *NitroDebugger* you need:
|
||||
* *NitroDebugger*: [Compilation](#Compilation) information below.
|
||||
* *DeSmuME with GDB Stub*: [Compilation](#DeSmuME-with-GDB-Stub) information below.
|
||||
* *Nintendo DS game*: **I don't support piracy**. [Here](https://gbatemp.net/threads/nds-backup-tool-wifi.252623/) there is a tutorial to create your own backups.
|
||||
|
||||
|
||||
## Compilation
|
||||
It has been developed and tested with *mono 3.10.0* in *Fedora 20*.
|
||||
|
||||
### Linux
|
||||
You need to install *git* using your package manager (ie *apt-get*, *yum*, *pacman*...) and the last stable mono version from [here](http://www.mono-project.com/docs/getting-started/install/linux/).
|
||||
``` shell
|
||||
# Clone the repository
|
||||
git clone https://github.com/pleonex/NitroDebugger
|
||||
cd NitroDebugger
|
||||
```
|
||||
|
||||
Now, you can either open the solution with *MonoDevelop* or compile from the terminal:
|
||||
``` shell
|
||||
# Restore NuGet packages
|
||||
wget http://nuget.org/nuget.exe
|
||||
mono nuget.exe NitroDebugger.sln
|
||||
|
||||
# Compile
|
||||
xbuild NitroDebugger.sln
|
||||
|
||||
# [Optional] Run test
|
||||
# Install nunit-console from your package manager
|
||||
nunit-console NitroDebugger.UnitTests/bin/Debug/NitroDebugger.UnitTests.dll
|
||||
```
|
||||
|
||||
### Windows
|
||||
1. Clone the repository with the [GitHub client](https://windows.github.com/) or download the [zip](https://github.com/pleonex/NitroDebugger/archive/master.zip).
|
||||
2. Download and install *Xamarin Studio* from [here](http://www.monodevelop.com/download/) and open the solution. It should work with *Visual Studio* and [*SharpDevelop*](http://www.icsharpcode.net/OpenSource/SD/Download/) too.
|
||||
3. Compile!
|
||||
|
||||
## DeSmuME with GDB Stub
|
||||
You need to compile *DeSmuME* to activate the *GDB Stub* support. Once you have that version you must run it with the `--arm9gdb` argument:
|
||||
``` shell
|
||||
desmume --arm9gdb=PORT_NUMBER PATH_TO_GAME.nds
|
||||
```
|
||||
|
||||
### Linux
|
||||
``` shell
|
||||
svn checkout svn://svn.code.sf.net/p/desmume/code/trunk desmume
|
||||
cd desmume
|
||||
./autogen.sh
|
||||
./configure --enable-gdb-stub
|
||||
make
|
||||
sudo make install
|
||||
```
|
||||
|
||||
### Windows
|
||||
You need *Visual Studio C++*, it works with the *Express* edition too.
|
||||
|
||||
1. Download the source code by clicking the *Download Snapshot* button from [here](https://sourceforge.net/p/desmume/code/HEAD/tree/)
|
||||
2. Unzip it (you can use [7-zip](http://www.7-zip.org/download.html))
|
||||
3. Copy `src/windows/defaultconfig/userconfig.h` to `src/windows/userconfig/` and comment out the line `#define GDB_STUB`
|
||||
4. Open the solution file from `src/windows/` with *Visual Studio* and compile
|
||||
|
Loading…
Reference in New Issue
Block a user