The eduke32.log/fury.log files are saved to . so by default they would be generated in $HOME.
Now they will be generated in the configuration folder for the port.
Fixes#3473
Use mktemp for temporary files (game_data actually had a typo on $__tmpdir, so it used the current folder).
Make sure destination exists, so the function works outside of a full install, and de-duplicate paths
eduke32:
* Updated to r8090 with patches for:
- startup delay on ARM devices (r6918)
- fix skybox render error with r_useindexedcolortextures disabled and don't
explicitly force-enable this setting for the commercial release (r7424)
- glTexImage2D/glTexSubImage2D uses internal format incompatible with VC4/VC6 (r6776)
- disabled netcode due to r7242 introducing a major bump in memory
requirements for the executable to even dynamically link on RPI3; will
investigate later, or worst case scenario perhaps we can provide an alternate
port launcher with revision r7241 or earlier for netplay only. (r7242)
* enforce vsync for KMS targets
* Set r_useindexedcolortextures for Mesa devices to avoid palette corruption
on startup splash.
* Disable GTK support for non-X11 targets
* Ensure GL support is really enabled for non-X11 GL targets
* Enable GL support for Mesa targets (tested on RPI3 & 4)
* Add full support for official Megaton addons:
- to install base game, place duke3d.grp and DUKE.RTS in roms/ports/eduke32.
- to install addons, simply place the "addon" folder from the Megaton edition
to roms/ports/eduke32 and reinstall the module to generate the launcher items.
- note: case sensitivity didn't appear to matter when copying the files directly
from my Steam installation.
ionfury:
* written as a skeleton script that defers to eduke32 functions when possible.
* all generic improvements to eduke32 also apply
* note: performance is not yet satisfactory on RPI3 or RPI4; it's possible to
launch and play, albeit running at ~10-15fps. This doesn't appear to be an issue
with Pi drivers per se, as people with older spec PCs complain about performance on
the eduke32 forums. Optimization may hopefully improve in future builds.
* Installation:
- Copy fury.def, fury.grp and fury.grpinfo to roms/ports/ionfury
* allow modules to still use libpng12-dev but show a message for them to be updated
* change libpng-dev dependency to libpng12-dev for Jessie and older
* rp_module_menus is no more - instead use rp_module_section with one of
- core (core packages)
- main (main packages - which will be installed by default in the image)
- opt (optional packages)
- exp (experimental packages)
- driver (driver packages)
- config (configuration packages / tools)
* The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.
* The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_
* rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called
* configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
adjust ports configs / symlinks to $configdir/ports and move old configs to new location (when calling addPort)
fix up some paths in a few experimental modules (wolf4sdl / sdlpop)
for things like doom / quake where there may be multiple engines, it makes switching available from runcommand etc. it would also allow adding additional launch options with say different wads / settings and so on. It also
simplifies the actual module scripting.
* use arrays for info/error messages
* create a helper function to print our information to console/dialog etc
* rename prebious printMsg to printHeading
* fix for duplication of error messages in rp_callModule