0% found this document useful (0 votes)
3 views4 pages

Ren'Py Game Initialization Log

Log 3

Uploaded by

samuel.bridge06
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

Ren'Py Game Initialization Log

Log 3

Uploaded by

samuel.bridge06
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Fri Jul 12 19:16:30 2024

Unknown platform.
Ren'Py 7.5.3.22090809

Bootstrap to the start of [Link] took 0.00s


Bootstrap to the start of [Link] took 0.00s
Manufacturer samsung model SM-A135F
Screen diagonal is 5.73318216855 inches.
Early init took 0.40s
Early init took 0.40s
Android search paths:
/storage/emulated/0/Android/data/[Link]/files/../../../../0011/
[Link]/game /data/user/0/[Link]/files/game
Loader init took 0.14s
Loader init took 0.14s
Loading error handling took 0.14s
Loading error handling took 0.14s
Loading script took 1.51s
Loading script took 1.51s
Saving to
/storage/emulated/0/Android/data/[Link]/files/../../../../0011/
[Link]
Loading save slot metadata. took 0.92s
Loading save slot metadata. took 0.92s
Loading persistent took 0.01s
Loading persistent took 0.01s
Faled to initialize steam: OSError('dlopen failed: library
"/data/user/0/[Link]/files/libsteam_api.so" not found',)
Set script version to: (8, 0, 0)
- Init at [Link] took 0.35076 s.
Running init code took 0.96s
Running init code took 0.96s
Loading analysis data took 0.43s
Loading analysis data took 0.43s
Analyze and compile ATL took 0.67s
Analyze and compile ATL took 0.67s
Index archives took 0.00s
Index archives took 0.00s
Dump and make backups. took 0.00s
Dump and make backups. took 0.00s
Cleaning cache took 0.00s
Cleaning cache took 0.00s
Making clean stores took 0.01s
Making clean stores took 0.01s
Initial gc. took 0.30s
Initial gc. took 0.30s
DPI scale factor: 1.000000
Creating interface object took 0.00s
Creating interface object took 0.00s
Cleaning stores took 0.00s
Cleaning stores took 0.00s
Init translation took 0.47s
Init translation took 0.47s
Build styles took 0.04s
Build styles took 0.04s
Load screen analysis took 0.20s
Load screen analysis took 0.20s
Analyze screens took 0.01s
Analyze screens took 0.01s
Save screen analysis took 0.00s
Save screen analysis took 0.00s
Prepare screens took 0.77s
Prepare screens took 0.77s
Save pyanalysis. took 0.00s
Save pyanalysis. took 0.00s
Save bytecode. took 0.00s
Save bytecode. took 0.00s
Running _start took 0.00s
Running _start took 0.00s
Interface start took 0.94s
Interface start took 0.94s

Initializing gles2 renderer:


primary display bounds: (0, 0, 2343, 1080)
swap interval: 1 frames
Fullscreen mode.
Vendor: 'ARM'
Renderer: 'Mali-G52'
Version: 'OpenGL ES 3.2 v1.r38p1-01bet0-mbs2v41_0.6d20ec041e51b2f2d25dfc265586ebe8'
Display Info: None
Screen sizes: virtual=(1920, 1080) physical=(2343, 1080) drawable=(2343, 1080)
Maximum texture size: 4096x4096
Total time until interface ready: 8.95794200897s
Hid presplash.

Full traceback:
File "[Link]", line 40, in script call
File "[Link]", line 123, in script call
File "scenes/night1/[Link]", line 28, in script call
File "scenes/night1/[Link]", line 37, in script call
File "scenes/night1/[Link]", line 79, in script call
File "scenes/night1/[Link]", line 140, in script
File "renpy/[Link]", line 1131, in execute
File "renpy/[Link]", line 1061, in py_exec_bytecode
File "game/scenes/night1/[Link]", line 140, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
File "renpy/[Link]", line 1362, in say
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

While running game code:


File "game/scenes/night1/[Link]", line 140, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

Full traceback:
File "[Link]", line 40, in script call
File "[Link]", line 123, in script call
File "scenes/night1/[Link]", line 28, in script call
File "scenes/night1/[Link]", line 37, in script call
File "scenes/night1/[Link]", line 83, in script call
File "scenes/night1/[Link]", line 140, in script
File "renpy/[Link]", line 1131, in execute
File "renpy/[Link]", line 1061, in py_exec_bytecode
File "game/scenes/night1/[Link]", line 140, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
File "renpy/[Link]", line 1362, in say
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'
While running game code:
File "game/scenes/night1/[Link]", line 140, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

Full traceback:
File "[Link]", line 40, in script call
File "[Link]", line 123, in script call
File "scenes/night1/[Link]", line 28, in script call
File "scenes/night1/[Link]", line 37, in script call
File "scenes/night1/[Link]", line 88, in script call
File "scenes/night1/[Link]", line 136, in script
File "renpy/[Link]", line 1131, in execute
File "renpy/[Link]", line 1061, in py_exec_bytecode
File "game/scenes/night1/[Link]", line 136, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
File "renpy/[Link]", line 1362, in say
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

While running game code:


File "game/scenes/night1/[Link]", line 136, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

Full traceback:
File "[Link]", line 40, in script call
File "[Link]", line 123, in script call
File "scenes/night1/[Link]", line 28, in script call
File "scenes/night1/[Link]", line 37, in script call
File "scenes/night1/[Link]", line 88, in script call
File "scenes/night1/[Link]", line 136, in script
File "renpy/[Link]", line 1131, in execute
File "renpy/[Link]", line 1061, in py_exec_bytecode
File "game/scenes/night1/[Link]", line 136, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
File "renpy/[Link]", line 1362, in say
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

While running game code:


File "game/scenes/night1/[Link]", line 136, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

Full traceback:
File "[Link]", line 40, in script call
File "[Link]", line 123, in script call
File "scenes/night1/[Link]", line 28, in script call
File "scenes/night1/[Link]", line 37, in script call
File "scenes/night1/[Link]", line 101, in script call
File "scenes/night1/[Link]", line 136, in script
File "renpy/[Link]", line 1131, in execute
File "renpy/[Link]", line 1061, in py_exec_bytecode
File "game/scenes/night1/[Link]", line 136, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
File "renpy/[Link]", line 1362, in say
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

While running game code:


File "game/scenes/night1/[Link]", line 136, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

Full traceback:
File "[Link]", line 40, in script call
File "[Link]", line 123, in script call
File "scenes/night1/[Link]", line 28, in script call
File "scenes/night1/[Link]", line 37, in script call
File "scenes/night1/[Link]", line 101, in script call
File "scenes/night1/[Link]", line 136, in script
File "renpy/[Link]", line 1131, in execute
File "renpy/[Link]", line 1061, in py_exec_bytecode
File "game/scenes/night1/[Link]", line 136, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
File "renpy/[Link]", line 1362, in say
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'

While running game code:


File "game/scenes/night1/[Link]", line 136, in <module>
File "game/defines/pyEffects/[Link]", line 174, in setArraySay
TypeError: unsupported operand type(s) for %: 'NoneType' and 'TagQuotingDict'
Cleaning stores took 0.01s
Cleaning stores took 0.01s
Init translation took 0.03s
Init translation took 0.03s
Build styles took 0.06s
Build styles took 0.06s
Load screen analysis took 0.19s
Load screen analysis took 0.19s
Analyze screens took 0.00s
Analyze screens took 0.00s
Prepare screens took 0.00s
Prepare screens took 0.00s
Running _start took 0.01s
Running _start took 0.01s
Entered background.

Common questions

Powered by AI

The document reflects common issues in game development such as platform-specific errors (like missing libraries), the need for efficient loading and initialization processes, and handling unexpected data types that cause runtime errors. It highlights the importance of testing across various environments and maintaining robust error-handling and logging mechanisms to proactively manage such challenges .

Strategies for managing script errors in Ren'Py, as highlighted by the TypeError issues, include using structured logging to capture detailed error contexts and employing unit tests to catch errors early. Additionally, implementing comprehensive exception handling, employing breakpoints, and leveraging Ren'Py's built-in debug tools can enhance debugging efficiency. Regularly refactoring code to improve clarity and maintainability also reduces the incidence of such errors .

The main issue indicated in the document is a TypeError occurring in the Ren'Py script, specifically where an unsupported operand type is encountered between 'NoneType' and 'TagQuotingDict'. This suggests that a variable expected to have a value is instead 'None', leading to an error when used in string formatting or operations involving dictionaries. Developers could address this by ensuring that all variables are properly initialized and debugging the script to trace where the 'NoneType' assignment occurs. Additionally, using try-except blocks around suspected areas can gracefully handle such errors while preserving user experience .

Addressing the 'Failed to initialize steam' error, which arises due to a missing library, involves ensuring the correct installation and path configurations for the Steam API dependencies. Developers might need to verify that all necessary files are correctly included in the deployment package and assess permissions or compatibility issues that could inhibit the library from loading .

Developers can face challenges related to screen rendering when dealing with device-specific configurations, such as different screen sizes and rendering capabilities. The document mentions usage of a specific renderer (Mali-G52) and differences in virtual versus physical screen sizes, which can lead to discrepancies in how the content is displayed. Developers must optimize graphics and ensure scalability to maintain performance and aesthetic consistency across different devices .

The different screen sizes and configurations observed imply significant implications for user interface design, as developers must ensure that the interface is adaptive and responsive to fit both virtual and physical dimensions accurately. It necessitates implementing scalable design patterns and flexible layouts to provide an optimal user experience across devices with varying display specifications .

Device information, such as manufacturer and model, significantly influences the development and testing processes because it determines which optimizations and functionalities are prioritized. Certain features may be exclusive or perform differently depending on hardware capabilities. Therefore, understanding specific devices enables developers to tailor experiences for optimal performance and ensure broader compatibility testing to detect potential issues early .

Initialization timing metrics directly affect user perception of a game's performance as longer load times can lead to user frustration and a perception of inefficiency. The document's detailed timing breakdowns help developers identify slow processes and optimize them to improve load times and ensure a smooth, responsive user experience. Enhancing these loading metrics can significantly enhance user satisfaction and engagement .

Setting the script version in Ren'Py is significant as it ensures compatibility and consistency throughout the game development process. It allows developers to use specific features available in that script version and maintain control over dependencies and integrations. This practice impacts game development by ensuring that all team members are working with the same version, thereby reducing conflicts and bugs in the developed game .

The document discusses various initialization times and processes such as 'Bootstrap to start', 'Loader init', and 'Interface start', all taking various amounts of time to complete. These details suggest a step-by-step outline of the performance characteristics, allowing developers to identify bottlenecks. The device specifications, including screen size and renderer information, further offer insights into potential performance constraints tied to device capabilities, hence guiding optimizations .

You might also like