Page 2 of 2
Re: Deep Space Explorer - Tranquility (Flyby and follow)
Posted: Fri Mar 04, 2016 5:08 pm
by Keya
no luck here either, ive tried on XP32 and two different Win7-64 systems, with and without OpenGL as subsystem
it was crashing at Add3dArchive("sound", #PB_3DArchive_FileSystem)
so I commented that out, but then it crashes at the very next line: CreateCamera(0, 0, 0, 100, 100)
looks amazing from the screenshot!
Re: Deep Space Explorer - Tranquility (Flyby and follow)
Posted: Fri Mar 04, 2016 5:39 pm
by DK_PETER
@Hades & Keya
It's weird.
The first thing I do on a new system is to download and install DirectX 9.0c
https://www.microsoft.com/en-us/downloa ... g=en&id=35
then....
Try loading the sound the default way...
sn = LoadSound(#PB_Any, "sound\rock2.wav")
If it works....Then you should be able to use the
sn = LoadSound3D(#PB_Any, "rock2.wav") too. (The sound folder is specified in the Add3DArchive("sound", #PB_3DArchive_FileSystem)
What does the debug output show?
Do you get valid ids? (non zero).
After applePi's wakeup call on CreateCone() - it works flawlessly here on both PB 5.42 LTS Final x86 and x64.
Edit: ApplePi tried it on Windows XP with success.
Re: Deep Space Explorer - Tranquility (Flyby and follow)
Posted: Fri Mar 04, 2016 7:02 pm
by Hades
Got it to work, but man...
The only way it worked was when I specified the complete path to the folder with the sound in Add3DArchive().
What you described and anything else I've tried resulted in a crash.
Re: Deep Space Explorer - Tranquility (Flyby and follow)
Posted: Fri Mar 04, 2016 7:18 pm
by DK_PETER
Hades wrote:Got it to work, but man...
The only way it worked was when I specified the complete path to the folder with the sound in Add3DArchive().
What you described and anything else I've tried resulted in a crash.
Damn!! That was something I never thought off...(Complete path)...
Glad you got it working, though.

Re: Deep Space Explorer - Tranquility (Flyby and follow)
Posted: Fri Mar 04, 2016 7:32 pm
by Hades
I'd really like to figure out where the problem was, to avoid future problems.
Have you set any default paths somewhere?
Is there a good way to prevent it from crashing? (Like checking the path PB will actually use to find the file, so you can make sure the file is there?)
Re: Deep Space Explorer - Tranquility (Flyby and follow)
Posted: Fri Mar 04, 2016 7:59 pm
by bbanelli
DK_PETER wrote:Hades wrote:Got it to work, but man...
The only way it worked was when I specified the complete path to the folder with the sound in Add3DArchive().
What you described and anything else I've tried resulted in a crash.
Damn!! That was something I never thought off...(Complete path)...
Glad you got it working, though.

Then I'm the only one who can't get it working?

Would you mind sending me your compiled exe to see if I get the same error as when I compile it myself?
Re: Deep Space Explorer - Tranquility (Flyby and follow)
Posted: Fri Mar 04, 2016 8:53 pm
by Samuel
@bbanelli
Try changing InitEngine3D() to InitEngine3D(#PB_Engine3D_DebugLog). You should get a text file in your root directory that will contain a lot of information from Ogre. If it's a hardware issue Ogre might be reporting it.
Re: Deep Space Explorer - Tranquility (Flyby and follow)
Posted: Fri Mar 04, 2016 9:21 pm
by bbanelli
Samuel wrote:@bbanelli
Try changing InitEngine3D() to InitEngine3D(#PB_Engine3D_DebugLog). You should get a text file in your root directory that will contain a lot of information from Ogre. If it's a hardware issue Ogre might be reporting it.
It was the sound issue (I haven't read all the posts thoroughly). However, occasionally, after exiting, I get something like this:
Code: Select all
Problem signature:
Problem Event Name: BEX64
Application Name: PureBasic_Compilation1.exe
Application Version: 0.0.0.0
Application Timestamp: 56d9edf5
Fault Module Name: Engine3D.dll_unloaded
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 56d5613e
Exception Offset: 000007fed032bb30
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1050