1
0
mirror of https://dev.s-ul.net/Galexion/MaiMaiDXNet.git synced 2024-11-28 00:30:49 +01:00
MaiMaiDXNet/readme.md

141 lines
3.9 KiB
Markdown
Raw Normal View History

2023-02-17 00:50:32 +01:00
# Open Source MaiMaiDX.Net Interface
This is a Open Source MaiMaiDX.Net Interface.
### This Interface Requires a Server Database.
Artemis & Aqua are Supported, see the `How To Use` Section for more details.
### Features
Functional MaiMaiDX Profile Playlog, Memorial Photo (Aqua Only), and Area Tracker.
Coming Soon: Addable & Viewable Friends Profiles, Song Records, viewable Collections, Server Ranking?
2023-02-17 00:50:32 +01:00
# How to use:
2023-02-17 07:23:14 +01:00
## All Servers
You'll need to extract the assets from the game itself.
in the public folder, the assets should look like this
```
2023-02-17 07:23:14 +01:00
-- Public
| - Assets
2023-02-25 14:30:21 +01:00
\_ | - icon
| - jacket
| - metadata
```
2023-02-17 07:23:14 +01:00
Then, create the `/public/image/` folder. this will be where the images will be stored.
2023-05-24 05:00:12 +02:00
You'll also need the Game metadata, extracted using [SegaParser](https://dev.s-ul.net/Galexion/segaparser),
2023-02-25 14:30:21 +01:00
to get the game metadata. this is ***Nessasary*** for the interface to function.
2023-05-24 05:00:12 +02:00
2023-02-25 14:30:21 +01:00
2023-02-17 00:50:32 +01:00
## Aqua
Create a `config.json` file and paste this in, with paths to your instance.
```json
{
"serverType": 0,
"aquaSrvDir": "A:\\path\\to\\aqua\\data",
"ArtConnSettings": {
"host":"192.168.smt.hng",
"user":"MaiDXNet",
2023-07-17 04:54:56 +02:00
"password":"aSecurePassword"
},
"imageFolder": "N:\\MaiMaiDXNet\\public\\images",
"hostPort": "8000"
2023-02-17 00:50:32 +01:00
}
```
`serverType` selects between Aqua (0), and Artemis (1).
Note: you want to enter into the `data` folder in `aquaSrvDir`.
Note: `imageFolder` leads to the `/public/images` folder of the directory.
## Artemis
Create a `config.json` file and paste this in, with paths to your instance.
```json
{
"serverType": 1,
"ArtImageImport": true,
"ArtImageDirectory":"S:\\Artemis\\Server\\Image\\Directory",
"ArtConnSettings": {
"connectionLimit": "2",
"host":"192.168.smt.hng",
"user":"MaiDXNet",
"pass":"aSecurePassword"
},
"imageFolder": "N:\\MaiMaiDXNet\\public\\images",
"hostPort": "8000"
}
```
`serverType` selects between Aqua (0), and Artemis (1).
Edit `ArtConnSettings` to be configured for your server.
Modify and use this command string in your terminal to create and set up permissions for The MaiDXNet account.
```sql
CREATE USER 'MaiDXNet'@'%' IDENTIFIED BY 'aSecurePassword';
GRANT Alter,Create,Delete,Drop,Index,Insert,References,Select,Update ON aime.* TO 'MaiDXNet'@'%';
```
Note: you'll need to configure `mai2.yaml` to enable Photo Sending to Artemis. Ensure that you have a image directory ready.
```yaml
photos: True
photos_dir: "S:\\Artemis\\Server\\Image\\Directory"
movies: false
movies_dir: "S:\\Artemis\\Server\\Movie\\Directory"
```
If you can't update Artemis to a version that supports Photo Exporting, or simply don't want to use Memorial Photo's, please set `"ArtImageImport": false`.
2023-02-17 00:57:48 +01:00
# Project Progress
2023-05-07 07:20:04 +02:00
Goal for Milestone 1:
- Get all tabs showing with ***Some*** Functionality (2/6)
- PlayLog (Done)
- Photos
- Area (Done)
- Collection
- Ranking
- Options
2023-02-17 00:57:48 +01:00
ToDo:
2023-02-17 12:47:28 +01:00
- Create Play Data Tab
2023-02-18 11:19:30 +01:00
- Get User Playlog Data (Done)
- Sort From Most Recent (Done)
- Assign Song Names to Each Score (done)
2023-02-25 14:30:21 +01:00
- Re-Create the MaiMaiDXNet Playlog list (90% Done, can't continue without image assets that are only on the offical Server)
2023-02-18 11:19:30 +01:00
- Create Detailed Look Into Score
2023-02-17 12:47:28 +01:00
- Create Photos Tab
2023-05-07 07:20:04 +02:00
- Create a rudementrary Photos tab until i can finallly get my hands on images of the Photos tab in MaiMai DX Net
2023-02-17 12:47:28 +01:00
- Create Area Tab
2023-02-25 14:30:21 +01:00
- Get User Area Data (Done)
- Get Metadata for Area (Done)
- Show if Area is complete (Done)
- Show Kilometers left until Next Reward (Done+, you can also see if you have a Task Track you need to complete)
- create what ever is in the details tab
2023-02-17 12:47:28 +01:00
- Create Collection Tab
- Create Ranking Tab
- Create Options Tab
- add a background i guess
2023-02-17 00:57:48 +01:00
Complete:
2023-02-17 07:23:14 +01:00
- Sign In Page
2023-02-18 11:19:30 +01:00
- Make User Profile on User Page (done)
2023-05-07 07:20:04 +02:00
- Fuck you css go kill yourself
- Ban button
- lmao
2023-05-24 05:00:12 +02:00
- ok actually this is pretty cool