[ARCHIVE][Alpha] Dev Talk

Webteases are great, but what if you're in the mood for a slightly more immersive experience? Chat about Tease AI and other offline tease software.

Moderator: 1885

chess8
Explorer
Explorer
Posts: 31
Joined: Thu Oct 06, 2022 7:53 pm

Re: [ARCHIVE][Alpha] Dev Talk

Post by chess8 »

basim wrote: Sat Nov 12, 2022 4:51 pm
Hello again,

the other problems you are mentioning, are you refering to older problems/posts in this thread? Or have you experienced new ones? If yes, can you describe what happend or doesn't happen?

What lock does not work?
Why do you say remove from pool isn't working?
What items will not be recognised?

And yes, the player.log in the AppData folder is generated by unity by default and becomes overwritten every startup.

On Session Start Dressing up "Get that (item not Found)." (Pants slot)
https://imgur.com/a/YnhC4id
Player.log tells this
Spoiler: show
do the var mod
SessionLengthTime mod result:
9971: Reader reads asset > checkTemp0
9970: Reader reads asset > Main Exit
9969: Reader reads asset > RndClothing
9968: Reader reads asset > existingCloth
9967: Reader reads asset > RndAppa
9998: Reader reads asset > appaSlots0
9997: Reader reads asset > isPrice-1
9996: Reader reads asset > Fork Title
9995: Reader reads asset > InTheMood
9994: Reader reads asset > price0
do the var mod
Z-iSelectPrice mod result: set to: 0
9993: Reader reads asset > appaCount0
do the var mod
Z-iSelectAppaCount mod result: set to: 0
9992: Reader reads asset > setTrys0
do the var mod
Z-iSelectTrys mod result: set to: 0
9991: Reader reads asset > LetsSee
9990: Reader reads asset > RndAppa
9989: Reader reads asset > existPants
9988: Reader reads asset > inUse
9987: Reader reads asset > selectPants
9986: Reader reads asset > GetPants
searching for: appaPants
9984: Reader reads asset > price5
do the var mod
Z-iSelectPrice mod result: set to: 5
9983: Reader reads asset > 5credits
9982: Reader reads asset > Fork Title
In TA Spnk the Z-TASpnkLocked is not working properly. In a test run the TA Spnk got called multiple times in a row after i choosed the "it Hurts" path. Seems like the "Time Title" node doesn't care about it. For testing purpose i added a text node to ouput #ArchiveCruel# to make sure it was low enough.

In PC Main "DeleteMedia" is not working all the time. After restart Archive the deleted images keep showing up. First time i thought i had some duplicates. Then i found the bug report on itch about the medial folder inside archive folder. So i moved the image folder somewhere else. Nothing worked, i keep getting deleted images showing up, even after reset story and deleting appdata folder. Nothing special about that in player.log so not sure why this keeps happening.

Not sure if this is the right place to report all of this. Do you have a bugtracker?
User avatar
basim
Explorer
Explorer
Posts: 95
Joined: Fri Dec 21, 2007 9:56 am

Re: [ARCHIVE][Alpha] Dev Talk

Post by basim »

chess8 wrote: Sat Nov 12, 2022 6:25 pm On Session Start Dressing up "Get that (item not Found)." (Pants slot)
https://imgur.com/a/Y
To answer your last question, no, these bugs are not fixed yet, because I did not know them.. :-P So, thanks for bringing them up. And actually I was planning to release a new update today. But I guess I have to delay it now..

- I have no clue why the item was not found. Maybe it's a unique problem with the pants. Which would be an easy one to fix. We'll see..

- The time node sometimes does work and the next moment it doesn't. This one is bugging me for a while now. Ok. I have to dig deeper for this one.

- I'm not sure about the "deleting images" malfunction ... I changed some functions of it not that long ago. Ok. At some point I added the function that Archive is able to delete files from the harddrive. Month later I was afraid to send out archive with this functionallity. One mistake in the code and maybe she delete's a folder or worse.. so I deactivated this function for a while. Then, a couple of month ago I change the function from delete images to delete media from the internal media pool. I'm telling you all this because it could be possible that I forgot to remove all storyparts inside of archives story that tell you "deleting images" is possible. So, are you trying to delete an image from the harddrive or mediapool?

Btw. the images can now be stored anywhere. The problem whis inside Archives folder is fixed. Sadly not for videos. I forgot that. But it's fixed in the next version.

