Hugor request/improvement - for RealNC
Moderators: Ice Cream Jonsey, joltcountry
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Nikos, is it correct in saying that this is the latest build for Hugor?RealNC wrote:Just finished all new builds:
http://83.212.107.13/~realnc/hugor/icj/Hugor-icj.zip
All builds use the shiny new audio engine, so there's no license problems, no chipmunk speed with some of the MP3s and no horrible audio quality when resampling is needed.
MIDI and Video support is disabled.
All the previous info on how to package the game still applies:
http://www.joltcountry.com/phpBB2/viewt ... ght=#82020
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
- RealNC
- Posts: 2301
- Joined: Wed Mar 07, 2012 4:32 am
I'd need to implement native MIDI for all three platforms. And on Windows it's a deprecated API (but since it's Windows, they'll be providing the API anyway for probably the next 10 years or so.)
The old audio engine is just SDL_mixer, which does implement MIDI for all platforms (and thus Hugor 1.0 has MIDI support), but it has shitty support for non-MIDI stuff. Which is why I wrote a new audio engine.
However, that also means I now need to support MIDI myself, and doing three implementations for each platform is more work. What I want to do is just do MIDI synthesis in the interpreter and ship a soundfont (SF2 file) with it. Which also means it will sound better, and most importantly, will sound exactly the same on all platforms. In Hugor 1.0, MIDI sounds completely different between Windows, Linux and Mac.
I'm also toying with the idea of letting the game use its own soundfont.
Right now, all parts are actually in place. The only thing that's missing is finding a soundfont file that a) sounds good, b) is small (something like 5MB), and c) is redistributable without worrying about copyright infringement.
The old audio engine is just SDL_mixer, which does implement MIDI for all platforms (and thus Hugor 1.0 has MIDI support), but it has shitty support for non-MIDI stuff. Which is why I wrote a new audio engine.
However, that also means I now need to support MIDI myself, and doing three implementations for each platform is more work. What I want to do is just do MIDI synthesis in the interpreter and ship a soundfont (SF2 file) with it. Which also means it will sound better, and most importantly, will sound exactly the same on all platforms. In Hugor 1.0, MIDI sounds completely different between Windows, Linux and Mac.
I'm also toying with the idea of letting the game use its own soundfont.
Right now, all parts are actually in place. The only thing that's missing is finding a soundfont file that a) sounds good, b) is small (something like 5MB), and c) is redistributable without worrying about copyright infringement.
- RealNC
- Posts: 2301
- Joined: Wed Mar 07, 2012 4:32 am
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
I put the latest here so people can download them without having to look through this thread.
http://www.joltcountry.com/downloads/hu ... indows.zip
http://www.joltcountry.com/downloads/hu ... -linux.zip
http://www.joltcountry.com/downloads/hu ... or-mac.zip
http://www.joltcountry.com/downloads/hu ... indows.zip
http://www.joltcountry.com/downloads/hu ... -linux.zip
http://www.joltcountry.com/downloads/hu ... or-mac.zip
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor request/improvement - for RealNC
I tried this out today and I might have messed something up?You're right, putting text in those boxes rather than just images is going to result in problems. What I'm saying is that relying on a specific font and size is not gonna work. For example, "Terminal" at 10pt is just too tiny for me. And I assume for other people too. It's not a scalable font. It's a bitmap font, and as such 10pt means different things for, say, 20" monitors and 27" monitors if they both are 1920x1080. On a 20", 10pt is going to be tiny. It will not scale.
I'll include a CFG override that you can set something like:
fixedFont = "Terminal,10"
I changed a file called dawn.cfg to look like this:
Code: Select all
[Identity]
; Application name.
; If this is set, authorName must also be set.
appName = Fallacy of Dawn
; Author/organization name.
; If this is set, appName must also be set.
authorName = Jolt Country
[Display]
; Start in fullscreen mode.
; true or false.
fullscreen = true
; Maximum display width in fullscreen mode.
; The value is in pixels.
fullscreenWidth = 1920
; Hide the menu bar.
; true or false.
hideMenuBar = true
; Left/right margin in pixels.
marginSize = 5
; Size of proportional-width font.
; The value specifies a point size, not pixels.
propFontSize = 15
; Size of fixed-width font.
; The value specifies a point size, not pixels.
fixedFontSize = 11
; Default Fixed Font for Windows.
fixedFont = "Terminal,11"
; Use a bilinear filter when scaling images.
; true or false.
imageSmoothing = true
[Media]
; Pause audio when application loses desktop focus.
; true or false.
backgroundPauseAudio = true
However, when I did that, the fixedFont defaulted to Courier New at 11 points instead of picking up Terminal 11. Is it possible that Hugor is not reading those values correctly? I can put a zip up if that would help troubleshoot.
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor request/improvement - for RealNC
And ACTUALLY, rather than fight the world on this (I am fighting the world on this) I am going to change the box on the right to not be of a different color.
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor request/improvement - for RealNC
OK, I changed Fallacy of Dawn to not have a cyan inventory window. It's just black so it looks like it lines up.
the dark and gritty...Ice Cream Jonsey!
- RealNC
- Posts: 2301
- Joined: Wed Mar 07, 2012 4:32 am
Re: Hugor request/improvement - for RealNC
That's because I never actually got around to implement that and then forgot about itIce Cream Jonsey wrote: Mon Oct 05, 2020 10:43 am I changed a file called dawn.cfg to look like this:
Previousiy the authorName was my name. By changing it, my understanding is that I create a new registry key.Code: Select all
[Identity] ; Default Fixed Font for Windows. fixedFont = "Terminal,11"
However, when I did that, the fixedFont defaulted to Courier New at 11 points instead of picking up Terminal 11. Is it possible that Hugor is not reading those values correctly? I can put a zip up if that would help troubleshoot.

