Toribash
Original Post
[REL] Toribash screensaver frontend by nigredo
Here goes the first Toribash Screensaver!!!

Some history:
About one and a half week ago I made my first madmans, and was just sitting on my chair and watching them over and over... And I had an idea of Toribash screensaver.
Later I searched for it on this forum and found few threads (first dated by 2005) asking to make it, and not even one mention of somebody working on it. So I had to make it myself.

About:
ToriScreen is frontend to toribash which makes it work like screensaver, showing replays and exiting on key press or mouse button press.

Features:
Playing replays in straight order / shuffled
Showing quotations or any other pieces of text while playing
Lao Tzu quotations compilation comes along ^_^
My own camera script will make it more cinematographic (but you can disable it)

To be implemented:
Loading/saving settings to/from registry OK
Further customization (user scripts and so on)
Some bug-killing ^_^
Automated installer OK

Requirements:
Windows XP and up. No linux frontend right now.
You should have toribash installed and working.
Admin rights needed for installation

Version info:
V 1.1 This version works ^_^

Installation notes:
Install it into you toribash folder. You will need admin rights
Click "properties" button and customise it. If you edit replays.dat manually remember that all replay files listed in it should be inside replay folder
Enjoy it. You can click "preview" button if you wish ^_^

Changelog:

v 1.0
- Recompiled it with other settings to make it work, hope it helps people who couldnt run it.
- Fixed the bug with wrong quotations color.
- Fixed the bug with Toribash behaviour after running screensaver.
- Changed the behaviour of Edit controls.
- Changed paths for few files and path in registry.
- Now it saves/loads settings from registry.
- Changed camera script to get rid of instant camera turns.
- Made a proper automated installer for it. It removes previous version automaticaly so do not trouble about it.
- no win 95/98/me supported now.

v 1.1
- Fixed the bug with 1280 960 resolution
- Fixed the install path for readme and license
- Now you can load shader files

This is Release version.

Download from datafilehost.com

Now I want you to test it. It was only tested on WinXP 32bit and toribash 3.72, so if you run it on other systems just let me know. Also if you experience some problems with it, or want some new functionality - just post it here, or pm me, or email to [email protected], it will help me.

And yes, if you like it, you may donate me some TCs ^_^


PS: im not a programmer, so sorry for all bad code ^_^

PPS: you can exchange with your replay/quotation compilations here if you wish
Last edited by nigredo; May 29, 2009 at 07:29 AM.
To the mind that is still, the whole universe surrenders. (c) Lao Tzu
Author of first and only Toribash Screensaver
hmmmmmmm T_T I installed this and now when I try to view replays off my desktop it opens the screensaver......
/set gr 0 0 -30
The cure is to delete default.cfg and profile.tbs from your toribash folder and replace them with their backups from data\script\screensaver\ folder. (default.cfg.bak and profile.tbs.bak)

did you run screensaver before it happened? Did it crash?
Last edited by nigredo; Feb 13, 2009 at 02:10 PM.
To the mind that is still, the whole universe surrenders. (c) Lao Tzu
Author of first and only Toribash Screensaver
everything worked great up until I wanted to view a replay from my desktop.. no offense but I uninstalled.. my monitor goes into powersave mode after a bit anyways D: good work though
/set gr 0 0 -30
Two question;

A) Why not just run TB in fullscreen mode? Wouldn't that do the same thing?

B) To prevent the distribution of malicious software, I'm afraid you'll need to submit the source of the program. If you don't mind everyone seeing it, simply post it here. However, if you'd rather give it to as little people as possible, you may submit it to one of the following people for verification:

Juntalis
Blam
Jok
suomynona

Thanks.
ok, will do it next week. Lua and bat scripts are open though, and my c code doesnt do anything evil.. intentiously ^_^
All i want is some fame and tcs ^_^
To the mind that is still, the whole universe surrenders. (c) Lao Tzu
Author of first and only Toribash Screensaver
Nice
Only problem: I had to find the screen saver and then install it (right click => install), it didn't just appear in the list.
I'm on Windows 7 64bit btw.
(and it was in SysWOW64)
:D
Blam, i do not know much about Windows7... Where was it installed, and where i should install it (where are all other screensavers?)

Juntalis, well, basically it _is_ just running toribash. But it does not show menu, runs it with different settings (personally I do not need HUD when watching replays), uses my camera script(which is better for relaxive replay watching i believe), shuffles replays, shows quotations, and finally exits on keypress or mousekeypress (no mousemove exit right now), so it behaves like screensaver.
Oh, and yes, it shows my sig of course ^_^
Creating screensaver from beginning would be just like reinventing bicycle

Made version 1.0 during weekend, fixed few bugs, added saving/loading settings from registry and automated installer.
Last edited by nigredo; Feb 16, 2009 at 05:26 AM.
To the mind that is still, the whole universe surrenders. (c) Lao Tzu
Author of first and only Toribash Screensaver
Still cant find why it doesnt work on some PCs. Maybe something about vcredist or service pack.. idk..

Uses following modules (dependency walker)
KERNEL32.DLL
USER32.DLL
GDI32.DLL
WINSPOOL.DRV
ADVAPI32.DLL
SHELL32.DLL
SHLWAPI.DLL
OLEDLG.DLL
OLE32.DLL
OLEAUT32.DLL
OLEACC.DLL

Which one of them could possibly be the problem?
Last edited by nigredo; Feb 16, 2009 at 10:15 AM.
To the mind that is still, the whole universe surrenders. (c) Lao Tzu
Author of first and only Toribash Screensaver
Well the ones that work are in system32, whereas it was installed into SysWOW64, so you know. :P
:D