NaNoWriMo: How to compile my novel for validating?

Posts: 4
Joined: Wed Nov 25, 2015 9:43 am
Platform: Linux

Wed Nov 25, 2015 9:53 am Post

Hello, I'm a (fifth time) NaNoWriMo participant and have used Scrivener for each of my NaNo attempts. Really love the software and wouldn't want to switch. However, this year it's all just a little more tricky. I was a Mac user since 2009. However, in summer, my MacBook gave up the ghost for seemingly no reason and I, underwhelmed by Apple's new models as well as their customer service, decided to buy a Dell laptop with Ubuntu instead. Which of course meant trying to get Scrivener to run in Linux. I've been doing okay with the beta (Camp NaNo version, I think) so far, but now I've got a problem. Last night I reached my 50k and wanted to validate my project. According to the template description, there should be a preset called "NaNoWriMo (Obfuscated)" included. However, that does not seem to be the case on my system. Is it missing on Linux? Or is something broken? Or have I made a mistake somewhere (as I said, new to Scrivener on Linux)? I tried to download the preset file from the website, but there only seems to be a Windows and Mac version. Can I use either of them? Or how else can I compile my project in a way that will give me a realistic word count?
Thanks a lot for your help!

User avatar
Posts: 242
Joined: Tue Jun 26, 2007 12:11 pm
Platform: Mac + iOS
Location: Melbourne, AU

Wed Nov 25, 2015 10:21 am Post

You can just compile your draft to a text file and then run a Regular Expression on it using Gedit (or anything that supports RegEx) and replace all the characters in each word with X. Same number of words, just the letter all changed to X. Simply copy that into the validator :D

regex in gedit
regex_gedit.png (95.48 KiB) Viewed 2728 times
Mild-mannered Technical Writer by day, closet fantasist by night
I run Scrivener on macOS and iOS :mrgreen:

Website | Scrivener Articles
Amazon | Twitter | Facebook

Posts: 4
Joined: Wed Nov 25, 2015 9:43 am
Platform: Linux

Wed Nov 25, 2015 11:03 am Post

Thank you. To be honest, I'm not stressed at all about obfuscation (as far as I know, I didn't bother the last times and so far, none of my novels have ended up in the hands of the Illuminati or Chinese hist fic piracy gangs). The main reason I wanted to use the template is that it, if I understand correctly, excludes certain kinds of metadata to prevent inflated word counts. Is there a way to achieve that without using the template?

User avatar
Posts: 1988
Joined: Tue Jul 14, 2015 1:07 pm
Platform: Mac, Win + iOS
Location: St. Louis, MO

Wed Nov 25, 2015 3:55 pm Post

That's pretty easy (once you know how). Select "Original" from the Format As drop-down list. That will only include the text in each document from your Manuscript folder.

If you want to re-create the scrambled text output, then go to the Replacements tab and add a few lines that replace A with X, B with X, C with X and so-forth. The NaNo word validator is just looking for contiguous strings of characters, so you could replace all letters with X and the word-count would come out the same.

You might also want to throw in a dash, replacing it with a space, and likewise an em-dash. NaNo counts hyphenated words, and any words connected by an em-dash as a single word, whereas Scrivener counts them as 2.
FKA: robertdguthrie
AKA: R Dale Guthrie, Robert, Mr. Obscure, and "Oh, it's you again".

Posts: 4
Joined: Wed Nov 25, 2015 9:43 am
Platform: Linux

Wed Nov 25, 2015 5:49 pm Post

Wonderful, that's just what I need. Thanks a lot.

From my point of view, this can be marked as "solved". I'm really glad I got help so quickly.

Posts: 3
Joined: Thu Oct 15, 2015 1:01 am
Platform: Mac, Win + Linux

Fri Nov 27, 2015 6:29 am Post

For future reference, grab the NaNoWriMO project template from here:

And then follow the Windows instructions to import the special NaNoWriMo novel template and the NaNoWriMo compile template. Then when it comes to compile time, if you select NaNoWriMo Novel (Obfuscated) as the compile preset, it'll automatically do all of those text substitutions making the final file unreadable. It's super simple and very handy.

Posts: 26
Joined: Thu Sep 23, 2010 8:10 pm
Platform: Mac

Sun Nov 29, 2015 3:18 pm Post

Just to be clear, there is no Obfuscated compile option for Mac, just on Windows?

User avatar
Posts: 4324
Joined: Mon Jan 29, 2007 1:32 am
Platform: Mac
Location: London or Exeter, UK.

Sun Nov 29, 2015 11:49 pm Post

philipt18 wrote:Just to be clear, there is no Obfuscated compile option for Mac, just on Windows?

Ahem! This thread:



Mr X
The Scrivenato sometimes known as Mr X.
iMac 27" (late 2015) 10.15.4, 24GB RAM, 512GB SSID
MBP17" (late 2011) 10.13.6, 16GB RAM, 2TB SSID
2017 iPad, iPadOS 13.3, 128GB, Apple Pencil
Scrivener, Scapple, Nisus Writer Pro, Bookends …