And no, I have no public bugtracker. But it's fine to write about them here, as pm or the best place would be on archives Discord server. ;-)
> Join ARCHIVE on Discord <
chess8
Explorer
Explorer
Posts: 31
Joined: Thu Oct 06, 2022 7:53 pm

Re: [ARCHIVE][Alpha] Dev Talk

Post by chess8 »

I'm referring to the internal function to delete from mediapool. Seems like "deleted" ones still keep showing up randomly.

Deleting from harddrive just result into file not found error, nothing to worry about. Thats fixed with a simple rescan.

However, is there a way to debug the mediapool? Perhaps some more output in player.log or something?
Can it be related to this?
Spoiler: show
story to load: Archive
Loading mg: Media guid: Personal count: 154
Loading mg: 1 guid: af6cfdcf-2b4c-4c82-80a4-5195f10ae80b count: 3772
Loading mg: New Mediagroup Name guid: e89e3bb9-3e27-401f-b123-628047401683 count: 7
Loading mg: New Mediagroup Name guid: d0fb27eb-45d7-4f65-86fc-01eeeae74e54 count: 15
UPDATED !!
nav to: reader
On-Offline check for: Personal result: 60 of 154 are offline.
On-Offline check for: af6cfdcf-2b4c-4c82-80a4-5195f10ae80b result: 0 of 3772 are offline.
On-Offline check for: e89e3bb9-3e27-401f-b123-628047401683 result: 0 of 7 are offline.
On-Offline check for: d0fb27eb-45d7-4f65-86fc-01eeeae74e54 result: 0 of 15 are offline.
NullReferenceException: Object reference not set to an instance of an object
at ReaderScript+OPJMKOJMDKA.MoveNext () [0x0046e] in <29e2ee9223e54e3a910bdb4ac0ba8fd8>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <f36d108ecd6a41369dd8788b0115ed79>:0

Total Assets: 22 / Entrances found: 6
9999: Reader reads asset > Main Entrance
9998: Reader reads asset > Disclaimer
9998: Reader reads asset > Z-DisclaimerTrue
9997: Reader reads asset > Main Exit
9996: Reader reads asset > DisclaimerTrue
9995: Reader reads asset > CheckEAWarning
9994: Reader reads asset > GetStartTime
9998: Reader reads asset > StartUpTime Now
do the var mod
TimeStartUp mod result:
9997: Reader reads asset > CumCountZero
do the var mod
SessionCumCount mod result: set to: 0
9996: Reader reads asset > Main Exit
9995: Reader reads asset > CheckIntro
9994: Reader reads asset > SayHI
9993: Reader reads asset > CheckAbroad
9992: Reader reads asset > Return
Last edited by chess8 on Sat Nov 12, 2022 9:38 pm, edited 1 time in total.
User avatar
basim
Explorer
Explorer
Posts: 95
Joined: Fri Dec 21, 2007 9:56 am

Re: [ARCHIVE][Alpha] Dev Talk

Post by basim »

chess8 wrote: Sat Nov 12, 2022 8:54 pm I'm referring to the internal funtion to delete from mediapool. Seems like "deleted" ones still keep showing up randomly.
Deleting from harddrive just result into file not found error, nothing to worry about. Thats fixed with a simple rescan.
However, is there a way to debug the m....
This mediapools are quite a pain. I'm close to kick them. But that would cost me a lot of work.. :unsure:

I can't say much now. It would be wild guesses only. I have to dig deeper into this one..

Reguarding the item (pants) and the lock bug, I fixed it. They were not code related. The first one was a typo and the other a logic mistake. ;-)
> Join ARCHIVE on Discord <
chess8
Explorer
Explorer
Posts: 31
Joined: Thu Oct 06, 2022 7:53 pm

Re: [ARCHIVE][Alpha] Dev Talk

Post by chess8 »

Hmm how about store the image hash in a JSON or sqlite? Should be easy to add a deleted tag to it and let it skip the image. Not the most effcient way but i'm not familiar with unity. I guess the SetLabel() stuff isn't working?
What i mean is, keep it in the pool but add a value to it so it get recognized as deleted.
User avatar
basim
Explorer
Explorer
Posts: 95
Joined: Fri Dec 21, 2007 9:56 am

Re: [ARCHIVE][Alpha] Dev Talk

Post by basim »

chess8 wrote: Sat Nov 12, 2022 9:50 pm Hmm how about store the image hash in a JSON or sqlite? Should be easy to add a deleted tag to it and let it skip the image. Not the most effcient way but i'm not familiar with unity. I guess the SetLabel() stuff isn't working?
What i mean is, keep it in the pool but add a value to it so it get recognized as deleted.
Ahhh... you are all the time talking about the problem that an image is back in the pool and gets shown again when you rescan a folder?
> Join ARCHIVE on Discord <
chess8
Explorer
Explorer
Posts: 31
Joined: Thu Oct 06, 2022 7:53 pm

