# I can't wrap my head around CJW's save system

**URL:** <https://forum.choiceofgames.com/t/i-cant-wrap-my-head-around-cjws-save-system/32948>\
**Category:** Game Development\
**Created:** [December 5, 2017, 5:39am UTC](https://forum.choiceofgames.com/t/i-cant-wrap-my-head-around-cjws-save-system/32948 "2017-12-05T05:39:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aamano](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/aamano/32/43038_2.png) [@Aamano](https://forum.choiceofgames.com/u/Aamano)\
**Post date:** [December 5, 2017, 5:39am UTC](https://forum.choiceofgames.com/t/i-cant-wrap-my-head-around-cjws-save-system/32948/1 "2017-12-05T05:39:44Z")

</div>

Hello  
I’ve been working on my first project, and from the outset I wanted to allow my reader to keep their progress, up to the beginning of the latest chapter they reached, at the least.

I’ve looked over CJW’s post and some comments 2-3 times now, and I just can’t seem to understand how to get it to work

I’m using CSIDE to create my game, and i’ve also tried testing out [dashingdon.com](http://dashingdon.com), because i saw that it has it built in to the site, but it’s file system also gave me issues

I would be really grateful if someone were able to explain the steps to me

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [December 5, 2017, 5:50am UTC](https://forum.choiceofgames.com/t/i-cant-wrap-my-head-around-cjws-save-system/32948/2 "2017-12-05T05:50:40Z")

</div>

For dashingdon’s built-in save system (which is CJW’s save system, ofc), you just simply need to check the Use CJW’s save plugin ☑ checkbox and put this command on your startup.txt

`*sm_init <<your game name>> <<num of saveslots (preferably 1 - 6)>>`

* * *

Keep in mind that the command isn’t compatible with rand/quicktest, so you’ll have to remove it when you want to auto-test your game.

---

<div class="post-metadata">

**Author:** ![Aamano](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/aamano/32/43038_2.png) [@Aamano](https://forum.choiceofgames.com/u/Aamano)\
**Post date:** [December 5, 2017, 6:37am UTC](https://forum.choiceofgames.com/t/i-cant-wrap-my-head-around-cjws-save-system/32948/3 "2017-12-05T06:37:16Z")

</div>

so, as an example, it’s

\*sm\_init ex 1

in comments i read i usually saw a " | " before the number  
“\*sm\_init ex | 1”  
i’ve always used their examples with the vertical bar  
is that incorrect?

- 

outside of dashingdon, i downloaded the jscript but my confusion is what to do with it,  
and CSIDE doesn’t acknowledge \*sm\_init as a command

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [December 5, 2017, 8:47am UTC](https://forum.choiceofgames.com/t/i-cant-wrap-my-head-around-cjws-save-system/32948/4 "2017-12-05T08:47:06Z")

</div>

Oh, yep. You’ll need the separator bar, I forgot that 😅

For offline use, you’ll need to:

1. Download the jscript and put it at the correct folder (`.../web/mygame/`, iirc)
2. Modify the `index.html` file located on the same address.

But currently, I’m on mobile. If I get my hands back on my laptop, I’ll try to provide the detailed how-to-do.

---

<div class="post-metadata">

**Author:** ![CJW](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cjw/32/111787_2.png) [@CJW](https://forum.choiceofgames.com/u/CJW)\
**Post date:** [December 5, 2017, 9:02am UTC](https://forum.choiceofgames.com/t/i-cant-wrap-my-head-around-cjws-save-system/32948/5 "2017-12-05T09:02:35Z")

</div>

> [@Aamano](#):
>
> outside of dashingdon, i downloaded the jscript but my confusion is what to do with it,
> 
> and CSIDE doesn’t acknowledge \*sm\_init as a command

CSIDE doesn’t currently support smPlugin.js, as I didn’t want to force its inclusion. I hope to provide it as an option in a not too distant update.

---

<div class="post-metadata">

**Author:** ![Aamano](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/aamano/32/43038_2.png) [@Aamano](https://forum.choiceofgames.com/u/Aamano)\
**Post date:** [December 5, 2017, 5:01pm UTC](https://forum.choiceofgames.com/t/i-cant-wrap-my-head-around-cjws-save-system/32948/6 "2017-12-05T17:01:53Z")

</div>

I’ll be sure to keep an eye out then.  
Is there a way to be notified about updates you post?

---

<div class="post-metadata">

**Author:** ![CJW](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cjw/32/111787_2.png) [@CJW](https://forum.choiceofgames.com/u/CJW)\
**Post date:** [December 5, 2017, 5:16pm UTC](https://forum.choiceofgames.com/t/i-cant-wrap-my-head-around-cjws-save-system/32948/7 "2017-12-05T17:16:55Z")

</div>

I post in the [CSIDE thread](https://forum.choiceofgames.com/t/cside-the-choicescript-ide/27622/) whenever there’s a change to the updates available.
