- Jul 7, 2019
- 14
- 23
I had already listed two ways on how you can fix the bug together with the edited jack.exe.I'll try to be comprehensive and thorough as I can
There's no need to be rude sir. Farewell.
I had already listed two ways on how you can fix the bug together with the edited jack.exe.I'll try to be comprehensive and thorough as I can
Gotchya.Oh. Those two I mentioned. The one you just tried that worked. And the other one that should be easier to implement automatically.
Ad hoc since they still require some work on your part. Non ad hoc means you guys just need to overwrite the jack.exe.
I don't think he was being rude, could be me misunderstanding but he was just explaining exactly what he did.There's no need to be rude sir. Farewell.
Rude? I literally wanted to be comprehensive and thorough, in order not to waste your time. Please don't assume malevolent intent, I have none.I had already listed two ways on how you can fix the bug together with the edited jack.exe.
There's no need to be rude sir. Farewell.
The bug-fix by percivalleporidae is actually the most realistic one we can apply. We only need to remove "_" in the json and the name of the pictures. I just can't wrap my head around how to remove "_" in the json while excluding "seed_ava", "bathing_alone" etc. from being replaced in the text files. If someone could help me with finding the proper notepad++ algorithm, the game should be ready.Then, our options are:
Employ the bug-fix of percivalleporidae (thanks again for helping us). Requires:
- Rewritte thes json to reorder the "picture address"
- Rewritte the name of the image files
Return to the *.gif format. Requires:
- Rewritte the extension of the image files
- Anything more?
In my humble opinion, I vote to return to *.gif. With the small trick that I described before I don't expect to lose the quality of any picture and we can have again sporadic animations. And possibly this change could require less effort and time.
Not sure if this is exactly what you want (because I didn't really exactly follow the discussion, just patiently waiting for updates about non-alpha, non-beta release) but this likely can be achieved with a simple regex:We only need to remove "_" in the json and the name of the pictures. I just can't wrap my head around how to remove "_" in the json while excluding "seed_ava", "bathing_alone" etc. from being replaced in the text files. If someone could help me with finding the proper notepad++ algorithm, the game should be ready.
_(?!.*:)
Oh. Those two I mentioned. The one you just tried that worked. And the other one that should be easier to implement automatically.
Ad hoc since they still require some work on your part. Non ad hoc means you guys just need to overwrite the jack.exe.
Hey, I'm a little bit confused. When trying it Sunday night, I thought I saw it working.Also tested just the 2nd part you provided to me 40 times, everything worked perfectly like the first part, here's the steps and results:
1. Slave:1556_purple_short_young
2. Renamed images: cookpurpleshortyoung, cookpurpleshortyoung2,cookgeneralyoung,cookgeneralyoung2
3. Changed JSON cooking array to: ["girls/scene/cookgeneralyoung", "girls/scene/cookgeneralyoung2", "girls/scene/cookpurpleshortyoung", "girls/scene/cookpurpleshortyoung2"],
This time the game correctly randomly generated ALL of the provided images even though the general images were provided first.
_(?!.*:)
If I remember well, each category had a single extension: sex, scene, torture and body were *.gif. I forget the remain categories, but one possibility is to download a previous version of the game and check folder by folder.However, returning to the *.gif format is more of a hassle that we can think of. Indeed, in 1.8, some of the pictures were in .jpg, some were in .png, some were in .gif. In 2.0, they all got turned into .png. If in 2.0 we try change all occurrences of ".png" into ".gif" in the qsp file, the UI becomes broken. The solution would be to know, in the code, which pictures were in ".gif" to begin with, but I tried with my intuition, thoroughly, and if I didn't change ALL the pictures format, the sex scenes weren't read at all.
Interesting observation. Maybe someone more capable than also me will be able to link the dots, if they are to be linked.To remember to use the same picture for several scenes, I named it using combined names like "bj_dt" or "gangbukake" and things like that. The problem when I tried to play with these characters, was that all the scenes were showed in non-sense.
I don't know how this can be related with the current problem but maybe somebody more capable than me will be able to link the dots.
That'd be too easy We'd need to know in the json files, where to have .png, .jpg, and .gif. And the json file is a non-intuitive mess. Besides, for future's sake, it would be so much more convenient to stick to .png files (granted the game only cares about the extention and not the format, but still!).If I remember well, each category had a single extension: sex, scene, torture and body were *.gif. I forget the remain categories, but one possibility is to download a previous version of the game and check folder by folder.
However, according to percivalleporidae - the general references should be added to the end of the JSON array.Young example (repeatable with other young slaves, same results):
1. Slave: 1219bluelongyoung
2. Renamed images and json line: "girls/sex/sexgeneralyoung", "girls/sex/sexgeneralyoung2", "girls/sex/sexgeneralyoung3", "girls/sex/sexbluelongyoung"
3. Result: sexgeneralyoung, sexgeneralyoung2, sexwhiteshortyoung, sexwhiteshortyoung2
Do you still have the same problem if you reorder the array to:Will you try rearranging the json files as follows?
"girls/scene/cook_purple_long_young", "girls/scene/cook_purple_long_young_2", "girls/scene/cook_purple_long_young_3, girls/scene/cook_general_young", "girls/scene/cook_general_young_2"
That is, similar to version 1.8, the general image references should be placed at the end of the JSON array.
With both methods applied, it works! It means we can think about releasing the next beta.However, according to percivalleporidae - the general references should be added to the end of the JSON array.
Do you still have the same problem if you reorder the array to:
"girls/sex/sexbluelongyoung", "girls/sex/sexgeneralyoung", "girls/sex/sexgeneralyoung2", "girls/sex/sexgeneralyoung3"
Sledgeham- err, I mean regexp to the rescue again.If someone has a notepad++ algorithm to automatize the "put general pictures in the end of the array" operation, or work around that, I'll apply it with pleasure. Otherwise, I'll need to remove all the general pictures for the sex scenes (not ideal, that's a last resort, that's way I make a call for someone to help us ).
\[(.*?)?("[\w\/]*general[\w\/]*")(\s*,\s*(.*)\s*)\]
regex replace
\[(.*?)?("[\w\/]*general[\w\/]*")(\s*,\s*(.*)\s*)\]
with
\1\4 , \2
That's invaluable, thank you infinitely! I cannot test it out right now either, but it should work (I hope it will!).Sledgeham- err, I mean regexp to the rescue again.
Code:\[(.*?)?("[\w\/]*general[\w\/]*")(\s*,\s*(.*)\s*)\]
You must be registered to see the links
It will within JSON array (starting with [ and ending with ]) match non-greedily (shortest possible match) any " enclosed strings that do not contain word "general" (first capture group) then it will match any single " enclosed string that does contain word "general" (second capture group) then it will capture everything else (third capture group) without leading comma and whitespaces (fourth capture group).
Reordering now just boils down to reordering the capture groups (\1\4, \2 instead of the original \1\2\3):
and running this search and replace a few times (because it only moves one "general" string to the end of the array at a time).Code:regex replace \[(.*?)?("[\w\/]*general[\w\/]*")(\s*,\s*(.*)\s*)\] with \1\4 , \2
Warning: this will reorder paths even on lines where it already is correct (basically it always moves first "general" path it encounters to the end, if all are already at the end it will shift them).
Warning: it's really late here and I really didn't have time or opportunity to test it properly so it may not work and / or only look like it's woking.
So, I've tried, and it partially works. It picks the 1st general, and moves it towards the end. But then it can't find any occurence again, meaning I can't, then, replace "general_2". And what if I could? Would it then place back all "general" pictures in all lines where there were only one occurrence of them?Sledgeham- err, I mean regexp to the rescue again.
Code:\[(.*?)?("[\w\/]*general[\w\/]*")(\s*,\s*(.*)\s*)\]
You must be registered to see the links
It will within JSON array (starting with [ and ending with ]) match non-greedily (shortest possible match) any " enclosed strings that do not contain word "general" (first capture group) then it will match any single " enclosed string that does contain word "general" (second capture group) then it will capture everything else (third capture group) without leading comma and whitespaces (fourth capture group).
Reordering now just boils down to reordering the capture groups (\1\4, \2 instead of the original \1\2\3):
and running this search and replace a few times (because it only moves one "general" string to the end of the array at a time).Code:regex replace \[(.*?)?("[\w\/]*general[\w\/]*")(\s*,\s*(.*)\s*)\] with \1\4 , \2
Warning: this will reorder paths even on lines where it already is correct (basically it always moves first "general" path it encounters to the end, if all are already at the end it will shift them).
Warning: it's really late here and I really didn't have time or opportunity to test it properly so it may not work and / or only look like it's woking.
eh, I meant to say replace with "[\1\4, \2]" not with just "\1\4, \2" - basically add the missing brackets in the replace line. My bad.So, I've tried, and it partially works. It picks the 1st general, and moves it towards the end. But then it can't find any occurence again, meaning I can't, then, replace "general_2". And what if I could? Would it then place back all "general" pictures in all lines where there were only one occurrence of them?
Also, when replacing with "\1\4 , \2" it also removes the parenthesis from the array.
I actually couldn't test it / run it because I don't have N++ and the editor I'm using has different search and replace system...Maybe the problem comes from me being dumb. If you don't want to waste your time explaining, I've uploaded an archive of the json files so you can apply it properly and share it with us (if you want, of course).You must be registered to see the links
"bathing_alone": ["girls/scene/bath_general_milf", "girls/scene/bath_general_milf_2", "girls/scene/bath_white_short_milf", "girls/scene/bath_white_short_milf_2"],
"bathing_alone": [
"girls/scene/bath_white_short_milf",
"girls/scene/bath_white_short_milf_2",
"girls/scene/bath_general_milf",
"girls/scene/bath_general_milf_2"
],