Page MenuHome

Game Engine Publishing | Assets paths listing upgrade

Authored by Oren Titane (Genome36) on Aug 7 2014, 8:47 PM.


Mitchell Stokes (moguri)
Group Reviewers
Game Engine

This revision introduces a new method of importing assets to be included into the game package. By adding the constructor "bpy_extras.io_utils.ImportHelper" to the "class PublishAddAssetPath(bpy.types.Operator)" we benefit of a custom file importer that can be modified to suite our needs. This upgrade let's us import a list of assets files all at once instead of adding a field and setting the path manually.

Diff Detail

Event Timeline

Oren Titane (Genome36) retitled this revision from to Game Engine Publishing | Assets paths listing upgrade.
Oren Titane (Genome36) updated this object.
Mitchell Stokes (moguri) requested changes to this revision.Aug 15 2014, 6:00 AM
Mitchell Stokes (moguri) edited edge metadata.

In general, the execute function could be cleaned up quite a bit:

def execute(self, context):
    for file in self.files:
        asset = context.scene.ge_publish_settings.asset_paths.add()
        path = os.path.join(,

        if context.user_preferences.filepaths.use_relative_paths:
   = bpy.path.relpath(path)
   = bpy.path.abspath(path){'INFO'}, "Asset path: %s" %

This could be outside of the if, and just display

This revision now requires changes to proceed.Aug 15 2014, 6:00 AM
Oren Titane (Genome36) set the repository for this revision to rBA Blender Add-ons.Aug 9 2015, 9:26 PM
Oren Titane (Genome36) edited edge metadata.

Simplified source relpath / abspath.

Closing this due to the removal of the game engine. Maybe submit it to UpBGE?

UPBGE died when its merge was rejected from Blender fundation ...
It's time to move on.

Looking at the UpBGE github page, last commits were 7 days ago. It appears to be a working fork of Blender 2.7.

There was 3 developers. Panzergame, youle and me. Panzergame and me abandoned it some time ago. Youle maintains a branch with eevee for its own purpose. The main branch was updated seven days ago to generate a stable build but there have been no developments for months.

upbge is not dead - youle just updated / rebased - also the branch ge_23a_youle removed scenegraph refactor (it broke libload) and openColor(crashes/ instability) and added 'patterns' to GLSL nodes (cycles nodes that work in bge)

the branch ge_23a_youle_render attachments is stable and ready for SSR.

I am busy for 5 more weeks - should resume work then.

<@&438645847778000897> Blender Talk - Invite > <

youle is usually here with the bge users in the bge chatroom here.

there is also a upbge dev server

Well, it seems I was wrong. Sorry for the extra noise and a lot of encouragement to continue the project.

it's slow going anyway - I won't have time for 4 weeks or so to code,

when I do it will likely be adding templates to GLSL section.

Thank you for all your work @Jorge Bernal (lordloki) !!

we miss you :D