News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

[Tool] Tiquionophist's Class Scheduler [1.7.0]

Started by tiquionophist, May 31, 2022, 06:19 AM

Previous topic - Next topic

dalzomo

Quote from: ⚧ Squark on Feb 19, 2025, 05:03 PMThis is incompatible with 1.11.07. Please update.
Yes pretty please >_<;;;

Though I have been able to make do with some of the new tools in-game (thank you to whoever created those!), I vastly prefer using this

barteke22

#31
What about it doesn't work?  I'm not familiar with this tool, but it appears functional at a quick glance.

Unless I'm mistaken, it doesn't hook into game code, just reads the save - which hasn't changed since 1.10.

⚧ Squark

#32
Quote from: barteke22 on Feb 27, 2025, 04:10 PMWhat about it doesn't work?  I'm not familiar with this tool, but it appears functional at a quick glance.

Unless I'm mistaken, it doesn't hook into game code, just reads the save - which hasn't changed since 1.10.
I try to export to a saved game and returns:
Error: unhandled XML event type: 12
And Stack Trace:
Quotejava.lang.IllegalStateException: unhandled XML event type: 12
   at com.tiquionophist.io.XMLStreamReaderExtensionsKt.mirrorTo(XMLStreamReaderExtensions.kt:38)
   at com.tiquionophist.io.SaveFileIO.transformSaveData(SaveFileIO.kt:172)
   at com.tiquionophist.io.SaveFileIO.access$transformSaveData(SaveFileIO.kt:24)
   at com.tiquionophist.io.SaveFileIO$copySqlSaveFile$newData$1$1.invoke(SaveFileIO.kt:145)
   at com.tiquionophist.io.SaveFileIO$copySqlSaveFile$newData$1$1.invoke(SaveFileIO.kt:141)
   at com.tiquionophist.io.EncodingUtil.zip(EncodingUtil.kt:24)
   at com.tiquionophist.io.SaveFileIO.copySqlSaveFile(SaveFileIO.kt:141)
   at com.tiquionophist.io.SaveFileIO.write(SaveFileIO.kt:97)
   at com.tiquionophist.ui.ScheduleExportDialogKt$ScheduleExportDialogContent$1$2$1$1.invokeSuspend(ScheduleExportDialog.kt:136)
   at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
   at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
   at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
   at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Not only that,it's not finding all my saves.

tiquionophistTopic starter

I'll give it a try over the weekend. Honestly the toughest part is getting a Windows VM or Wine running now that I've fully made the leap to Linux. Hard to justify Windows for sensitive things these days :|

tiquionophistTopic starter

I've created a release 1.7.0 that should be compatible with HHS+ 1.11. Disclaimer: I haven't tested on Windows at all, so please don't hesitate to report issues.

a1fox3

Quote from: tiquionophist on Mar 10, 2025, 06:11 AMI've created a release 1.7.0 that should be compatible with HHS+ 1.11. Disclaimer: I haven't tested on Windows at all, so please don't hesitate to report issues.
I'm sorry I guess I have no idea how to use this program.
I have the teachers assign to the classes there best in and choose 2 times but can not run.
When I try to clear the schedule the program crashes.
Is there a tutorial on how to use this???

tiquionophistTopic starter

Quote from: a1fox3 on Mar 10, 2025, 11:25 PMI'm sorry I guess I have no idea how to use this program.
I have the teachers assign to the classes there best in and choose 2 times but can not run.
When I try to clear the schedule the program crashes.
Is there a tutorial on how to use this???

Sorry to hear that! There's a brief description in the README but mostly you'll have to experiment a bit. Make sure that you have a teacher assigned for every subject that's being taught - if there's a red (i) next to the Run button hovering it will give you some information.

I can't reproduce any crashes when clearing the schedule, is there a stack trace or anything else that I can look into?

dalzomo

@a1fox3 the way I use it, first I hire my teachers then save the game using a name like "classes" or "teachers" to keep it separate from my daily and temp saves. Then I run tiq's scheduler and choose "import configuration from saved game" from the file menu, navigate to the game's save folder, and pick the save I just made

If you didn't assign any teachers to any subjects in-game you can do so in tiq's scheduler, then press the +/- signs to set how many times per week you want them to teach that subject to the same class of students. So in Carmen's column I put checkboxes next to Anatomy and Biology, then press + next to each of those subjects until I have my desired schedule. Pay attention on the bottom-right of the screen for an exclamation point that shows up if you overbook a teacher, class, or classroom

Once you've set all your teachers up with their subjects and number of times they should teach, you can press the Run button on the bottom-right unless you want to further configure things like same-day or subsequent repeats or how you want classrooms to be assigned. There are also ways you can fine-tune schedule generation with the gear icon but I don't usually mess with that

