Closed cpgyuri closed 6 years ago
I'll get to work on a fix for that later today if Alice isn't available within the next few hours 😓
Turns out there was a problem in the first Technical Preview to AliceOS in which UIView.rpy
couldn't find the font described. Hopefully, when #18 lands into the master branch, this bug will also get fixed. For a quick fix, you can simply delete UIView.rpy
from the Frameworks folder.
Marking debt
ow
I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
File "renpy/common/00start.rpy", line 76, in _init_language
renpy.change_language(language)
File "game/Resources/FontStyles.rpy", line 3, in
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\Users\Neil\Desktop\RenPy\renpy-6.99.12.4-sdk\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "C:\Users\Neil\Desktop\RenPy\renpy-6.99.12.4-sdk\renpy\main.py", line 487, in main
run(restart)
File "C:\Users\Neil\Desktop\RenPy\renpy-6.99.12.4-sdk\renpy\main.py", line 69, in run
renpy.translation.init_translation()
File "C:\Users\Neil\Desktop\RenPy\renpy-6.99.12.4-sdk\renpy\translation__init.py", line 506, in init_translation
renpy.store._init_language() # @UndefinedVariable
File "renpy/common/00start.rpy", line 76, in _init_language
renpy.change_language(language)
File "C:\Users\Neil\Desktop\RenPy\renpy-6.99.12.4-sdk\renpy\translation__init__.py", line 583, in change_language
new_change_language(tl, language)
File "C:\Users\Neil\Desktop\RenPy\renpy-6.99.12.4-sdk\renpy\translation\init__.py", line 553, in new_change_language
i.apply()
File "C:\Users\Neil\Desktop\RenPy\renpy-6.99.12.4-sdk\renpy\ast.py", line 2224, in apply
value = renpy.python.py_eval(expr)
File "C:\Users\Neil\Desktop\RenPy\renpy-6.99.12.4-sdk\renpy\python.py", line 1749, in py_eval
return py_eval_bytecode(code, globals, locals)
File "C:\Users\Neil\Desktop\RenPy\renpy-6.99.12.4-sdk\renpy\python.py", line 1743, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/Resources/FontStyles.rpy", line 3, in
Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 Doki Doki Forces DokiDokiForcesBeta6
I assume you turned on the OEM settings but didn't set the OEM fonts. You must add the OEM fonts when turning it on. If you need to, you can temporarily redirect them to the appropriate fonts in the regular AliceOS
## Define the AliceOS OEM Fonts here. This covers
## required font weights to match the standard
## system.
define aliceos.oem_font_regular = "Resources/systemfont/Regular.ttf"
define aliceos.oem_font_bold = "Resources/systemfont/Bold.ttf"
define aliceos.oem_font_italic = "Resources/systemfont/Italic.ttf"
define aliceos.oem_font_black = "Resources/systemfont/Black.ttf"
define alceos.oem_font_thin = "Resources/systemfont/Thin.ttf"
define aliceos.oem_font_medium = "Resources/systemfont/Medium.ttf"
I added the fonts and enabled oem developer yesterday night. I'm not that stupid.
I'll need to see your code, then.
Sent in the scripting channel, file not valid to upload here.
Reopening issue due to persistence of the issue
I believe this was resolved already
@sr229 Has this been happening on more than one instance of AliceOS?
Oh forgive me, I was using the master
on DDEA.
Marked as Resolved.
After I applied the new technical preview 1 of AliceOS, Doki Doki Forces refuses to start after compiling.
The error I got is this one.
`I'm sorry, but an uncaught exception occurred.
After initialization, but before game start. File "renpy/common/00start.rpy", line 76, in _init_language renpy.change_language(language) File "game/Frameworks/UIView.rpy", line 39, in
font aliceos_regular
NameError: name 'aliceos_regular' is not defined`
Full traceback attached to the issue. traceback.txt