# Amount of .txt files proving to be overwhelming?

**URL:** <https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541>\
**Category:** ChoiceScript Help\
**Created:** [March 30, 2019, 8:57pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541 "2019-03-30T20:57:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jay\_M\_Profio](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jay_m_profio/32/28360_2.png) [@Jay\_M\_Profio](https://forum.choiceofgames.com/u/Jay_M_Profio)\
**Post date:** [March 30, 2019, 8:57pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/1 "2019-03-30T20:57:17Z")

</div>

I’m having trouble with the sheer amount of .txt files I’m having to work on with my game. I want the variables to branch the way they are, and the plot is progressing how I want, but every time I work on it I have to open up a million files on my computer and I was wondering if there was an easier way to view everything. I tried Chronicler, and it keeps crashing on my laptop. The only suggestion I can find is to copy every single scene into Twine bit by bit, which is time consuming/overwhelming and I’d have to individually add every scene as I wrote it.  
I was just wondering if there’s any software out there that could just display all the .txt files in a way that’s more manageable. I’m writing it one path at a time, and a single path of choices is already 36 scenes; I’m just keeping all the files open as I work, and it’s frustrating and overwhelming.

---

<div class="post-metadata">

**Author:** ![Gower](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/gower/32/21972_2.png) [@Gower](https://forum.choiceofgames.com/u/Gower)\
**Post date:** [March 30, 2019, 9:00pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/2 "2019-03-30T21:00:34Z")

</div>

You don’t have to make a different .txt file for each choice; you can have multiple choices in a single file. Are you creating new files for each decision?

---

<div class="post-metadata">

**Author:** ![The\_Lady\_Luck](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/the_lady_luck/32/212891_2.png) [@The\_Lady\_Luck](https://forum.choiceofgames.com/u/The_Lady_Luck)\
**Post date:** [March 30, 2019, 9:08pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/3 "2019-03-30T21:08:26Z")

</div>

Also, if you’re not using CSIDE already, I’d highly recommend it.

---

<div class="post-metadata">

**Author:** ![Gabs](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/gabs/32/73930_2.png) [@Gabs](https://forum.choiceofgames.com/u/Gabs)\
**Post date:** [March 30, 2019, 9:14pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/4 "2019-03-30T21:14:25Z")

</div>

How are you opening your text files currently? If you don’t want to use an interface like CSIDE, Notepad++ lets you open files in tabs (rather than different windows), which may be more manageable? (It also lets you search/replace in all .txt files in a directory, which is definitely a function I’ve found useful.)

---

<div class="post-metadata">

**Author:** ![MeltingPenguins](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/meltingpenguins/32/255855_2.png) [@MeltingPenguins](https://forum.choiceofgames.com/u/MeltingPenguins)\
**Post date:** [March 30, 2019, 9:15pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/5 "2019-03-30T21:15:34Z")

</div>

I think we should add this to a FAQ/common beginner’s mistakes list:

By the sound of it you have each choice end in a finish and thus go to a new file, right?

You don’t need to do that.  
There are \*goto and \*label and \*fake\_choice and \*gosub.

But as said, it’s something a lot of people stumbled over

---

<div class="post-metadata">

**Author:** ![Jay\_M\_Profio](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jay_m_profio/32/28360_2.png) [@Jay\_M\_Profio](https://forum.choiceofgames.com/u/Jay_M_Profio)\
**Post date:** [March 30, 2019, 10:24pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/6 "2019-03-30T22:24:06Z")

</div>

I’ve been using choices ending in \*goto commands where each choice goes to a different scene. Sorry if this is a dumb question, but how would I do this without making it go to a new file? The story involves someone walking around a house, so a lot of the choices are the rooms he’s exploring and the location changes with each one.

---

<div class="post-metadata">

**Author:** ![CopperCaravan](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/coppercaravan/32/62585_2.png) [@CopperCaravan](https://forum.choiceofgames.com/u/CopperCaravan)\
**Post date:** [March 30, 2019, 10:27pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/7 "2019-03-30T22:27:52Z")

</div>

Use \*label

Then you have something like this:

```
*choice
    #Thing A
        *goto thing_a
    #Thing B
        *goto thing_b
    
*label thing_a
TEXT TEXT TEXT
*goto next_scene

*label thing_b
TEXT TEXT TEXT
*goto next_scene

```

And it can all be in the same file.

---

<div class="post-metadata">

**Author:** ![MeltingPenguins](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/meltingpenguins/32/255855_2.png) [@MeltingPenguins](https://forum.choiceofgames.com/u/MeltingPenguins)\
**Post date:** [March 30, 2019, 10:29pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/8 "2019-03-30T22:29:02Z")

</div>

One way here would be \*hide\_reuse and \*disable\_reuse to make sure people only go to each bit once.

Like:

```
*label thing0
*choice
   *disable_reuse #thing 1
      *goto thing1
   *disable_reuse #thing 2
      *goto thing2

*label thing1
Stuff
*goto thing0

*label thing2
Stuff
*goto thing0

```

---

<div class="post-metadata">

**Author:** ![Jay\_M\_Profio](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jay_m_profio/32/28360_2.png) [@Jay\_M\_Profio](https://forum.choiceofgames.com/u/Jay_M_Profio)\
**Post date:** [March 30, 2019, 10:29pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/9 "2019-03-30T22:29:04Z")

</div>

Ooohhhh I see now. Thanks so much this will make my files so much easier to navigate

---

<div class="post-metadata">

**Author:** ![CopperCaravan](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/coppercaravan/32/62585_2.png) [@CopperCaravan](https://forum.choiceofgames.com/u/CopperCaravan)\
**Post date:** [March 30, 2019, 10:30pm UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/10 "2019-03-30T22:30:48Z")

</div>

I also tend to make a tiny index at the top of mine with \*comment, so like at the very top of each file I have a few lines like  
\*comment Important Thing line 23  
\*comment Different Thing line 68  
\*comment Branch One line 112  
etc, etc.

That just helps me keep up if they start to get long/branchy.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/choiceofgames/original/3X/e/f/efe1497a762edecdb6d569a1c4abee87508bf002.png) [@system](https://forum.choiceofgames.com/u/system)\
**Post date:** [April 5, 2019, 12:25am UTC](https://forum.choiceofgames.com/t/amount-of-txt-files-proving-to-be-overwhelming/54541/11 "2019-04-05T00:25:23Z")

</div>

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the [@moderators](https://forum.choiceofgames.com/groups/moderators).
