[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4697: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4699: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4700: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4701: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
indielib.com • View topic - [Resolved] Strange behaviour when running outside VS

indielib.com

IndieLib Forum
It is currently Wed Aug 12, 2020 3:25 am

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Apr 17, 2009 5:01 pm 
Offline
User avatar

Joined: Tue Feb 17, 2009 7:48 pm
Posts: 43
Location: Germany
I discovered a strange behaviour when I wanted to run my project outside Visual Studio and I'm lost what causes it. The project runs fine in release as well as in debug mode but when I try to run the .exe directly everything brokes down as fast as it starts. The first time it was when I added a IND_Font. The last thing before it quits with an unhandled Exception was when it loaded the .xml of the font according to the debuglog. After commenting the font and every entity using it out things run almost well till I decided to replace all text with graphics because I only had like five occasions of static text so it wasn't a big deal.after I put all surfaces and entities in again the raw .exe break down with an unhandled exception after a bounding area was created from a .xml. I dunno how this is connected to the new entites/surfaces, but after commenting them out everthing was back to normal again.
I'm not much of a VS Guru to know where the difference lies between running inside and outside so I hope someone here can help.

Update: Before I posted I tried it on two different settings (my dev machine with a nvidia and an older pc with a pretty old ati) and both refused to run it directly. But on both is VS 2008 installed so I gave it a shot on my laptop (crappy intel graphics) with nothing but the latest vcredist on it and guess what? I run like a charme. Now i'm even more puzzled than before.

Update 2: Since it seems to work I hope you guys can test it before it gets an official release. (~10mb because of the music & dlls). Yep its the project for the competition - never abandoned, only late (because of the described problem and some other).


Last edited by trash on Wed May 06, 2009 10:29 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 17, 2009 6:43 pm 
Offline
User avatar

Joined: Mon Jan 19, 2009 7:08 pm
Posts: 32
Location: Romania
The game works only if I set the compatibility mode to win98, I have winXP.

_________________
Ionut Ghenade


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 17, 2009 6:56 pm 
Offline
User avatar

Joined: Tue Feb 17, 2009 7:48 pm
Posts: 43
Location: Germany


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 18, 2009 1:42 am 
Offline
User avatar

Joined: Tue Mar 10, 2009 5:18 am
Posts: 109
Location: In the fourth dimension


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 18, 2009 10:44 pm 
Offline
User avatar

Joined: Wed Jan 21, 2009 4:36 pm
Posts: 209
Location: San Diego, CA

_________________

smjones@gameinstitute.com


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 19, 2009 3:00 pm 
Offline
Site Admin
User avatar

Joined: Wed Dec 26, 2007 1:38 am
Posts: 626
Location: Murcia, Spain


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 20, 2009 8:11 am 
Offline
User avatar

Joined: Tue Feb 17, 2009 7:48 pm
Posts: 43
Location: Germany


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 20, 2009 2:32 pm 
Offline
Site Admin
User avatar

Joined: Wed Dec 26, 2007 1:38 am
Posts: 626
Location: Murcia, Spain


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 21, 2009 2:05 am 
Offline

Joined: Tue Feb 10, 2009 3:20 am
Posts: 94


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 21, 2009 5:13 pm 
Offline
User avatar

Joined: Tue Feb 17, 2009 7:48 pm
Posts: 43
Location: Germany


Last edited by trash on Wed May 06, 2009 10:30 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 22, 2009 2:01 am 
Offline

Joined: Tue Feb 10, 2009 3:20 am
Posts: 94


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 22, 2009 2:08 am 
Offline

Joined: Tue Feb 10, 2009 3:20 am
Posts: 94


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 22, 2009 7:27 am 
Offline
User avatar

Joined: Tue Feb 17, 2009 7:48 pm
Posts: 43
Location: Germany


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 23, 2009 1:44 am 
Offline

Joined: Tue Feb 10, 2009 3:20 am
Posts: 94

It's barely an empty project, only shows black screen.
But the resources are loaded correctly.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 23, 2009 1:04 pm 
Offline
User avatar

Joined: Tue Feb 17, 2009 7:48 pm
Posts: 43
Location: Germany
Mhh, I run into the same problem with your .exe so it seems like an bigger thing than just a VS-misconfiguration. Anyone of the others can confirm that its not just my machine?

Update: Putting it nearer to the root of the file-system seems to help. But only for this special test-case, eco still refuses to run even putting it into C:/eco/

Update2: Ok, after more sensless commenting code out and moving the project to other places in hope to getting things to work I did something I should have done earlier. I investigated the .xml that causing all the trouble (or at least all ways are leading there) and at first glance everything seems fine, but 36 triangles splitted into four ids seems to be to much for indielib to handle. So I'm currently working on a smaller version and hope to have it done soon. Stay tuned.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group