Hugor with new video support

Hugo programming discussion. http://www.generalcoffee.com/hugo
Hugo By Example: http://hugo.gerynarsabode.org/index.php?title=Main_Page
Roody Yogurt's Hugo Blog: http://notdeadhugo.blogspot.com

Moderators: Ice Cream Jonsey, AArdvark, Kent

Post Reply
User avatar
RealNC
Posts: 1215
Joined: Wed Mar 07, 2012 4:32 am

Hugor with new video support

Post by RealNC » Tue Dec 25, 2018 3:22 pm

I've integrated libVLC into Hugor so that video can be reliably supported in Windows too, not just Linux.

The only game I know about that has video is Future Boy which only uses Cinepak videos. But if anyone intents to write a game with 4K H264 video and whatnot, well it should work since Hugor can now play anything VLC can (which is... pretty much everything :razz:)

Latest development build for Windows:

http://83.212.107.13/~realnc/hugor/test ... -12-25.zip

libVLC and its codecs do increase the size quite a bit though. However, it is loaded dynamically and Hugor.exe can still be used on its own. If the DLL files are missing, video support will be disabled.

Give it a test with Future Boy.

User avatar
Ice Cream Jonsey
Posts: 21224
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Re: Hugor with new video support

Post by Ice Cream Jonsey » Tue Dec 25, 2018 6:03 pm

Thanks - there is one thing that I have noticed that I need to track down, in terms of a possible glitch with the last one. If I leave Cyberganked open for a while (like a few hours) and then close it using the red X thing in the upper right of a window (so - not using the quit command) I have gotten crashes. I will see if I can reproduce this.

We should also see if Kent wants our help distributing Future Boy.
the dark and gritty...Ice Cream Jonsey!

User avatar
RealNC
Posts: 1215
Joined: Wed Mar 07, 2012 4:32 am

Re: Hugor with new video support

Post by RealNC » Wed Dec 26, 2018 10:27 am

I suspect a thread termination issue. This might not be related to how long the interpreter has been running. Try running a game in it and close the interpreter immediately. Try doing that a dozen times or so. Renaming Hugor.exe to the same basename as the game makes this quicker (to avoid the gamefile dialog).

User avatar
RealNC
Posts: 1215
Joined: Wed Mar 07, 2012 4:32 am

Re: Hugor with new video support

Post by RealNC » Fri Dec 28, 2018 6:45 pm

I need help with testing video support on macOS. I don't have a real Mac anymore and am using a macOS virtual machine. LibVLC does not play video in that due to lack of hardware acceleration. So I need others to verify whether video is playing in Future Boy or not.

Can you download this:

http://83.212.107.13/~realnc/hugor/test ... -12-28.zip

And test it? It requires macOS 10.12, 10.13 or 10.14.

User avatar
Ice Cream Jonsey
Posts: 21224
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Re: Hugor with new video support

Post by Ice Cream Jonsey » Fri Dec 28, 2018 9:25 pm

I can do it - I will charge my Mac tomorrow and give it a go.
the dark and gritty...Ice Cream Jonsey!

User avatar
RealNC
Posts: 1215
Joined: Wed Mar 07, 2012 4:32 am

Re: Hugor with new video support

Post by RealNC » Fri Dec 28, 2018 9:36 pm

I also asked for help on intfiction.org:

https://www.intfiction.org/forum/viewto ... 38&t=27062

Since not many people own Future Boy, I made a small test game that shows a video loop:

http://83.212.107.13/~realnc/hugor/test ... eoTest.zip

If the video plays, what I'd like to know is whether or not the interpreter hangs when you press escape repeatedly while the video plays.

User avatar
Ice Cream Jonsey
Posts: 21224
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Re: Hugor with new video support

Post by Ice Cream Jonsey » Sun Dec 30, 2018 11:06 am

RealNC - I can separate the crash stuff in a different thread.

Here is a crash I just had:
Problem signature:
Problem Event Name: APPCRASH
Application Name: cyberganked.exe
Application Version: 1.0.0.99
Application Timestamp: 5c157fff
Fault Module Name: StackHash_0a9e
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 00000000
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
And I got that by quitting the program with the x up top on Windows 7.
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 21224
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Re: Hugor with new video support

Post by Ice Cream Jonsey » Sun Dec 30, 2018 11:07 am

Oh and in the above case, cyberganked.exe had been running for maybe less than a minute.
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 21224
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Re: Hugor with new video support

Post by Ice Cream Jonsey » Sun Dec 30, 2018 11:11 pm

I had it happen again and it was up for hours.
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 21224
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Re: Hugor with new video support

Post by Ice Cream Jonsey » Tue Jan 01, 2019 11:21 am

I discovered that my Mac is out of energy - charging it now so I can test the video stuff.
the dark and gritty...Ice Cream Jonsey!

Post Reply