ADAS20

Newbie
May 12, 2020
51
52
nvm found it. Also

OK, looking for some help with the ccmod. I downloaded and installed it fresh today. Tested it and it seems to be working fine, I'm able to see the new edicts, pregnancy status, change aperrance, ecetera.

I can't get the cc_config.js changes to take. Specifically I'm trying to get more edict points. So i have the usestandardconfig set to false, so it should use any changes I make to the config file (editing the file with notepad++)

I then have the edicts section set as follows:

You don't have permission to view the spoiler content. Log in or register now.

My understanding from the code comments is that the cheat should be enabled, I should be getting 10 edict points per day, and this will be active permanently in the game. I've run the setup resources plugin for ccmod after making changes (though i don't know if it's required). But no matter what I've tested on the file I still am only getting the 2 edict points on sleeping.
did you check the java script folder in the base game folder?
 

souldead341

Engaged Member
Oct 16, 2017
2,223
2,298
nvm found it. Also



did you check the java script folder in the base game folder?
Yes, that's where I'm making changes to the cc mod config files. I've also been messing around with some other settings, still no luck. It just seems like the config file variables aren't being activated at all.
 

fart1111

Member
Oct 31, 2019
274
592
I've run the setup resources plugin for ccmod after making changes (though i don't know if it's required). But no matter what I've tested on the file I still am only getting the 2 edict points on sleeping.
What are you talking about? I don't even know what that is, if you are talking about the ccmod_resources folder inside the pregmod redownload, you are just copying over the default files after you change them, causing nothing to change. You just need to do the decrypt shit, move the 2 folders over, then edit your config however you want and save.
 

souldead341

Engaged Member
Oct 16, 2017
2,223
2,298
What are you talking about? I don't even know what that is, if you are talking about the ccmod_resources folder inside the pregmod redownload, you are just copying over the default files after you change them, causing nothing to change. You just need to do the decrypt shit, move the 2 folders over, then edit your config however you want and save.
OK, one of the things in the pregmod download is a windows batch file called setup_resources.bat. That's what I'm talking about running.

I know how to install the mod itself just fine, as I said in the post you quoted. I've got everything from the base mod working no problem.

My issue is that I cannot get the config to work. Yes, it's the right one in the games java script folder. Yes I saved the file.

For as many times as I've personally told people to read / search the thread to figure things out before posting, I did my due diligence and tried for a long while to get it working myself and search the thread if anyone else had this issue. If I didn't bother with that I wouldn't have details to put into the post asking for help.

I have config set to true and my stuff works so far
You mind either dming me or posting in the thread your config file (or just the text in it)?
 

fart1111

Member
Oct 31, 2019
274
592
OK, one of the things in the pregmod download is a windows batch file called setup_resources.bat. That's what I'm talking about running.

I know how to install the mod itself just fine, as I said in the post you quoted. I've got everything from the base mod working no problem.

My issue is that I cannot get the config to work. Yes, it's the right one in the games java script folder. Yes I saved the file.

For as many times as I've personally told people to read / search the thread to figure things out before posting, I did my due diligence and tried for a long while to get it working myself and search the thread if anyone else had this issue. If I didn't bother with that I wouldn't have details to put into the post asking for help.


You mind either dming me or posting in the thread your config file (or just the text in it)?
All I can think of is maybe you deleted a space or wrong casing on the var CCMod_useStandardConfig = false; Or perhaps you have Karryns Prison installed in some directory you don't have admin permision in and it won't allow you to write to/edit files.
 

ZunMadun

Newbie
Oct 21, 2017
70
102
OK, one of the things in the pregmod download is a windows batch file called setup_resources.bat. That's what I'm talking about running.

I know how to install the mod itself just fine, as I said in the post you quoted. I've got everything from the base mod working no problem.

My issue is that I cannot get the config to work. Yes, it's the right one in the games java script folder. Yes I saved the file.

For as many times as I've personally told people to read / search the thread to figure things out before posting, I did my due diligence and tried for a long while to get it working myself and search the thread if anyone else had this issue. If I didn't bother with that I wouldn't have details to put into the post asking for help.


