Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Mon Jun 26, 2017 3:46 am

All times are UTC




Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Fri Nov 28, 2008 3:18 am 
Offline

Joined: Thu Oct 09, 2008 5:49 pm
Posts: 69
Okay,

This is weird.
After restarting computer and loading into max resolution I have small lag and Mania Drive works.
After restarting computer & loading into max resolution, and changing resolution to lowest, I have no lag and Mania Drive runs Ok.
After restarting computer & loading into max resolution, changing resolution to lowest, then changing resolution back to highest Mania Drive runs Ok with no lag and I receive about half the FPS (50-60) of when I am in lowest resolution.

There is a weird problem here. Also after a little while (a few hours or so?) I receive the car and map dissapearing.

Thanks!


Top
 Profile  
 
PostPosted: Fri Nov 28, 2008 4:20 am 
Offline

Joined: Thu Oct 09, 2008 5:49 pm
Posts: 69
And also, if you know, I'm having trouble getting my own peices to work inside mania2.
When I try and test the track it screams Raydium: Error cannot open texture! over and over, what am I doing wrong?
Also, could you point me in the direction of how to change center of gravite in Mania Drive code?
Also could you point me in the direction of how to change speed of vehicle in Mania Drive code?
Thanks!
:D


Top
 Profile  
 
PostPosted: Fri Nov 28, 2008 12:07 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

When I try and test the track it screams Raydium: Error cannot open texture! over and over, what am I doing wrong?

Verify that texture used is tga and in the same directory as the .tri
Try with a small piece, each time (so perhaps for each vertex) the texture is not found you will have one log message.
Try to use an existant raydium texture for tests.
Post your files here.

Also, could you point me in the direction of how to change center of gravite in Mania Drive code?
Create_car line 2136 changer balancier weight or position.

Also could you point me in the direction of how to change speed of vehicle in Mania Drive code?
Line 2389 but it's a bit tricky.

Have a nice day
Ouille


Top
 Profile  
 
PostPosted: Mon Dec 08, 2008 10:09 pm 
Offline

Joined: Thu Oct 09, 2008 5:49 pm
Posts: 69
Hello, because of timecall issue I am having I have just been experimenting with Blender for a while...
I found they had a game engine built into it also...
I downloaded a game that was made inside Blender...
And I am receiving a (very?) similar problem.
The game is also laggy and the console says "Problem with clock"
I am guessing that would be the same as the Raydium timecall issue I am having..
Maybe this will help to find out what is causing this?

Thanks!


Top
 Profile  
 
PostPosted: Mon Dec 08, 2008 10:23 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

From my point of view, i thought the problem was solved :(

It seem that there is a problem with hardware clock on your computer.

But it will be very difficult to debug this by message, as it's really hardware related.

Post here exact machine name and config i'll se if i can find something approching to make some tests.

If problem occurs try to post console output.

Have a nice day
Ouille


Top
 Profile  
 
PostPosted: Fri Dec 12, 2008 5:41 am 
Offline

Joined: Thu Oct 09, 2008 5:49 pm
Posts: 69
Hello, I apologize lots because this issue is very weird and sometimes(?) it's like it's fixed but sometimes it's like it isn't. :D

I found this thread: http://www.blendenzo.com/blog/troublesh ... ith-clock/

And installed the program.... It runs Ok I guess for the time being (still Kinda sometimes laggy but is easilly play-able :) ). I feel afraid to say that it's gone because I already have so many times....

So, lets move on to different problems...

Well.... I'm experiencing difficulties with the editor....

I tried making a piece in Blender that is the same size as any other Mania piece.. and tried using texture from another mania piece.....

So,
2 problems.

1. mania2.bat will not "test" a track... Here is console error.....

