4.20 star(s) 54 Votes

Xorgroth

Well-Known Member
Modder
Oct 12, 2017
1,121
1,158
Humm. How did you get it running anyways? Twine and Chrome should both be okay with webP but I can't get it running atm.

Still trying to get it running in Twine since it would probably easier to repeat it for updates.


NVM, got it running... urgs, sometimes you feel quite stupid....
The game actually uses Twine 1 but Twine 1 is so damn laggy on my machine that I always convert it over to Twine 2. Much faster to edit in something like Sublime Text though in my option. However I'm also usually looking at QSP code in Sublime Text, reason I haven't kept the webp version of this game up-to-date. Beornwahl can dish out updates like crazy, which is good just had trouble keeping up with him :p
 

FA80

Active Member
Apr 22, 2017
506
437
Proof of concept only. I replaced only blow1 pics of field girls by webp just to prove it is doable.

Every other girl (or other blow pics of field-girls) still loaded as gif. As I said, just a proof of concept.It is possible to replace all gifs in a region with webp. So, if anyone wants to make a replacement using webP pics, I can provide a player.html for that or s/he may use my code as example (all is done in the section "SexPics" but matriarchs which have to altered one by one but you just need to change the file type, so no big deal)

Works for me, try for yourself.
 

trythisone

Newbie
Nov 1, 2017
55
8
Proof of concept only. I replaced only blow1 pics of field girls by webp just to prove it is doable.

Every other girl (or other blow pics of field-girls) still loaded as gif. As I said, just a proof of concept.It is possible to replace all gifs in a region with webp. So, if anyone wants to make a replacement using webP pics, I can provide a player.html for that or s/he may use my code as example (all is done in the section "SexPics" but matriarchs which have to altered one by one but you just need to change the file type, so no big deal)

Works for me, try for yourself.
How many browsers have support for webp? Is it still just chrome and opera?

Also Beornwahl has the game setup to only load pictures with the .gif extention (makes the code a little easier). Most of the still images are jpg files that are just name gif. In other words you can use whatever img format browsers support as long as you call it .gif without changing the code.
 

Xorgroth

Well-Known Member
Modder
Oct 12, 2017
1,121
1,158
Firefox sort of has WebP support but it's a bit iffy, the game has issues with Firefox anyways. At least it did in the 1.8.2 release, will start up fine but think it was during fighting it would error out. Also some of the gif files aren't actually gif files, looks like they were mass renamed, so you might get an error trying to convert them to an animated file.
 

trythisone

Newbie
Nov 1, 2017
55
8
Been using Firefox for this since around 1.1.0, I've got to many security addons on chrome to be able to make this work.
 

arandomblunt

New Member
Jun 11, 2017
3
1
The style settings on this needs to be fixed for some screens.
Code:
#story {
width: 99%;
}
#passages {
width: inherit;
}
Unfortunately this seems to add issues when the window isn't maximized on open, but that should be fixable with another look at the style settings.
Not sure if inherit would work in the code, if not 100% width for passages works too.

Clears up a lot of the blank space, then maybe set max-height on images to fix scaling issues that can happen due to the wider passage area.

Without the changes:

With the changes:
This was a great tip, thanks so much!
 

Daxter250

Forum Fanatic
Sep 17, 2017
4,676
12,805
oh wow. so much feedback in a short amount of time :OhMyGoodness:.
im gonna dig into it once ive done my daily routine (buying food n shit).
 

FA80

Active Member
Apr 22, 2017
506
437
If in doubt or trouble you may just use chrome portable version for this. Doesn't need internet connection, doesn't mess with your regular stuff... just no worries at all.
 

Daxter250

Forum Fanatic
Sep 17, 2017
4,676
12,805
I wasn't sure about XVid4psp for gif support but ffmpeg does, ffmpeg can convert just about anything :p
For example: ffmpeg -ss 60.0 -t 2.5 -i StickAround.mp4 -f gif StickAround.gif
-ss = seek 60 sec into video
-t = stop after 2.5 seconds
and output to a gif file.
okay, i will give it a try as long as it isn't too difficult to use. a gif converter is always handy.
They look good to me, just a little pixely.
dont worry, the AVI files i have look a lot more crispier. it's the filter of that gif converter i used that makes it look a bit odd.

Daxter those are nice. My personal preference is for bigger, longer, higher quality, but those get the job done. Between this game and a couple others I've been making clips for, I've taught myself Shotcut - it's great. Once-stop shop for making clips from videos, whether downloaded in HD or scraped from Youtube/YouPorn/whatever.
Free download.
I'm happy to help if you have questions, but there's a guy who made a bunch of Youtube videos on it. Can easily make a clip, apply filters (like cropping it and fixing white balance), then save into whichever format you want (GIF, Webm, MPEG, etc).
jeah, i agree. a bit longer would be good. however beorn decided to use short gifs...and i don't wanna mod the game, i just wanna patch it, so i swim with the flow ^^ and just make short gifs that match the other gifs.

