Back to Pueblo section

To FatalDimensions

Pueblo HTML Converter

How to store colored text from a mud on a webpage

This by using the Pueblo mud client. The HTLM log files created with Pueblo on windows xp: Since logging to a normal txt file is a lot easier, only the HTML version will be explained. There are three parts : Create, Open and Convert

Create the Client Log File

Step 1: click on - File – log to a file Step 2: - Change “Save as type” to HTML Step 3: - Enter a file name. Step 4: - click on [Save] Everything you type and see now, will be stored.
If you want to add the events that were already on your screen: check the “include text currently in the window” box, this will only store the plain text of part before you start to log.) Step 5: To end the client log file - Click on “File – log to a file” (or type in the inputbar: #log)

Open the client log file

Step 1:
Open explorer Step 2: Find the file Go to the directory where your Pueblo is installed (in my case “C:\Program Files\PuebloUE” ) and go to the logs directory Step3: Open the file, if possible with notepad or some other plain editor (To see the text with codes)
Step 4: Copy all the text in the logfile. Select all: “[Ctrl]+A" Copy selection: “[Ctrl]+C”

Convert Pueblo code to HTML

Step 1: Go to the HTML converter http://www.dse.nl/%7etemplars/pueblo/PueblotoHTML2.html

Step 2: Paste the text click at the middle of the screen and paste the text “[Ctrl]+V” Step 3: Convert the text Click on "Pueblo to HTML" (this removes redundant text and changes some pueblo codes to actual HTLM) Step 4: Copy the info in the screen - Select the text and copy it “[ctrl]+A, [Ctrl]+C] This to place it later in a new (HTML) file
Step 5: HTLM preview: Check how it looks like with - click on "Show HTML" It should now look like this:
Step 6: Back to previous screen Step 7: Open notepad and make a new file Paste the text into the new file and save it with the extension .html ( Short keys: "[Ctrl]+V, [Ctrl]+S" )

The conversion is DONE

This new file can be placed on a website. Maybe it does not work all the time and for every mud, but then you can alter the JavaScript to adjust it to your mud.