Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: error loading sprite  (Read 3939 times)

0 Members and 1 Guest are viewing this topic.

Drax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 78
  • This engine rocks!
    • View Profile
    • Ganja Joe - And the myth of the holy pot
error loading sprite
« on: April 11, 2004, 06:46:57 PM »

Hi,
I have a little problem with a sprite.
I've created a sprite with sound files. The sound files are stored where the sprite tries to load, and the gfx are stored in the right place, too.

It works in spriteedit, and opens it correct in spriteedit, but can't play it in sceneedit and in the game.

Here the log file:
Quote
19:45: Error opening sound file 'strand\music\snore1.ogg'
19:45: Error loading sound 'strand\music\snore1.ogg'
       returned: E_FAIL
19:45: Error loading sound 'strand\music\snore1.ogg'.
19:45: Error opening file 'strand\entitys\bob\sprites\bob\bob_s_00.bmp'
19:45: CBSurfaceD3D::Create failed for file 'strand\entitys\bob\sprites\bob\bob_s_00.bmp' - error loading file
19:45: Error loading SUBFRAME
19:45: Error parsing frame 1
19:45: Error parsing SPRITE file 'scenes\strand\entitys\bob\sprites\bob_snew.sprite'

The gfx files are displayed right and the sound is played correct in projectman.

Maybe a bug?

THX DraX
Logged
I'm Lost!

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re:error loading sprite
« Reply #1 on: April 11, 2004, 07:45:32 PM »

Hi Drax,

ok, a first shot, I see different pathes here :

19:45: Error opening file 'strand\entitys\bob\sprites\bob\bob_s_00.bmp'
[...]
19:45: Error parsing SPRITE file 'scenes\strand\entitys\bob\sprites\bob_snew.sprite'

Maybe you just forgot the "scenes\" path everywhere else ?

Logged
Mooh!

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re:error loading sprite
« Reply #2 on: April 11, 2004, 09:37:35 PM »

Yes, this look suspicious. Note that you can use the "Copy filename" command in ProjectMan; it will copy the filename into clipboard in the right format.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Drax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 78
  • This engine rocks!
    • View Profile
    • Ganja Joe - And the myth of the holy pot
Re:error loading sprite
« Reply #3 on: April 12, 2004, 09:36:48 AM »

The path of the files  are not correct. They where gotten by the spriteedit's browse function. Don't know how it can happen. ???
« Last Edit: April 12, 2004, 09:39:14 AM by DraX »
Logged
I'm Lost!

Drax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 78
  • This engine rocks!
    • View Profile
    • Ganja Joe - And the myth of the holy pot
Re:error loading sprite
« Reply #4 on: April 12, 2004, 09:44:26 AM »

Now I opened the file with the editor and added the missing "scenes\" path. now it works.

May it be, that the sprite edit just can handle a limited number of subfolders?

ThX for help.
Logged
I'm Lost!
 

Page created in 0.07 seconds with 19 queries.