shotcut eh? i will definitely try it out, thanks!
 

Enigior

Newbie
Feb 18, 2018
40
103
This is something i sent to Beorn as a suggestion:



I found a way to load alternativ images, if an image isn't loaded (on error). That would provide a way to change images to a different format without breaking anything.

In "Widgets!" add
Code:
<<widget "image">><<nobr>>
   /* get filename and extension, set ".gif" to extension if omitted*/
   <<set _wImgFileNoExt = $args[0]>>
   <<set _wImgIndexDot = $args[0].lastIndexOf(".")>>
   <<set _wImgExt = "">>
   <<if _wImgIndexDot > 0>>
       <<set _wImgFileNoExt = _wImgFileNoExt.substring(0,_wImgIndexDot)>>
       <<set _wImgExt = $args[0].substring(_wImgIndexDot)>>
   <</if>>
   <<if _wImgExt.length == 0>><<set _wImgExt = ".gif">><</if>>


   <<if $args[1].length > 0>>
       /* get prefered extension, insert leading "." if omitted*/
       <<set _wImgPrefExt = $args[1]>>
      <<if $args[1].lastIndexOf(".", 1) < 0>><<set _wImgPrefExt = "." + _wImgPrefExt>><</if>>
     
/*display image*/
      <<= '<img src="' + _wImgFileNoExt + _wImgPrefExt + '" onerror=\'this.onerror=null;this.src="' + _wImgFileNoExt + _wImgExt + '"\'>'>>
   <<else>>
      <<= '<img src="' + _wImgFileNoExt + _wImgExt + '" onerror=\'this.onerror=null;this.src="' + _wImgFileNoExt + ".gif" + '"\'>'>>
   <</if>>
<</nobr>><</widget>>
und use via
Code:
<<set _picture to "img/Background/Lore/Tree1.gif">>
<<image _picture "png">>
the extension can be omitted and falls back to gif , examples:
Code:
/*no extension at all -> defaults to .gif */
<<set _picture to "img/Background/Lore/Tree1">>
<<image _picture>>
/* no extra extension, uses the one in the filename. Fallback to .gif (if "img/Background/Lore/Tree1.png" doesn't exist, it uses "img/Background/Lore/Tree1.gif") */
<<set _picture to "img/Background/Lore/Tree1.png">>
<<image _picture>>
/* extra extension is prioritized, will use jpg. falls back to the .png if the .jpg doesn't exist, no additional fallback to gif though. maybe another "onerror" can accomplish that */
<<set _picture to "img/Background/Lore/Tree1.png">>
<<image _picture "jpg">>
Instead of a fixed extension there can be used a variable, i can integrate setting it in the cheat menu. I vote against webP for now, since it's not officially supported in Firefox.
 

Daxter250

Forum Fanatic
Sep 17, 2017
4,676
12,805
okay i tested shotcut...and god damn it it's an awesome editor! i can even create gifs in a way better quality (without weird filters). ofc i can't do anything about the low 480p quality, 'cause some vids just have 480p available. but whenever i will get my hands on hd ready vids i will make sure that the gifs get their hd ready quality (which is fucking easy to do now), as long as you don't mind having gifs with more than 15 mbyte :p.

i also love the timeline. i can adjust every microsecond! that's the way i wanna have it.

so thanks for the editor! i'm going to do some work with it now the next days.

edit: but where i need help now is: how to i get read of the bars i have on the top and on the bottom of my clip / gif?
with the filter resizing and positioning i was able to "stretch" the clip over the black bars to make 'em disapear. the problem is, that, well, the clip is stretched.
i uploaded the two gifs (stretched and unstretched) so you can see the differences:
 

Xorgroth

Well-Known Member
Modder
Oct 12, 2017
1,121
1,158
okay i tested shotcut...and god damn it it's an awesome editor! i can even create gifs in a way better quality (without weird filters). ofc i can't do anything about the low 480p quality, 'cause some vids just have 480p available. but whenever i will get my hands on hd ready vids i will make sure that the gifs get their hd ready quality (which is fucking easy to do now), as long as you don't mind having gifs with more than 15 mbyte :p.

i also love the timeline. i can adjust every microsecond! that's the way i wanna have it.

so thanks for the editor! i'm going to do some work with it now the next days.

edit: but where i need help now is: how to i get read of the bars i have on the top and on the bottom of my clip / gif?
with the filter resizing and positioning i was able to "stretch" the clip over the black bars to make 'em disapear. the problem is, that, well, the clip is stretched.
i uploaded the two gifs (stretched and unstretched) so you can see the differences:
Well now that you got Shotcut probably don't need ffmpeg somewhere else also. Just sort of handy when batch converting the hell out of files, a little better of you know how to set environment variables too.
 

Daxter250

Forum Fanatic
Sep 17, 2017
4,676
12,805
Well now that you got Shotcut probably don't need ffmpeg somewhere else also. Just sort of handy when batch converting the hell out of files, a little better of you know how to set environment variables too.
jeah. i just need to get rid of black bars and im good ^^
 
