parent
989a75eef3
commit
fbffd83083
39
Cookbook.md
39
Cookbook.md
@ -1,13 +1,3 @@
|
|||||||
|
|
||||||
* Get repo working on completely fresh install: first, make sure that git.semicolin.games has the right ssh public key for the machine. Then:
|
|
||||||
```shell
|
|
||||||
sudo apt install git-lfs
|
|
||||||
git lfs install
|
|
||||||
git clone git@git.semicolin.games:semicolin/sneak-private.git sneak
|
|
||||||
git submodule init
|
|
||||||
git submodule update
|
|
||||||
```
|
|
||||||
|
|
||||||
* encode ogg files so that they're not above 48khz (the max monogame can handle): `oggenc --resample=48000 sword_swing_*.wav`
|
* encode ogg files so that they're not above 48khz (the max monogame can handle): `oggenc --resample=48000 sword_swing_*.wav`
|
||||||
|
|
||||||
* find monogame content builder errors:
|
* find monogame content builder errors:
|
||||||
@ -63,20 +53,13 @@ Then `cp import.txt` into the appropriate output directory.
|
|||||||
|
|
||||||
* Access modifiers in C#: <https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers>
|
* Access modifiers in C#: <https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers>
|
||||||
|
|
||||||
* Matt Thorson's Monocle engine:
|
* Maddy Thorson's Monocle engine:
|
||||||
<https://bitbucket.org/MattThorson/monocle-engine/src/default/Monocle/>
|
<https://bitbucket.org/MattThorson/monocle-engine/src/default/Monocle/>
|
||||||
|
|
||||||
* Here's the source code for the C# List class (for example): <https://referencesource.microsoft.com/#mscorlib/system/collections/generic/list.cs>
|
* Here's the source code for the C# List class (for example): <https://referencesource.microsoft.com/#mscorlib/system/collections/generic/list.cs>
|
||||||
|
|
||||||
* Boot up SNES30 controller to talk with Windows via XInput: hold Start for a few seconds to turn it off if needed, then hold down Start+X to power on the controller in XInput mode. [Manual here.](https://download.8bitdo.com/Manual/Controller/SN30+SF30/SN30+SF30_Manual_V4.pdf) My controller's been updated to firmware version 4.20.
|
* Boot up SNES30 controller to talk with Windows via XInput: hold Start for a few seconds to turn it off if needed, then hold down Start+X to power on the controller in XInput mode. [Manual here.](https://download.8bitdo.com/Manual/Controller/SN30+SF30/SN30+SF30_Manual_V4.pdf) My controller's been updated to firmware version 4.20.
|
||||||
|
|
||||||
* Add git remotes for both gitlab and github:
|
|
||||||
|
|
||||||
```
|
|
||||||
git remote add origin git@github.com:mcmillen/sneak-private.git
|
|
||||||
git remote add gitlab git@gitlab.com:SemiColinGames/sneak-private.git
|
|
||||||
```
|
|
||||||
|
|
||||||
Then you can `git push origin` or `git push gitlab`.
|
Then you can `git push origin` or `git push gitlab`.
|
||||||
|
|
||||||
* Remove a remote:
|
* Remove a remote:
|
||||||
@ -91,8 +74,6 @@ git remote remove github
|
|||||||
git push && git push github
|
git push && git push github
|
||||||
```
|
```
|
||||||
|
|
||||||
(previously: `git push origin && git push gitlab && tools/copybara/copybara.sh`)
|
|
||||||
|
|
||||||
* Find all TODOs:
|
* Find all TODOs:
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -104,3 +85,21 @@ grep TODO $(git ls-tree -r master --name-only)
|
|||||||
```
|
```
|
||||||
git ls-tree -r master --name-only | grep ".cs$" | xargs dos2unix
|
git ls-tree -r master --name-only | grep ".cs$" | xargs dos2unix
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## deprecated stuff
|
||||||
|
|
||||||
|
* Get repo working on completely fresh install: first, make sure that git.semicolin.games has the right ssh public key for the machine. Then:
|
||||||
|
```shell
|
||||||
|
sudo apt install git-lfs
|
||||||
|
git lfs install
|
||||||
|
git clone git@git.semicolin.games:semicolin/sneak-private.git sneak
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
```
|
||||||
|
|
||||||
|
* Add git remotes for both gitlab and github:
|
||||||
|
|
||||||
|
```
|
||||||
|
git remote add origin git@github.com:mcmillen/sneak-private.git
|
||||||
|
git remote add gitlab git@gitlab.com:SemiColinGames/sneak-private.git
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user