[Ohrrpgce] Re: error message! (when running directly from C:\)

Mike Caron caron.mike at gmail.com
Thu Jun 2 15:50:40 PDT 2005


Ah yes, the classic path$ + "\" doesn't work, since the system returns
"C:\" for the root, as opposed to "C:\games" (no slash).

The fix is easy enough: Anywhere where a "\" is added onto a path, it
needs to check to see whether it already has a slash. Or,
alternatively, the code that generates a path needs to ensure that
paths it returns don't have a slash.

On 6/2/05, Bob the Hamster <ohrrpgce at hamsterrepublic.com> wrote:
> Interesting. It sounds like there is an error in the path code when
> running your game from the root directory. I will look into it. Keeping
> your game in a subfolder is a good an easy workaround for this.
> 
> I am glad you noticed this bug, because it is probably related to some
> other bugs people have been seeing when working on their games in
> DOSBOX. Dosbox is usually configured to run things from a virtual C:\
> folder, so this problem would affect everyone who runs DosBox this way.
> 
> Thank you for the bug report.
> 
> ---
> James Paige
> 
> On Thu, Jun 02, 2005 at 03:49:22PM -0500, Mary Beth Pickney wrote:
> >    Just the C: drive, not any subdirectory...which may be the cause because
> >    the game exports perfectly fine under a subsolder of C called Games.
> >
> >    On 6/2/05, Bob the Hamster <ohrrpgce at hamsterrepublic.com> wrote:
> >
> >      On Thu, Jun 02, 2005 at 11:45:54AM -0500, Mary Beth Pickney wrote:
> >      >    This message showed up when I attempted to export a .hsi file from
> >      >    custom.  I'm running it off Windows 98 on a laptop.
> >      >
> >      >    Version: OHRRPGCE Editor: quaternion v.20050519
> >      >    Memory Info: 272048  126426  1458  33642
> >      >    Game:\\MADIN.RPG
> >      >
> >      >    Path\file access error in line No line number in module CUSTOM at
> >      address
> >      >    081F:0C59
> >
> >      Interesting. The line where it says "Game:\\MADIN.RPG" looks wrong.
> >      What is the name of the folder where your game is located?
> >
> >      ---
> >      James Paige
> _______________________________________________
> Ohrrpgce-motherhamster.org mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
> 


-- 
Mike Caron
Final Fantasy Q
http://finalfantasyq.com



More information about the Ohrrpgce mailing list