/| Mario Kart PC |\

Fanfic/BBCode Helper

This topic has been locked

smile

Page :  1 

Messages 8 - Goomba Goomba
vs63292 pts ★ Titan
battle8675 pts ★ Expert
Poland
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
Spoiler [ShowHide]

(this is literally a full episode, the gif is very slowed down because browsers hate large gifs)
https://i.postimg.cc/Wzgrz33P/showcase.gif

It just works
Spoiler [ShowHide]

Before:
Spoiler [ShowHide]
https://i.postimg.cc/LXmGNqcx/image.png

After
Spoiler [ShowHide]
https://i.postimg.cc/MTtN46xq/image.png


Config file layout & explanation:
Spoiler [ShowHide]

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.
https://i.postimg.cc/rwth7zHC/image.png

Little useful features
Spoiler [ShowHide]

Use $ in the beginning of the line in the input file. The script will ignore the line and remove the $.
https://i.postimg.cc/d3xXs5Lf/image.png
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.
https://i.postimg.cc/5tx9gzyD/image.png

User-friendly UI
Spoiler [ShowHide]
https://i.postimg.cc/nhDw6DKm/image.png

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:
Spoiler [ShowHide]

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

thumbsup2
Messages 1957 - Golden Mario Golden Mario
vs30594 pts ★ Legend
battle13697 pts ★ Champion
United Kingdom
epik cool
Might test it if I make a new episode of magma island :).
Messages 4765 - King Mario King Mario
vs13803 pts ★ Champion
battle5368 pts ★ Novice
Algeria
Gonna use it when I’m on my laptop
Messages 8 - Goomba Goomba
vs63292 pts ★ Titan
battle8675 pts ★ Expert
Poland
@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
ok2
muscle2
Messages 2495 - Golden Mario Golden Mario
vs26689 pts ★ Legend
battle10076 pts ★ Champion
United Kingdom
I have next to no use for this since I don't do fanfics much but it's still really cool
Messages 146 - Buzzy Beetle Buzzy Beetle
vs34377 pts ★ Legend
battle5132 pts ★ Novice
France
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
Messages 8 - Goomba Goomba
vs63292 pts ★ Titan
battle8675 pts ★ Expert
Poland
Anthcny wrote:
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
Messages 2013 - Golden Mario Golden Mario
vs20166 pts ★ Legend
battle6364 pts ★ Racer
United Kingdom
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
Messages 8 - Goomba Goomba
vs63292 pts ★ Titan
battle8675 pts ★ Expert
Poland
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@!

https://i.postimg.cc/nhDw6DKm/image.png

Page :  1 

Back to International forum
Back to the forum