If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!
KinitoPET/Dev Notes
Jump to navigation
Jump to search
This is a sub-page of KinitoPET.
KinitoPET Developer notes
These notes are found in multiple scripts
print("COULD NOT CREATE - Desktop Icon Scare is disabled in this build") print("for those who find this... At this point in the game it would orignially create a folder called FakeDesktop in the game files that would contain 100s of folders saying some generic scary text. Then in hide and seek it would change the desktop file path of the computer making all the files change over displaying the scary folders which was a super cool effect. To do this in the game I had code that would restart explorer.exe to update the changes. Issue with this is that it would run a subprocess to kinitoPET meaning explorer.exe (which is responsible for the taskbar / graphical elements of windows) would still be open after the game closed - This made steam think the game was still running now if you pressed close game on steam it would delete the taskbar and desktop which although funny was not really good enough for a full release - anyways if any of you have any better ideas dm me on discord with this text and how you would make it better since it was a super cool and unique scare that has annoying that it had to be cut. ") #var result = OS.execute("REG.EXE", ["/Q", "COPY", "HKCU\\SOFTWARE\\Microsoft\\Windows\\Shell\\Bags\\1\\Desktop", "HKCU\\SOFTWARE\\Microsoft\\Windows\\Shell\\Bags\\1\\Desktop_Copy"]) #if result == OK: #print("ok") #else: #print("Error restoring Icon Layouts.")
print(" ") print(" ") print("\n\n\n\n\n") print("<!> Are you having issues with my poorley written code? <!>") print("""In which case please head on over to the discord server to dm me your problems - discord.gg/GZfJqdM7au - I will try my best to fix it!""") # print("--[Stuff I may use for debugging]--") # print("screen_orientation: ",(str(OS.screen_orientation))) # print("screen_size(0): ",(str(OS.get_screen_size(0))) # print("") print("---") print("""Hey I know from the nature of this game you want to look through the files for lore / clues however - This game is quite experimental in the things it does and thus my poorley written code will make mistakes, because of this I have chosen to leave logs into the finial build so I can bug fix the game. That being said there is NO hidden things in here. This is literally just to bug fix my bad code. SO if you find something in here please know it was not intentonal and for your sake its better to get infromation in the way that I want to present - this is not the way...""") print("---") print("\n\n\n\n\n\n\n\n") print(" ") print(" ") print(" ")
Unused Code Snippets
# var newFolderPath = desk_file_path # if num == (-1): # newFolderPath = desk_file_path # restoreIconLayouts() # if(Desktop.isVisible() == 0): # Desktop.ToggleDesktopIcons() ## data["dskhide"] == 0 # ## if(data["dskhide"] == 0 and Desktop.isVisible() == 1): ## Desktop.ToggleDesktopIcons() ## data["dskhide"] = 1 # else: # #print((OS.get_user_data_dir()+"/tempDesktop").replace("/","\\") ) # newFolderPath = (OS.get_user_data_dir()+"/tempDesktop").replace("/","\\") # if(Desktop.isVisible() == 1): # Desktop.ToggleDesktopIcons() ## data["dskhide"] == 1 # # # var command = 'reg' # var args = ['add', 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\User Shell Folders', '/v', 'Desktop', '/t', 'REG_EXPAND_SZ', '/d', newFolderPath, '/f'] # var result = OS.execute(command, args) # # if result == OK: # lastNewPath = newFolderPath # #print("Desktop folder location changed successfully.") # # get_node("Refresh").RestartExplorer() #else: # #print("Error changing desktop folder location.")