-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display conversion progress #1423
Comments
hi there, can I try this for my first issue ? :) |
@jochenrui Sure, contribution is welcome :) If you have any questions not answered by the issue, you can also come by in our chatroom (see the project readme for infos). |
@heinezen Also the progress bar is supposed to reflect the actual progress right? So I'd have to divide the total work to be done by e.g. 100 right? I assume in the read signature the size of "raw" can be used to determine the progress?
same for fulll_data_set in create_nyan_objects?
and count of export_requests in export?
|
@jochenrui Ah yes, you can run the converter in isolation. After you built the project, the command
will run just the converter. I would recommend
because that skips the initial prompts and jumps straight to the conversion. The
You got the right idea :)
|
@heinezen thanks for your very in-depth comment. It's very reassuring, and sorry for my slow progress. Work has been stressful these days. I'll get to it right now :) |
@heinezen have you seen this error before during configuration? I followed the instructions on https://github.com/SFTtech/openage/blob/master/doc/build_instructions/macos.md
|
@jochenrui I think the macOS clang compiler doesn't support C++20 features yet. Can you try with gcc? Edit: Or alternatively with pure clang from homebrew. |
@heinezen I'm already using pure clang from homebrew I think
|
@heinezen gcc doesn't work either :/
|
@jochenrui Sigh It's always Apple (we can't test macOS well because it does't run in VMs and hardware is expensive :D). I'll take a look at the problem again. You could try Ubuntu in a VM as a temporary workaround... |
@heinezen sorry about that. I'll try to get it running on macos first, maybe this would make for a good addition to the build_instructions file for macos :D |
@jochenrui I may have found solution if this bug is responsible.
Don't know if that works or if that's just a different problem. |
@heinezen I'm already installing a ubuntu vm, I gave up on getting it going on macos like a minute before your message ^^ |
@jochenrui Well, that's fine by me then :) |
If you get stuck or need inspiration, there has been made a dockerfile that uses an Ubuntu image to build the system, which could be of use: |
@jochenrui And tell me if you need any game edition files for testing :) |
@heinezen |
not building.. installing dependencies.. building is the next step lol |
Not right now because a lot of the AoE file formats are weird proprietary formats that are not that great to handle/create. Making mock files is a good idea though, but not the most fun task :D. The converter being able to convert any of the myriad of editions that exist by now for AoE1/AoE2 and SWGB must suffice for now.. |
@heinezen |
AoE1 - Rise of Rome is the smallest with ~220 MB. (meet me in our chat for the files) |
@jochenrui If you want to try Windows, I have a successful build here: https://github.com/SFTtech/openage/runs/3883281983. Edit: Or just download the build artifacts :) |
Does this issue still need to be resolved? |
@maassen1 Yes, it's still not implemented. |
Required skills: Python
Difficulty: Easy
For the initial asset conversion, openage provides textual output to signal which stage of conversion has been reached. The output usually looks like this:
However, some of these stages can take a while to complete. For example, the whole
Exporting media files...
stage can take up to 20 minutes. For these stages, it would be nice to have more dynamic updates in form of a progress bar. This would also give much more feedback to users on what's being done at the moment.The stages that would benefit the most from a progress bar are:
empires.dat
file parsing (See code)Creating nyan objects...
(See code)Exporting media files...
(See code)We provide a formatter for the progress bar in our tools: https://github.com/SFTtech/openage/blob/master/openage/util/strings.py#L103
Further reading:
The text was updated successfully, but these errors were encountered: