마비노기 모바일을 플레이하면서 프레임 드랍이나 렉 때문에 답답했던 분들 많으셨을 겁니다. 공식적인 최적화가 부족한 지금, GPT를 활용해 내 컴퓨터에 맞는 맞춤형 최적화 설정을 적용하는 방법을 소개드립니다.
원글 출처:
https://gall.dcinside.com/mgallery/board/view/?id=mabinogimobile&no=162359
https://gall.dcinside.com/mgallery/board/view/?id=mabinogimobile&no=166671
GPT 를 통한 텍스트 정리.
🧠 왜 GPT를 사용하나요?
많이들 알고 계신 최적화 코드는 성능 개선에 도움이 되긴 하지만, 고사양 PC에서 오히려 손해를 보는 경우도 있습니다. 그 이유는 해당 코드가 **기준 사양 (RAM 16GB)**에 맞춰져 있기 때문입니다.
내 PC는 성능 좋은데 왜 더 느리지?
→ GPT에게 내 사양을 알려주고 최적화 코드를 맞춤 제작하면 그 차이를 확실히 체감할 수 있습니다.
📌 GPT 최적화 적용 방법 (기본편)
1️⃣ GPT를 켜세요
ChatGPT 또는 GPT 기반 AI에 접속합니다. (무료 플랜도 사용 가능)
2️⃣ 이렇게 질문하세요
1번째 질문: 아래처럼 컴퓨터 사양과 유니티 버전을 입력해 주세요:
gfx-enable-gfx-jobs=1gfx-enable-native-gfx-jobs=1
max-chunks-per-shader=4
wait-for-native-debugger=0
vr-enabled=0
hdr-display-enabled=0
job-worker-count=15
gc-max-time-slice=3
androidStartInFullscreen=1
androidRenderOutsideSafeArea=1
adaptive-performance-samsung-boost-launch=1
memorysetup-bucket-allocator-granularity=16
memorysetup-bucket-allocator-bucket-count=8
memorysetup-bucket-allocator-block-size=4194304
memorysetup-bucket-allocator-block-count=1
memorysetup-main-allocator-block-size=33554432
memorysetup-thread-allocator-block-size=16777216
memorysetup-gfx-main-allocator-block-size=33554432
memorysetup-gfx-thread-allocator-block-size=33554432
memorysetup-cache-allocator-block-size=4194304
memorysetup-typetree-allocator-block-size=2097152
memorysetup-profiler-bucket-allocator-granularity=16
memorysetup-profiler-bucket-allocator-bucket-count=8
memorysetup-profiler-bucket-allocator-block-size=4194304
memorysetup-profiler-bucket-allocator-block-count=1
memorysetup-profiler-allocator-block-size=33554432
memorysetup-profiler-editor-allocator-block-size=1048576
memorysetup-job-temp-allocator-block-size=67108864
memorysetup-job-temp-allocator-block-size-background=2097152
memorysetup-job-temp-allocator-reduction-small-platforms=262144
memorysetup-allocator-temp-initial-block-size-main=524288
memorysetup-allocator-temp-initial-block-size-worker=524288
memorysetup-temp-allocator-size-main=16777216
memorysetup-temp-allocator-size-preload-manager=1048576
memorysetup-temp-allocator-size-background-worker=65536
memorysetup-temp-allocator-size-job-worker=524288
memorysetup-temp-allocator-size-nav-mesh-worker=131072
memorysetup-temp-allocator-size-audio-worker=131072
memorysetup-temp-allocator-size-cloud-worker=65536
memorysetup-temp-allocator-size-gfx=524288
2번째 질문: 내 컴퓨터 사양은 다음과 같아:
예시)
CPU : AMD Ryzen 7 7800X3D (8-core, 16-thread), 4.2GHz
GPU : NVIDIA GeForce RTX 4070 Ti SUPER 16GB
RAM : 32GB
Unity 버전 : 2021.3.40f1
이 사양에 맞춰 유니티 기반 프로그램(마비노기 모바일)을 최적화할 수 있는 boot.config 코드를 생성해줘.
3️⃣ GPT가 최적화 코드를 생성해주면…
복잡하게 생겼지만, 아래 예시처럼 코드가 쭉 나옵니다:
gfx-enable-gfx-jobs=1
gfx-enable-native-gfx-jobs=1
gc-max-time-slice=1
targetFrameRate=180
...
4️⃣ 파일로 저장해달라고 요청
고마워. 이 코드를 boot.config라는 이름의 .config 확장자 파일로 저장해서 제공해줄 수 있어?
GPT가 파일을 생성해줄 겁니다. 이걸 다운로드해서 이름을 boot.config로 바꿔주세요.
5️⃣ 마비노기 모바일에 적용
MabinogiMobile_Data폴더를 찾아 들어갑니다.원래 있던
boot.config파일을 백업한 뒤,새로 받은 파일을 그 자리에 덮어씌웁니다.
📁 예시 경로: C:\Program Files\MabinogiMobile\MabinogiMobile_Data\boot.config
6️⃣ 게임 재시작
게임을 껐다가 다시 켜면 최적화 적용 완료!
이제 더 부드러운 프레임과 쾌적한 UI 반응을 느끼실 수 있습니다.
🔍 GPT 최적화 가이드 (심화편)
✅ 문제점: 프레임 드랍이 특정 상황에서만 발생한다?
제작창을 켰다 껐을 때
NPC와 대화 시 얼굴 클로즈업
알트탭 후 게임 복귀 시
이때 프레임이 떨어지고 복구되지 않는 현상은 Unity 엔진이 백그라운드 전환 시 자원을 절약하려는 동작 때문입니다.
✅ 해결법: 다음 설정을 추가/수정
1. 백그라운드 실행 유지
player-run-while-out-of-focus=1
2. 가비지 컬렉션 주기 단축
gc-max-time-slice=1
(기존 값 3 → 1로 변경, CPU 자원이 넉넉할 때 추천)
3. 메모리 할당량 두 배로 설정
memorysetup-main-allocator-block-size=67108864
memorysetup-thread-allocator-block-size=33554432
memorysetup-gfx-main-allocator-block-size=67108864
memorysetup-gfx-thread-allocator-block-size=67108864
memorysetup-profiler-allocator-block-size=67108864
4. 프레임 제한 설정
targetFrameRate=180
(직접 수치 조절 가능. ex: 144, 165, 240 등 본인이 사용하는 모니터네 맞춰서 설정)
🧾 전체 최적화 코드 예시 (32GB 고사양 기준)
gfx-enable-gfx-jobs=1
gfx-enable-native-gfx-jobs=1
max-chunks-per-shader=4
wait-for-native-debugger=0
vr-enabled=0
hdr-display-enabled=0
job-worker-count=15
gc-max-time-slice=1
androidStartInFullscreen=1
androidRenderOutsideSafeArea=1
adaptive-performance-samsung-boost-launch=1
player-run-while-out-of-focus=1
targetFrameRate=180
memorysetup-bucket-allocator-granularity=16
memorysetup-bucket-allocator-bucket-count=8
memorysetup-bucket-allocator-block-size=4194304
memorysetup-bucket-allocator-block-count=1
memorysetup-main-allocator-block-size=67108864
memorysetup-thread-allocator-block-size=33554432
memorysetup-gfx-main-allocator-block-size=67108864
memorysetup-gfx-thread-allocator-block-size=67108864
memorysetup-cache-allocator-block-size=4194304
memorysetup-typetree-allocator-block-size=2097152
memorysetup-profiler-bucket-allocator-granularity=16
memorysetup-profiler-bucket-allocator-bucket-count=8
memorysetup-profiler-bucket-allocator-block-size=4194304
memorysetup-profiler-bucket-allocator-block-count=1
memorysetup-profiler-allocator-block-size=67108864
memorysetup-profiler-editor-allocator-block-size=1048576
memorysetup-job-temp-allocator-block-size=67108864
memorysetup-job-temp-allocator-block-size-background=2097152
memorysetup-job-temp-allocator-reduction-small-platforms=262144
memorysetup-allocator-temp-initial-block-size-main=524288
memorysetup-allocator-temp-initial-block-size-worker=524288
memorysetup-temp-allocator-size-main=16777216
memorysetup-temp-allocator-size-preload-manager=1048576
memorysetup-temp-allocator-size-background-worker=65536
memorysetup-temp-allocator-size-job-worker=524288
memorysetup-temp-allocator-size-nav-mesh-worker=131072
memorysetup-temp-allocator-size-audio-worker=131072
memorysetup-temp-allocator-size-cloud-worker=65536
memorysetup-temp-allocator-size-gfx=524288
✨ 마무리 팁
boot.config 수정 전 백업은 필수!
성능 변화는 게임 옵션 + GPT 최적화 동시 조절로 극대화됩니다.
너무 과한 설정은 저사양 PC에서는 오히려 역효과일 수 있음.
필요하시다면 위 내용을 블로그용 HTML이나 마크다운 포맷으로도 정리해 드릴 수 있습니다.
혹시 최적화 코드 자동 생성기 웹 툴에 대한 아이디어도 있다면, 그쪽으로도 확장 가능하니 말씀 주세요!