Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Tue Jun 27, 2017 3:39 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Dec 24, 2010 1:57 pm 
Offline

Joined: Wed May 06, 2009 2:06 pm
Posts: 30
Maybe maniadrive track editor (mania2.c) should not use local ./mania for starting game from editor.

i.e.
--- mania2_orig.c 2010-12-22 13:15:29.000000000 +0200
+++ mania2.c 2010-12-22 13:28:30.000000000 +0200
@@ -15,7 +15,7 @@
#ifdef WIN32
#define MANIA_BINARY "mania_drive.exe"
#else
-#define MANIA_BINARY "./mania_drive.static"
+#define MANIA_BINARY "maniadrive"
#endif

This would make packaging and distributing easier.
( I think it is easier to set PATH=. before starting editor than creating symlink ln -s `which maniadrive`./mania_drive.static )


Top
 Profile  
 
PostPosted: Sun Jan 09, 2011 11:20 pm 
Offline
User avatar

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

Both binaries are supposed to be in the same directory, and Raydium changes current directory on startup, setting it to binary's directory. So this "local" call does not sounds like an issue to me.

One option would be to allow the packager to define MANIA_BINARY during compilation, perhaps.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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