Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Thu Nov 23, 2017 9:35 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Error loading track...
PostPosted: Wed Sep 05, 2012 7:10 am 
Offline

Joined: Wed Sep 05, 2012 7:02 am
Posts: 2
Whenever I choose "Internet tracks" it's always with the same error message
"Error loading track..". No matter what track I choose (apart from the standard tracks already shipped with the game)
The related log chunk would be:
Raydium: Using repositories to get 'carot.mni' file
Raydium: No valid repository found for this file, aborting.
Raydium: mni_gen: unable to open 'carot.mni'
Raydium: CANNOT GENERATE TRACK FROM MNI FILE 'carot.mni'

$ rpm -qa|grep mania
maniadrive-1.2-32.fc16.8.i686
maniadrive-data-1.2-6.fc15.noarch
maniadrive-music-1.0-5.fc15.noarch

Fedora 16.


Top
 Profile  
 
PostPosted: Wed Sep 05, 2012 8:47 am 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
Hi,

Thanks for reporting this issue. It seems that something is broken in Fedora's package, since carot.mni is actually available on our repositories, and I've just tested all this with a "vanilla" version of the game, without any trouble.

Looking at the log you've provided, it seems that "R3S" (our included downloading client, sort of) is here, but I can't see it "searching" over our servers. Like if the server list was empty.

The only Fedora I can put my hands on is a F15, so I can't check things by myself, but :
- do you have any ~/.mania_drive/repositories.list file ? if yes, what is its content ?
- do you have any other "repositories.list" file (it may be in /usr/local/share/raydium/rayphp/) ? same question about file's content.


Top
 Profile  
 
PostPosted: Wed Sep 05, 2012 8:15 pm 
Offline

Joined: Wed Sep 05, 2012 7:02 am
Posts: 2
Thank you for the reply.

The version of Fedora doesn't matter. I remember I was unable to load Internet tracks in the previous versions as well.

I found the file
/usr/share/raydium/rayphp/repositories.list
belonging to the package
raydium-1.2-32.fc16.8.i686

Its content is
$ cat /usr/share/raydium/rayphp/repositories.list
# This file lists data (tri, tga, wav, ogg, ...) repositories.
# Listed servers must run R3S (Raydium Server Side Scripts) files.

# you can only use http and https protocols:
# http://host.tld/path

# main:
http://fastrepo.raydium.org/
http://repository.raydium.org/

# we needs "contrib" servers

I traced a syscall to open this file
$ strace -e trace=open -o mania.log maniadrive-wrapper
$ grep repo mania.log
open("/usr/share/raydium/rayphp/rayphp/repositories.list", O_RDONLY) = -1 ENOENT (No such file or directory)

so the source of the issue was located.
/usr/share/raydium/rayphp/repositories.list (where it's actually located)
/usr/share/raydium/rayphp/rayphp/repositories.list (where the game searches for the file)

I tried to put the file where the game expects it to be to make sure it would work. It worked like a charm.

Now it's time to report fedora maintainers about this issue.


Top
 Profile  
 
PostPosted: Wed Sep 05, 2012 8:21 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2590
Location: gnniiiii (Scrat)
Well ... All this was quite efficient :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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