Fanfic/BBCode Helper
This topic has been locked
Page : 1
On 2024-01-06 at 11:38:20
This is a very poor python script I made in 1 hour. Why? I am reviving my year old fanfic quite soon and I was tired of copypasting BBCode.
It will add BBCode automatically based on the config file.
Features:
Blazingly fast speed
(this is literally a full episode, the gif is very slowed down because browsers hate large gifs)
It just works
Config file layout & explanation:
name,bbcode,bbcode
NO BRACKETS
You can also do a lot of useful things. For example, if you write like that often:
*something sudden happened* you can write -r in launch options to make all these italic.
Little useful features
Use $ in the beginning of the line in the input file. The script will ignore the line and remove the $.
You can also use the -r launch option. If you *write like that a lot* the script will convert that into italic.
The character names that were listed in the config are counted and listed in the output.
User-friendly UI
Saves tons of time by not pasting bbcode for every character line
Note: The script places the {/bbcode} at the end of the line. Never split a dialogue into multiple times. It will also not replace everything, just character lines based on the character name at the beginning of the line so many fanfics use.
That means if you write
Mario has finally entered the castle.
the script will interpret that as a character line and modify it. Place $ at the beginning of the line so the script will ignore it.
Not supported commands: Lang. selector
Not recommended commands: url, img, youtube, quote, spoiler, centering
Supported commands: color, size, font, bold, underlining, italic, strikethrough
The script may be updated in the future. Feedback is appreciated.
Downloads (2.0)
Source code + example config(1,5 megs beacuse i love music)
Precompiled script + cfg if you don't have python installed(Windows only, because of the pip packages it's 12 megs)
Just the source code(i hate regex)
Old source code (1.3)
Enjoy.
MAKE SURE TO CHECK THE CHANGELOG IF THERE WAS AN UPDATE BEFORE YOU REPORT AN ERROR
Changelog:
Hotfix 1
Fixed the $ ignore function not working.
Hotfix 2
The script now handles UTF-8 properly.
1.1
Simple Commands have been added. (italic, underlining, bold, strikethrough)
The script will only delete $ signs at the beginning of the line.
Changed the ^ for another , in the config system to avoid confusion.
1.2
Added --replace-asterisk launch option (along with --about). If you *write like that a lot* the script will convert that into italic.
Fixed an issue where the script would prioritise characters earlier in the config file. If there's a name conflict, it will choose the longer name from the config file.
Characters that use CSS injection are now working.
1.2-fix
Provide a working version of the script.
Added -r as a shortcut for --replace-asterisk
1.3
The character names that were listed in the config are counted and listed in the output.
2.0
Added a new GUI via tkinter with veri kuul music and title name scroll
Removed launch options
The .exe version now has a cute icon <3
It will add BBCode automatically based on the config file.
Features:
Blazingly fast speed
(this is literally a full episode, the gif is very slowed down because browsers hate large gifs)
It just works
Config file layout & explanation:
name,bbcode,bbcode
NO BRACKETS
You can also do a lot of useful things. For example, if you write like that often:
*something sudden happened* you can write -r in launch options to make all these italic.
Little useful features
Use $ in the beginning of the line in the input file. The script will ignore the line and remove the $.
You can also use the -r launch option. If you *write like that a lot* the script will convert that into italic.
The character names that were listed in the config are counted and listed in the output.
User-friendly UI
Saves tons of time by not pasting bbcode for every character line
Note: The script places the {/bbcode} at the end of the line. Never split a dialogue into multiple times. It will also not replace everything, just character lines based on the character name at the beginning of the line so many fanfics use.
That means if you write
Mario has finally entered the castle.
the script will interpret that as a character line and modify it. Place $ at the beginning of the line so the script will ignore it.
Not supported commands: Lang. selector
Not recommended commands: url, img, youtube, quote, spoiler, centering
Supported commands: color, size, font, bold, underlining, italic, strikethrough
The script may be updated in the future. Feedback is appreciated.
Downloads (2.0)
Source code + example config(1,5 megs beacuse i love music)
Precompiled script + cfg if you don't have python installed(Windows only, because of the pip packages it's 12 megs)
Just the source code(i hate regex)
Old source code (1.3)
Enjoy.
MAKE SURE TO CHECK THE CHANGELOG IF THERE WAS AN UPDATE BEFORE YOU REPORT AN ERROR
Changelog:
Hotfix 1
Fixed the $ ignore function not working.
Hotfix 2
The script now handles UTF-8 properly.
1.1
Simple Commands have been added. (italic, underlining, bold, strikethrough)
The script will only delete $ signs at the beginning of the line.
Changed the ^ for another , in the config system to avoid confusion.
1.2
Added --replace-asterisk launch option (along with --about). If you *write like that a lot* the script will convert that into italic.
Fixed an issue where the script would prioritise characters earlier in the config file. If there's a name conflict, it will choose the longer name from the config file.
Characters that use CSS injection are now working.
1.2-fix
Provide a working version of the script.
Added -r as a shortcut for --replace-asterisk
1.3
The character names that were listed in the config are counted and listed in the output.
2.0
Added a new GUI via tkinter with veri kuul music and title name scroll
Removed launch options
The .exe version now has a cute icon <3
2
On 2024-01-06 at 12:46:58
epik
Might test it if I make a new episode of magma island .
Might test it if I make a new episode of magma island .
On 2024-01-06 at 12:50:32
Gonna use it when I’m on my laptop
On 2024-01-06 at 13:00:53
@xrunner48 @Fiery make sure that you either follow the topic or keep an eye on it, the script is full of bugs i still haven't fixed.it's
very unfinished and will be fixed in the next few days
very unfinished and will be fixed in the next few days
2
2
On 2024-01-06 at 13:32:14
I have next to no use for this since I don't do fanfics much but it's still really cool
On 2024-01-06 at 13:54:26
I would not trust a Python script converted to an executable, there is no point in doing that unless you wanna hide some malicious code, which is something common in Python
On 2024-01-06 at 14:01:35
I would not trust a Python script converted to an executable, there is no point in doing that unless you wanna hide some malicious code, which is something common in Python
you're right. ill just include the source code with the exe (the exe is not recommended) if somebody didnt want to install python
On 2024-01-18 at 21:10:12
i know MKPC Invasion is currently on a temp hiatus but just in case you didn't see
Name: Choco
Colour: this one (hex code=#66CDAA)
Personality: Kind and brave but a tiny bit annoying
Ability: Able to blast a highly toxic and flammable material known as Inverted Matter (can break through anything, even the strongest metal)
Species: Sentient glass of chocolate milk
Good side
Name: Choco
Colour: this one (hex code=#66CDAA)
Personality: Kind and brave but a tiny bit annoying
Ability: Able to blast a highly toxic and flammable material known as Inverted Matter (can break through anything, even the strongest metal)
Species: Sentient glass of chocolate milk
Good side
On 2024-02-02 at 19:13:13
2.0
Added a new GUI via tkinter with veri kuul music and title name scroll
Removed launch options
The .exe version now has a cute icon <3
The download links in the first post have been updated.
Also download and rate the interface pleas e!1@!
Added a new GUI via tkinter with veri kuul music and title name scroll
Removed launch options
The .exe version now has a cute icon <3
The download links in the first post have been updated.
Also download and rate the interface pleas e!1@!
Page : 1