You mind either dming me or posting in the thread your config file (or just the text in it)?
Why are you using setup_resources.bat file? Who told you to run that file? Why do you have that file in your game folder? Did you read the instructions?

Here's your fix:
  1. Download the game again
  2. Download the mod again
  3. Follow the instructions again
  4. DO NOT RUN ANYTHING OR COPY ANY FILES THAT ARE NOT PART OF THE INSTALLATION INSTRUCTIONS
  5. Modify the CC_Config.js file and save
  6. AGAIN DO NOT RUN ANYTHING THAT ARE NOT PART OF THE INSTALLATION INSTRUCTIONS
  7. Run the game and everything should be working

Now if that doesn't work then you can come here again and tell us EXACTLY how you installed the mod so we may tell you how to fix your problem or tell you to reinstall everything again.
 

Ayame#1Fan

Active Member
Nov 8, 2016
898
1,276
So because I don't find the motivation to start a whole guide that covers modding, here's a collection of most of my posts regarding tweaks that I consider important/popular. This is intended as a redirecting post to find already existing tweaks easier, because some people have trouble finding the search function :HideThePain:. This list does NOT cover all tweaks, use the search function ;)

[Modding] Tweak post collection

DISCLAIMER
: Before editing any files, back them up including your saves. If stuff does not work in your game and you want to write a post here, PLEASE mention that you modded the game and what you edited. (And don't even think about reporting bugs to the devs with a modded game.) The original game is quite stable (after a few updates :LUL:). If not mentioned otherwise the files are located in www\js\plugins and can be opened with any text editor (using more powerful editors like Notepad++ or VSCode makes editing easier).

VERSIONS: Most tweaks were made for older versions of the game. But they often cover core concepts that don't change in each update (exept maybe line numbers and such). Thus, they'll work in newer versions. The version in brackets after each tweak is the last version for which I looked into it.
Blue version numbers mean I'm sure they still work up to that version, green numbers mean I've verified and tested it in that version and yellow is for outdated tweaks. However, if things change and stuff breaks, please let me know. I'll then probably update either the original post or make a new one (depending on the change).

quality of life tweaks:
  • enable manual saving for each difficulty (v.5q.2): here
  • tweaking side job values (v.5q.2): here
'naughty' tweaks:
  • wake up without panties (chance based and will be 'lost' the whole day) (v.5q.2): here
  • get her naked all the time (v.5q.2): here
  • Karryn being always aroused (v.5q.2): here
  • getting her nipples hard all the time (v.5q.2): here
  • having cum or pussy juice all the time or after battle/sleep (v.5q.2): here
game mechanic tweaks:
  • reverse the effect slut level has on charm (v.5q.2): here
  • lower enemy max levels (v.5q.2): here
  • increase charm exp gain for individual actions (v.5q.2): here
  • change alcohol tolerance (how fast she gets drunk) in the waitress job (v.5q.2): here
  • editing the groups of enemies you'll encounter (v.5q.2): here
  • removing gained passives (v.5q.2): here
  • more stamina in reception job (v.5q.2): here
  • disable bar fights (v.5q.2): here
  • change/add sensitive body part (the one you choose at the start) (v.5q.2): here
old tweaks:
  • enable the starting title which unlocks getting 3 edict points (v.7A.j): here
    • you unlock edicts that do the same and more after clearing floor 2

NOTE: I'll probably update stuff in the coming weeks.
Has anyone tried suggesting this as features to the DEV? Maybe they could be Patreon only rewards or a hidden character like they do in Fleeting Iris where you could activate these. The game would be "easier" to mod, the community would be happy and the game would have more options making it a better game so it's a win-win for everyone.
 
Last edited:

yasha121

Newbie
Jun 1, 2017
15
3
I'm being dumb here. I can't seem to edit the let points = 2; in RemtairyEdicts.
I tried amend it all but it won't give me any more Edicts on the next day.
Is it because i am playing in Prisoner mode?
 

ZunMadun

Newbie
Oct 21, 2017
70
102
I'm being dumb here. I can't seem to edit the let points = 2; in RemtairyEdicts.
I tried amend it all but it won't give me any more Edicts on the next day.
Is it because i am playing in Prisoner mode?
Prisoner mode only takes away 1 point on even days. What are you trying to change and can you post your code here to see what is wrong
 

yasha121

Newbie
Jun 1, 2017
15
3
Prisoner mode only takes away 1 point on even days. What are you trying to change and can you post your code here to see what is wrong
Game_Actor.prototype.getStoredEdictPoints = function() {
return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
this._storedEdictPoints = 0;
this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
this.resetEdictPoints();

let points = 30;
if(Prison.easyMode()) points++;
else if(Prison.hardMode() && Prison.date % 2 === 300) points--;

if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
if(Prison.date % 2 === 1)
points++;
}
else
points++;
}


let maxCarryover = 400;
maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;

points += Math.min(maxCarryover, unusedPoints);

this._storedEdictPoints = points;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
if(this.stsAsp() > 0) {
this._storedEdictPoints = this.stsAsp();
this.setAsp(0);
}
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
if(this._storedEdictPoints > 0) {
this.getAsp(this._storedEdictPoints);
this._storedEdictPoints = 0;
}
};

I'm trying to get more Edict per day. I mange it before but because I had many passive/ edit. I deleted the whole thing and now i can't get it to give me more Edict per day
 

ZunMadun

Newbie
Oct 21, 2017
70
102
Code:
Game_Actor.prototype.getStoredEdictPoints = function() {
    return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
    this._storedEdictPoints = 0;
    this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
    let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
    this.resetEdictPoints();
   
    let points = 30;
    if(Prison.easyMode()) points++;
    else if(Prison.hardMode() && Prison.date % 2 === 300) points--;
   
    if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
        if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
            if(Prison.date % 2 === 1)
                points++;
        }
        else
            points++;
    }
       
   
    let maxCarryover = 400;
    maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
    if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;
   
    points += Math.min(maxCarryover, unusedPoints);
   
    this._storedEdictPoints = points;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
    if(this.stsAsp() > 0) {
        this._storedEdictPoints = this.stsAsp();
        this.setAsp(0);
    }
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
    if(this._storedEdictPoints > 0) {
        this.getAsp(this._storedEdictPoints);
        this._storedEdictPoints = 0;
    }
};
I'm trying to get more Edict per day. I mange it before but because I had many passive/ edit. I deleted the whole thing and now i can't get it to give me more Edict per day
This should fix it
Code:
Game_Actor.prototype.getStoredEdictPoints = function() {
    return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
    this._storedEdictPoints = 0;
    this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
    let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
    this.resetEdictPoints();

    let points = 30;
    if(Prison.easyMode()) points++;
    else if(Prison.hardMode() && Prison.date % 2 === 0) points--;

    if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
        if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
            if(Prison.date % 2 === 1)
                points++;
        }
        else
            points++;
    }


    let maxCarryover = 400;
    maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
    if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;

    points += Math.min(maxCarryover, unusedPoints);

    this._storedEdictPoints = points + 400;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
    if(this.stsAsp() > 0) {
        this._storedEdictPoints = this.stsAsp();
        this.setAsp(0);
    }
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
    if(this._storedEdictPoints > 0) {
        this.getAsp(this._storedEdictPoints);
        this._storedEdictPoints = 0;
    }
};
I changed
Code:
else if(Prison.hardMode() && Prison.date % 2 === 300) points--;
back to
Code:
else if(Prison.hardMode() && Prison.date % 2 === 0) points--;
Also to give more points I simply added + 400 to this line. 400 you can change to whatever number you like
Code:
this._storedEdictPoints = points + 400;
 
  • Like
Reactions: Javis087

yasha121

