HTML Abandoned Conqueror's Heart [v0.042] [Mad King Cinema]

4.00 star(s) 1 Vote

Mad King Cinema

Cinematic Angry Ruler
Game Developer
Aug 25, 2021
55
97
GIFs are basically always going to be much larger files than MP4 (h264/AVC) for the same quality. Mad King Cinema may be able to get some size gains from switching to webm (vp8/vp9/av1 video). It should also be possible to encode the videos at a smaller resolution or lower bitrate at the cost of quality. It looks like the videos are low-ish quality to begin with so not sure why they are at such a high resolution/bitrate. As a test I re-encoded some of the files to vp9@720p and was able to reduce the size by over 75% and they look about the same quality.

Also it looks like there is an (empty?) audio track on the files that could be dropped for more space savings.
Hi i’m currently using a pretty primitive way to cut and get the videos. Can you tell me how I can drop the audio files?
 

dspeed

Active Member
Oct 15, 2016
837
1,298
Errrr....

Is this a game about "tribal warfare" where all the tribal people are black and "invading" white women?
 

ARB582

Active Member
Jan 6, 2018
523
326
Errrr....

Is this a game about "tribal warfare" where all the tribal people are black and "invading" white women?
The game so far has 4 tribes and correspond to whites, blacks, hispanic ( i think) and asians.
All tribes attack and rape each others women. As of now you can only play as the black tribe but if you see the character creation, other tribes will be playable in the future.
So i dont really see how there is anything to errr at or to put in quotations


As for the game itself, its got a neat concept but there is obviously room for improvement.

1. The size, i have no idea how compression works but around 1.5GB for the current seems too much

2. You become a chief too quickly
Add more stuff to do before becoming a chief and make it take longer so it feels more earned. If you want to focus more on the management aspect, then you can just start the game with the player already as the chief and go on from there.
 
  • Like
Reactions: Mad King Cinema

docclox

Active Member
Game Developer
Aug 20, 2016
563
569
You're kind of at the mercy of the RNG here. I tried a run where I kept failing the hunt. I trained every day but kept failing. Eventually I ran out of gold, and so begged so I could eat. The the raids started, population low, settlement destroyed.

It's not at all clear what I could have done to prevent that.
 

Bobin1001

Newbie
Jan 16, 2018
53
91
So you do have the files separated by race. I hope in the next update you make the Blanc(white) tribe available to play as.
 

DeUglyOne

Bite Me!
Donor
Sep 1, 2017
547
1,711
You're kind of at the mercy of the RNG here. I tried a run where I kept failing the hunt. I trained every day but kept failing. Eventually I ran out of gold, and so begged so I could eat. The the raids started, population low, settlement destroyed.

It's not at all clear what I could have done to prevent that.
Nothing. His RNG is set way too high for the stats you start with.
It also appears that, even though you're not a chief and only a spoke in the wheel, the tribe's stats are tied to yours. Once you're raided, the entire tribe is hosed.
 
  • Like
Reactions: Mad King Cinema

Mad King Cinema

Cinematic Angry Ruler
Game Developer
Aug 25, 2021
55
97
Nothing. His RNG is set way too high for the stats you start with.
It also appears that, even though you're not a chief and only a spoke in the wheel, the tribe's stats are tied to yours. Once you're raided, the entire tribe is hosed.
yeah sorry about that. Poor experience on my part. Next updates going to be a lot less rng focused and more event focused. I’m also trimming a lot of the fat in the game.
 

Bobin1001

Newbie
Jan 16, 2018
53
91
Nothing. His RNG is set way too high for the stats you start with.
It also appears that, even though you're not a chief and only a spoke in the wheel, the tribe's stats are tied to yours. Once you're raided, the entire tribe is hosed.
I haven't faced this problem for the 0.2 version. The 0.1 version should only need about 10 for strength for hunting so doing the train and ritual should get you there. If you still face trouble using SugarCube.State.active.variables.player is the best option. I use to give my self negative influence so I don't get chieftain and can influence the food production and population better. Chieftain only makes the raid and minority abuse available anyways.
 

Mad King Cinema

