9 changed files with 168 additions and 6 deletions
@ -0,0 +1,48 @@
|
||||
# RG99 has the same layout as RG300 but only 32 MiB RAM |
||||
set(BUILD_ASSETS_MPQ OFF) |
||||
set(NONET ON) |
||||
set(NOSOUND ON) |
||||
set(USE_SDL1 ON) |
||||
|
||||
# Link `libstdc++` dynamically: ~1.3 MiB. |
||||
# The OPK is mounted as squashfs and the binary is decompressed, while |
||||
# the system `libstdc++` resides on disk. |
||||
set(DEVILUTIONX_STATIC_CXX_STDLIB OFF) |
||||
|
||||
# 128 KiB |
||||
set(DEVILUTIONX_PALETTE_TRANSPARENCY_BLACK_16_LUT OFF) |
||||
|
||||
# Must use a tiny audio buffer due to RAM constraints. |
||||
set(DEFAULT_AUDIO_BUFFER_SIZE 256) |
||||
|
||||
# Use lower resampling quality for FPS. |
||||
set(DEFAULT_AUDIO_RESAMPLING_QUALITY 2) |
||||
|
||||
# RG-99 hardware scaler can only scale YUV. |
||||
# The SDL library on RG-99 can convert 8-bit palettized surfaces to YUV automatically. |
||||
set(SDL1_VIDEO_MODE_BPP 8) |
||||
set(SDL1_FORCE_SVID_VIDEO_MODE ON) |
||||
set(SDL1_FORCE_DIRECT_RENDER ON) |
||||
|
||||
# Must be an HWSURFACE for the scaler to work. |
||||
set(SDL1_VIDEO_MODE_FLAGS SDL_HWSURFACE|SDL_FULLSCREEN) |
||||
|
||||
# Videos are 320x240, so they fit in video ram double-buffered. |
||||
set(SDL1_VIDEO_MODE_SVID_FLAGS SDL_HWSURFACE|SDL_FULLSCREEN|SDL_DOUBLEBUF) |
||||
|
||||
set(PREFILL_PLAYER_NAME ON) |
||||
set(HAS_KBCTRL 1) |
||||
set(KBCTRL_BUTTON_DPAD_LEFT SDLK_LEFT) |
||||
set(KBCTRL_BUTTON_DPAD_RIGHT SDLK_RIGHT) |
||||
set(KBCTRL_BUTTON_DPAD_UP SDLK_UP) |
||||
set(KBCTRL_BUTTON_DPAD_DOWN SDLK_DOWN) |
||||
set(KBCTRL_BUTTON_B SDLK_LCTRL) |
||||
set(KBCTRL_BUTTON_A SDLK_LALT) |
||||
set(KBCTRL_BUTTON_Y SDLK_SPACE) |
||||
set(KBCTRL_BUTTON_X SDLK_LSHIFT) |
||||
set(KBCTRL_BUTTON_RIGHTSHOULDER SDLK_BACKSPACE) |
||||
set(KBCTRL_BUTTON_LEFTSHOULDER SDLK_TAB) |
||||
set(KBCTRL_BUTTON_START SDLK_RETURN) |
||||
set(KBCTRL_BUTTON_LEFTSTICK SDLK_END) # Suspend |
||||
set(KBCTRL_BUTTON_BACK SDLK_ESCAPE) # Select |
||||
set(KBCTRL_IGNORE_1 SDLK_3) # Backlight |
||||
@ -0,0 +1,35 @@
|
||||
Copy diabdat.mpq from your CD (or GoG install folder) to: |
||||
~/.local/share/diasurgical/devilution/ |
||||
|
||||
For Hellfire, also copy hellfire.mpq, hfmonk.mpq, hfmusic.mpq, and hfvoice.mpq. |
||||
|
||||
For Chinese, Japanese, and Korean text support copy: |
||||
https://github.com/diasurgical/devilutionx-assets/releases/download/v1/fonts.mpq |
||||
|
||||
For the Polish voice pack copy: |
||||
https://github.com/diasurgical/devilutionx-assets/releases/download/v1/pl.mpq |
||||
|
||||
Game saves and diablo.ini are located at: |
||||
~/.local/share/diasurgical/devilution |
||||
|
||||
~ is your home directory, /media/data/home by default. |
||||
|
||||
Controls: |
||||
- D-pad: move hero |
||||
- A: attack nearby enemies, talk to townspeople and merchants, pickup/place items in the inventory, OK while in main menu |
||||
- B: select spell, back while in menus |
||||
- X: pickup items, open nearby chests and doors, use item in the inventory |
||||
- Y: cast spell, delete character while in main menu |
||||
- R: use mana potion from belt |
||||
- L: use health item from belt |
||||
- Start + Select: game menu (alt: Start + ↑) |
||||
- Start + L or ←: character info |
||||
- Start + R or →: inventory |
||||
- Start + ↓: map |
||||
- Start + Y: Quest log |
||||
- Start + B: Spell book |
||||
- Select + A/B/X/Y: hot spell |
||||
- Select + D-pad: move map/cursor |
||||
- Select + L: left mouse click |
||||
- Select + R: right mouse click |
||||
- Suspend: map |
||||
@ -0,0 +1,11 @@
|
||||
[Desktop Entry] |
||||
Name=DevilutionX |
||||
Comment=Diablo 1 for RG99 |
||||
Exec=devilutionx |
||||
Terminal=false |
||||
Type=Application |
||||
StartupNotify=true |
||||
Icon=icon_32 |
||||
Categories=games; |
||||
X-OD-Manual=readme.rg99.txt |
||||
X-OD-NeedsDownscaling=true |
||||
@ -0,0 +1,48 @@
|
||||
# DevilutionX (Diablo 1) for RG99 |
||||
|
||||
## Installation |
||||
|
||||
**Requires a recent OpenDingux beta** |
||||
|
||||
1. Copy [devilutionx-rg99.opk](https://github.com/diasurgical/devilutionX/releases/latest/download/devilutionx-rg99.opk) to the apps directory. |
||||
2. Copy `diabdat.mpq` from your CD, or GoG install folder to: |
||||
|
||||
~~~ |
||||
/media/home/.local/share/diasurgical/devilution/diabdat.mpq |
||||
~~~ |
||||
|
||||
## Controls |
||||
|
||||
- D-pad: move hero |
||||
- A: attack nearby enemies, talk to townspeople and merchants, pickup/place items in the inventory, OK while in main menu |
||||
- B: select spell, back while in menus |
||||
- X: pickup items, open nearby chests and doors, use item in the inventory |
||||
- Y: cast spell, delete character while in main menu |
||||
- R: use mana potion from belt |
||||
- L: use health item from belt |
||||
- Start + Select: game menu (alt: Start + ↑) |
||||
- Start + L or ←: character info |
||||
- Start + R or →: inventory |
||||
- Start + ↓: map |
||||
- Start + Y: Quest log |
||||
- Start + B: Spell book |
||||
- Select + A/B/X/Y: hot spell |
||||
- Select + D-pad: move map/cursor |
||||
- Select + L: left mouse click |
||||
- Select + R: right mouse click |
||||
- Suspend: map |
||||
|
||||
--- |
||||
|
||||
Game saves and `diablo.ini` are located at: |
||||
|
||||
~~~ |
||||
/media/home/.local/share/diasurgical/devilution/ |
||||
~~~ |
||||
|
||||
Saves are compatible with PC saves from Diablo 1 and DevilutionX. |
||||
|
||||
## Resources |
||||
|
||||
* Discord: https://discord.gg/aQBQdDe |
||||
* GitHub: https://github.com/diasurgical/devilutionX |
||||
Loading…
Reference in new issue