Black Closet

Black Closet

View Stats:
Black Closet > General Discussions > Topic Details
This topic has been locked
1.2.16 in beta
Crash fixes:

* Some load crashes have been fixed, though the saves that caused them are
rather strange and I'm not sure how they were created. If you get any weird
saves that just dump you on the title screen when loaded or the like, let me
know how you made them?

* game_log() should no longer crash when year/month/day are undefined.
I'm... not really sure how that particular crash happened, I can't
reproduce it.

* A crash harassing the good student in one of the "A Struggling Student"
variants has been fixed.

Plot fixes:
* The "Suspicious Similarity" variant where a girl is selling papers is
now easier to solve.

Other changes:
* CG unlocks will now be saved to your Steam account, so your unlocks will also show up on your other machines.

* Several load/save warnings have been fixed. The updater_target_version
warning will no longer be generated in new saves.

* "Don't know you know all those things about me?" typo talking to Vonne fixed.

* Minor spacing fixes.

* The custom councillor directory is created automatically when you start a custom campaign now. (Previously the directory wasn't created until you edited a councillor, which could wind up confusing players who were trying to figure out where to put their custom images.)

* 'Download complete' notice after installing GPG no longer says 'Debug:'

Behind the scenes:
* Some of the code's been cleaned up a little; there are a few fewer debug
messages on the console when gossipping; translation hooks added to the
logging for the slave offering case.

To access the beta:
Right-click on the game in your steam library and select Properties. That should bring up a box with various options tabs, one of which says 'Betas'. On that tab, you'll see a dropdown with a list of options you can choose from - select "beta" and it should patch up to the new test content.

The old beta (which added fixes for some access violation crashes if the
Steam Cloud didn't initialize correctly) is now the default.
< >
Showing 1-11 of 11 comments
Wolfy Sep 25, 2015 @ 9:22pm 
Please help me I have played the game before and love it I bought a copy and when I go to play it this is what comes up
I'm sorry, but an uncaught exception occurred.

After loading the script.
AttributeError: 'NoneType' object has no attribute '_preferences'

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "C:\Program Files (x86)\Steam\steamapps\common\Black Closet\renpy\bootstrap.py", line 306, in bootstrap
renpy.main.main()
File "C:\Program Files (x86)\Steam\steamapps\common\Black Closet\renpy\main.py", line 261, in main
game.preferences = game.persistent._preferences
AttributeError: 'NoneType' object has no attribute '_preferences'

Windows-post2008Server-6.2.9200
Ren'Py 6.17.7.521

What do I do?
Hanako Sep 26, 2015 @ 6:11am 
Are you currently playing the default version or the steam beta version? Does switching into the beta branch make any difference?

(I have a suggestion that will probably work as a hack to get past your problem, but Spiky may have a better one, so I'll hold off on mine as a last resort.)
Spiky Caterpillar Sep 26, 2015 @ 10:42am 
Can you upload the game's persistent.dat to http://spikycaterpillar.com/savegame-upload.html ?

(You should be able to find persistent.dat by opening an Explorer window, typing %APPDATA% into the location bar, and then going into the RenPy\BlackCloset folder.)

I have some ideas of places to look for fixes, but having the actual persistent that causes the problem will help with testing to see if the fixes actually *work*.
Spiky Caterpillar Sep 26, 2015 @ 10:52am 
(Also, once you've uploaded the offending persistent, renaming it may work around the problem.)
Wolfy Sep 26, 2015 @ 11:02pm 
I uploaded the files like you asked but while doing so I also noticed two files titled Error i havent deleted them because I didn't know if they were part of the system yet or just corrupted files but the game still isnt working
Spiky Caterpillar Sep 27, 2015 @ 12:17pm 
You're looking in the game install directory, not the save directory - persistent.py (and persistent.pyo) are the code that handles reading/writing the persistent data. The error.py and error.pyo files in the same directory are harmless, they're code that helps the game understand errors.

The file I want is in the save directory - probably \Users\(your username)\AppData\Roaming\RenPy\BlackCloset\ . Windows hides this directory by default, so you'll need to tell it to show hidden files or type the path into the location bar to get there. It's named 'persistent.dat', and shows up as a 'DAT File' if your computer is set to hide extensions.
Wolfy Sep 28, 2015 @ 4:02pm 
Its fixed I'm not that tech savvy so my friend who is came over to help me out it still won't work on my laptop but the other computer in our house plays it fine :)
Umm, apparently I can't load my save even after opting to beta. :/ I just played it today after not playing it for two days, managed to load my save just fine, and then when I tried to re-load the same save data again it crashed. :/ Restarted the game but this error occured everytime I tried to load the game:
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/screens.rpy", line 277, in script
File "renpy/common/000statements.rpy", line 426, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/screens.rpy", line 445, in <module>
File "game/screens.rpy", line 599, in <module>
File "game/screens.rpy", line 480, in <module>
File "game/steam.rpy", line 351, in CloudAwareSaveInfo
File "game/steam.rpy", line 362, in __init__
WindowsError: exception: access violation reading 0x00000000

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/screens.rpy", line 277, in script
File "E:\Steam\steamapps\common\Black Closet\renpy\ast.py", line 1593, in execute
self.call("execute")
File "E:\Steam\steamapps\common\Black Closet\renpy\ast.py", line 1611, in call
renpy.statements.call(method, parsed, *args, **kwargs)
File "E:\Steam\steamapps\common\Black Closet\renpy\statements.py", line 144, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 426, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "E:\Steam\steamapps\common\Black Closet\renpy\exports.py", line 2107, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "E:\Steam\steamapps\common\Black Closet\renpy\ui.py", line 264, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "E:\Steam\steamapps\common\Black Closet\renpy\display\core.py", line 2082, in interact
scene_lists.replace_transient()
File "E:\Steam\steamapps\common\Black Closet\renpy\display\core.py", line 593, in replace_transient
self.remove(layer, tag)
File "E:\Steam\steamapps\common\Black Closet\renpy\display\core.py", line 872, in remove
self.hide_or_replace(layer, remove_index, "hide")
File "E:\Steam\steamapps\common\Black Closet\renpy\display\core.py", line 796, in hide_or_replace
d = oldsle.displayable._hide(now - st, now - at, prefix)
File "E:\Steam\steamapps\common\Black Closet\renpy\display\screen.py", line 204, in _hide
hid.update()
File "E:\Steam\steamapps\common\Black Closet\renpy\display\screen.py", line 288, in update
self.screen.function(**self.scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\screenlang.py", line 1239, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\python.py", line 1385, in py_exec_bytecode
exec bytecode in globals, locals
File "game/screens.rpy", line 445, in <module>
File "E:\Steam\steamapps\common\Black Closet\renpy\display\screen.py", line 621, in use_screen
screen.function(**scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\screenlang.py", line 1239, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\python.py", line 1385, in py_exec_bytecode
exec bytecode in globals, locals
File "game/screens.rpy", line 599, in <module>
File "E:\Steam\steamapps\common\Black Closet\renpy\display\screen.py", line 621, in use_screen
screen.function(**scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\screenlang.py", line 1239, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "E:\Steam\steamapps\common\Black Closet\renpy\python.py", line 1385, in py_exec_bytecode
exec bytecode in globals, locals
File "game/screens.rpy", line 480, in <module>
File "game/steam.rpy", line 351, in CloudAwareSaveInfo
File "game/steam.rpy", line 362, in __init__
WindowsError: exception: access violation reading 0x00000000

Windows-7-6.1.7601-SP1
Ren'Py 6.17.7.521

Game: BlackClosetRetail-1.2.16
Renderer: gl 1366x768
OS: Windows 7 6.1.7601 x86 x86 Family 6 Model 37 Stepping 5, GenuineIntel
Vendor: Steam
Spiky Caterpillar Sep 30, 2015 @ 1:25pm 
Originally posted by (屮゚Д゚)屮:
Umm, apparently I can't load my save even after opting to beta. :/ I just played it today after not playing it for two days, managed to load my save just fine, and then when I tried to re-load the same save data again it crashed. :/ Restarted the game but this error occured everytime I tried to load the game:
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/screens.rpy", line 277, in script
File "renpy/common/000statements.rpy", line 426, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "game/screens.rpy", line 445, in <module>
File "game/screens.rpy", line 599, in <module>
File "game/screens.rpy", line 480, in <module>
File "game/steam.rpy", line 351, in CloudAwareSaveInfo
File "game/steam.rpy", line 362, in __init__
WindowsError: exception: access violation reading 0x00000000

I've put a candidate fix for this crash into the beta; depending on where exactly the underlying error occurred it might just move the crash around, though. If you have multiple saves, were the others loading properly?

(edit: the new beta should show up as build 796303 on the local files tab in the game properties.)
Last edited by Spiky Caterpillar; Sep 30, 2015 @ 1:39pm
Originally posted by Spiky Caterpillar:
I've put a candidate fix for this crash into the beta; depending on where exactly the underlying error occurred it might just move the crash around, though. If you have multiple saves, were the others loading properly?

(edit: the new beta should show up as build 796303 on the local files tab in the game properties.)
It works now, thank you! :)
Hanako Oct 1, 2015 @ 7:48pm 
This has been brought forward to default now.
< >
Showing 1-11 of 11 comments
Per page: 15 30 50

Black Closet > General Discussions > Topic Details