Git Product home page Git Product logo

Comments (6)

scemino avatar scemino commented on May 31, 2024

I'm working essentially with the EPIC Games version 1420.955.
But I own also the GOG version 1421.958.
I tested these versions on MacOS, it works for me.
What kind of error do you have with version 958 ?
For the other versions, I can't fix them without testing them.

from engge.

mbone avatar mbone commented on May 31, 2024

957 & 958 gog versions will not pass the 0x04030201 stage ("This version of package is not supported (yet?)"); which is strange as they open up in the thimbleweed park explorer program fine.

but the 938 version will dump the file list but has some corrupt entries, I can email a screenshot of it if you wish. then crashes later on in the program so I don't think its dumping the files correctly yet. It maybe down to the visual studio compiler but i'm just not sure.

from engge.

scemino avatar scemino commented on May 31, 2024

Maybe this is due to endianness, because version 958 works on my Mac.

from engge.

mbone avatar mbone commented on May 31, 2024

after some more testing. I found that when decodeUnbreakableXor(&buf[0], dataSize); in the method loop is called, the data in buf0 changes, which is strange as I would of thought this should always be the same value.

if I switch the 0x6d : 0xad values round it sort of decodes the file.

something very strange with compiling this on a windows machine

from engge.

mbone avatar mbone commented on May 31, 2024

it turns out you need to add std::ios::binary to the open statement in GGpack.cpp.

void GGPack::open(const std::string &path)
{
_input.open(path, std::ios::binary);
readPack();
}

from engge.

scemino avatar scemino commented on May 31, 2024

I reproduced it, you're right, it seems better with this.
Thank you.

from engge.

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.