Newbie
Jun 1, 2017
15
3
This should fix it
Code:
Game_Actor.prototype.getStoredEdictPoints = function() {
    return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
    this._storedEdictPoints = 0;
    this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
    let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
    this.resetEdictPoints();

    let points = 30;
    if(Prison.easyMode()) points++;
    else if(Prison.hardMode() && Prison.date % 2 === 0) points--;

    if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
        if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
            if(Prison.date % 2 === 1)
                points++;
        }
        else
            points++;
    }


    let maxCarryover = 400;
    maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
    if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;

    points += Math.min(maxCarryover, unusedPoints);

    this._storedEdictPoints = points + 400;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
    if(this.stsAsp() > 0) {
        this._storedEdictPoints = this.stsAsp();
        this.setAsp(0);
    }
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
    if(this._storedEdictPoints > 0) {
        this.getAsp(this._storedEdictPoints);
        this._storedEdictPoints = 0;
    }
};
I changed
Code:
else if(Prison.hardMode() && Prison.date % 2 === 300) points--;
back to
Code:
else if(Prison.hardMode() && Prison.date % 2 === 0) points--;
Also to give more points I simply added + 400 to this line. 400 you can change to whatever number you like
Code:
this._storedEdictPoints = points + 400;
Thank you very much.

Edit 1 it still didnt work, but I know why and fixed it.
Code:
Game_Actor.prototype.getStoredEdictPoints = function() {
    return this._storedEdictPoints;
};

Game_Actor.prototype.resetEdictPoints = function() {
    this._storedEdictPoints = 0;
    this.setAsp(0);
};

Game_Actor.prototype.getNewDayEdictPoints = function() {
    let unusedPoints = Math.max(this._storedEdictPoints, this.stsAsp());
    this.resetEdictPoints();
    
    let points = 2;
    if(Prison.easyMode()) points++;
    else if(Prison.hardMode() && Prison.date % 2 === 0) points--;
    
    if(this.hasEdict(EDICT_PARTIALLY_RESTORE_BUREAUCRACY)) {
        if(this.hasEdict(EDICT_REDIRECT_SUBSIDIES)) {
            if(Prison.date % 2 === 1)
                points++;
        }
        else
            points++;
    }
        
    
    let maxCarryover = 0;
    maxCarryover += this.titleEfficientAdminstrator_carryoverUnusedEdictPoint();
    if(this.hasEdict(EDICT_REPAIR_MEETING_ROOM)) maxCarryover += 1;
    
    points += Math.min(maxCarryover, unusedPoints);
    
    this._storedEdictPoints = points + 400;
};

Game_Actor.prototype.transferEdictPointsToStorage = function() {
    if(this.stsAsp() > 0) {
        this._storedEdictPoints = this.stsAsp();
        this.setAsp(0);
    }
};
Game_Actor.prototype.transferEdictPointsFromStorage = function() {
    if(this._storedEdictPoints > 0) {
        this.getAsp(this._storedEdictPoints);
        this._storedEdictPoints = 0;
    }
};
 
Last edited:

crocro0000

Member
Jul 31, 2020
247
137
Hi guys, I have some questions about this game (I'm not very experienced in the genre). I don't want to write in this theard silly questions, so if anyone want to help me please contact me, thanks.
 

DahliaRose

Member
Dec 22, 2018
300
263
Okay so let me ask. The file DKTools.js. Is that important in ANY way?

Just wondering as I kept getting the 'Slice' error no matter what I did.

So I decided to search for which plugin files had the word slice in them, and this was one of the few that did. And the only that didn't seem to serve a specific purpose. So I deleted it.

Since then I've been playing for the past half an hour and everything seems to be running perfectly. Didn't get that annoying error, and the game seems to be running just fine.

But like, that DKTools file has SO MUCH in it, so it doesn't make any sense that it actually served no purpose.
 

_ _ _ _ _

Newbie
Jul 20, 2017
68
36
Is there a guide on how to feasibly do a fully non-combative run by only using sexual skills? My attempts always fall flat on Level 1 because it takes too long to get the requirements for sex before the Anarchy gets run up
 
4.60 star(s) 439 Votes