-
Notifications
You must be signed in to change notification settings - Fork 98
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
Frontier Pass Breaks CQUI... #421
Comments
@the-m4a Hey bud, I think I managed to find a way to get it onto steam workshop, if you want to give it a try? |
Notice that the spy screen has been broken even before Mai 21st Civ6 update.
I am unsubscribing from CQUI today and installing CQUI Light and More Lenses. |
Any chance you can share your branch as a git patch or something, @the-m4a ? Seeing as how it might be difficult to get a pull request through right now... |
My master branch in my repo is the equivalent to the expansion2 branch here (Azurency's repo). So while this mod is currently broken, if the code is fixed we can publish the mod to the workshop using that as the source? I still lack the time I would like to otherwise have to work on this, but I'm trying... there were a number of changes made to the base files and the more I dig into this the more I come away thinking there is potentially a better way to do some of these things, but it may be a lot of work. For example - the Diplomacy Ribbon is busted. The script file (DiplomacyRibbon.lua) in the mod was effectively copied from the base game files and modified. So any change to the base game file (as happened with this patch) is bound to have significant effect on the mod. If it's possible to inherit and override instead, that would make the mod a lot more stable through updates by Firaxis... |
There's a CQUI Light? Yeah, lots of things broken... |
In the meantime, for anyone wanting to play, you can always change the |
I went offline in Steam the moment I heard about the new DLCs coming as I knew they would break CQUI for me. Hearing about the six releases every other month was bad news as I knew CQUI would be broken at least six times if not more (they might need to drop hot fixes). I would like to support Firaxis as I like their content but they seem to have given zero effort to support the modders and they also don't even support an option to NOT take their new content (until the mods are ready). BTW, I have never noticed any issues with the Spy panel, seems to work fine for me. EDIT: What is broken is National Parks, has anyone been able to build one with CQUI? The lens at least is broken, maybe more. Be real nice if that could be fixed. |
This code is out of my skill so I hope someone will pickup this and continue maintain it to keep in sync with the new patches |
I've started to look into fixing bits and pieces. So far I think I've gotten the diplomacy banner and city banner working. I'm new to Lua and Civ 6 modding so it's possible I've missed things. The version I'm working on is here https://github.com/alimulhuda/CQUI_Community-Edition/tree/expansion2. For the diplomacy ribbon I've tried to do the inheritance/override approach, but for that I had to get rid of the CQUI detailed diplomacy ribbon and instead rely on the unmodded game detailed ribbon (that one happens to have more details so nothing lost hopefully). |
awesome, @alimulhuda - I'll take a peek at what you have going on. I've been trying to wrap my head around a few things with this mod, and just the Civ6 modding in general. I've spent a loony amount of time today just trying to work out how to reduce as much replacing of files as possible. It bothers me that Civ6Common.lua is one of the replaced files and while there weren't a lot of changes with this update, that file gets loaded so often it feels like a bad idea to do that. Also @wayneb64 I know I had done a national park, though I think you're correct that the lens was not functional. Speaking of lenses, I saw there was an update to the More Lenses mod (standalone) version made today, which is probably worthy of incorporation... |
Registered just to write this comment haha.
Mega thank you! |
@wayneb64 If you still have the pre-patch versions of the UI files it would help me a lot if you could get them to me somehow. Having them would help me reduce the guess work in figuring out the changes I would need to make. If I can do a diff between the mod files and the original files then I can know for sure which changes are the mod. Right now it's a mix of guesswork and relying on the variable naming scheme that the mod makers use. The folders I would like to look at are If having a more detailed wishlist from me would help, then let me know and I'll go through and figure out which exact files I might need. Thanks in advance. |
@doomsday-machine I'm currently only focusing on making it work for the Gathering Storm version. The city banner should be fixed in my repository. The worker charges and promotions doesn't seem broken. The click banner to enter city and purchasing units also doesn't seem to be broken. You can try it out by following the instructions for manual install (https://github.com/Azurency/CQUI_Community-Edition#manually). You might need to unsubscribe from the one in the workshop first. I don't know which version the game will use if you have both the one from steam workshop and the manual installed one. Disabling the things not working might not be easy for me to do, this is the first time I'm working on something like this. The next one I think I would look at would be the diplomacy trade screen, since that one is broken in a bad way. |
UI.zip Let me know if these uploaded OK. |
@wayneb64 Just took a quick look and it seems like all the files I might want to look at are present. Thanks again. |
Hey, I'm pretty used to LUA, so I think I could be able to lend a hand here. Is there a list of issues with the current version or are you just checking tracebacks and in-game behaviour? I'm sure I'll have some time next weekend and I wouldn't mind getting into Civ modding, seeing as how the frontier pass will probably break the game on every milestone update. |
@wayneb64 Could you do me another small favour and tell me what version number you are on? It should show up on the lower left corner in the main menu screen and should look like 1.0.0.XXX (XXXXX). I think the mod creators were keeping track of the unmodified UI files in another repository and I want to do the same while following their log message convention which includes the version number. |
I'm trying to get the mod into an unbroken state. What I'm doing is just looking at in-game behaviour and log message tracebacks. The issue list seems to be issues before the patch broke things. The possibility of the frontier pass breaking things frequently is also what got me off my ass (figuratively) to try mod bug fixing. Thanks to the coronavirus it's not like I have much else to do on weekends. |
Excellent thought @alimulhuda - thank you @wayneb64 - was curious about the same. I am having all sorts of trouble understanding the mechanisms with importing of files. Their docs don't go into a lot of depth, so I have been banging my head on trying to figure out how that all works, as I think it would be beneficial to try and to get away from the replacing of files and use inheritence and overrides whenever possible. Maybe I'm off on that. I went looking for evidence of any other Mod replacing the Civ6Common file, for example - couldn't find one. Maybe that's a rabbit hole that doesn't need to be jumped down at the moment. |
1.0.0.341(443561) |
Frontier Pass broke this version I've been using. It worked fine with Gathering Storm. I should know better than to update & purchase new expansions before CQUI is updated haha EDIT: If you have another link to a working Frontier Pass version, please do share; you might've mentioned it but I'm not sure. |
I merged changes into my master branch that include @alimulhuda 's changes to remove the customized diplomacy banner (as that same thing is now built into the game). Most of my work was to review any of the replacement files in this Mod and start clearly marking the CQUI changes in an attempt to make this easier to manage in the future (thanks again @wayneb64 for uploading those). https://github.com/the-m4a/CQUI_Community-Edition Observations Here are the errors seen in the Live Tuner when trying to do anything on the DiploDeal page, in case someone wants to take a stab boefore I'd manage to get the time... (I think it's a call into these methods from the Mod that's broken, need to investigate...)
|
I merged it in this new fork: https://github.com/civfanatics/CQUI_Community-Edition/ |
Awesome. Can't wait for you guys to fix this. I can help in every way but with coding :) |
Hello everyone, I have approximately no time to look at the code or anything at the moment (and it's been like that for a while now). But I can give you some tips and information on how I handled updating the files in the past. Feel free to ask anything, I'll try to answer when I can. The logic behind not merging everything in master was to be able to give every player the chance to play with CQUI whether or not they had the latest expansion :
But then again it was taking more time to do that. My method to update the modI found out that the best way to update this mod was to :
|
Partially Functional Version: https://github.com/the-m4a/CQUI_Community-Edition
I am hoping some folks can download this version and play for a bit and identify any issues. On PC:
I started an Atomic game and let auto-play for ~15 turns, then picked up for a few turns from there. Seems like most things outside of what was disabled were working. I have also just been merging my pull requests into my branch, which isn't exactly a coordinated effort. Seems like a good idea that we should all pick one location to work from. I know that my time will likely start running very short again soon, so I'd prefer to contribute to another's repo if at all possible. |
@the-m4a thank you for doing this. I have no strong preference on what repo becomes the current "official" one as long as we get the ball rolling and restore this amazing mod to its functional state. |
Hi,
@the-m4a Thanks for your effort, I’m not sure what your answer implies in terms of distributing the Mod to most folk via Steam but at least it seems indeed you have fixed the main issues I could observe.
I quick tested your zip file on my machine and I confirm all the bugs I identified are fixed:
- Diplomacy ribbon
- Deal screen (I was calling it Trade Screen by mistake)
- Spy not possible to assign a mission or move
I'll try to test it further on real multiplayer play this week (LAN simultaneous turn)
While people are at releasing something, porting the latest MoreLenses patch is as simple as applying a patch to a single ML file:
<astog/MoreLenses@926e86b> astog/MoreLenses@926e86b
I think it was some discussion about porting other MoreLenses patches to be tested first… I have just tested the one patch above together with CQUI and it worked and seems pretty granular to not create any issue to anyone.
Cyril
|
@the-m4a Yes, I played with it a bit, everything not disabled seems to be working. |
I agree, it will help additional resources to be able to work on the repo as there will be more eyes for reviewing and approving changes, although this inherently slows the process, albeit very minor. I have acquired the latest zip within the last hour and will be testing for an extended period over the next 24 hours, I will record everything I can in regards to any reproducible issues that come up. |
@alexeyOnGitHub I have created a PR to pull the changes from my branch into the CivFanatics master branch. These changes include the updates made to the MoreLenses mod for the new Frontier Pass. This should get us back to a functional state with the mod - there may still be bugs here and there that can be addressed, but that said, thanks everyone for the work here! Very excited to finally try a game or two with the Maya and Gran Columbia. :) |
I just did the update in a way I thought Azurency was maintaining it, where the expansion1 branch is master branch + files from DLC/expansion1 overwriting and adding files, and similar with expansion2. As long as the files from DLC\Expansion1 and DLC\Expansion2 are in the repo it should be good. I just didn't have time to modify the folder structure into what I would prefer to use. Personally I would like the following structure Also it looks like your pull request would get rid of all or most of the history for the Expansion1 and Expansion2 files you added (I could be mistaken here, I'm still not proficient in reading Git stuff). It's going to be a little work but I would strongly recommend making it so that history is maintained and I was planning on doing it in a way that should allow that on the weekend. I am going to manually recreate the repo in that structure. If this were SVN I would try to maintain history using SVN copy command and get the proper history that way, but I don't know if Git has the equivalent to what I was looking for. I have extremely strong feelings about maintaining history (it has saved me at work more times than I can count) and I think having it is invaluable. I was planning on using the history, for unmodded files and CQUI, to try and bring back the CQUI unit list report, I don't think that one is working now and I want to see if I can get it back. |
@alimulhuda files history is preserved after merges and you can always go back and see what has changed. git commits disappear from history when you squash them via "rebase", but that is not what is happening here. I would not worry about losing history after merging PRs. |
If you guys decided to work on it more, can you fix this old issues with World Tracker. It is talked about how to remove the bug here: Has something do when Modular Screens was added to CQUI years ago. But some of it remained behind. This is why when you click on the World Tracker tick mark, it never closes or opens. Azurency talks about how to fix it in the link I posted above. |
A minor request: move the CQUI gossip popups frame down one inch (the horizontal gossip banners that appear at the center top of the screen). If you're playing with a dozen or more civs the diplomacy ribbons obscure the gossip frame. (Sorry if I'm posting this in the wrong place, I am not familiar with Github.) EDIT: Thank you so much for implementing this so fast! Amazing response! |
@alexeyOnGitHub I don't have much experience with Git so it's helpful for me to speak to someone experienced. The specific thing I was concerned about was regarding the PR I referenced. Right now if I go to https://github.com/civfanatics/Civ6-UIFiles/commits/expansion2/Replacements/WorldRankings.xml I can see it was changed a few times. If I go to the merged location here https://github.com/civfanatics/Civ6-UIFiles/commits/master/DLC/Expansion2/Replacements/WorldRankings.xml. It shows up as a new file. I can no longer look at the file in the new location and see the change log. Is there a way to see history from the new location in master without having to look back at the branch? |
@alimulhuda - your'e right, it would lose the history on those files. |
Okay... yeah, this setup with the multiple branches is just odd, because it doesn't match the layout you'd get in the base game and expansions. For example, the folder layout in the Master branch looks like this
In the Expansion2 branch, it's this:
The files in the Accessibility, Automation, and Choosers folders are the same in the Master and Expansion2 branches. Additions only exists in Expansion2. Civilopedia exists in both branches, but contains updated versions of the files, etc. In that Civilopedia folder, taking a specific file as an example - CivilopediaPage_Building.lua:
Personally I find that difference to be confusing, and @alimulhuda suggestion for file layout is a good idea. Matching the same folder structure the game actually maintains at least provides some clarity (especially for new-to-the-modding experience folks)... |
ok, I see what you mean by losing history. those files were added as new ones rather than moved. |
okay - totally lame, but if you move a file it's history is no longer visible, at least in the GitHub web UI. So, if we'd want to have a more logical structure, we'd lose history unless we manually recreate it (I'm sure there's a way to do it via script... but I don't want to figure that out right now).
Using the git console, we can see the history for the moved file, but that's not great if we can't also see it on GitHub? @therealcrow999 , @Richelieu77 I will look into those things as I want to do something that is less git-centric at the moment :) |
@therealcrow999 - I'll comment in that thread for that bug... but I don't see what you're talking about? |
@Richelieu77 I made a change so it'll show below that ribbon now. Thanks! We need people to review the PR pending from my branch to the CivFanatics branch. @alexeyOnGitHub how do we get this published to the workshop? |
If we change this to an Organization we can have finer control over permissions. I see testers etc as a vital part of this team so not everybody will need write access. For myself I'm a Moderator on Civ Fanatics and am responsible for the various Hall of Fames including the websites (html/css/php), Mods (Buffy etc) and the Forums. I also look after a few other websites and have used Git for many years (although not in very big groups). In real life I've been in IT for over 30 years mostly working for IBM but now running my own IT Consulting company. I've recently started working on my own gameplay Mod (at the moment it mainly incorporates other ideas) - https://steamcommunity.com/id/noblezarkon/myworkshopfiles/?appid=289070. |
To preserve the history of a file you are moving, don't use the OS. Open a terminal and use |
This is incorrect:
|
shrug it has definitely made a difference for me on several occasions. |
@MForster @theMikeD , I've hit issues due to Mac and Windows being case-insensitive filesystems. If you rename a file and all you do is change the case (myfile.txt --> MyFile.txt), the operating system will lie to Git and tell Git that the file hasn't changed. Git says "Does myfile.txt still exist? if so, what is in the file?" Windows/Mac says "Yeah, it's still there, here's the data". https://stackoverflow.com/a/20907647/277601 This is why using "git mv" is better in certain (probably rare) situations...but sometimes these are a pain to debug. "Why is this program having issues on Linux? It works just fine on Windows and Mac..." |
hi! "civfanatics" GitHub organization currently has 3 teams: civfanatics (default top-level), "civfanatics-cqui" (r/w on CQUI repo), "civfanatics-admins" (with the intention of grouping admins on all repos in "civfanatics" org). |
@alexeyOnGitHub You might need to turn on the issues tab for both the repos in https://github.com/civfanatics. I feel like we should continue discussions over there and separate out by different topics (team discussions/join requests, restructuring for the unmodded files, fix for case-sensitive file systems, etc). This post is starting to get difficult to follow, and I would like to continue organized discussions with you and @the-m4a over there. |
Alimulhudas suggestion is a good one, if we are to treat the civfanatics repo as the new official location we should move issues there Also clarifying regarding ‘git mv’ - I used that to move the files. Whatever git command (with —follow) will still show the history, but that history is not visible on GitHub web, which is where I would expect most people would look for it. It’s a known issue - I don’t have the reference handy (on mobile at the moment) |
enabled "Issues" feature there |
@the-m4a @alimulhuda created civfanatics/Civ6-UIFiles#3 |
Well, this is where I was sent by the REPORT ISSUES link in the Civ 6 workshop TODAY (July 27, 2020). I don't think that "historically" really applies as this is where people are CURRENTLY being sent by the mod/workshop. Also, I keep DISABLING CQUI because it makes games unplayable (ever since I got the first Frontier Pass update). I then play for a few hours, usually shortly into the early A.D. years and do a Quick Save. When I try to resume after a Civ 6 workshop update is shown in my downloads (sadly, there are no more details than that) my saved game loads with CQUI ENABLED and it is no longer playable. Even if I DISABLE the CQUI mod again, I can NEVER resume my games, because somehow CQUI has been attached to the quick save -- EVEN WHEN DISABLED. I guess it is time to search for the instructions on how to remove CQUI completely -- all versions. |
@nurbles if the report issue button sent you here then you are on the old CQUI. If you search the workshop for CQUI you want to look for the version uploaded by the_m4a, not the one by sparrow. The report button in the new one should send you to the repo mentioned at the top of this issue. To remove all versions of CQUI you would need to unsubscribe from all the version that show up on steam workshop (Go to your Library -> Civilization 6 -> Workshop -> Subscribed Items). For the ones you might have downloaded manually you would have to look in If you want to try the version that should be up-to-date, subscribe to the one uploaded by the_m4a (after you clean out all the old versions). |
The workshop downloads Civ6 mods into |
Just out of curiosity, how many "old" CQUI versions are there? I still had TWO showing in the Civ 6 mod list, one was obsolete (or something like that) and could no longer be activated, while the other worked right up to the first frontier pack update. Is this the new normal? Every time there's an update to Civ 6, we remove CQUI and hunt down the newer version? @alimulhuda Thanks for the info. I had already unsubscribed from anything I had in the workshop that use CQUI in the new and then went to D:\My Files\Documents\My Games\Sid Meier's Civilization VI\Mods and removed all of the CQUI folders (they were the only ones present). CQUI seems to be gone at the moment. I looked in the folder you referenced and found 71 folders with meaningless numeric names. I am very unsure about just wiping everything out -- I don't want to screw up the game or lose all of the mods that work, after all. |
You could try a search for the letters CQUI from the content folder to find the correct subfolder(s) that contain versions of CQUI. The latest is 2115302648. |
@nurbles The only time you should see new entries in Steam would be when an old maintainer stops updating. Right now our understanding is that Steam only allows the original uploader to upload any updates, so the current version by the_m4a should continue to be updated for as long as the_m4a stays active (so no hunting for new ones whenever there is an update). We also weren't able to contact sparrow, so that's why the old version is still up on Steam, and technically I think anyone can create a Steam workshop item with the same name (or something very similar). The two folders I mentioned are the places where Civ6 should be looking for mods (whatever you download from Steam gets a number associated with it, it's a different number for every workshop entry), so if you have many more folders in those places then you probably have a lot of mods installed. The way Civ6 seems to work is that it will look for all .modinfo files in those two locations and try to load with the information present in the .modinfo files. If you go into each of the folders with the numeric names then you should see a .modinfo file with a more meaningful name (in case you are curious about what the actual content is in whose folders). The .modinfo is an XML file so you can also look at the contents to get the name that would show up in Civ6. |
@alimulhuda and @wayneb64 Thanks so much for your assistance! All the old stuff is gone -- unsubscribing using the Steam Workshop cleared most, and manually removing the most ancient version from Documents/My Games took care of the rest. I found and installed the the_m4a version and it is working. Slightly different than I remember, but as I learn the changes, probably even better! Thanks again. |
EDIT: We have a functional version once again, and are moving work to the civfanatics github.
https://github.com/civfanatics/CQUI_Community-Edition
Posting here largely because this is where folks have historically looked...
Seems the new update broke CQUI. I will be investigating and checking changes into my branch, I'll send over a PR once I get done. (edit: this will be a slow process... ugh.)
Short form: Appears lots of things are broken, no city banners, leader scores, etc...
Any chance we can merge what is currently in expansion2 into master, @Azurency ? I never was able to figure out how to publish this thing on the Workshop, so I'm still at the mercy of someone that knows how to do so..
The text was updated successfully, but these errors were encountered: