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!
Deep Space Explorer - Tranquility (Flyby and follow)
Re: Deep Space Explorer - Tranquility (Flyby and follow)
@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.
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.
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Re: Deep Space Explorer - Tranquility (Flyby and follow)
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.
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)
Damn!! That was something I never thought off...(Complete path)...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.
Glad you got it working, though.
Current configurations:
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Ubuntu 20.04/64 bit - Window 10 64 bit
Intel 6800K, GeForce Gtx 1060, 32 gb ram.
Amd Ryzen 9 5950X, GeForce 3070, 128 gb ram.
Re: Deep Space Explorer - Tranquility (Flyby and follow)
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?)
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)
Then I'm the only one who can't get it working?DK_PETER wrote:Damn!! That was something I never thought off...(Complete path)...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.![]()
Glad you got it working, though.
Re: Deep Space Explorer - Tranquility (Flyby and follow)
@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.
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)
It was the sound issue (I haven't read all the posts thoroughly). However, occasionally, after exiting, I get something like this: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.
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