Jan 28, 2018
238
323
So I've tried several different searches on here and haven't found the answer to this question, and it isn't on the wiki, so I'm asking: is there an armor currently in the game better than the Green Armor? If so, where is it located?
 

FA80

Active Member
Apr 22, 2017
506
437
So I've tried several different searches on here and haven't found the answer to this question, and it isn't on the wiki, so I'm asking: is there an armor currently in the game better than the Green Armor? If so, where is it located?
There is Basic, Chain, Kavacha, Green (and soon: Gaia) - Armor. So, until Gaia Armor is implemented the Green one is the the best one.

If in trouble you may use cheats to improve your gear though.
 
Jan 28, 2018
238
323
Thanks, just wanted to make sure! Since the swords scaled at 5, 10, 20, 30 I thought the armor might do the same since it starts at 5 as well, but I guess it scales at 5, 10, 15, 20?
 

sp1ker

Newbie
Apr 29, 2017
96
69
but where i need help now is: how to i get read of the bars i have on the top and on the bottom of my clip / gif?
with the filter resizing and positioning i was able to "stretch" the clip over the black bars to make 'em disapear. the problem is, that, well, the clip is stretched.
i uploaded the two gifs (stretched and unstretched) so you can see the differences:
Hey - I took a look at your files - it looks like the output has been set at a particular resolution, so if the video doesn't fit that resolution, it either has to stretch or add bars.
In the export window, it has two sets of variables - one is the output resolution (where you can shrink your file), and right under it is the ratio - ie: 16 x 9. If the ratio is the same but you change the resolution, it adds black bars.
I find that changing the ratio to be the same as the resolution gets rid of bars.

FOR EXAMPLE.
Start with 1080x720 video. Crop it with the "crop" filter to get rid of 100px on either side - it's now 880x720 - change the resolution to 880x720 and export -> you'll have black bars.
Now ALSO change the ratio to 880x720 (instead of 16x9) - no more bars.
Also, in this window you can change the framerate for GIFs. I find 15 cuts the size significantly but still looks pretty good.
 

Daxter250

Forum Fanatic
Sep 17, 2017
4,676
12,805
Hey - I took a look at your files - it looks like the output has been set at a particular resolution, so if the video doesn't fit that resolution, it either has to stretch or add bars.
In the export window, it has two sets of variables - one is the output resolution (where you can shrink your file), and right under it is the ratio - ie: 16 x 9. If the ratio is the same but you change the resolution, it adds black bars.
I find that changing the ratio to be the same as the resolution gets rid of bars.

FOR EXAMPLE.
Start with 1080x720 video. Crop it with the "crop" filter to get rid of 100px on either side - it's now 880x720 - change the resolution to 880x720 and export -> you'll have black bars.
Now ALSO change the ratio to 880x720 (instead of 16x9) - no more bars.
Also, in this window you can change the framerate for GIFs. I find 15 cuts the size significantly but still looks pretty good.
i thought about that too (and messed around with it), but it wasn't the culprit (hence, that's why i manually stretched the video to get rid of the bars then, the vid with the bars is actually the natural one from pornhub). i tried to "crop" it but all i could do there was actually adding even more black bars instead of deleting 'em XD. i might need a step by step explanation there, i tell ya... 'cause that cropping is confusing the shit out of me.
but i will try your solution tomorrow, maybe it will work out.
 

sp1ker

Newbie
Apr 29, 2017
96
69
i thought about that too (and messed around with it), but it wasn't the culprit (hence, that's why i manually stretched the video to get rid of the bars then, the vid with the bars is actually the natural one from pornhub). i tried to "crop" it but all i could do there was actually adding even more black bars instead of deleting 'em XD. i might need a step by step explanation there, i tell ya... 'cause that cropping is confusing the shit out of me.
but i will try your solution tomorrow, maybe it will work out.
OH! I thought the bars were added by Shotcut.

1) Once you have the video in the main screen, picked a segment to edit, and dragged it to the timeline:
2) Click the clip in the timeline
3) On the top bar (Open file, save, undo, etc), click "Filters"
4) Click the + icon, and choose "Crop". If it's not there, enter it in the search bar that auto-pops, or click "All Video Filters" and find it. You probably want to add this to your favourite Filters. The only other one I use regularly is adjust white balance, and sometimes the stretch that you've used.
5) Enter the number of pixels to crop (you'll want to crop about 100 on the Top and Bottom, then adjust from there). You can drag the bar as well, but if you like details you'll just want to enter the numbers. You'll see the results in real-time.

6) Then! Add up the amount you've cropped from the y axis (Top + Bottom) and x axis (Left + Right). Under "Resolution" in the export tab, take away exactly this many pixels. ie: If the bars were 50 px each and the video was 640x480 (which yours are), change the number to 640x380. ALSO Change the aspect ratio to these numbers! Make resolution = aspect ratio.
7) Now hit Export File.

That should work. Hit me up if problems.
 
4.20 star(s) 54 Votes