- Posts: 23
- Thank you received: 31
As I said earlier, it is expected that the creator of the mod prepares his mpmaplist in a way that the game can read it and I am sure this is not the case if the HTML tags have spaces like shown here. I mean, if you make a map for the people and you include a mpmaplist, you would make it so that the user just can copy it out and paste it anywhere, dont you? The ModManager even copies that whole block between the ALLOWITEMS tags, no matter what the format it is. If the creator used tabs, it will use tabs, if its spaces, it will be spaces. Btw. Spaces/tabs in front and after the HTML tags are completly ignored.What if the Gamestyle is written as
Ga me S tyl e
Will it read it?
I would make this that program makes temporary input line that has no spaces and has no tabs and also converst all characters to lower case (or upper case)
And after that it could make flawless search for keywords !
Because thats the most effective and very straight forward way. Instead of searching all possible text files (every time you activate and deactivate it) it will just lookup what it needs there. I would also have to make it so that it can detect it before it starts the algorithm and I doubt its enough to tell it "yea just look for a GAMESTYLE keyword". Or imagine it finds more than one mpmaplist data, then it wouldnt know which one to include or it would include everything it finds, which might be not ideal, because it could be the same map but with different items.And why file name restriction ?
Cant it just search all txt files inside ZIP ?
There are plenty of RAR libaries, but I won't include compatibility for other formats like RAR, 7z etc. The code is simply not ment to modulary add other formats. If the user wants to use the ModManger to mount his mods, he needs to unpack it and repack it to .zip, which should not be a problem. I chose ZIP because on win10 (and probably older versions) everyone can open and pack .zip files, without the need of downloading additional software.Quick search on google revealed that c++ has some RAR librarys, i dont know if they are any good...
Some mods come as RAR and if user will un-pack it then its easy to just paste them to game folder other than re-pack them to ZIP to be used for ModManager.
No. The user does not have to do anything, I just suggested to make a backup of the mpmaplist, because this feature is still experimental (which is also why its kinda hidden), but in theory it should not destroy it. It should not make it unusable. If it inserts a mpmaplist from a mod and then removes it again, it should look more or less the same and work as before.And add automatic backup for mpmaplist.txt.
Because If this program is meant to make something automatic then why user must do some steps manually ?
(Backup should be one time backup,, next time no backup because it might overwrite backup with messed up file)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.