Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Warning referencing absolute path  (Read 4566 times)

0 Members and 1 Guest are viewing this topic.

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Warning referencing absolute path
« on: May 06, 2009, 05:47:00 PM »

I'm getting this warning on a scene where the background image is in the same folder as the scene and sceneedit knows it is. So when I run sceneedit, there's the graphic, but in either projectman or the game, no it isn't.

Is there an option to say "start looking here"?

It's happening on everything, cursors backgrounds etc.

Thanks

Noel
Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Warning referencing absolute path
« Reply #1 on: May 07, 2009, 12:02:22 PM »

So I assume you're getting some errors when running the game? What errors exactly?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Re: Warning referencing absolute path
« Reply #2 on: May 07, 2009, 12:52:02 PM »

Error is missing image.
Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Warning referencing absolute path
« Reply #3 on: May 07, 2009, 12:55:35 PM »

Followed by some path...?
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Re: Warning referencing absolute path
« Reply #4 on: May 07, 2009, 01:20:37 PM »

Full story - I have a scene "cafe_long_shot" and in its folder is the .scene file and cafe2.jpg. Using the scene editor, I set the background to cafe2.jpg, but instead of just saying cafe2.jpg, it registers in the scene editor as c:\documents and settings\blah\my documents\wme projects\demoproject\data\scenes\cafe_long_shot\cafe2.jpg.

Then I get a warning in the log box 'referencing absolute path'.
 
Then when I run the game I get 'missing image'.

I have messed about with it though - the scene is from a template I created with scenedit. I think it may have corrupted something but I don't know what.
Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Warning referencing absolute path
« Reply #5 on: May 07, 2009, 01:49:38 PM »

I think SceneEdit is confused about where the scene is located in your project. Probably the easiest way to fix it is this:

1) edit the .scene file in notepad
2) remove the $EDITOR_PROJECT_ROOT_DIR$ line (third line)
3) open the .scene file in SceneEdit - it should ask you where the project is located

That *should* correct the problem.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Re: Warning referencing absolute path
« Reply #6 on: May 07, 2009, 02:54:11 PM »

I thought that line was a comment coz it had a ; before it - so is it not a comment?
Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Warning referencing absolute path
« Reply #7 on: May 07, 2009, 02:58:47 PM »

For the engine it's a comment. But the tools use it to determine how to generate relative paths when saving the file.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Re: Warning referencing absolute path
« Reply #8 on: May 07, 2009, 05:53:13 PM »

It worked - thanks again, sorted.
Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com
 

Page created in 0.095 seconds with 24 queries.