Hugor with new video support
Moderators: Ice Cream Jonsey, joltcountry
- RealNC
- Posts: 2246
- Joined: Wed Mar 07, 2012 4:32 am
Hugor with new video support
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 )
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.
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 )
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.
- Ice Cream Jonsey
- Posts: 28925
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor with new video support
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.
We should also see if Kent wants our help distributing Future Boy.
the dark and gritty...Ice Cream Jonsey!
- RealNC
- Posts: 2246
- Joined: Wed Mar 07, 2012 4:32 am
Re: Hugor with new video support
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).
- RealNC
- Posts: 2246
- Joined: Wed Mar 07, 2012 4:32 am
Re: Hugor with new video support
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.
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.
- Ice Cream Jonsey
- Posts: 28925
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor with new video support
I can do it - I will charge my Mac tomorrow and give it a go.
the dark and gritty...Ice Cream Jonsey!
- RealNC
- Posts: 2246
- Joined: Wed Mar 07, 2012 4:32 am
Re: Hugor with new video support
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.
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.
- Ice Cream Jonsey
- Posts: 28925
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor with new video support
RealNC - I can separate the crash stuff in a different thread.
Here is a crash I just had:
Here is a crash I just had:
And I got that by quitting the program with the x up top on Windows 7.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
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 28925
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor with new video support
Oh and in the above case, cyberganked.exe had been running for maybe less than a minute.
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 28925
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor with new video support
I had it happen again and it was up for hours.
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 28925
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor with new video support
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!
- Ice Cream Jonsey
- Posts: 28925
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor with new video support
I really fucked up. RealNC, would you still like this tested on a Macbook?
the dark and gritty...Ice Cream Jonsey!
- pinback
- Posts: 17700
- Joined: Sat Apr 27, 2002 3:00 pm
- Contact:
Re: Hugor with new video support
Just gotta wait for that badboy to finish charging! Shouldn't be long now.
I don't have to say anything. I'm a doctor, too.
- Ice Cream Jonsey
- Posts: 28925
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor with new video support
I did get around to trying this, but the ZIP isn't there - what location should I try to get it? (I got the test file below OK.)RealNC wrote: ↑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.
the dark and gritty...Ice Cream Jonsey!
- RealNC
- Posts: 2246
- Joined: Wed Mar 07, 2012 4:32 am
- Ice Cream Jonsey
- Posts: 28925
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor with new video support
I will turn on guest posting here and I will test video this week.
the dark and gritty...Ice Cream Jonsey!
- RealNC
- Posts: 2246
- Joined: Wed Mar 07, 2012 4:32 am
Re: Hugor with new video support
Final build, unless somebody finds bugs:
http://83.212.107.13/~realnc/hugor/test ... -03-18.zip
Game for testing video:
http://83.212.107.13/~realnc/hugor/test ... eoTest.zip
The two major changes since the last build is the option to use OPL3 emulation for MIDI, and the ability to change the text cursor to an underline or block (these work best with fixed-width fonts; not really meant for proportional fonts.)
http://83.212.107.13/~realnc/hugor/test ... -03-18.zip
Game for testing video:
http://83.212.107.13/~realnc/hugor/test ... eoTest.zip
The two major changes since the last build is the option to use OPL3 emulation for MIDI, and the ability to change the text cursor to an underline or block (these work best with fixed-width fonts; not really meant for proportional fonts.)
- RealNC
- Posts: 2246
- Joined: Wed Mar 07, 2012 4:32 am
Re: Hugor with new video support
For Linux, it seems the AppImage format is quite useful. I packaged Hugor as an AppImage which should run on everything at least as recent as Ubuntu 16.04. Since AppImage is a bundle format, no dependencies are needed to be installed by the end user. Includes full audio and video support with all codecs and libraries already included. Simply right-click, extract, run:
http://83.212.107.13/~realnc/hugor/test ... -22.tar.gz
It's 64-bit only. AppImage doesn't support 32-bit.
http://83.212.107.13/~realnc/hugor/test ... -22.tar.gz
It's 64-bit only. AppImage doesn't support 32-bit.