Skip to content

Link4Electronics/archpower-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

324 Commits
 
 
 
 
 
 
 
 

Repository files navigation

archpower-packages

Packages for ArchPOWER

  • PowerPC 64-bit big-endian platform
  • PowerPC 64-bit little-endian platform (didn't test most of them since don't have a PPC64LE system)
  • PowerPC 32-bit platform
  • PowerPC 32-bit with AltiVec (G4 only, a repo named altivec for packages compiled with -mcpu=7400 -mabi=altivec)

Compiled some packages against [testing]

Usage

Adding to pacman.conf (will arrange signature later)

[extrappc-any]
SigLevel = Never
Server = https://raw.githubusercontent.com/Link4Electronics/archpower-packages/main/extrappc/any

[extrappc]
SigLevel = Never
Server = https://raw.githubusercontent.com/Link4Electronics/archpower-packages/main/extrappc/$arch

sudo pacman -Syu

How to manually install:

sudo pacman -U <package-name>.zst

lua-filesystem requires to use luarocks to install

sudo luarocks install <package-name>.rock

Mirror containing large compiled packages due 100MB microsoft github size limit for free accounts

Caveats

I make no commitment to update these in the future

  • doom64ex-plus - requires DOOM64.WAD doom64ex-plus.wad DOOMSND.DLS and Doom64.kpf copied to ~/.local/share/doom64ex-plus
  • ecwolf - need all *.WL6 assets and ecwolf.pk3 on same folder ~/.config/ecwolf, open a terminal in this folder and type ecwolf
  • eduke32, nblood, pcexhumed, rednukem requires gtk2 to have a launcher
  • fceux - Use SDL as video driver instead of OpenGL
  • ioquake3 - Need to copy q3config.cfg from game disk to ~/.local/share/Quake3/baseq3
  • jazz2-native - Jazz Jackrabbit 2 requires OpenGL 3.3, needs to run via software rendering MESA_LOADER_DRIVER_OVERRIDE=llvmpipe jazz2
  • nxengine-evo - no sfx, only music, CSE2EX works fine
  • snes9x-gtk - On PPC32, you may need to change HardwareAcceleration line in ~/.config/snes9x/snes9x.conf to xv or something else, otherwise it doesn't start
  • 2s2h - Zelda Majora's Mask, generate mm.o2r asset from a x86_64 PC using 2s2h 1.0.1, move mm.o2rto ~/.local/share/2ship/
  • soh - Zelda Ocarina of Time, generate oot.o2r oot-mq.o2r assets from a x86_64 PC using SoH 9.1.1, move them to ~/.local/share/soh/ (only had lucky with european gamecube)
  • spaghettikart - Mario Kart 64, generate mk64.o2r asset from a x86_64 PC using SK 0.9.9.1, move to ~/.local/share/spaghettify/
  • starship-sf64 - Star Fox 64, generate sf64.o2r asset from a x86_64 PC using Starship 2.0.0, move to ~/.local/share/ship/
  • vice - There's no icon, start from console with x64
  • wargus and war1gus - Warcraft I & II, generate assets on x86_64 PC using Stratagus 3.3.2 with respective game and place them at ~/.local/share/stratagus/data.War1gus or ~/.local/share/stratagus/data.Wargus
  • xash3d-fwgs - Half-Life port, need to compile Half-Life SDK from IntriguingTiles and place them at ~/.xash3d/valve/dlls/hl_ppcXX.so and ~/.xash3d/valve/cl_dlls/client_ppcXX.so. Game assets inside ~/.xash3d/valve
  • yamagi-quake2 - Quake 2, edit ~/.yq2/baseq2/config.cfg change vid_renderer to gl1 and change sound backend to SDL from main menu

Issues

  • dethrace - Carmageddon has issues in PPC64, works fine in PPC32
  • eduke32, rednukem - Duke Nukem 3D has no MIDI music, rednukem Duke Nukem 64 sound is messed up, Ion Fury crashes when going to menu issue
  • mesa - Mesa drivers has swapped colors for some pixelformats like RGBA5551 RGBA4444 etc and issues with float FP16 as concluded here, radeon r600g has no H.264 acceleration issue and maybe part of the issue relies on LLVM
  • planetblupi When try to run says can't find cdrom, probably byteswap issues with game data, Construction mode works issue
  • SDLPop - Prince of Persia flashes blue instead of bright yellow when grab the sword or dies. When get hit flashes blue too instead of red issue
  • sm64ex and forks - DynOS doesn't work and can't provide package since requires ROM during building
  • soh - Zelda Ocarina of Time has only music, sound effects are muted issue
  • 2s2h - Zelda Majora's Mask has no sound issue
  • spaghettikart - Mario Kart 64 has no sound
  • starship-sf64 - Starfox 64 has no sound