Re: [ARCHIVE][Alpha] Dev Talk

Post by chess8 »

No. Rescan just add all of them back to the pool. I had to to this a while ago cuz i deleted some files on the harddrive. Learned it the hard way :-D

I'm talking about the internal mediapool. The images deleted from via PC Main -> Fork Title -> delete from pool -> DeleteMedia. They keep coming back after Archive restart. Some of them never show up again, but most of them.... well deleting an image in 10 Sessions and have it show up again....

basim wrote: Sat Nov 12, 2022 9:14 pm This mediapools are quite a pain. I'm close to kick them. But that would cost me a lot of work.. :unsure:

I can't say much now. It would be wild guesses only. I have to dig deeper into this one..
Thats why i suggested perhaps go the other way and not delete them from mediapool, but keep them with some tag and if Archive runs into the tag it just skip the image.
User avatar
basim
Explorer
Explorer
Posts: 95
Joined: Fri Dec 21, 2007 9:56 am

Re: [ARCHIVE][Alpha] Dev Talk

Post by basim »

chess8 wrote: Sat Nov 12, 2022 10:35 pm No. Rescan just add all of them back to the pool. I had to to this a while ago cuz i deleted some files on the harddrive. Learned it the hard way :-D

I'm talking about the internal mediapool. The ima....
That's strange. I just tested it and it works fine on my pc. I hit delete the image from pool and it's gone from the pool. Even after a restart. But I only tested it with a single image so far...

On thing you should keep in mind.. progress will only be saved when you regularly play the story.. not when you play it from the edit mode.

The idea to keep the image, but tag it with "deleted" is a good one! I'll keep that in mind. On the other hand I keep pilling up the internal pool with data I never want to use.. Yet I'm not sure which solutions I will use. And one way or another.. an delete image should not be shwon again! ;-)

I will keep looking and testing. But I have to quit for this weekend. In the meantime you'll find a new version on itch.. :-)
> Join ARCHIVE on Discord <
chess8
Explorer
Explorer
Posts: 31
Joined: Thu Oct 06, 2022 7:53 pm

Re: [ARCHIVE][Alpha] Dev Talk

Post by chess8 »

basim wrote: Sat Nov 12, 2022 10:47 pm On thing you should keep in mind.. progress will only be saved when you regularly play the story.. not when you play it from the edit mode.
Yeah i noticed that while fiddling around with some variables, i ended up adding some nodes for better debug.

I will test out the new version. Thanks for the Update. :wave:

Edit: I let it run in a loop and after 6h showing pictures it used less then 1 gig memory. :clap2: :happy2:
User avatar
basim
Explorer
Explorer
Posts: 95
Joined: Fri Dec 21, 2007 9:56 am

Re: [ARCHIVE][Alpha] Dev Talk

Post by basim »

After a long time, finally, I have a new version of Archive for you. It's still in the testing and not officially uploaded to the download website. So please use the link below or in the first post.

More on what changed and happend in the last month you can read when it's officially released. ;)

Have fun,
basim

Archive v0.3.002b:
https://mega.nz/file/QtJG2ZzT#ei-rQjn2B ... dkbyfZkaLk
Last edited by basim on Fri Feb 03, 2023 11:46 pm, edited 1 time in total.
> Join ARCHIVE on Discord <
Tiri
Explorer
Explorer
Posts: 23
Joined: Sat Sep 24, 2022 10:51 pm

Re: [ARCHIVE][Alpha] Dev Talk

Post by Tiri »

I REALLY like this.

I'd just wish the character model wasn't so "uncanny valley". It really takes me out of it.
Is there an easy way to replace it?
User avatar
markus
Explorer At Heart
Explorer At Heart
Posts: 863
Joined: Tue Nov 18, 2008 11:09 pm

Re: [ARCHIVE][Alpha] Dev Talk

Post by markus »

basim wrote: Fri Feb 03, 2023 10:08 am [...]
Hi there! :wave:
I am really happy to see that this is still alive! :-)

Tiri wrote: Fri Feb 03, 2023 7:17 pm I'd just wish the character model wasn't so "uncanny valley". It really takes me out of it.
Is there an easy way to replace it?
:\'-(
Archive presented the first 3D-model EVER which 'did it' for me.
Well, ... tastes are different, and maybe cannot be discussed, ... oh well, ... just don't tell Archive that you don't like her! :lol: :-D :-P

