Coder Social home page Coder Social logo

Comments (4)

Pyrdacor avatar Pyrdacor commented on June 2, 2024 1

There are built-in versions which are packed into the main .NET assembly through another tool. This file is called versions.dat and it basically contains all the game versions you see in the version selector.

It is enough to put the file versions.dat next to the executable (or in the Debug/Release folder maybe if you build locally).

The file is part of the repository and it is located inside the project directory. Normally this works when building on Windows.

But if you build on other operating systems, try to copy the file to the directory where the executable is created. Like the "bin" or "dist" folder.

from ambermoon.net.

Pyrdacor avatar Pyrdacor commented on June 2, 2024

Hi there. You can specify the data path inside the config file "ambermoon.cfg". You also have to activate the external path there.

It is documented here: https://github.com/Pyrdacor/Ambermoon.net/blob/master/Configuration.md
See External Data.

Basically you set a boolean to true and specify a path to the "Amberfiles" folder. For example "my/path/Amberfiles".

Hope this works as expected. Let me know if you have further questions or problems. ;)

from ambermoon.net.

romatthe avatar romatthe commented on June 2, 2024

Sorry about that, I feel a little silly for missing that!

However, I'm still a tiny bit confused. Whenever I build Ambermoon.net myself from source, I get the exception shown above, which I thought was normal because I hadn't provided the original Ambermoon files yet. However, it seems that the prebuilt binaries you're shipping per release already run just fine without me providing the original files. Yet I can't those releases don't come with any external data files.

Are the assets in the release build packed straight into the .NET assembly? And if so, how would I achieve the same thing when building the application from source myself?

Again, sorry if I'm confusing you with my rambling, I'm just very confused myself right now :)

from ambermoon.net.

romatthe avatar romatthe commented on June 2, 2024

Perfect, that's the info I needed. Thanks!

from ambermoon.net.

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.