CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Mod HTML Degrees of Lewdity Not-so premium Mod [v2.1] [LoL747]

5.00 star(s) 2 Votes

PrimeUniverse

Member
Aug 22, 2019
129
68
Is this mod still being worked on/updated?
Sadly not really, although the basics of the mod as a whole still apply just fine, it's not being improved upon all to much, author pf the mod themself said that they probably wont be working on this to much if at all, still a good mod though
 

rasbinf

Newbie
Feb 12, 2021
78
29
Question about the compatibility with the recent build, well is say that it a standalone one, so maybe the mod is the game, or is not, so yeah can you use this mod on the last build whithout issue ?
 

PrimeUniverse

Member
Aug 22, 2019
129
68
Question about the compatibility with the recent build, well is say that it a standalone one, so maybe the mod is the game, or is not, so yeah can you use this mod on the last build whithout issue ?
Yes you can, I can't say for sure about the clothing, but animations and body still work correctly
 

rtccxd

Newbie
Oct 5, 2021
78
33
That's unfortunate, it would make this much easier. I did find a way to use a gif with next to no editing to HTML file. But it takes more effort than I'm comftable with.

This is the current state . And to be honest probably the last.
is there way to get this to work on newest version?
 

redmagebr

Newbie
Oct 12, 2016
49
62
I'm doing something similar to this with random giffs and videos from rule34.xxx. Does anyone know how to increase lenght and fps of the X-Rays if it's even possible?
It is not possible, you have to work with the ammount of frame the games gives you or you have to dwelve into the htmls of each scene
Yes, it is possible! It took a bit of work, but here's how it looks:


I tried to future proof as much as possible and this mod works for both anal and vaginal xrays. I also made it work with webms, rather than the spritesheets! It requires a single edit to the main HTML of the game:
Code:
<script src="style.js"></script>
It will end up looking like this when added to the right place:
Code:
<!DOCTYPE html>
<html data-init="no-js" lang=en>
<head>
    <script src="style.js"></script>
So just add it right after <head> opens. Alternatively you can add the included style.js as a UserScript. If you know what an UserScript is you should know how to do it so I leave it to you.

