voc0der / nwnlogrotator Goto Github PK
View Code? Open in Web Editor NEWAutomatically stores, cleans, and colorizes your Neverwinter Nights chat logs.
License: MIT License
Automatically stores, cleans, and colorizes your Neverwinter Nights chat logs.
License: MIT License
Each time the game is closed and launched there seems to be a running 'counter' that will pop up a new instance alert message that a log was created with a yes/no to view it, +1 each time the game is opened/closed while logrotater is open.
Ex:
Open game with logrotater, close, 1 message
Open game again with logrotater, close, 2 messages
repeat
The html export is neat, and I do like the option that allows to also save a backup of the txt file itself, but being able to only save a back up of the text file and not keep the html would be nice too.
Icon remains in system tray after exiting, only disappears from the system tray if the mouse cursor is moved over it.
Could the program be updated to place all chat messages on their own line instead of all on the same line? It would help with parsing all of my rotated logs in a terminal.
The logs look great when opened in a Web Browser, but I often parse all of them for historical reasons with a single command and having everything on one line makes it a bit messy.
As per title. With two settings enabled:
Result:
a). Notifications don't have a chance to appear before the application closes after the output is generated. Introducing a 5 second pause before closure might work.
b). Clicking 'Run Once' while the 'Close Launcher Automatically when Client closes' setting is enabled, closes the LogRotator.
Cheers
This is particularly useful in case the crashes or something similar.
Would be awesome to allow the user to press a key (Let's say F12 for example), and this would save the timestamp of the log, after we press the key again it would stop, and save just the logs between those 2 times to a new file while asking the user for a name.
While the normal log is saved the same normal way it works at the moment.
This would be pretty good for saving certain important scenes as separate files while keeping the full log as a backup as well.
What do you think?
Hi ravenmyst,
Thanks for this tool once again, it's been really helpful. I understand continual support isn't a priority since you no longer play, but I'll put through some of my own feature suggestions in any case:
1.-- Extra option for the tool to interpret different emote symbols, e.g. [], as well as **.
2.-- Noticed that in some cases the tool takes a bit longer to read the log and create the file after a long session. Shutting down shortly after quitting NWN of course will prevent the process completing and the log being written. A notification/reminder pop up of current parsing might be helpful.
3.-- Option to add certain lines to the tool ourselves that would be excluded in the written log.
Things that aren't in the log and not so easily to pick up on:
1.-- Log to automatically pick up on character name and include into the filename for sorting purposes.
2.-- Log to automatically pick up the server name and include into the filename for sorting purposes.
Cheers!
Got an issue I'm trying to get CursoLock to work with NWNLogRotator which I like for taking Logs of Neverwinter Nights 1. Both of these programs are set up to use NWNmain.exe. I can get each working separately but they won't work together. I tried Cursor Lock in both fullscreen mode and Windows interior mode. Do you have any idea if this would even be possible to do? Here Is a video of the NWNLogRotator
https://neverwintervault.org/project/nwn1/other/tool/nwnlogrotator
Once again, thanks for this. It's great.
Further, would it be possible to:
Cheers!
Project looks great, especially love the rich html parsing of the logs.
Is it on the cards to extend the capabilities to also be able to capture the running of nwserver, and rotating server-logs in a similar fashion (Although separately, as the host running the server might also use the client, and I think they should rotate independently).
Unsure of how the parsing works, it'd be a great half-step to just dump the serverlogs in unformatted html for a while until the parser was built-up to manage it.
Thanks very much for considering.
Case example:
Currently set to 20 lines minimum in config.
Logging into the player list of a server then quit the game. nwclientLog1 has 9 lines:
nwclientLog1.txt
Log is still automatically created:
When attempting to set it to, say, 30 lines minimum, even several hour sessions with hundreds of lines are then interpreted to not have enough lines and the log is not saved.
Many thanks
Awesome tool!
Tried setting // as a custom emote, but it makes all the HTML look weird.
Another thing is a suggestion: is there a way to set different colors to custom emotes. For example on the server I'm playing we use:
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.