Misol and Cari had a lovechild!

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
misol101
Posts: 412
Joined: 02 May 2016 18:20

Re: Misol and Cari had a lovechild!

#31 Post by misol101 » 11 May 2017 18:23

Update time

The new archive is in the same location as before: http://www.mediafire.com/file/af5656ss58l37jx/lovechild.zip

What's new?

All the effects are now run through the server. In most cases, this increases speed, but in the case of a lot of parsed math expressions, it decreases (I have theories why).

So anyway, I tried to optimize tinyExpr, the expression parser/evaluator. I managed to remove atleast some of the massive recursion, so it's a bit faster now. In the end I also had to simplify the expressions for the plasma effects etc. I think tinyExpr can be optimized a lot more but I won't do that now..

Files:

1. demo.bat. The new entirely server-based demo. Looks slightly different than before in places due to simplified expressions

2. demo-lowend.bat. In this version I have exchanged several effects for less CPU intensive ones. I think this one is more suited for the "couch toy netbooks" :) ..but anybody can run this, like I said it has several new and/or modified effects

3. demo-old-noserver.bat. Runs smooth as silk on my machine, but apparently on nobody elses.. :)

4. kaleidoscope.bat. This is the old 'server.bat'. It shows the kaleidoscope effect only.

Please let me know how the first two files run on your machines. More smooth than before?


(Note: It's possible to pause the demos by pressing 'p')

misol101
Posts: 412
Joined: 02 May 2016 18:20

Re: Misol and Cari had a lovechild!

#32 Post by misol101 » 13 May 2017 03:34

No takers? I would just like to know if there was a noticeable improvement in how the demo/low-end demo runs.

Anyway, archive was updated again with a small fix. The music now stops automatically when closing down the window (previously, this only happened when pressing ESCAPE)

aGerman
Expert
Posts: 3869
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Misol and Cari had a lovechild!

#33 Post by aGerman » 13 May 2017 13:58

There is no noticeable difference between demo.bat and demo-lowend.bat for me. Of course both look much better than demo-old-noserver.bat apart from the fact that you didn't use bg.exe in the new scripts which leads to show up the windows only half-size.

Steffen

misol101
Posts: 412
Joined: 02 May 2016 18:20

Re: Misol and Cari had a lovechild!

#34 Post by misol101 » 14 May 2017 11:01

Thanks for checking Steffen

Silly of me to miss the "bg" call. I re-uploaded the archive with that fixed.

ShadowThief
Expert
Posts: 950
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: Misol and Cari had a lovechild!

#35 Post by ShadowThief » 14 May 2017 11:51

Looks way better. No strobe light effect and everything is totally fluid.

Great job!

misol101
Posts: 412
Joined: 02 May 2016 18:20

Re: Misol and Cari had a lovechild!

#36 Post by misol101 » 15 May 2017 02:31

Great, thank you!

einstein1969
Expert
Posts: 774
Joined: 15 Jun 2012 13:16
Location: Italy, Rome

Re: Misol and Cari had a lovechild!

#37 Post by einstein1969 » 15 May 2017 07:50

confirm about 30-40FPS on demo and demo-lowend. Look fluid on this old and slow machine :)

misol101
Posts: 412
Joined: 02 May 2016 18:20

Re: Misol and Cari had a lovechild!

#38 Post by misol101 » 01 Sep 2017 17:47

Re-uploaded archive (http://www.mediafire.com/file/af5656ss58l37jx/lovechild.zip) because I did some optimization in the demo script, and then renamed the files so that the old demo-lowend.bat is now demo.bat, and the old demo.bat is now demo-highend.bat.

In other words, the old low-end version is now the "official" demo since some of the highend version effects ran slow when I launched it on a Win 10 machine - and we can't have that! :mrgreen:

misol101
Posts: 412
Joined: 02 May 2016 18:20

Re: Misol and Cari had a lovechild!

#39 Post by misol101 » 08 Jun 2018 18:10

Archive update (added scripts demo-FULLSCREEN.bat and kaleidoscope-FULLSCREEN.bat)

With the newfound speed of cmdgfx_gdi that I posted about recently, I figured: why not try to run this demo fullscreen?

Image

This is 1366x768, but I have tested it up to 1920x1080 (on my Win10 machine, where it did lag a bit at the end)

You will need a decent CPU to run this at full FPS, and please before running do terminate other processes hogging a lot of CPU (such as the horrible Antimalware Service Executable on Win10)

Enjoy - it actually looks pretty sweet running fullscreen!

misol101
Posts: 412
Joined: 02 May 2016 18:20

Re: Misol and Cari had a lovechild!

#40 Post by misol101 » 24 Aug 2018 18:24

Final (I would think) release of this thing. Archive updated.

Just a change to make the demo truly run in fullscreen. On Win10 (and Win8?) this now happens automatically if running demo-FULLSCREEN.bat (previously, the bottom Windows task bar would still be showing).

For Win7, 100% fullscreen can also be achieved by running demo-FULLSCREEN-FORCED.bat. Be aware though that this version of the demo writes on top of the entire desktop, including all other windows. This means,for example, that if you try to alt-tab to another window while running the demo, the switch will be made, but you will not see anything else than the demo still running as it renders on top of everything else! You would then have to alt-tab back to the demo (and press Esc to close it, before you can use any other program).


Edit: Also disabled resizing of window for the non-fullscreen versions.

Post Reply