Best greetings,
Markus
User avatar
basim
Explorer
Explorer
Posts: 95
Joined: Fri Dec 21, 2007 9:56 am

Re: [ARCHIVE][Alpha] Dev Talk

Post by basim »

Tiri wrote: Fri Feb 03, 2023 7:17 pm I REALLY like this.

I'd just wish the character model wasn't so "uncanny valley". It really takes me out of it.
Is there an easy way to replace it?
Hey Tiri,

thanks. I'm glad you have fun some with her.

It's also sweet and bad to hear that she is uncanny vally for you. Sweet because the grafics of her can't be that bad. On the other hand it's still not close enough to real. I know. I had the same problem as you. Right when I startet this coding adventure. That's the main reason why she uses images to tease. But with her story unfolding I find it quite matching that she is not "real". Simple because she isn't. She is a software.

Other reasons why she isn't more close to realism are my skills, the softwares I use, the time I startet working on it and the performance that is necessary to render "real" looking characters. Sure, images are prerendered. So I could have used a lot more performance heavy features. But, as I said, my skills.. Anyhow I had something else in mind all the time..

I started working on Archive about 4 years ago. Since then a lot changed. Software became better and my skills did improve. That's brings me to the update that is coming this year. Archive in realtime 3D. Aside from looking not real, being a freezed frame also did not improve the immersion. So, all of this will change. Soon she will be able to move, blink with her eyes and change her clothes.

Oh and I could render her more realistic than I will, when this update comes. But the hardware requirement would be much higher. And I'm not sure if anyone would like that. Sure, there are quality profiles, but when I switch the render engine to the higher quallity by default my Geforce 3070 gets loaded up to 40% just for an empty scene. Maybe I will do it anyway in the future, we'll see. In the end I think the Realtime3D update will bring more realism. By moving and by also pushing the render quality a bit.

Ok, this are a couple more sentences then I though I would write :D. But it was an interesting question of yours.

Last but not least, yes, you can change her images. Just have a look inside the storys folder. In System/Images are all the images of her. If you swap them for others and name them the same way, you could use what ever you want.
markus wrote: Fri Feb 03, 2023 8:04 pm Hi there! :wave:
I am really happy to see..
Hey markus, thanks. Nice to see you'r also still around!

Have a nice weekend, both of you!
> Join ARCHIVE on Discord <
chess8
Explorer
Explorer
Posts: 31
Joined: Thu Oct 06, 2022 7:53 pm

Re: [ARCHIVE][Alpha] Dev Talk

Post by chess8 »

basim wrote: Fri Feb 03, 2023 10:08 am After a long time, finally, I have a new version of Archive for you.
And some new bugs.
Spoiler: show
The time-to-stroke not working as intended. Edge is working, but stay away from edge will fail after time runs out.

Some logic error if you go the trans route starting a female and then tell her you lied, she will still refer to genital pussy after changing gender. "Time to stroke your pussy. Good boy."

Lesbian image tag reply has typo #Username

Change settings errors in:

9970: Reader reads asset > Fork Title
9969: Reader reads asset > Pain
9968: Reader reads asset > is1
9967: Reader reads asset > isEnabled
9966: Reader reads asset > Fork Title
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <8f06425e63004caf99a79845675f751e>:0
at Asset.HONEOCCHCAG (System.Int32 OGJOMNEEJIA) [0x00006] in <48cbd4aaaae349fab8625aae248af418>:0
at ReaderScript.NPHILOACMHN () [0x00094] in <48cbd4aaaae349fab8625aae248af418>:0
at ReaderScript+GKGBNENFLPA.MoveNext () [0x00a9f] in <48cbd4aaaae349fab8625aae248af418>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <d40e4ef9c5b54233937e1b6be66b1c6f>:0
I will do some more testing during the next week.
User avatar
basim
Explorer
Explorer
Posts: 95
Joined: Fri Dec 21, 2007 9:56 am

Re: [ARCHIVE][Alpha] Dev Talk

Post by basim »

chess8 wrote: Sun Feb 05, 2023 3:01 pm And some new bugs.
I will do some more testing during the next week.
Hey chess8,

sorry I did't response earlier, was a busy week. Thanks for sharing. This is great help. With over 5k nodes things like this I easily miss. I'll fix them.

Have a nice weekend,
basim
> Join ARCHIVE on Discord <
Post Reply