Go to file
2024-10-05 21:25:16 +07:00
.github/ISSUE_TEMPLATE Update website-module-request.yml 2024-08-10 19:58:32 +07:00
baseunits Fixed: 32bit windows compile error (#1698) 2024-10-04 20:47:14 +07:00
dist Update readme.md 2024-10-05 09:26:42 +07:00
images Some little changes 2019-03-31 04:29:23 +02:00
languages Update Indonesian localization 2023-03-25 11:51:02 +07:00
licenses added luajit support 2020-05-15 14:31:19 +08:00
lua IkigaiMangas: Changed domain (#1700) 2024-10-05 09:07:36 +07:00
mangadownloader Release: 2.0.33.0 2024-10-05 21:25:16 +07:00
scripts Added virtualtreeview 2024-09-30 21:54:57 +07:00
updater fixed load settings 2020-05-02 17:13:23 +08:00
updaterslim Updater fixed, but you will have to make a manual update this time only. 2019-04-02 19:29:46 +02:00
utils/userdataconverter Converter: Add error message when modules.txt is not present (#430) 2021-03-21 13:04:27 +07:00
wiki/images/cloudflare-workarounds supported websites page moved back to wiki. 2019-08-02 15:21:18 +02:00
.gitattributes update .gitattributes 2015-08-10 03:37:56 +08:00
.gitignore added missing 7za 2020-04-03 20:41:37 +08:00
.gitmodules remove BESEN and add duktape 2018-12-04 10:01:01 +03:00
changelog.txt Release: 2.0.33.0 2024-10-05 21:25:16 +07:00
git2revision.bat move version to about tab 2020-02-28 18:13:53 +08:00
latest_version.json Release: 2.0.33.0 2024-10-05 21:25:16 +07:00
license.txt license file 2018-01-07 08:10:49 +08:00
make_release_win.bat make_release_win: always use build-all flag 2020-09-28 07:35:24 +08:00
README.md Update multilog version (Closes #931) 2022-03-15 03:34:02 +07:00
readme.rtf Release: 2.0.33.0 2024-10-05 21:25:16 +07:00

Free Manga Downloader 2 (FMD2)

(Forked from https://github.com/riderkick/FMD)

Use the converter if you want to migrate your FMD1 settings and databases. Converter

Download

Latest release

About FMD

This is an active fork of the Free Manga Downloader which is a free open source application written in Object Pascal for managing and downloading manga from various websites. The source code was released under the GPLv2 license.

Some useful arguments that can be used in FMD2:

  • --lua-dofile trigger FMD2 to always load lua modules from file. Only use it when developing a module. It might slowing down FMD2.
  • --no-commit-queue disable commit queue for databases. The same as --max-commit-queue=0 --max-flush-queue=0. It might slowing down FMD2 with large databases due to intense disk write.
  • --max-commit-queue=16 override max number of commit before writing to disk.
  • --max-flush-queue=256 override max number of update before commiting to database engine.
  • --max-big-flush-queue=16384 override max number of update before commiting to database. Internally used when making large update to databases in one go. Be careful when reducing the number it might slowing down FMD2 significantly.
  • --backup-interval=10 override backup databases interval (minutes).

Build instructions

In order to build FMD from the source code, you must install the latest Trunk version of Lazarus and Free Pascal Compiler:
Lazarus

To compile FMD some packages and components are needed. You can download and install most of them by the built-in Online Package Manager (OPM).
The following packages and components are used for building FMD:
Synapse 40.1 (Compile before "InternetTools")
DCPCrypt 2.0.4.1
RichMemo (18.01.2020)
LCL Extensions 0.6.1 (Compile before "Virtual TreeView")
Virtual TreeView 5.5.3.1
MultiLog (18.01.2022)
InternetTools

After everything is installed, open the file md.lpi by using Lazarus IDE.
Make sure to add ssl_openssl to the uses list of Synapse and compile the package again.
To compile and build the source code of FMD select Run -> Build. If everything is ok, the binary file should be in FMD_source_code_folder/bin.

If InternetTools fails to compile because of a missing or incompatible PPU, make sure to compile Synapse first.
By default InternetTools uses FLRE and PUCU for its regex engine. Just copy the FLRE.pas and PUCU.pas to InternetTools\data folder. You can use Sorokin's RegExpr engine that comes with lazarus by adjusting the defines. But it's not recommended since the author of InternetTools prefer FLRE and doesn't always check the Sorokin's RegExpr compatibility when making an update.

If Multilog yield an error about outputchannel doesn't exist, just remove it from package inspector and recompile.

Try to Clean up and build within lazarus if it still fail to compile.

Some other external 3rd party tools and libraries are used as well:
7-Zip
Duktape
WebP (libwebp)
Lua
OpenSSL
SQLite
Brotli

These tools and libraries are not part of the source. You have to either download pre-compiled binaries, compile them yourself or just copy them from the latest FMD releases.

Localization

Translations are stored inside languages folder with .po extension.
In order to translate FMD to your native language you can copy fmd.po and rename it to fmd.xx.po, where xx stand for two-letter language code.
Additionally you can add country code at the end of language code. For reference you can look at http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes and http://en.wikipedia.org/wiki/ISO_3166-1. For example id_ID will be recognized as Bahasa Indonesia (Indonesia).
To translate the content of the file you need to use translation tools like Poedit.
Once you have finished translating all of its content you can launch FMD and it will automatically detect your new languages upon startup.