ProjectAliceDev / aliceos-classic

A virtual operating system framework for Ren'Py projects
https://aliceos.app
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Mod doesn't start with the technical preview 1 of Alice OS #19

Closed cpgyuri closed 6 years ago

cpgyuri commented 6 years ago

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

Gyrosona commented 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 😓

alicerunsonfedora commented 6 years ago

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.

sr229 commented 6 years ago

Marking debt

Gyrosona commented 6 years ago

ow

cpgyuri commented 6 years ago

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 font aliceos.oem_regular_font AttributeError: 'StoreModule' object has no attribute 'oem_regular_font'

-- 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 font aliceos.oem_regular_font AttributeError: 'StoreModule' object has no attribute 'oem_regular_font'

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 Doki Doki Forces DokiDokiForcesBeta6

alicerunsonfedora commented 6 years ago

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"
cpgyuri commented 6 years ago

I added the fonts and enabled oem developer yesterday night. I'm not that stupid.

alicerunsonfedora commented 6 years ago

I'll need to see your code, then.

cpgyuri commented 6 years ago

Sent in the scripting channel, file not valid to upload here.

sr229 commented 6 years ago

Reopening issue due to persistence of the issue

alicerunsonfedora commented 6 years ago

I believe this was resolved already

alicerunsonfedora commented 6 years ago

image image image image

alicerunsonfedora commented 6 years ago

@sr229 Has this been happening on more than one instance of AliceOS?

sr229 commented 6 years ago

Oh forgive me, I was using the master on DDEA.

Marked as Resolved.