Quote:
Raydium: Raydium 3D Game Engine
Raydium: version 0.705
Raydium: command line args: OK
chdir: No error
Raydium: using 'C:\Documents and Settings\stephen/.mania_drive' as home dir
Raydium: Requesting 700x700:32 mode
Raydium: Found 700x700 with 32 bpp color and 24 bits zbuffer (stencil is 8)
Raydium: using ATI Radeon HD 2400, from ATI Technologies Inc. (version 2.1.8086
Release)
Raydium: Signal Handlers: OK
Raydium: OpenGL extensions: OK
Raydium: Platform "4xfloat" vector size is: 16 byte(s) long
Raydium: OpenGL implementation maximum texture size: 8192x8192
Raydium: OpenGL hardware providing 8 texture unit(s)
Raydium: vertex arrays memory: OK
Raydium: path: OK
Raydium: keyboard: OK
Raydium: mouse: OK
Raydium: joy: FAILED
No Joy support under Win32 yet
Raydium: sound: Buffer creation successfull
Raydium: sound: OK, using 'Generic Software'
Raydium: PHP support: OK
Raydium: atexit functions: OK
Raydium: lights: OK
Raydium: fog: OK
Raydium: objects: OK
Raydium: network: OK
Raydium: timecall: win32 modulo every 19.98 minutes, modulodiv is 2^0
Raydium: timer: detection: 1 iterations: diff: 6 steps (3579545/sec)
Raydium: timecall: method accuracy = 0.002 ms (596590.81 Hz)
Raydium: timecall: Using basic gettimeofday() method
Raydium: timecall: OK (596590 Hz)
Raydium: timecall: softcall 0: 1 Hz (3579545 clocks interval)
Raydium: particle: OK
Raydium: gui: OK
Raydium: shadow: OK
Raydium: HDR: OK
Raydium: shaders: OK
Raydium: webserver: OK
Raydium: Raydium engine reseted to original state
Raydium: timecall: callback 1: 400 Hz (8948 clocks interval)
Raydium: physics: ODE Net: 10 element(s)/packet
Raydium: physics: OK
Raydium: RegAPI: OK
Raydium: Engine is now ready.
-----------------------------------------------------------
Raydium: Object: loading "wania1.tri", version 1
Raydium: Texture num 1 (mania1.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 2 (ground.tga) loaded: 256x256, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 3 (tr-barrier.rgb) loaded: 128x128, 4 Bpp (b2 lm0 hdr0)
Raydium: Object: loading "wania2.tri", version 1
Raydium: Texture num 4 (detail.tga) loaded: 256x256, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "wania7.tri", version 1
Raydium: Object: loading "wania13.tri", version 0
Raydium: Texture num 5 (terre.tga) loaded: 256x256, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "wania10.tri", version 1
Raydium: Object: loading "wania11.tri", version 1
Raydium: Object: loading "wania12.tri", version 1
Raydium: Object: loading "wania6.tri", version 1
Raydium: Texture num 6 (tx_mania2.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "wania11b.tri", version 0
Raydium: Object: loading "wania_st1.tri", version 1
Raydium: Object: loading "mania1.tri", version 1
Raydium: Object: loading "mania2.tri", version 2
Raydium: object: anim: 20 frame(s) with 6 vertice per frame (ver 0)
Raydium: Texture num 7, rgb(0.500000,0.500000,0.500000) is RGB Color
Raydium: Object: loading "mania3.tri", version 1
Raydium: Texture num 8 (mania3.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania4.tri", version 1
Raydium: Texture num 9 (cactus.tga) loaded: 128x128, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania5.tri", version 1
Raydium: Texture num 10 (mania5.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania6.tri", version 1
Raydium: Texture num 11 (mania6.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania8.tri", version 1
Raydium: Texture num 12 (metal.tga) loaded: 256x256, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "lania0.tri", version 0
Raydium: Texture num 13 (mania1l.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "lania1.tri", version 0
Raydium: Object: loading "lania2.tri", version 0
Raydium: Object: loading "lania2b.tri", version 0
Raydium: Object: loading "lania10.tri", version 0
Raydium: Object: loading "tania0.tri", version 1
Raydium: Object: loading "tania1.tri", version 0
Raydium: Object: loading "tania2.tri", version 1
Raydium: Object: loading "mania_start.tri", version 0
Raydium: Texture num 14 (tx_bois0.tga) loaded: 256x256, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 15 (flag_back.tga) loaded: 32x32, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 16 (start.tga) loaded: 256x32, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania_finish.tri", version 1
Raydium: Texture num 17 (finish.tga) loaded: 256x32, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania_check_point.tri", version 1
Raydium: Texture num 18 (check_point.tga) loaded: 256x32, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania_check_point2.tri", version 1
Raydium: Object: loading "mania_turbo.tri", version 0
Raydium: Texture num 19 (turbo.tga) loaded: 256x32, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania_wbas.tri", version 1
Raydium: Texture num 20 (rockxfgrass.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania_wall.tri", version 1
Raydium: Texture num 21 (rockxf.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "mania_whaut.tri", version 1
Raydium: Object: loading "mania_wcoin.tri", version 1
Raydium: Object: loading "mania_coin.tri", version 1
Raydium: Object: loading "mania_coin0.tri", version 1
Raydium: Object: loading "mania_hcoin.tri", version 1
Raydium: Object: loading "alb_mania.tri", version 1
Raydium: Object: loading "alb_mania_flip.tri", version 1
Raydium: Object: loading "big_jump.tri", version 1
Raydium: Object: loading "bridge.tri", version 1
Raydium: Object: loading "ground2uroad.tri", version 1
Raydium: Object: loading "lania_exit.tri", version 1
Raydium: Object: loading "small_jump.tri", version 1
Raydium: Object: loading "uroad.tri", version 1
Raydium: Object: loading "uroad_turn.tri", version 1
Raydium: Texture num 22 (mania2.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Object: loading "slantRamp.tri", version 1
Raydium: Object: loading "thinRoad.tri", version 1
Raydium: Object: loading "thinRoadBend.tri", version 1
Raydium: Object: loading "toThin.tri", version 1
Raydium: Object: loading "corkscrewTunnel.tri", version 1
Raydium: Object: loading "tunnelBig.tri", version 1
Raydium: Object: loading "tunnelToBig.tri", version 1
Raydium: Object: loading "catch.tri", version 1
Raydium: Object: loading "wallTunnel.tri", version 1
Raydium: Texture num 23, rgb(0.600000,0.600000,0.600000) is RGB Color
Raydium: Object: loading "tunnelSlant.tri", version 1
Raydium: Object: loading "tunnelSplitUpDown.tri", version 1
Raydium: Object: loading "test.tri", version 1
Raydium: Object: loading "tower.tri", version 1
Raydium: Grid ok
Raydium: Boxes ok
Raydium: Texture num 24 (theme-raydium2.tga) loaded: 256x256, 4 Bpp (b1 lm0 hdr0
)
Raydium: GUI: Error: Cannot delete window: invalid window
Raydium: Texture num 25 (font2.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0)
Raydium: Raydium 3D Game Engine
Raydium: version 0.705
Raydium: command line args: OK
chdir: No error
Raydium: using 'C:\Documents and Settings\stephen/.mania_drive' as home dir
Raydium: Requesting 800x600:32 mode
Raydium: Found 800x600 with 32 bpp color and 24 bits zbuffer (stencil is 8)
Raydium: using ATI Radeon HD 2400, from ATI Technologies Inc. (version 2.1.8086
Release)
Raydium: Signal Handlers: OK
Raydium: OpenGL extensions: OK
Raydium: Platform "4xfloat" vector size is: 16 byte(s) long
Raydium: OpenGL implementation maximum texture size: 8192x8192
Raydium: OpenGL hardware providing 8 texture unit(s)
Raydium: vertex arrays memory: OK
Raydium: path: OK
Raydium: keyboard: OK
Raydium: mouse: OK
Raydium: joy: FAILED
No Joy support under Win32 yet
Raydium: sound: Buffer creation successfull
Raydium: sound: OK, using 'Generic Software'
Raydium: PHP support: OK
Raydium: atexit functions: OK
Raydium: lights: OK
Raydium: fog: OK
Raydium: objects: OK
Raydium: network: OK
Raydium: timecall: win32 modulo every 19.98 minutes, modulodiv is 2^0
Raydium: timer: detection: 1 iterations: diff: 6 steps (3579545/sec)
Raydium: timecall: method accuracy = 0.002 ms (596590.81 Hz)
Raydium: timecall: Using basic gettimeofday() method
Raydium: timecall: OK (596590 Hz)
Raydium: timecall: softcall 0: 1 Hz (3579545 clocks interval)
Raydium: particle: OK
Raydium: gui: OK
Raydium: shadow: OK
Raydium: HDR: OK
Raydium: shaders: OK
Raydium: webserver: OK
Raydium: Raydium engine reseted to original state
Raydium: timecall: callback 1: 400 Hz (8948 clocks interval)
Raydium: physics: ODE Net: 10 element(s)/packet
Raydium: physics: OK
Raydium: RegAPI: OK
Raydium: Engine is now ready.
-----------------------------------------------------------
Raydium: sound: Tried to set negative or 0 Pitch , clipped to 0.1
Raydium: Texture num 1 (BOXfront.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 2 (BOXback.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 3 (BOXleft.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 4 (BOXright.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 5 (BOXbottom.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 6 (BOXtop.tga) loaded: 512x512, 3 Bpp (b0 lm0 hdr0)
Raydium: Texture num 7 (theme-maniadrive.tga) loaded: 256x256, 4 Bpp (b1 lm0 hdr
0)
Raydium: Texture num 8 (font3.tga) loaded: 512x512, 1 Bpp (b1 lm0 hdr0)
data file generated.
Raydium: ODE: Error: Cannot delete object: invalid name or index
Raydium: Object: loading "C:\Documents and Settings\stephen/.mania_drive/mania_d
yn_track.mni.tri", version 1
Raydium: Cannot open texture
Raydium: texture: faking '' with pink color
Raydium: Texture num 9, rgb(1.000000,0.000000,1.000000) is RGB Color
Raydium: out of vertex table #9!
Raydium: Internal buffers:
Raydium: -----------------
Raydium: Total of 2000000 vertex(s) loaded:
Raydium: Texture num 0: 0 vertex(s) - loaded as "dummy.null"
Raydium: Texture num 1: 0 vertex(s) - loaded as "BOXfront.tga"
Raydium: Texture num 2: 0 vertex(s) - loaded as "BOXback.tga"
Raydium: Texture num 3: 0 vertex(s) - loaded as "BOXleft.tga"
Raydium: Texture num 4: 0 vertex(s) - loaded as "BOXright.tga"
Raydium: Texture num 5: 0 vertex(s) - loaded as "BOXbottom.tga"
Raydium: Texture num 6: 0 vertex(s) - loaded as "BOXtop.tga"
Raydium: Texture num 7: 0 vertex(s) - loaded as "theme-maniadrive.tga"
Raydium: Texture num 8: 0 vertex(s) - loaded as "font3.tga"
Raydium: Texture num 9: 2000000 vertex(s) - loaded as ""
Raydium: Estimated total: 8.67 MB used for textures.
Raydium: Using 0 object(s):
Raydium: sound: Deleting sources
Raydium: sound: Deleting buffers
Raydium: sound: Releasing OpenAL
Raydium: path: read: "C:\Documents and Settings\stephen/.mania_drive/data"
Raydium: path: write: "C:\Documents and Settings\stephen/.mania_drive/data"
Raydium: CANNOT TEST MNI TRACK FROM 'C:\Documents and Settings\stephen/.mania_dr
ive/dyn_track.mni'
Raydium: WARNING: timecall's too long


(I know I still have timecall error but game is kinda okay..? :lol: )

2. After using a piece made in blender (same size as all others roughly) and just a flat surface..... With a texture from existing Mania piece.... And saving map due to the fact that I cannot test tracks? The track will not load... (maybe this is because of not being able to test with editor?)

EDIT: Ok I tested saving a track from Mania2 using only reguler piece that came with Mania Drive (not one I created) and it runs Ok (except I still cannot test)


Thanks!


Top
 Profile  
 
PostPosted: Fri Dec 12, 2008 5:43 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

I'm a bit confused by your post ...

Are you using the last raydium version ? At least rev 806.

Update your local copy from svn and then rebuild dll.

Secodnly what is this mania2.bat ?

Then your console output is a bit strange ...

Can you post maniadrive block .tri file and nmi file, i'll make some tests.

Have a nice day
Ouille.


Top
 Profile  
 
PostPosted: Thu Jan 01, 2009 10:06 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
ouille: mania2.bat is a "shell" script we provide in the official release of MD so people only see two .bat files when they open the directory. The only thing it do is "cd" to a subdirectory where the binaries and data are present, and launch the suitable binary.

The other thing is that mania2 allow the user to test its track, and it launch internaly ManiaDrive binary to do so. It explains the "strange" output in the console: mania2(start) -> maniadrive(start) -> maniadrive(stop) -> mania2(stop).


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

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