Egoboo Community Forum

The Legend of Egoboo Sporks of Yore
It is currently Thu Oct 19, 2017 8:59 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: The quest.txt bug
PostPosted: Sat Sep 18, 2010 1:11 pm 
Offline
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
User avatar

Joined: Wed Jul 23, 2008 1:27 am
Posts: 3818
Location: Norway
I know why quest.txt isn't properly saved (thus why your character progress isn't properly saved).

It seems that the quest.txt is saved to "mp_import" instead of "import". This I think is due to vfs_append() uses stdio instead of physFS and thus doesn't translate the mount point properly.

I can't make heads or tails of Egoboo's filesystem so I haven't been able to fix this crucial yet small bug.

_________________
http://egoboo.sourceforge.net
Image

Coder


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 18, 2010 2:21 pm 
Offline
Darkshine Knight (Extremist fanatic)
Darkshine Knight (Extremist fanatic)
User avatar

Joined: Sat Feb 20, 2010 1:07 pm
Posts: 2533
Ah. At least we know a reason now.

I hope you'll find a solution soon.


Top
 Profile  
 
 Post subject: Re: The quest.txt bug
PostPosted: Sat Sep 18, 2010 2:28 pm 
Offline
Tranch (Novice)
Tranch (Novice)
User avatar

Joined: Wed Aug 11, 2010 11:05 pm
Posts: 143
Location: U.S.A.
Could you please say what “stdio” is for?

Zefz wrote:
I can't make heads or tails of Egoboo's filesystem so I haven't been able to fix this crucial yet small bug.

Why can't you make “heads or tails” of it? Is this something you have never seen before, or is it just confusing in this instance?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 18, 2010 2:43 pm 
Offline
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
User avatar

Joined: Wed Jul 23, 2008 1:27 am
Posts: 3818
Location: Norway
stdio is a input/output library for C which uses different way than PhysFS to read a file.

I mean that Egoboo's implementation of PhysFS is kinda complicated and isn't very intuitive in my opinion. I know where the problem is and what needs to be done to fix it. It's the exact how that I haven't figured out :P

_________________
http://egoboo.sourceforge.net
Image

Coder


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 18, 2010 11:35 pm 
Offline
{]-[0{0|307 (Developer)
{]-[0{0|307 (Developer)

Joined: Wed Jul 23, 2008 4:22 am
Posts: 1864
Location: Minnesota, USA
The problem with the wrapper for physfs is with the way it adds and removes virtual paths, how the paths are expanded when you try to get a real directory name, and some minor notation problems having to do with beginning a path with a '/'...

Really, I felt that it might be easier to roll my own code at some point!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 20, 2010 2:58 pm 
Offline
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
User avatar

Joined: Wed Jul 23, 2008 1:27 am
Posts: 3818
Location: Norway
This has finally been fixed :D

I also discovered a bug where setup.txt wasn't read properly. This has also been fixed. I also fixed some strange movement speed in Sandweg.

_________________
http://egoboo.sourceforge.net
Image

Coder


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 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
Get Egoboo at SourceForge.net. Fast, secure and Free Open Source software downloads