PowerPC32

  • kernel there's issue with io_uring that makes cmake unstable
  • ecwolf etlegacy dhewm3 clownmdemu supertux had issues in PPC32, ecwolf hangs when going to menu and render issues, dhewm3 wrong colors, clownmdemu hangs, supertux render issues

Couldn't pack or had issues packaging

dethrace dRally bermuda raptor stuntcarremake supermariowar They're at archive.org repo

Minecraft

Minecraft works up to 1.12.2, which is last version that supports LWJGL2 and Java 8

Version 1.8.1 is last version that renders main menu properly, 1.8.2 and up has graphical issues in main menu but in-game is fine, better than nothing

Steps

Only tested on PPC64 and will assume this arch for guide, don't know about PPC32 but probably works

For this guide will use ~/Downloads as folder for console commands, you can change it to your liking

  • Install jre8-openjdk, one of these launchers multimc or primslauncher and their dependecies
  • Download Minecraft XX-bit libs.7z according to your platform and extract it to ~/Downloads
  • sudo cp ~/Downloads/liblwjgl.so /usr/lib/jvm/java-8-openjdk/jre/lib/ppc64 (adapt for ppc32 here)
  • Open MultiMC or Prism Launcher, Add Instance, chose version 1.12.2 or below, Edit Instance, LWJGL 2 Change version to 2.9.1 (last version that works)
  • Go to Settings, Custom commands, check Custom Commands and paste in Wrapper command: sh -c "cp ~/Downloads/codecjorbis-1.0-SNAPSHOT.jar ../../../libraries/com/paulscode/codecjorbis/*/*.jar; exec $INST_JAVA \"$@\"" This library is used to fix audio in big-endian machines
  • Suggest to install a loader, go to Version, Install Loader, choose Forge and install Relictium to help a little bit with performance, but it swaps some colors ingame
  • Enjoy the game!

ANY repo

An example to add to pacman.conf, since it's any, it's easier to just download from an official Arch repo so don't have to compile it.

[core]
SigLeve = Never
Server = https://archlinux.c3sl.ufpr.br/core/os/x86_64

[extra]
SigLeve = Never
Server = https://archlinux.c3sl.ufpr.br/extra/os/x86_64

List of any packages used so far: blueprint-compiler extra-cmake-modules fpc-src (for lazarus) freepats-general-midi fs-uae-launcher kicad-library luarocks openttd-opengfx openttd-opensfx python-kikit python-pcbnewtransition python-tmdbsimple soundfont-fluid unicode-character-database

Mate: icon-naming-utils mate-backgrounds mate-common mate-icon-theme mate-icon-theme-faenza mate-themes mate-user-guide mathjax2 mozo

Credits (in alphabetical order)

  • BeWorld2018 - For fixing endianness on fallout1-ce, OpenLara etc
  • BSzili - For fixing lots of opensource games endianness like dethrace, dRally, ArxLibertatis etc
  • Clownacy - For the only Sega Mega Drive/Genesis emulator that works on Linux PPC
  • DanielGibson - For fixing dhewm3 for PPC64
  • deathkiller - For bringing big-endian support for jazz2
  • GaryOderNichts - For 2ship2harkinian WiiU port which works on Linux PPC big-endian
  • IntriguingTiles - For xash3d-fwgs endianness fixes
  • kth5 - For creating, supporting and maintaining ArchPOWER distro and its community
  • Matias3149 - For Minecraft guide and libraries
  • ReDave - For PPC64 Minecraft libraries
  • techflashYT - For package repository and Xbox 360 kernel contributions
  • UnknownShadow200 - For fixing ClassiCube for PPC64
  • vasi - For PowerPC linux kernel contributions, guide and packages repository

ArchPOWER discord community.

Fair Use Disclaimer

The content provided on this repository is for informational and educational purposes only. It is not intended to infringe upon any copyrighted material.

If you believe that any content on this repository violates your copyright or intellectual property rights, please contact us immediately to seek resolution.

I am not liable for any loss or damage, including but not limited to indirect or consequential loss or damage, arising from the use of or reliance on any content found on this repository.

About

Packages for ArchPOWER

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published