refactor: clean up code and update README
- Removed unused imports (numpy, QFrame, QCheckBox, QSplitter, QSize, QFont) - Removed unused Tuple type hint - Removed WEBSITE constant - Cleaned up module docstring - Updated README: - Removed gamepad emoji, using app icon image instead - Removed EntropiaNexus.com references - Added GitHub repo link
This commit is contained in:
parent
e87d4aa581
commit
00444e1276
24
README.md
24
README.md
|
|
@ -1,16 +1,16 @@
|
|||
# 🎮 Entropia Universe Icon Extractor
|
||||
# Entropia Universe Icon Extractor
|
||||
|
||||
A standalone tool for extracting item icons from Entropia Universe game cache.
|
||||
|
||||

|
||||
<img src="icon.ico" width="64" height="64" alt="EU Icon Extractor">
|
||||
|
||||
## 📝 Description
|
||||
## Description
|
||||
|
||||
Extract item icons from Entropia Universe cache and convert them to PNG format. These icons can be submitted to [EntropiaNexus.com](https://EntropiaNexus.com) to help complete the item database.
|
||||
Extract item icons from Entropia Universe cache and convert them to PNG format.
|
||||
|
||||
**⚠️ Important:** Items must be seen/rendered in-game before they appear in the cache! If an icon is missing, view the item in your inventory or the auction first.
|
||||
**Important:** Items must be seen/rendered in-game before they appear in the cache! If an icon is missing, view the item in your inventory or the auction first.
|
||||
|
||||
## 🚀 Usage
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
python icon_extractor.py
|
||||
|
|
@ -21,7 +21,7 @@ python icon_extractor.py
|
|||
- PyQt6: `pip install PyQt6`
|
||||
- Pillow: `pip install Pillow`
|
||||
|
||||
## 🎨 Features
|
||||
## Features
|
||||
|
||||
- **Auto-detects** game cache from `C:\ProgramData\Entropia Universe\public_users_data\cache\icon`
|
||||
- **Version selector** - Choose which game version to extract from
|
||||
|
|
@ -31,7 +31,7 @@ python icon_extractor.py
|
|||
- **Light/Dark theme** - Toggle between themes
|
||||
- **Custom output folder** - Choose where to save extracted icons
|
||||
|
||||
## 📂 Output
|
||||
## Output
|
||||
|
||||
Icons are saved to your Documents folder:
|
||||
```
|
||||
|
|
@ -40,16 +40,16 @@ Documents\Entropia Universe\Icons\
|
|||
|
||||
(Same location where `chat.log` is normally stored)
|
||||
|
||||
## 🌐 Links
|
||||
## Links
|
||||
|
||||
- **Developer:** ImpulsiveFPS
|
||||
- **Discord:** impulsivefps
|
||||
- **Website:** [EntropiaNexus.com](https://EntropiaNexus.com)
|
||||
- **GitHub:** https://github.com/ImpulsiveFPS/EU-Icon-Extractor
|
||||
|
||||
## ⚖️ Disclaimer
|
||||
## Disclaimer
|
||||
|
||||
Entropia Universe Icon Extractor is a fan-made resource and is not affiliated with [MindArk PE AB](https://www.mindark.com/). [Entropia Universe](https://www.entropiauniverse.com/) is a trademark of MindArk PE AB.
|
||||
|
||||
## 📄 License
|
||||
## License
|
||||
|
||||
MIT License - Feel free to use and modify!
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -2,59 +2,39 @@
|
|||
Entropia Universe Icon Extractor
|
||||
A standalone tool for extracting game icons from cache.
|
||||
|
||||
Description: Extracts item icons from Entropia Universe game cache and converts
|
||||
them to PNG format for use with EntropiaNexus.com wiki submissions.
|
||||
|
||||
Important: Items must be seen/rendered in-game before they appear in the cache.
|
||||
|
||||
Usage:
|
||||
python standalone_icon_extractor.py
|
||||
|
||||
Output Location:
|
||||
Icons are saved to your Documents/Entropia Universe/Icons/ folder
|
||||
(same location where chat.log is normally stored)
|
||||
python icon_extractor.py
|
||||
|
||||
Developer: ImpulsiveFPS
|
||||
Discord: impulsivefps
|
||||
Website: https://EntropiaNexus.com
|
||||
|
||||
Disclaimer:
|
||||
Entropia Universe Icon Extractor is a fan-made resource and is not
|
||||
affiliated with MindArk PE AB. Entropia Universe is a trademark of
|
||||
MindArk PE AB.
|
||||
GitHub: https://github.com/ImpulsiveFPS/EU-Icon-Extractor
|
||||
"""
|
||||
|
||||
import sys
|
||||
import logging
|
||||
from pathlib import Path
|
||||
from typing import Optional, List, Tuple
|
||||
from typing import Optional, List
|
||||
import ctypes
|
||||
|
||||
try:
|
||||
from PyQt6.QtWidgets import (
|
||||
QApplication, QMainWindow, QWidget, QVBoxLayout, QHBoxLayout,
|
||||
QLabel, QPushButton, QComboBox, QListWidget, QListWidgetItem,
|
||||
QFileDialog, QProgressBar, QGroupBox, QMessageBox, QCheckBox,
|
||||
QSplitter, QTextEdit, QDialog, QScrollArea, QFrame
|
||||
QFileDialog, QProgressBar, QGroupBox, QMessageBox,
|
||||
QTextEdit, QDialog, QScrollArea
|
||||
)
|
||||
from PyQt6.QtCore import Qt, QThread, pyqtSignal, QSettings, QSize
|
||||
from PyQt6.QtGui import QIcon, QPixmap, QFont, QImage
|
||||
PYQT_AVAILABLE = True
|
||||
from PyQt6.QtCore import Qt, QThread, pyqtSignal, QSettings
|
||||
from PyQt6.QtGui import QIcon, QPixmap, QImage
|
||||
except ImportError:
|
||||
PYQT_AVAILABLE = False
|
||||
print("PyQt6 not available. Install with: pip install PyQt6")
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
from PIL import Image, ImageFilter
|
||||
PIL_AVAILABLE = True
|
||||
from PIL import Image
|
||||
except ImportError:
|
||||
PIL_AVAILABLE = False
|
||||
print("Pillow not available. Install with: pip install Pillow")
|
||||
sys.exit(1)
|
||||
|
||||
import numpy as np
|
||||
|
||||
# Setup logging
|
||||
logging.basicConfig(
|
||||
level=logging.INFO,
|
||||
|
|
@ -68,7 +48,6 @@ APP_NAME = "Entropia Universe Icon Extractor"
|
|||
APP_VERSION = "1.0.0"
|
||||
DEVELOPER = "ImpulsiveFPS"
|
||||
DISCORD = "impulsivefps"
|
||||
WEBSITE = "https://EntropiaNexus.com"
|
||||
|
||||
|
||||
class TGAHeader:
|
||||
|
|
|
|||
Loading…
Reference in New Issue