# Obtaining old code

**URL:** https://discourse.cataclysmdda.org/t/obtaining-old-code/22927
**Category:** The Toolbox
**Created:** [March 2, 2020, 8:51am UTC](https://discourse.cataclysmdda.org/t/obtaining-old-code/22927 "2020-03-02T08:51:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![The\_Lone\_Badger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/the_lone_badger/32/8063_2.png) [@The\_Lone\_Badger](https://discourse.cataclysmdda.org/u/The_Lone_Badger)
#### Post date: [March 2, 2020, 8:51am UTC](https://discourse.cataclysmdda.org/t/obtaining-old-code/22927/1 "2020-03-02T08:51:54Z")

</div>

Hi. I want to make a mini mod for myself to re-enable crafting of caseless ammo. I thought I’d grab the old recipes, tweak them a little, and paste them in.

However the links for 0.C on [https://cataclysmdda.org/releases/](https://cataclysmdda.org/releases/) no longer work, and it turns out that I’m far too stupid to successfully navigate Github to get old versions - I can see changes people make to a file, but I haven’t figured out how to get a snapshot of an entire file as of a certain date.

Can anyone help me? I mean I _could_ write the recipes from scratch, but that would mean looking up a bunch of IDs and figuring out how the recipe-in-a-certain-book system works.

Thanks

---

<div class="post-metadata">

### Author: ![dpwb](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dpwb/32/2609_2.png) [@dpwb](https://discourse.cataclysmdda.org/u/dpwb)
#### Post date: [March 2, 2020, 10:48am UTC](https://discourse.cataclysmdda.org/t/obtaining-old-code/22927/2 "2020-03-02T10:48:09Z")

</div>

> **[CleverRaven/Cataclysm-DDA](https://github.com/CleverRaven/Cataclysm-DDA/releases/tag/0.C)**
>
> Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world. - CleverRaven/Cataclysm-DDA

---

<div class="post-metadata">

### Author: ![The\_Lone\_Badger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/the_lone_badger/32/8063_2.png) [@The\_Lone\_Badger](https://discourse.cataclysmdda.org/u/The_Lone_Badger)
#### Post date: [March 2, 2020, 10:57am UTC](https://discourse.cataclysmdda.org/t/obtaining-old-code/22927/3 "2020-03-02T10:57:43Z")

</div>

Thank you, but if I click on an actual download link it goes to [http://assets.cataclysmdda.com/downloads/windows\_binaries/cddasdl-0.C.zip](http://assets.cataclysmdda.com/downloads/windows_binaries/cddasdl-0.C.zip) , which doesn’t work.

Edit: Actually wait, the Source Code link /does/ work. Got it now, thanks.

---

<div class="post-metadata">

### Author: ![mlangsdorf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mlangsdorf/32/2462_2.png) [@mlangsdorf](https://discourse.cataclysmdda.org/u/mlangsdorf)
#### Post date: [March 2, 2020, 3:11pm UTC](https://discourse.cataclysmdda.org/t/obtaining-old-code/22927/4 "2020-03-02T15:11:54Z")

</div>

If you create a new branch of the repo based on commit X, the repo will contain all of the code as it was when that change was committed.

so using the git command line:  
`git checkout -b 0.C-review 0.C`  
will create a new branch called “0.C-review” that contains the exact code from the 0.C release. If you’re using other git interfaces, you’ll need to do something similar.

Also,  
[https://github.com/CleverRaven/Cataclysm-DDA/tree/0.C-branch](https://github.com/CleverRaven/Cataclysm-DDA/tree/0.C-branch) is a web viewable version of the 0.C tree; if you follow the links from there, you can see the [old, unformatted ammo recipes](https://github.com/CleverRaven/Cataclysm-DDA/blob/b5b4d4834970b78c76883cc5c66de07b3966aca4/data/json/recipes/recipe_ammo.json) and the [8mm bootleg recipe](https://github.com/CleverRaven/Cataclysm-DDA/blob/b5b4d4834970b78c76883cc5c66de07b3966aca4/data/json/recipes/recipe_ammo.json#L2801) in that file.

Hope that helps!