It would be nice if you could open feature requests for stuff like that here:
https://github.com/realnc/hugor/issues
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor request/improvement - for RealNC
I am happy to do that. I will do that! And thanks again for Hugor. It's important to me that you know how much I appreciate it.
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor request/improvement - for RealNC
Okay, I opened it up. I changed Fallacy of Dawn to look like this:

So right now I do not need that feature. It'd be a "nice to have" for Cyberganked but that's at least a while away. And Jesus, you are doing all of this in your spare time so please don't think I am pestering you about it in any way!

So right now I do not need that feature. It'd be a "nice to have" for Cyberganked but that's at least a while away. And Jesus, you are doing all of this in your spare time so please don't think I am pestering you about it in any way!
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor request/improvement - for RealNC
I have a weird thing going on with Hugor - after I recreated my Windows system, I am seeing the audio appear to act like it is sped up really fast:
This is a video with sound of what is going on:
Any idea what could be happening here? I did not specifically install Creative Labs Sound Blaster Z drivers. I am downloading the 150 (!!) MB executable now, and will try that for starters.
(Kent's hewin.exe program does not appear to have this issue, but I discovered today that the game almost instantly crashes using that, so that will be a fun one to debug.)
This is a video with sound of what is going on:
Any idea what could be happening here? I did not specifically install Creative Labs Sound Blaster Z drivers. I am downloading the 150 (!!) MB executable now, and will try that for starters.
(Kent's hewin.exe program does not appear to have this issue, but I discovered today that the game almost instantly crashes using that, so that will be a fun one to debug.)
the dark and gritty...Ice Cream Jonsey!
- Ice Cream Jonsey
- Posts: 30175
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Re: Hugor request/improvement - for RealNC
I had my two desktop speakers set to be 5.1 surround sound. They aren't that! When I changed it, it worked. I'll send something out to people with surround sound later.
the dark and gritty...Ice Cream Jonsey!
- Jizaboz
- Posts: 5474
- Joined: Tue Jan 31, 2012 2:00 pm
- Location: USA
- Contact:
Re: Hugor request/improvement - for RealNC
Hey RealNC..
I was just talking to Roody and was wondering.. have you dabbled in being able to port Hugor to iOS at all? If so, did it feel like a lost cause?
I was just talking to Roody and was wondering.. have you dabbled in being able to port Hugor to iOS at all? If so, did it feel like a lost cause?
(╯°□°)╯︵ ┻━┻
- RealNC
- Posts: 2301
- Joined: Wed Mar 07, 2012 4:32 am
Re: Hugor request/improvement - for RealNC
I didn't. But it's doable. Hugor's evil twin, QTads, was not too hard to port to iOS (at least just enough of it so it could run Thaumistry.) Hugor is a simpler terp compared to QTads. It was initially a copy&paste of QTads with about half of it stripped out, as Hugo didn't need much of the stuff.Jizaboz wrote: Mon Sep 13, 2021 11:27 pm Hey RealNC..
I was just talking to Roody and was wondering.. have you dabbled in being able to port Hugor to iOS at all? If so, did it feel like a lost cause?
I don't have any plans to do port it, but if someone else wants to, it shouldn't be very hard.