Giter Site home page Giter Site logo

Comments (10)

ataulien avatar ataulien commented on May 19, 2024

1.) Right, we don't need all that case-insensitive-path-searching on windows. Will change!

2.) Windows handles paths with / instead of \ perfectly well!

3.) Seems like it is not the ZEN-file itself, but rather the Cutscene-library (aka. OU.bin / OU.dat). Would you mind sending me yours via email or something, so I can take a look at how the format differs?
You can actually circumvent this by just renaming that file in your _work-directory of Gothic. Dialogs won't work, though.

from regoth.

ArrrHub avatar ArrrHub commented on May 19, 2024

A.d. 2 - I could swear I have typed "" instead of "". Weird...
Anyway fopen failed with "/" as it didn't find the file - "" works properly.

A.d 3 - How should I rename it? And of course, I'll share the file with you as soon as I can :)

from regoth.

ataulien avatar ataulien commented on May 19, 2024

2.: What exactly fails to open with / then? Right now I am on windows and can test this.

3.: Just anything, so REGoth can't find it, so it won't crash when loading. You should be able to get into the game like this.

from regoth.

ArrrHub avatar ArrrHub commented on May 19, 2024

2: Try running it from Visual Studio while debuggging. Pretty much every file where you have hardcoded the path. (You can try the OU.bin)

from regoth.

ataulien avatar ataulien commented on May 19, 2024

There was actually a missing / in front of the OU-path, so when merging it with the game-directory, it got the path wrong, if you didn't supply the game-root with a / or \ at the end.

Other than that, loading paths with / instead of \ works fine. Even mixing them is no problem for windows.

from regoth.

ArrrHub avatar ArrrHub commented on May 19, 2024

I fixed it as well, but the problem remained until I switched to Windows-default \ \

from regoth.

ataulien avatar ataulien commented on May 19, 2024

That is strange, it's working fine for me! I'll push my fixes in a minute. Maybe I did something else which makes it work for me.

from regoth.

ataulien avatar ataulien commented on May 19, 2024

Okay, I pushed my code. Does it work now? Works fine for me, at least.

from regoth.

ArrrHub avatar ArrrHub commented on May 19, 2024

So it all works except for the main issue

from regoth.

ataulien avatar ataulien commented on May 19, 2024

Fixed this a while ago. I wasn't reading the chunk-end-tag from dialog-lines of the OU-file, which makes me wonder how it could have worked for me on the german versions.

from regoth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.