After generation you can regenerate until you like what you get, and when you're happy press "export to game save" and choose the save you imported from. That save won't be overwritten but its name will be used for the export. Then load the resulting export save in your game and review it

@tiquionophist The tooltips for "allow same-day subject repeats" and "allow subsequent subject repeats" appear directly under my mouse pointer and can't be clicked through, causing me trouble disabling those checkboxes if I don't click very fast after hovering over those options. If that's not a me problem, displacing the tooltip a little bit away from the mouse pointer like it is for "schedule per-class" would solve this neatly

Thank you for updating this tool!

a1fox3

Thanks to both of you.
After several tries I finally got it to run.
I was trying to put ever class to 2 times a week and there is not enough timeframes for that so had to cut some down to only once a week.

If it crashes again I will screenshot it or write it downs and post it.

tiquionophistTopic starter

Quote from: dalzomo on Mar 11, 2025, 08:24 AMtiquionophist The tooltips for "allow same-day subject repeats" and "allow subsequent subject repeats" appear directly under my mouse pointer and can't be clicked through, causing me trouble disabling those checkboxes if I don't click very fast after hovering over those options. If that's not a me problem, displacing the tooltip a little bit away from the mouse pointer like it is for "schedule per-class" would solve this neatly

Heh, definitely not a you problem. I'll put out a fix with this and some other polish within a few days. Thanks for the report!

a1fox3

#40
Quote from: tiquionophist on Mar 12, 2025, 02:16 AM
Quote from: dalzomo on Mar 11, 2025, 08:24 AMtiquionophist The tooltips for "allow same-day subject repeats" and "allow subsequent subject repeats" appear directly under my mouse pointer and can't be clicked through, causing me trouble disabling those checkboxes if I don't click very fast after hovering over those options. If that's not a me problem, displacing the tooltip a little bit away from the mouse pointer like it is for "schedule per-class" would solve this neatly


Heh, definitely not a you problem. I'll put out a fix with this and some other polish within a few days. Thanks for the report!
I was just coming here to report that same thing.
For me coming from the left and just touch it works.

Been trying for the last few hours to get this to work on 12 classes, it always say its empty or can not do it.
Anyone got 12 classes set up yet with this program.
I have all classrooms open and the only the sex ed programs are not approve yet but all others subjects are open.

dalzomo

You might have to play around with the number of times certain subjects are taught. I've had it report no options when I scheduled a subject that required a specific classroom too many times but no ! appeared to warn me

a1fox3

Quote from: dalzomo on Mar 13, 2025, 06:03 AMYou might have to play around with the number of times certain subjects are taught. I've had it report no options when I scheduled a subject that required a specific classroom too many times but no ! appeared to warn me
That's just it I only have each class on 1 for it.
It does not matter if its daily or full week it still says it can not do or find the schedule.
I even take off classes and it still does it.
There are 20 daily class spots and only 15 subjects so I have all on 1 but for sports I have on 2 this = 20 but the program will not work. Take off 5 subjects and set them to 0 and still no go.

I guess I will stick with the in-game way of doing it.

dalzomo

#43
Quote from: a1fox3 on Mar 13, 2025, 12:57 PM
Quote from: dalzomo on Mar 13, 2025, 06:03 AMYou might have to play around with the number of times certain subjects are taught. I've had it report no options when I scheduled a subject that required a specific classroom too many times but no ! appeared to warn me
That's just it I only have each class on 1 for it.
It does not matter if its daily or full week it still says it can not do or find the schedule.
I even take off classes and it still does it.
There are 20 daily class spots and only 15 subjects so I have all on 1 but for sports I have on 2 this = 20 but the program will not work. Take off 5 subjects and set them to 0 and still no go.

I guess I will stick with the in-game way of doing it.
Are you willing to share a save so I can play around with trying to find a usable schedule?

a1fox3

Quote from: dalzomo on Mar 14, 2025, 08:03 AM
Quote from: a1fox3 on Mar 13, 2025, 12:57 PM
Quote from: dalzomo on Mar 13, 2025, 06:03 AMYou might have to play around with the number of times certain subjects are taught. I've had it report no options when I scheduled a subject that required a specific classroom too many times but no ! appeared to warn me
That's just it I only have each class on 1 for it.
It does not matter if its daily or full week it still says it can not do or find the schedule.
I even take off classes and it still does it.
There are 20 daily class spots and only 15 subjects so I have all on 1 but for sports I have on 2 this = 20 but the program will not work. Take off 5 subjects and set them to 0 and still no go.

I guess I will stick with the in-game way of doing it.
Are you willing to share a save so I can play around with trying to find a usable schedule?
I got it to work mostly.
I had to cut 1 class but with it leaving 5 empty spots I just added it back and choose 4 others that were the lowest scores to have 2 classes a week.
It seems to be working out because the school score is rising a little faster now it seems.