Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
EELVL parser:
A few people were having trouble parsing the eelvl world export format, so I thought I'd quickly make a library to help.
This is a small library which can input either a file stream or a file name and returns a read only Level which contains all the data that was in the eelvl file in an easily usable format. Once you've created a Level object, you can also modify it and when you're done re-serialise it back to an .eelvl file, which will be openable with the EE Offline client when it is released.
This library has two versions, the main version is using C#7/8 features so you'll need one of the latest .net libraries to use it, I'd advise .net core 3.0 (which requires Visual Studio 2019, and can be downloaded from the SDK link found here)
If you want to use this with an older framework version, the legacy build supports down to .net framework 4.5 (and is found just under the full release on the repository's releases page)
There is an example of how to use the library in the repo, which is linked below.
Install:
This library has been published to NuGet, so if you're using Visual Studio you can install it automatically by going to "Project -> Manage NuGet Packages... -> Browse" and searching for EELVL.
Raw dll download: https://gitlab.com/LukeM212/EELVL/releases
Usage:
Example usage: https://gitlab.com/LukeM212/EELVL/blob/ … Program.cs
Offline
Something is wrong with the reader. I get error that I can't load the file.
I have tried from OpenFileDialog, to hardcoded directory + file.
Still get the Error. It doesn't tell me much, just that your DLL can't read files.
Could it be because you use Stream file? in the function?
Offline
Something is wrong with the reader. I get error that I can't load the file.
I have tried from OpenFileDialog, to hardcoded directory + file.
Still get the Error. It doesn't tell me much, just that your DLL can't read files.Could it be because you use Stream file? in the function?
Could you send me the code you're using as well as the file it can't read and any inputs / error messages when you run it? (And are you using version 1.0 or 1.1?)
It's definitely working for me, so I'm not sure what the problem would be...
Offline
>when you can't parse the format you wrote
*u stinky*
Offline
Update on this:
It seems like the problem was because Capasha was using .net core 2.2 and the library was built using C#8 which requires .net core 3.0, I've added a line to the OP explaining what you need to do to get it running
>when you can't parse the format you wrote
?
Offline
Another update:
I've added a legacy build with all the C#7/8 features replaced so that it supports down to .net framework 4.5, if you want to use this version then you can download it from the "vX.X-legacy" release in the repository's releases page.
Offline
>when you can't parse the format you wrote
I believe C# is parseable on every computer. When I wrote my first EEBot I didn't had to install any library (though I don't use windows)
will it also convert to the .eelevel format used in EEditor?
I'm known as "haslo" in EE. Also, I refuse to play EEU.
Offline
will it also convert to the .eelevel format used in EEditor?
This is just for our .eelvl format, but once I've implemented the re-serialisation, Capasha is free to add the .eelvl serialiser to EEditor so that it can convert them
Offline
Pages: 1
[ Started around 1732196614.0792 - Generated in 0.057 seconds, 14 queries executed - Memory usage: 1.51 MiB (Peak: 1.67 MiB) ]