---------------------------------------------------------------------------------------
.
---------------------------------------------------------------------------------------
#RSS feed for Official Pyra and Pandora Site prev alternate alternate
Log in or Sign up
Official Pyra and Pandora Site
Home Forums > Pandora > Software Releases >
1.
[pyra-eng.jpg]
Dismiss Notice
Release [Beta] Skunks
Discussion in 'Software Releases' started by Gausen, Jan 16, 2013.
Page 2 of 2
< Prev 1 2
1. dmarschal
dmarschal Member
Joined:
Feb 13, 2009
Messages:
116
Location:
Hungary
Code:
Error: could not open 'replays/rep1' (check the permissions)
replays/rep1 is a 20 byte long text file. Others are much larger and
store car/track selection and float numbers.
Code:
$ cat replays/rep1
./cars/
./tracks/
$
In skunks.sh, it's not enough to include
Code:
export LD_LIBRARY_PATH=./lib
You have to set the full path to make sk-gl run and produce the
replay error.
Code:
export LD_LIBRARY_PATH=/mnt/utmp/skunks/lib
dmarschal, Jan 16, 2013
#21
2. Gausen
Gausen Member
Joined:
Dec 14, 2011
Messages:
357
Location:
Buenos Aires, Argentina.
dmarschal said: ^|
Error: could not open 'replays/rep1' (check the permissions)
replays/rep1 is a 20 byte long text file. Others are much larger and
store car/track selection and float numbers.
$ cat replays/rep1
./cars/
./tracks/
$
In skunks.sh, it's not enough to include
export LD_LIBRARY_PATH=./lib
You have to set the full path to make sk-gl run and produce the
replay error.
export LD_LIBRARY_PATH=/mnt/utmp/skunks/lib
Click to expand...
Sorry I don't quite follow you.
rep1 is created when you run the game, it stores the data for the
replay. The included rep1 is just some garbage file [game played and
quited fast], but anyone can read or write it (chmod 755).
The replay error is not related to sk-gl but rep-gl. Replays are
handled by a separate binary.
If you are able to play, drive around and rep1 will be overwriten
with new data.
Thanks for looking into this.
Gausen, Jan 16, 2013
#22
3. dmarschal
dmarschal Member
Joined:
Feb 13, 2009
Messages:
116
Location:
Hungary
I selected car1 and track1 from menu and when I click on 'Go for a
ride!' it does nothing just returns to the main menu.
From the command line
$ ./sk-gl cars/car1 tracks/track1
Error: could not open 'replays/rep1' (check the permissions)
$
Another bug when starting rep-gl from command line.
$ ./rep-gl replays/rep3
EGL Opening X11 display
...
EGL Making Current
Segmentation fault
$
Maybe it's EGL -related?
Last edited by a moderator: Jan 16, 2013
dmarschal, Jan 16, 2013
#23
4. ptitSeb
ptitSeb Serial Porter
Joined:
Aug 15, 2012
Messages:
8,149
Location:
France, near Lyon
dmarschal said: ^|
I selected car1 and track1 from menu and when I click on 'Go for a
ride!' it does nothing just returns to the main menu.
From the command line
$ ./sk-gl cars/car1 tracks/track1
Error: could not open 'replays/rep1' (check the permissions)
$
Click to expand...
You should not bring folder in the PND that will be written inside
in the future. You should, in the Startup script, verify if the
folder exist, create the folder if it doesn't and if you need put
some files (untar for example) if you want some files inside. This
is to avoid son R/O problem when running on FAT32.
ptitSeb, Jan 16, 2013
#24
5. Gausen
Gausen Member
Joined:
Dec 14, 2011
Messages:
357
Location:
Buenos Aires, Argentina.
Ok. So the problem is how the folders are included in the pnd? I'll
change that and upload a new vesion.
Gausen, Jan 16, 2013
#25
6. ptitSeb
ptitSeb Serial Porter
Joined:
Aug 15, 2012
Messages:
8,149
Location:
France, near Lyon
Gausen said: ^|
Ok. So the problem is how the folders are included in the pnd? I'll
change that and upload a new vesion.
Click to expand...
Yes, I don't know if I was very clear on my explanation of the
problem & solution (it doesn't look very clear when I read my text
in fact :( )
But, for the "replay" folder, you should not include it in the PND.
Insteed, creat a tar of, for example with a
tar cfz replays.tar.gz replays/
then, in your skunks.sh, near the beggining, you do some like
if [ ! -e replays ]
then
mkdir replays
tar xzf replays.tar.gz
fi
And it should work. You will have R/W permission on the folder, and
you can bring some demo files...
Last edited by a moderator: Jan 16, 2013
ptitSeb, Jan 16, 2013
#26
7. Gausen
Gausen Member
Joined:
Dec 14, 2011
Messages:
357
Location:
Buenos Aires, Argentina.
Thanks ptitSeb. I have incorrectly included the folders that should
be only within ./backup in ./ and permissions where wrong as
dmarschal said. I"ll upload one more version and if that fails I'll
take your route for fix it.
Gausen, Jan 16, 2013
#27
8. dmarschal
dmarschal Member
Joined:
Feb 13, 2009
Messages:
116
Location:
Hungary
Starting sk-gl from command line.
Code:
...
EGL Making Current
Segmentation fault
The same goes for rep-gl.
dmarschal, Jan 16, 2013
#28
9. Gausen
Gausen Member
Joined:
Dec 14, 2011
Messages:
357
Location:
Buenos Aires, Argentina.
dmarschal said: ^|
Starting sk-gl from command line.
...
EGL Making Current
Segmentation fault
The same goes for rep-gl.
Click to expand...
I don't really know what to do. I can't reproduce the problem. But
there are things we can try.
You can try erasing /skunks from appdata (and /mnt/utmp, if there is
something to erase).
You can try rebooting your pandora.
Your appdata resides on a Fat32 or a linux filesystem (ext2,
ext3...)?
Your Pandora is a classic, rebirth or 1ghz?
Don't worry, we will make it work.
Gausen, Jan 16, 2013
#29
10. ptitSeb
ptitSeb Serial Porter
Joined:
Aug 15, 2012
Messages:
8,149
Location:
France, near Lyon
dmarschal said: ^|
Starting sk-gl from command line.
...
EGL Making Current
Segmentation fault
The same goes for rep-gl.
Click to expand...
Also, you can try to restart your Pandora if it's not already done.
When EGL crashed, only a reboot can fix it...
ptitSeb, Jan 16, 2013
#30
11. Loonie
Loonie Active Member
Joined:
Apr 1, 2003
Messages:
753
Oh boy, I godda try this. I was just wondering which 3d engine we
had on the Pandora that could support a Trackmania style game.
Loonie, Jan 16, 2013
#31
Gausen likes this.
12. Gausen
Gausen Member
Joined:
Dec 14, 2011
Messages:
357
Location:
Buenos Aires, Argentina.
Loonie said: ^|
Oh boy, I godda try this. I was just wondering which 3d engine we
had on the Pandora that could support a Trackmania style game.
Click to expand...
Give it a try. Graphics are simple and the physics are good, but for
a proper Trackmania experience Maniadrive is a nice option.
Gausen, Jan 16, 2013
#32
13. dmarschal
dmarschal Member
Joined:
Feb 13, 2009
Messages:
116
Location:
Hungary
It still segfaults on a Rebirth Pandora.
I tried it on my GHz model and it ran fine.
How to quit from the game?
dmarschal, Jan 17, 2013
#33
14. Gausen
Gausen Member
Joined:
Dec 14, 2011
Messages:
357
Location:
Buenos Aires, Argentina.
Good to hear that finally runs, bad that doesn't work on the Rebirth
pandora. I will have to wait to february to work on my Rebirth to
fix that, perhaps view distance is set too far. Will upload to the
repo when this is fixed.
To quit the game just use escape, Fn+Q.
Last edited by a moderator: Jan 17, 2013
Gausen, Jan 17, 2013
#34
15. F_Slim
F_Slim IDDQD
Joined:
Feb 13, 2011
Messages:
985
Location:
Germany
I tried it and it seems quite nice. Only had a very quick look
though.
I'd still like to try it with NUBs for steering ... anyway the
controls probably need some more tweaking ;-)
Does it come with a track-editor? Is there an AI?
F_Slim, Jan 18, 2013
#35
16. Gausen
Gausen Member
Joined:
Dec 14, 2011
Messages:
357
Location:
Buenos Aires, Argentina.
F_Slim said: ^|
I tried it and it seems quite nice. Only had a very quick look
though.
I'd still like to try it with NUBs for steering ... anyway the
controls probably need some more tweaking ;-)
Does it come with a track-editor? Is there an AI?
Click to expand...
Thanks!
I'm totally open to suggestions on controls or any other aspects.
The game is not finished, its more like an interactive tech demo (or
a playground). Right now I'm working on moving most of the render
operations to GLES (lighting and fog were made in software, among
other things).
I haven't made new tracks or cars but I have edited track12. The
vila 2 and 4 blocks seem to be demanding to render, changing those
lines to house 1 and 2 ease the rendering. For the tracks the file
have some data on lighting and backgrounds, then a list of blocks
loaded from the data folder and a list of blocks types and a bunch
of coordinates that I haven't looked into yet (I guess there should
be xyz coordinates among other things).
Last edited by a moderator: Jan 18, 2013
Gausen, Jan 18, 2013
#36
17. Gausen
Gausen Member
Joined:
Dec 14, 2011
Messages:
357
Location:
Buenos Aires, Argentina.
I had some time to test this on my rebirth pandora. It crashed with
a segfault. After patiently looking at all the lib's needed and
their symlinks, I think the problem was including too many
libraries. Now the pnd only contains the ones not included in the
firmware or those with higher versions on codeblocks. Skunks is
running now on my 1GHz and my rebirth pandoras :D .
Gausen, Feb 6, 2013
#37
(You must log in or sign up to reply here.)
Show Ignored Content
Page 2 of 2
< Prev 1 2
Share This Page
Your name or email address:
____________________
Do you already have an account?
+ ( ) No, create an account now.
+ (*) Yes, my password is:
+ ____________________
Forgot your password?
Log in [ ] Stay logged in
Official Pyra and Pandora Site
Home Forums > Pandora > Software Releases >
Ignore Threads by Nobita
Official Pyra and Pandora Site
* Home
* The Pyra
The Pyra
Quick Links
+ Press Kit
+ About
+ Preorder FAQ
+ Technical Specifications
+ The Team
+ The Community
+ Image Gallery
+ Support us!
+ Pyra Wiki
+ Pyra Repository
* The Pandora
The Pandora
Quick Links
+ Firmware Images
+ GIT Repository
+ App Repository
+ PandoraWiki
* Forums
Forums
Quick Links
+ Search Forums
+ Recent Posts
* Contact Us / Support
Contact Us / Support
Quick Links
+ Submit New Ticket
+ Knowledge Base
* Resources
Resources
Quick Links
+ Search Resources
+ Most Active Authors
+ Latest Reviews
* Press Kit
* Community Sites
Community Sites
Quick Links
+ Pandora Live (Blog)
* Chat
* The DragonBox Shop
* Legal Information
* Menu
Search
____________________
+ [ ] Search titles only
Posted by Member:
____________________
Separate names with a comma.
Newer Than:
____________________
+ [ ] Search this thread only
+ [X] Search this forum only
o [ ] Display results as threads
Search
Useful Searches
+ Recent Posts
More...
Style
DragonBox Pyra
* Contact Us
* Help
* Newsletter Subscribe
* Home
* Top
* RSS
* Terms and Rules
* Privacy Policy
Forum software by XenForo(TM) (c) 2010-2018 XenForo Ltd.
Quality Add-Ons by WMTech (c) 2018 WebMachine Technologies, Inc.
XenForo Add-ons by Brivium (TM) (c) 2012-2018 Brivium LLC.
Loading...
---------------------------------------------------------------------------------------