Add "CustomMissionID" for saved games#19
Conversation
|
Sorry, but I'm a bit confused. Are there any unclear passages in issue #18? |
I just noticed the additional message on the issue page, sorry. I'm not sure if the So far if you can manage the previous 4 bytes (int32) of the member |
|
@chaserli Also, could be better if this value is an Besides, all the 4 values you introduced for testing work as intended. For the sake of ABI compatibility, could you just save the campaign ID (uint64) in an separate OLE key "Campaign ID"? |
|
yeah I'm aware of such issue. There's another problem: when finishing the current mission and proceeding to the next one, such ID should change according to your requirement, but I have no idea how to make that happen yet. I'll try to investigate when I have time later |
|
@chaserli You are right. |
4ab4af6 to
6378ce9
Compare
Alright, I reverted that to int. Now Campaign ID appears in sav file only when its value is not 0 |
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
825aaa8 to
a4a6511
Compare
b0af8ba to
dbcfd07
Compare
60be6e3 to
ba33dd3
Compare
|
Took a liberty of making sure it is up-to-date with main and addressing some issues with the parsing of mission info from |
|
There's still an issue caused by game seemingly reading some CSF labels/strings on spot instead of using the labels/strings from originally reading the scenario which causes issues with save/load, I will try to look for proper solution to this during the upcoming week. |
Investigated further, this is not worth fixing on game's side due to complexities involved. The current solution of always providing the mission configs in spawn.ini for custom missions is sufficient. |
|
Why is this PR marked as a draft? There should be no remaining work to be done and are ready for review |
848f0d1 to
698d92a
Compare
|
care to explain why did you dump the no save mode into an unrelated PR? I was going to say "screw it, merge as is" since multiple authors worked on this one incl. Starkku, but not with hardcore mode (which has some ??? code) |
It's unfinished, just making a dll for testing then rework this one. I'll handle the commit history issue later. Are you going to merge the custom mission part this year or next year? I didn't expect such swift reaction. I suggest reviewing #20 first. Then I'll split things The no-save part is not unrelated. If I draft another PR it will build on top of this one, it will be harder to manage |
698d92a to
fb4411a
Compare
|
make a branch on top of this one then rebase I figured since Starkku took over there's no reason to leave it gathering dust, so screw it, merge it is |
fb4411a to
4b3f484
Compare
|
What's the use case for this proposed pr? |
See #18 and CnCNet/xna-cncnet-client#518 |
Starkku
left a comment
There was a problem hiding this comment.
Don't think there's anything that needs to be addressed or changed at this time. It works in conjunction with the client changes. If issues crop up further down the line they can be dealt with separately then.
Implemented the updated requirements of issue #18