From aaaab7168a7f4fb723623a72581373aa9e1a0ba1 Mon Sep 17 00:00:00 2001 From: Daniel Lin Date: Sat, 25 Jul 2026 10:27:05 +0200 Subject: [PATCH] fix: removed config from gitignore files --- .gitignore | 1 - config/cardmaker.yaml | 13 +++++ config/chuni.yaml | 61 ++++++++++++++++++++++ config/core.yaml | 66 ++++++++++++++++++++++++ config/cxb.yaml | 4 ++ config/diva.yaml | 11 ++++ config/idac.yaml | 22 ++++++++ config/idz.yaml | 11 ++++ config/mai2.yaml | 17 ++++++ config/nginx_example.conf | 105 ++++++++++++++++++++++++++++++++++++++ config/ongeki.yaml | 41 +++++++++++++++ config/pokken.yaml | 12 +++++ config/sao.yaml | 20 ++++++++ config/wacca.yaml | 36 +++++++++++++ 14 files changed, 419 insertions(+), 1 deletion(-) create mode 100644 config/cardmaker.yaml create mode 100644 config/chuni.yaml create mode 100644 config/core.yaml create mode 100644 config/cxb.yaml create mode 100644 config/diva.yaml create mode 100644 config/idac.yaml create mode 100644 config/idz.yaml create mode 100644 config/mai2.yaml create mode 100644 config/nginx_example.conf create mode 100644 config/ongeki.yaml create mode 100644 config/pokken.yaml create mode 100644 config/sao.yaml create mode 100644 config/wacca.yaml diff --git a/.gitignore b/.gitignore index b5a0e6e..55e89a0 100644 --- a/.gitignore +++ b/.gitignore @@ -156,7 +156,6 @@ cert/* !cert/billing.key !cert/server.key !cert/server.pem -config/* deliver/* *.gz diff --git a/config/cardmaker.yaml b/config/cardmaker.yaml new file mode 100644 index 0000000..fb17756 --- /dev/null +++ b/config/cardmaker.yaml @@ -0,0 +1,13 @@ +server: + enable: True + loglevel: "info" + +version: + 0: + ongeki: 1.30.01 + chuni: 2.00.00 + maimai: 1.20.00 + 1: + ongeki: 1.35.03 + chuni: 2.10.00 + maimai: 1.30.00 \ No newline at end of file diff --git a/config/chuni.yaml b/config/chuni.yaml new file mode 100644 index 0000000..3a0746c --- /dev/null +++ b/config/chuni.yaml @@ -0,0 +1,61 @@ +server: + enable: True + loglevel: "debug" + news_msg: "" + use_https: True # for CRYSTAL PLUS and later or SUPERSTAR and later + +team: + name: ARTEMiS # If this is set, all players that are not on a team will use this one by default. + +mods: + use_login_bonus: True + # stock_tickets allows specified ticket IDs to be auto-stocked at login. Format is a comma-delimited string of ticket IDs + # note: quanity is not refreshed on "continue" after set - only on subsequent login + stock_tickets: + stock_count: 99 + + # Allow use of all available customization items in frontend web ui + # note: This effectively makes every available item appear to be in the user's inventory. It does _not_ override the "disableFlag" setting on individual items + # warning: This can result in pushing a lot of data, especially the userbox items. Recommended for local network use only. + forced_item_unlocks: + map_icons: False + system_voices: False + avatar_accessories: False + nameplates: False + trophies: False + character_icons: False + stages: False + +version: + 11: + rom: 2.00.00 + data: 2.00.00 + 12: + rom: 2.05.00 + data: 2.05.00 + 13: + rom: 2.10.00 + data: 2.10.00 + 14: + rom: 2.15.00 + data: 2.15.00 + 15: + rom: 2.20.00 + data: 2.20.00 + 16: + rom: 2.25.00 + data: 2.25.00 + 17: + rom: 2.30.00 + data: 2.30.00 + 18: + rom: 2.40.00 + data: 2.40.00 + +crypto: + encrypted_only: False + +matching: + enable: False + match_time_limit: 60 + match_error_limit: 9999 diff --git a/config/core.yaml b/config/core.yaml new file mode 100644 index 0000000..218a49f --- /dev/null +++ b/config/core.yaml @@ -0,0 +1,66 @@ +server: + listen_address: "127.0.0.1" + hostname: "localhost" + port: 80 + ssl_key: "cert/title.key" + ssl_cert: "cert/title.crt" + allow_user_registration: True + allow_unregistered_serials: True + name: "ARTEMiS" + is_develop: False + is_using_proxy: False + proxy_port: 0 + proxy_port_ssl: 0 + log_dir: "logs" + check_arcade_ip: False + strict_ip_checking: False + +title: + loglevel: "info" + reboot_start_time: "07:00" + reboot_end_time: "07:00" # this must be set to 7:00 am for some game, please do not change it + +database: + host: "localhost" + username: "aime" + password: "password" + name: "aime" + port: 3306 + protocol: "mysql" + sha2_password: False + loglevel: "info" + enable_memcached: True + memcached_host: "localhost" + +frontend: + enable: True + port: 8080 + loglevel: "info" + secret: "" + +allnet: + standalone: False + port: 80 + loglevel: "info" + allow_online_updates: False + update_cfg_folder: "" + +billing: + standalone: True + loglevel: "info" + port: 8443 + ssl_key: "cert/server.key" + ssl_cert: "cert/server.pem" + signing_key: "cert/billing.key" + +aimedb: + enable: True + listen_address: "0.0.0.0" + loglevel: "info" + port: 22345 + key: "Copyright(C)SEGA" + id_secret: "" + id_lifetime_seconds: 86400 + +mucha: + loglevel: "info" diff --git a/config/cxb.yaml b/config/cxb.yaml new file mode 100644 index 0000000..628d49c --- /dev/null +++ b/config/cxb.yaml @@ -0,0 +1,4 @@ +server: + enable: True + loglevel: "info" + use_https: True \ No newline at end of file diff --git a/config/diva.yaml b/config/diva.yaml new file mode 100644 index 0000000..7b8bdcb --- /dev/null +++ b/config/diva.yaml @@ -0,0 +1,11 @@ +server: + enable: True + loglevel: "info" + festa_enable: True + festa_add_VP: "20,5" + festa_multiply_VP: "1,2" + festa_end_time: "2029-01-01 00:00:00.0" + +mods: + unlock_all_modules: True + unlock_all_items: True diff --git a/config/idac.yaml b/config/idac.yaml new file mode 100644 index 0000000..626565e --- /dev/null +++ b/config/idac.yaml @@ -0,0 +1,22 @@ +server: + enable: True + loglevel: "info" + ssl: False + ssl_key: "cert/idac.key" + ssl_cert: "cert/idac.crt" + matching_host: "127.0.0.1" + port_matching: 20000 + port_echo1: 20001 + port_echo2: 20002 + port_matching_p2p: 20003 + +stamp: + enable: True + enabled_stamps: # max 3 play stamps + - "touhou_remilia_scarlet" + - "touhou_flandre_scarlet" + - "touhou_sakuya_izayoi" + +timetrial: + enable: True + enabled_timetrial: "touhou_remilia_scarlet" diff --git a/config/idz.yaml b/config/idz.yaml new file mode 100644 index 0000000..1bfff9b --- /dev/null +++ b/config/idz.yaml @@ -0,0 +1,11 @@ +server: + enable: True + loglevel: "info" + hostname: "" + news: "" + aes_key: "" + +ports: + userdb: 10000 + match: 10010 + echo: 10020 diff --git a/config/mai2.yaml b/config/mai2.yaml new file mode 100644 index 0000000..f0d7754 --- /dev/null +++ b/config/mai2.yaml @@ -0,0 +1,17 @@ +server: + enable: True + loglevel: "info" + +deliver: + enable: False + udbdl_enable: False + content_folder: "" + +uploads: + photos: False + photos_dir: "" + movies: False + movies_dir: "" + +crypto: + encrypted_only: False \ No newline at end of file diff --git a/config/nginx_example.conf b/config/nginx_example.conf new file mode 100644 index 0000000..b01a822 --- /dev/null +++ b/config/nginx_example.conf @@ -0,0 +1,105 @@ +# Allnet +server { + listen 80; + server_name naominet.jp; + + location / { + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_pass_request_headers on; + proxy_pass http://127.0.0.1:8080/; + } +} + +# Non-SSL titles +server { + listen 80; + server_name your.hostname.here; + + location / { + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_pass_request_headers on; + proxy_pass http://127.0.0.1:8080/; + } +} + +# SSL titles, comment out if you don't plan on accepting SSL titles +server { + listen 443 ssl; + server_name your.hostname.here; + + ssl_certificate /path/to/cert/title.crt; + ssl_certificate_key /path/to/cert/title.key; + ssl_session_timeout 1d; + ssl_session_cache shared:MozSSL:10m; + ssl_session_tickets off; + + ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; + ssl_ciphers "ALL:@SECLEVEL=0"; + ssl_prefer_server_ciphers off; + + location / { + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_pass_request_headers on; + proxy_pass http://127.0.0.1:8080/; + } +} + +# Billing, comment this out if running billing standalone +server { + listen 8443 ssl; + server_name ib.naominet.jp; + + ssl_certificate /path/to/cert/server.pem; + ssl_certificate_key /path/to/cert/server.key; + ssl_session_timeout 1d; + ssl_session_cache shared:MozSSL:10m; + ssl_session_tickets off; + + ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; + ssl_ciphers "ALL:@SECLEVEL=0"; + ssl_prefer_server_ciphers off; + + location / { + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_pass_request_headers on; + proxy_pass http://127.0.0.1:8080/; + } +} + +# Frontend, set to redirect to HTTPS. Comment out if you don't intend to use the frontend +server { + listen 80; + server_name frontend.hostname.here + + location / { + return 301 https://$host$request_uri; + # If you don't want https redirection, or are using something like cloudflare to manage HTTPS, comment out the line above and uncomment the line below + # proxy_pass http://127.0.0.1:8090/; + } +} + +# Frontend HTTPS. Comment out if you on't intend to use the frontend, or have cloudflare or something managing https for you. +server { + listen 443 ssl; + server_name frontend.hostname.here; + + ssl_certificate /path/to/cert/frontend.pem; + ssl_certificate_key /path/to/cert/frontend.key; + ssl_session_timeout 1d; + ssl_session_cache shared:MozSSL:10m; # about 40000 sessions + ssl_session_tickets off; + + # intermediate configuration + ssl_protocols TLSv1.2 TLSv1.3; + ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; + ssl_prefer_server_ciphers off; + + # HSTS (ngx_http_headers_module is required) (63072000 seconds) + add_header Strict-Transport-Security "max-age=63072000" always; + + location / { + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_pass_request_headers on; + proxy_pass http://127.0.0.1:8090/; + } +} diff --git a/config/ongeki.yaml b/config/ongeki.yaml new file mode 100644 index 0000000..9af5efe --- /dev/null +++ b/config/ongeki.yaml @@ -0,0 +1,41 @@ +server: + enable: True + loglevel: "info" + use_https: False + +gachas: + enabled_gachas: + - 1011 + - 1012 + - 1043 + - 1067 + - 1068 + - 1069 + - 1070 + - 1071 + - 1072 + - 1073 + - 1074 + - 1075 + - 1076 + - 1077 + - 1081 + - 1085 + - 1089 + - 1104 + - 1111 + - 1135 + # can be used for Card Maker 1.35 and up, else will be ignored + - 1149 + - 1156 + - 1163 + - 1164 + +version: + 6: + card_maker: 1.30.01 + 7: + card_maker: 1.35.03 + +crypto: + encrypted_only: False \ No newline at end of file diff --git a/config/pokken.yaml b/config/pokken.yaml new file mode 100644 index 0000000..423d9d3 --- /dev/null +++ b/config/pokken.yaml @@ -0,0 +1,12 @@ +server: + hostname: "localhost" + enable: True + loglevel: "info" + auto_register: True + enable_matching: False + stun_server_host: "stunserver.stunprotocol.org" + stun_server_port: 3478 + +ports: + game: 9000 + admission: 9001 diff --git a/config/sao.yaml b/config/sao.yaml new file mode 100644 index 0000000..d405461 --- /dev/null +++ b/config/sao.yaml @@ -0,0 +1,20 @@ +server: + enable: True + loglevel: "info" + auto_register: True + photon_app_id: "7df3a2f6-d69d-4073-aafe-810ee61e1cea" + data_version: 1 + game_version: 33 + +crypt: + enable: False + key: "" + +hash: + verify_hash: False + hash_base: "" + +card: + enable: True + crypt_password: "" + crypt_salt: "" diff --git a/config/wacca.yaml b/config/wacca.yaml new file mode 100644 index 0000000..bd96795 --- /dev/null +++ b/config/wacca.yaml @@ -0,0 +1,36 @@ +server: + enable: True + loglevel: "info" + prefecture_name: "Hokkaido" + +mods: + always_vip: True + infinite_tickets: True + infinite_wp: True + +gates: + enabled_gates: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + - 8 + - 9 + - 10 + - 11 + - 12 + - 13 + - 14 + - 15 + - 16 + - 17 + - 18 + - 19 + - 20 + - 21 + - 22 + - 23 + - 24