out[0] = (unsigned short) (((unsigned short)(v.getX()) & 0xfffe)); STUCK

View previous topic View next topic Go down

out[0] = (unsigned short) (((unsigned short)(v.getX()) & 0xfffe)); STUCK

Post  _-MADMAN-_ on Sat Apr 25, 2009 8:31 am

Emulator stuck in this line:

Code:
 out[0] = (unsigned short) (((unsigned short)(v.getX()) & 0xfffe));

App works well, I have added collision hull with flag actor and ghost, then error appeard. Now scene stuck all the time - with and without that objects I have added. Any ideas?

Regards!

_-MADMAN-_

Posts : 52
Join date : 2009-04-23

View user profile

Back to top Go down

Re: out[0] = (unsigned short) (((unsigned short)(v.getX()) & 0xfffe)); STUCK

Post  sio2interactive on Sat Apr 25, 2009 4:41 pm

1. Delete the scene directory to avoid residue of objects or other materials/texture that have been added, modified or deleted... .SIO2 is an archive and append all files located in the scene output directory...

You can add a in the python script around line #642 to flush the scene directory before exporting (not updating):

Code:



   if( not UPDATE ):
      shutil.rmtree( directory.val + scene.getName() + "/" )
   
   output = directory.val + scene.getName() + "/"
   
   create_directory( output              )
   create_directory( output + "material/" )
   create_directory( output + "image/"     )   
   create_directory( output + "object/"  )
   create_directory( output + "camera/"  )
   create_directory( output + "sound/"    )
   create_directory( output + "lamp/"    )
   create_directory( output + "script/"  )
   create_directory( output + "ipo/"      )
   create_directory( output + "action/"     )

   #================================



But if you swipe out your whole drive don't blame me Wink cuz it happen in the past and I receive death threats from users just because they delete their scene name within blender and export on their desktop Wink

2. Select all objects, click the OP button of the exporter then click export.

3. Re-select all objects, un-click the OP button then click export


Last edited by sio2interactive on Sat Apr 25, 2009 5:24 pm; edited 1 time in total

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: out[0] = (unsigned short) (((unsigned short)(v.getX()) & 0xfffe)); STUCK

Post  _-MADMAN-_ on Sat Apr 25, 2009 5:08 pm

That was the point - thank You for help Smile

_-MADMAN-_

Posts : 52
Join date : 2009-04-23

View user profile

Back to top Go down

Re: out[0] = (unsigned short) (((unsigned short)(v.getX()) & 0xfffe)); STUCK

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum