Commit Graph

60 Commits

Author SHA1 Message Date
Marc fce1c2912c split the cli and the core functionnalities 2023-01-14 17:34:19 +01:00
Marc 0c2b3afa9b Fixed bug in fomod support 2023-01-13 20:04:32 +01:00
Marc 327486d897 Cleanup and improved conventions. 2023-01-13 20:04:00 +01:00
Marc 1017d47312 Allows to show the load order and list plugins.
i don't think allowing to edit the load order un the CLI will be easy.
maybe it's doable with a TUI ? but if i continue to work with command line arguments it doesn't seem possible to do it cleanly.
maybe i can do the same thing i did with the mod order. numbering mods and assking two numbers to swap. but this is shit.

i only see 2 way this might go forward.

1. a gtk based ui like the one being developped in the interface branch but i doubt it will ever be finished if i don't intervene at some point.

2. a tui im really curious about tuis like nmtui or "n"(a node version manager).
2022-10-10 21:01:16 +02:00
Marc b8affcadbc New naming conventions to avoid conflicts.
i don't know if it was such a great idea but at least it is a starting point.
2022-10-09 15:46:58 +02:00
Marc 9ee12a6c7e Added loadOrder support + fixed some bug
add the getDataPath function / .h that will find the data folder of the game.
this fixe some issue with older games like morrowind
2022-10-08 10:59:32 +02:00
Marc f3cd47b2bb [Untested] Experimental plugin order management support 2022-10-07 14:18:13 +02:00
Marc 1abef49712 Added singleton to search_games 2022-10-07 11:17:24 +02:00
Marc 4ce99996e8 Adder the type alias error_t and refactored the code to use it. also extracted archive function from install.c to archives.c 2022-10-07 10:47:14 +02:00
Marc 091ab3894c refactored usage and options 2022-10-07 10:15:19 +02:00
Marc b6d11aa9ee Droped support for kernel mode Overlayfs 2022-10-07 10:12:34 +02:00
Marc 67a68011ed PKGBUILD directly build from the git a archlinux package.
changed the name of the binary to not have issue.
2022-10-06 22:43:09 +02:00
Marc 7699b76333 added version string v0.1 2022-10-06 22:29:14 +02:00
Marc 7725e19069 fixed some memory leaks 2022-10-05 19:08:57 +02:00
Marc 3376ac1da6 fixed some pointer arithmetic issue on non GNU compilers. 2022-10-05 14:02:01 +02:00
Marc 635b1adcaf [Untested] fixed the compiler/linter options and fixed the corresponding code.
the code fixes have not been tested. some are trivial orthers might be a bit worrying.
2022-10-05 13:55:04 +02:00
Marc 561a2a90b8 Made errors output to stderr 2022-10-05 08:35:10 +02:00
Marc f8c5020a87 I discovered the static keyword 2022-10-04 16:25:44 +02:00
Marc c276e18282 properly setting the C version 2022-10-04 14:21:58 +02:00
Marc c223d149f4 Fix unsafe strtoul 2022-10-04 14:18:12 +02:00
Marc 3534b709bd allow to change the mod loading order 2022-10-04 14:08:54 +02:00
Marc 8dc874abd6 Merge branch 'master' of ssh.marcbarbier.fr:Marc/modmanager 2022-10-04 09:44:00 +02:00
Marc 9085b69efa Update cmake structure 2022-10-04 09:43:26 +02:00
Marc 9d60596308 Update .gitlab-ci.yml file 2022-10-03 21:05:42 +00:00
Marc e27ea7bcea Update .gitlab-ci.yml file 2022-10-03 21:03:30 +00:00
Marc fd25a195de Update .gitlab-ci.yml file 2022-10-03 20:58:10 +00:00
Marc 7e2a11568f Update .gitlab-ci.yml file 2022-10-03 20:56:38 +00:00
Marc bd7407b511 Update .gitlab-ci.yml file 2022-10-03 20:48:18 +00:00
Marc cd4afef107 Update .gitlab-ci.yml file 2022-10-03 20:47:55 +00:00
Marc 0788f48bed Update .gitlab-ci.yml file 2022-10-03 20:22:08 +00:00
Marc 6599bba5d7 Update .gitlab-ci.yml file 2022-10-03 20:20:33 +00:00
Marc f9e964b375 Update .gitlab-ci.yml file 2022-10-03 20:18:54 +00:00
Marc e43799930a Update .gitlab-ci.yml file 2022-10-03 20:17:40 +00:00
Marc 769fb59c6d Added basic ci (not sure if it works) .gitlab-ci.yml file 2022-10-03 19:26:42 +00:00
Marc aaf3b9527e untested bug fix 2022-10-03 21:23:10 +02:00
Marc e2429fee05 untested code cleanups 2022-10-03 20:42:57 +02:00
Marc 9325a087ee added a bit of doc and some games 2022-10-03 20:33:57 +02:00
Marc 68308d9df5 add basic order support. still need to add a cmdline parameter 2022-10-03 15:10:43 +02:00
Marc 8aff0c35f1 update README.md 2022-10-03 08:59:19 +02:00
Marc 4a02544aa8 fixed the todo list 2022-10-03 08:38:49 +02:00
Marc fbd2bc1025 updated requirements 2022-10-02 20:02:48 +02:00
Marc bdb2f52d07 Improved safety and reliability of the --add option 2022-10-02 19:11:37 +02:00
Marc 511a4ae352 Changed arguments and added option to delete a mod 2022-10-02 14:24:42 +02:00
Marc b8fb39e393 refactored the parser 2022-10-02 14:02:01 +02:00
Marc 3cedc7a182 TO TEST: added order support 2022-10-02 10:20:53 +02:00
Marc 35e4d222a7 Merge /home/marc/Projets/modmanager 2022-10-02 10:04:48 +02:00
Marc ad4821f3de improved fomod support 2022-10-02 10:03:23 +02:00
Marc barbier 29c8f3b068 FOMOD: add support for the order parameter 2022-10-02 10:01:26 +02:00
Marc 8c486e27dd i should sleep more 2022-09-26 09:10:30 +02:00
Marc dfd4ee2877 more todos 2022-09-26 09:08:19 +02:00