Cinematic Angry Ruler
Game Developer
Aug 25, 2021
55
97
Alright complete overhaul input. Hopefully theres a lot less death spirals. Either way i’ll need to take a few days off of editing this project as i’ll need some sleep.
 

Bobin1001

Newbie
Jan 16, 2018
53
91
Alright complete overhaul input. Hopefully theres a lot less death spirals. Either way i’ll need to take a few days off of editing this project as i’ll need some sleep.
You might make your life harder trying to appease everyone. I personally didn't have a problem with the old videos because it is hard to find videos that will fit this type of setting. Using just outdoor setting or camping setting would be wiser. You could also say the setting is post modern era war that led to decline of civilization to the point of returning to tribal civilization. This will allow some modern clothes or even modern building for your porn vids.
 
  • Like
Reactions: Mad King Cinema

Mad King Cinema

Cinematic Angry Ruler
Game Developer
Aug 25, 2021
55
97
You might make your life harder trying to appease everyone. I personally didn't have a problem with the old videos because it is hard to find videos that will fit this type of setting. Using just outdoor setting or camping setting would be wiser. You could also say the setting is post modern era war that led to decline of civilization to the point of returning to tribal civilization. This will allow some modern clothes or even modern building for your porn vids.
Well i’ll still use outdoor videos but just gonna avoid the ones that were inside that threw people off.
 
  • Like
Reactions: Bobin1001

Averious

New Member
Jul 17, 2020
13
22
You might make your life harder trying to appease everyone. I personally didn't have a problem with the old videos because it is hard to find videos that will fit this type of setting. Using just outdoor setting or camping setting would be wiser. You could also say the setting is post modern era war that led to decline of civilization to the point of returning to tribal civilization. This will allow some modern clothes or even modern building for your porn vids.
He doesn't have to appease everyone, but getting information back from people as well as suggestions allows him to interact with the community and see the general wants and expectations of the people who are going to be playing his game.
 

Bobin1001

Newbie
Jan 16, 2018
53
91
Well i’ll still use outdoor videos but just gonna avoid the ones that were inside that threw people off.
That's good to know. What tribe will you be working on next?

He doesn't have to appease everyone, but getting information back from people as well as suggestions allows him to interact with the community and see the general wants and expectations of the people who are going to be playing his game.
Yeah, I just wanted him to know that he doesn't need to bend over backwards to be as realistic as possible. The video quality looks a little worse than the original, but this could be from using older videos though.
 

Mad King Cinema

Cinematic Angry Ruler
Game Developer
Aug 25, 2021
55
97
That's good to know. What tribe will you be working on next?


Yeah, I just wanted him to know that he doesn't need to bend over backwards to be as realistic as possible. The video quality looks a little worse than the original, but this could be from using older videos though.
i sourced a few videos for the Blanc tribe so that will be the next likely one and I can use some of the other images. I want the Blanc to be feel a little different in playstyle so I’m planning it out for now.

the drop in quality is actually due to both having older videos and switching to webm.Switching to Webm was to cut the file size signifigantly, but may s
 
Last edited:
  • Like
Reactions: Bobin1001

mercury

Newbie
Jul 4, 2017
96
173
Hi i’m currently using a pretty primitive way to cut and get the videos. Can you tell me how I can drop the audio files?
FFmpeg is my best friend when doing just about any video stuff, and it can be yours too. It can even do the for you if you want to get super deep into it. If you're on linux (or install Ubuntu 20.04 on from the or ) you can use a script (I called it encode.sh and wrote it while calculating that space savings number) containing this:

Bash:
#!/bin/bash

set -Eeuxo pipefail

rm -f "${1}_vp9.webm" ${1}_vp9_passlog*

ffmpeg -i "${1}" \
  -vf scale=-1:720 -an \
  -c:v libvpx-vp9 -crf 32 -b:v 0 -pass 1 -deadline good -cpu-used 4 \
  -passlogfile "${1}_vp9_passlog" \
  -f null /dev/null

ffmpeg -i "${1}" \
  -vf scale=-1:720 -an \
  -c:v libvpx-vp9 -crf 32 -b:v 0 -pass 2 -deadline good -cpu-used 2 \
  -passlogfile "${1}_vp9_passlog" \
  "${1}_vp9.webm"

rm -f ${1}_vp9_passlog*
And then you simply run ./encode ./source.mp4 (assuming you're in the folder with both encode.sh and the file) which will run a VP9 2-pass constant quality encode of whatever file you specify and spit out "source.mp4_vp9.webm".

To break down the ffmpeg command real quick:

  • -i "${1}" - This takes the first argument to the bash script and uses it as the input file for ffmpeg.
  • -vf scale=-1:720 - runs the input through a video filter which scales to (something) by 720 pixels, where something is whatever number makes sense to maintain aspect ratio.
  • -c:v libvpx-vp9 - This specifies the codec to use for the video, and chooses to use libvpx-vp9, which AFAIK is the only vp9 encoder. I specifically recommend VP9 because it:
    • works with (including Safari, which is basically the new IE and doesn't support the yet newer open AV1 codec).
    • is supported in some other engines such as renpy.
    • has relatively fast encode times (unlike AV1 right now).
    • has better file sizes and/or quality at the same bit rates than older options (h264/avc/mp4 being the primary historic competitor for web, theora/ogv being the only other real option).
  • -crf 32 - This specifies the constant rate factor of 32, this is basically your quality slider with a scale of 0-63: lower numbers give higher qualities but bigger file sizes. video by google (who developed the codec and the libvpx encoder). You could probably even go with a slightly higher number to eek out slightly smaller videos since your inputs seem not super high quality to start with. YMMV.
  • -b:v 0 - This specifies to the encoder the bitrate for video, which since we're doing a constant quality encode we set to 0, we want whatever bitrate is needed for the quality we want. This can be set to some number which switches to a constrained quality encode that will never go above the specified bitrate, but that is mostly useful for video streaming applications where you know e.g. your consumer has a 5mbps connection that you need to fit within.
  • -pass 1 and -pass 2 - This specifies which pass of the encoding we are on. On the 1st pass the video is analyzed and useful data for encoding is stored in a log file. On the 2nd pass the video is actually encoded.
  • -deadline good - This basically controls how quickly we think we need to do the encoding (its deadline), which can be realtime (very very fast but bad size/quality), good, or best (essentially a placebo). Google says , so we use good (note that "-quality" is just an older way of referring to "-deadline").
  • -cpu-used 4 and -cpu-used 2 - When deadline=best this controls the number of cpu cycles used, which basically means speed. Generally the slower you go the smaller the file and higher perceptual quality you will get in the output. We use speed 4 for the first pass as this will have no impact on the first pass and may make it faster. We use speed 2 for the 2nd pass because it is, again, (note that "-speed" is just an older way of referring to "-cpu-used").
  • -passlogfile "${1}_vp9_passlog" - Where to store/find the 1st pass's log (statistics for encoding in the 2nd pass) file. I specifically chose to specify this as things can get weird if multiple encodes are running at the same time, and I wanted to be able to remove it after the encode, so I named it based on the input file (${1}) with some other stuff attached to make it clear what that file was (_vp9_passlog).
  • -f null /dev/null - This is used in the 1st pass to specify that ffmpeg should use the format named null and send it to the file /dev/null (which is a linux thing that entirely discards anything sent there), since it doesn't produce any video output. We need to specify the format since ffmpeg won't be able to guess what format we're using based on the output filename of "/dev/null", and choosing other formats could complain for various reasons or end up producing (garbage) data and wasting time trying to actually do something with it.
  • "${1}_vp9.webm" - This is used in the 2nd pass to tell ffmpeg to output the file right next to the input (${1}) but with some extra stuff (_vp9.webm) added on to the end. Since this ends in ".webm" ffmpeg is able to determine that you want the output to be put into the "WebM" container format (basically a subset of matroska/mkv, but standardized for the web), which is the standard container for vp8/vp9 video with (optional) vorbis/opus audio, and the only container for vp9 readable by standard web browsers.
Thank you for coming to my TED talk. I should write a wiki on this shit or something...
 
4.00 star(s) 1 Vote