Skip to content

endoretic/ursekai-xray

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pjsk-mysekai-xray

A goldminer, visualizer, a cheater (or anything you'd like to call) for ur sekai.

Prerequisites

I do not provide, nor do I have the methods and capabilities for packet capture and reverse analysis.

Please refer to https://github.com/mos9527/sssekai or https://github.com/Huac233/pjsk-mysekai-xray/tree/never_gonna_give_you_up for more details.

应群友要求,现在强兼了@Huac233的格式。what can i say

How to Start

https://endoretic.github.io/ursekai-xray/. (Or run start_webui.bat to start a local server)

Supported Scenes

Scene ID Japanese Name English Name
5 さいしょの原っぱ Grassland
6 願いの砂浜 Beach
7 彩りの花畑 Flower Garden
8 忘れ去られた場所 Memorial Place

Project Structure

ursekai-xray/
├── paint_local.html              # Main viewer (browser-based)
├── index.html                    # Web UI entry point
├── start_webui.bat               # Windows local server launcher
├── webui.py                      # Python local server
├── icon/
│   ├── Texture2D/                # Item texture PNG files
│   ├── clean_up.py               # Asset verification utility
│   └── missing.png               # Missing texture placeholder
├── img/                          # Scene background images
├── css/                          # Stylesheet files
├── js/                           # JavaScript modules
├── README.md                     # This file
└── LICENSE                       # MIT License

How It Works

Data Processing Pipeline

User uploads JSON file
        ↓
paint_local.html (parses data in browser)
  ├─ Parse map data with parseMapData()
  │   └─ Extract spawned fixtures & their rewards
  └─ Render visual overlay on canvas
        ↓
Canvas Rendering
  ├─ Coordinate transformation (3D → 2D)
  ├─ Color coding (by material type)
  └─ Texture overlay (item icons)
        ↓
Display in browser

Core Functions

  • parseMapData(gameData) - Parse raw game API response
  • handleFileUpload(file) - Handle uploaded JSON file
  • parseAndMarkPoints() - Mark all fixtures on current scene
  • markPoint(point) - Draw individual fixture on canvas
  • displayReward(reward, x, y) - Show item rewards at fixture location

Data File Format

Your JSON file should have the following structure:

{
  "updatedResources": {
    "userMysekaiHarvestMaps": [
      {
        "mysekaiSiteId": 5,
        "userMysekaiSiteHarvestFixtures": [...],
        "userMysekaiSiteHarvestResourceDrops": [...]
      }
    ]
  }
}

Item Types and Colors

The tool uses color coding to distinguish between different material types:

Type Fixture ID Range Color Examples
Wood 1000-1999 #da6d42 (Brown) Charcoal, branches
Mineral 2000-2999 #878685 (Gray) Iron ore, copper ore
Plant 4000-4999 #f8729a (Pink) Flowers, cotton
Special 5000-5999 #f6f5f2 (White) Music records
Model 6000-6999 #6f4e37 (Brown) Saplings, etc

Manual Asset Updates

If the project's icon directory doesn't contain the latest game resources:

  1. Check the browser console log (F12) to find missing item IDs
  2. Download the texture from sekai.best item preview
  3. Add the downloaded PNG to icon/Texture2D/ directory
  4. Register the item ID in paint_local.html under the ITEM_TEXTURES JSON mapping

License

MIT License - See LICENSE file for details

Credits & Attribution

  • Original Work: MiddleRed/pjsk-mysekai-xray (MIT), by @MiddleRed.
  • Modifications by @endoretic (2025): removed the “unsettling” parts, now it only shows a few useless images.
  • Tools: I don't, and can't code. Claude Code & ChatGPT did everything.

Note: This project is for testing and educational purposes. All resources belongs to Project SEKAI.

About

Why bother this?

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 79.9%
  • CSS 12.7%
  • HTML 4.2%
  • Python 3.1%
  • Batchfile 0.1%