Project: ROLEPLAY ALONE
GTA V mod featuring G_INVENTORY as the primary framework.
โครงการนี้ชื่อ " ROLEPLAY ALONE "
mod ของเกม GTA V โดยมี mod หลัก คือ G_INVENTERY ทำหน้าที่เป็นกระเป๋าเก็บ ITEMS

V.0.02
Version Compatibility
To ensure optimal performance and stability, please ensure that you are using the same version of all modules as the ROLEPLAY ALONE project.
ควรใช้ mod ของโครงกรา ROLEPLAY ALONE เวอร์ชันเดียวกัน

Requirements
Script Hook V
ScriptHookVDotNet
LUA Plugin for Script Hook V
LemonUI SHVDN3
OpenIV

Installation
1.
Installation Instructions for Modding Tools
To prepare your game for modding, please install the following components in the order listed:

Script Hook V: Download the latest version from the official site. Extract the archive and copy ScriptHookV.dll and dinput8.dll into your main Grand Theft Auto V game folder.

ScriptHookVDotNet: Download the latest release. Extract all .asi, .dll, and .ini files (excluding the source code folder) into your main Grand Theft Auto V game folder.

LUA Plugin for Script Hook V: Extract the contents of the archive and place the scripts folder and ScriptHookVDotNet.asi (if applicable) into your main game directory. Ensure the LUA.asi is placed in the root folder as well.

LemonUI (for SHVDN3): Extract the LemonUI.SHVDN3.dll file and place it into your /Grand Theft Auto V/scripts/ folder.

OpenIV: Run the OpenIV installer and follow the on-screen instructions. Once installed, launch the program, select Grand Theft Auto V (Windows), and point it to your game installation directory.

Note: Ensure you install the ASI Manager plugins (ASI Loader and OpenIV.ASI) within OpenIV to enable modding support.

2. Transfer all contents of the scripts folder into the scripts folder located in the game's root directory.
3. Using OpenIV, import the my_inventory_images.ytd file into the following directory: mods/update/update.rpf/x64/data/cdimages/scaleform_generic.rpf.

Upon the first launch of the mod, it will automatically generate a save file named player_inventory.json. You can manually edit this file to add items. After saving your changes, please restart Script Hook V or reload your game save for the modifications to take effect."

Key Controls
open inventory : I

Configuration (G_inventory.ini)
You can customize the following settings in G_inventory.ini:
- Max Weight Capacity: Set the maximum weight limit for the inventory.
- Toggle Key: Configure the keybind to open/close the inventory.
- Drop Item Key: Define the keybind used to drop items.

ขั้นตอนการติดตั้ง
1. ติดตั้ง Script Hook V
2. ติดตั้ง ScriptHookVDotNet
3. ติดตั้ง LUA Plugin for Script Hook V
4. ติดตั้ง LemonUI SHVDN3
5. โปรแกรม OpenIV ให้เรียบร้อย
6. นำ file ทั้งหมดใน scripts folder ไปวางในโฟลเดอร์ scripts folder game directory
3.นำ file my_inventory_images.ytd ไปวางใน mods/update/update.rpf/x64/data/cdimages/scaleform_generic.rpf ผ่านโปรแกรม OpenIV

เข้าเกมเปิดใช้ mod นี้ครั้งแรก ตัว mod จะทำการสร้าง file save ชื่อ player_inventory.json (สามารถกรอกเพิ่มจำนวน item แล้วกด save เข้าเกมแล้วกด restart script hook หรือ load save เกมใหม่)

G_inventory.ini สามารถตั้งค่า
- ความสามารถแบกน้ำหนักสูงสุดของกระเป๋า
- ปุ่มเปิดปิดกระเป๋า
-ปุ่มทิ้งของ