HOW I MADE IT WORK WITHOUT CHANGING TONS OF HTML:
- Every 250ms the style.js script will check if a xray animation is playing
- If it is, it will look at which animation it's playing
- Then it will remove it and attempt to replace it with a WEBM from the mod folder
- If it fails (like when a new animation was added and the mod doesn't cover it), it goes back to the default animation, so if an animation is missing you still get the original experience
- If it finds an webm, it replaces the default animation with the WEBM
- It also speeds up or down the webm accordingly to the default animation speed, so it can go faster or slower just like the main game does. The amount of speed up would probably need to be adapted to whatever animations are being added. The current numbers work for the Not-so Premium mod webms, but probably require some tuning to 100% match the default animations.
- Since you can't speed up gifs I just made it work with webms, but I doubt anyone would prefer gifs anyway. Webms can look better and are smaller. Should require pretty little work to make work with gifs, in any case.

The included style.css is already called by the game. It just does some fixups on the new video element so it always fits the container, regardless of the original video size. It'd be pretty nice if vrelnir could make it so the game also automatically loads style.js, that way it'd be even easier to mod. Since he added the style.css support, I imagine he's not against mods, so if anyone asks for it, it should happen.

So with this you can add any video for the xray animations by simply adding an webm with the right name to the /mod folder. You can check the names in the /img/sex folder of the main game. It doesn't matter the webm size or duration, it should be contained within the container element and "it just works!".

I also went through the original Not-so premium Mod animations and converted them into webms. If this is not allowed just me and I'll remove them. I didn't have any other webms to use and I also can't draw, so I shouldn't be updating this, but this should make it easy for people who already have the assets and just want to add them in-game. Unless something big changes about how the game does the xray animations, this mod should survive through updates just fine.

In theory it should be possible to apply the same thing to the closeup animations, but since those involve more stuff it might be hard to cover everything - it'd have butt size, penis type, state (penetrating, rubbing, tip, etc), anyway, theoretically possible to make it for the other side animations, but x-rays are the only ones that are easy since they're just a single big animation to begin with.

In theory, it'd be possible to use entirely different animations according to speed. It should even be possible to do other checks to do further replacements. e.g. use bigger dongs for the black wolf, use more aggressive animation for when the horse is going very fast, etc. If someone already has the webms ready I could maybe spend some time researching how to add even more webms, but for now I'm satisfied with just making it possible to replace the default animations.

Anyway, I don't think it gets any easier to mod than this:
1640372733576.png
 

rtccxd

Newbie
Oct 5, 2021
78
33
Yes, it is possible! It took a bit of work, but here's how it looks:


I tried to future proof as much as possible and this mod works for both anal and vaginal xrays. I also made it work with webms, rather than the spritesheets! It requires a single edit to the main HTML of the game:
Code:
<script src="style.js"></script>
It will end up looking like this when added to the right place:
Code:
<!DOCTYPE html>
<html data-init="no-js" lang=en>
<head>
    <script src="style.js"></script>
So just add it right after <head> opens. Alternatively you can add the included style.js as a UserScript. If you know what an UserScript is you should know how to do it so I leave it to you.

HOW I MADE IT WORK WITHOUT CHANGING TONS OF HTML:
- Every 250ms the style.js script will check if a xray animation is playing
- If it is, it will look at which animation it's playing
- Then it will remove it and attempt to replace it with a WEBM from the mod folder
- If it fails (like when a new animation was added and the mod doesn't cover it), it goes back to the default animation, so if an animation is missing you still get the original experience
- If it finds an webm, it replaces the default animation with the WEBM
- It also speeds up or down the webm accordingly to the default animation speed, so it can go faster or slower just like the main game does. The amount of speed up would probably need to be adapted to whatever animations are being added. The current numbers work for the Not-so Premium mod webms, but probably require some tuning to 100% match the default animations.
- Since you can't speed up gifs I just made it work with webms, but I doubt anyone would prefer gifs anyway. Webms can look better and are smaller. Should require pretty little work to make work with gifs, in any case.

The included style.css is already called by the game. It just does some fixups on the new video element so it always fits the container, regardless of the original video size. It'd be pretty nice if vrelnir could make it so the game also automatically loads style.js, that way it'd be even easier to mod. Since he added the style.css support, I imagine he's not against mods, so if anyone asks for it, it should happen.

So with this you can add any video for the xray animations by simply adding an webm with the right name to the /mod folder. You can check the names in the /img/sex folder of the main game. It doesn't matter the webm size or duration, it should be contained within the container element and "it just works!".

I also went through the original Not-so premium Mod animations and converted them into webms. If this is not allowed just me and I'll remove them. I didn't have any other webms to use and I also can't draw, so I shouldn't be updating this, but this should make it easy for people who already have the assets and just want to add them in-game. Unless something big changes about how the game does the xray animations, this mod should survive through updates just fine.

In theory it should be possible to apply the same thing to the closeup animations, but since those involve more stuff it might be hard to cover everything - it'd have butt size, penis type, state (penetrating, rubbing, tip, etc), anyway, theoretically possible to make it for the other side animations, but x-rays are the only ones that are easy since they're just a single big animation to begin with.

In theory, it'd be possible to use entirely different animations according to speed. It should even be possible to do other checks to do further replacements. e.g. use bigger dongs for the black wolf, use more aggressive animation for when the horse is going very fast, etc. If someone already has the webms ready I could maybe spend some time researching how to add even more webms, but for now I'm satisfied with just making it possible to replace the default animations.

Anyway, I don't think it gets any easier to mod than this:
View attachment 1560928
I edited the part to html and it didnt work. It looks like this, is this correct?
 

redmagebr

Newbie
Oct 12, 2016
49
62
I edited the part to html and it didnt work. It looks like this, is this correct?
The zip needs to be extracted to the game's folder such that style.js is in the same folder as the game's main HTML:
1640465653440.png

Webms should be placed inside the "mod" folder, following the same naming scheme as the default game's images:
1640465717242.png

If you open up the developer's console (Control + Shift + J) and go to the Console tab, you should be able to see any errors that come up.
 
  • Like
Reactions: GoonerState

rtccxd

Newbie
Oct 5, 2021
78
33
The zip needs to be extracted to the game's folder such that style.js is in the same folder as the game's main HTML:
View attachment 1562682

Webms should be placed inside the "mod" folder, following the same naming scheme as the default game's images:
View attachment 1562684

If you open up the developer's console (Control + Shift + J) and go to the Console tab, you should be able to see any errors that come up.
i have everything exactly like this and it shows the original xray animations. Idk about what this console means



okay now i got this
 
Last edited:

redmagebr

Newbie
Oct 12, 2016
49
62
okay now i got this
Is the mod folder in the right place? This says it can't find the webm, therefore it defaults to the original xray animations.

Is the mod folder also in the same folder as the .html? It should look like this:
Code:
.
├── img
│   └── The original image files
├── mod
│   ├── xrayanaltentacle.webm
│   ├── xrayvaginal4.webm
│   └── And the rest of the modded files
├── Degrees of Lewdity 0.3.6.2.html
├── style.css
└── style.js
I just tried it on the new update and everything seems fine:
1640552046155.png 1640552105287.png

Oh, I think I see what the problem is. xrayanal isn't modded. So it defaults to the original, as it should - this allows for partial mods and also future proofing. But you can put whatever webm you want there I guess? It should load it, then.

I only adapted the webms of the original Not-so Premium Mod, so anything that wasn't covered by it isn't here. I also didn't have the cool videos Necat found, so I couldn't add them in.
 

fire2244

Member
Nov 18, 2020
163
472
Is there a way for you to share the source code so we can update to newer versions of the game?
Anyway, I have updated all graphical stuff to 3.7.4. There was a lot of old code, so some of it had to be patched to work properly.

All images should work properly now.



Bug or contributions, just contact me on on discord.
 
Last edited:

Burned toast

New Member
Jul 22, 2021
4
1
Anyway, I have updated all graphical stuff to 3.7.4. There was a lot of old code, so some stuff have to be patched to work properly.

All images should work properly now.



Bug or contributions, just contact me on on discord.
Will there be a version for Android?
 
  • Like
Reactions: Daioh
5.00 star(s) 2 Votes