Cleanup after removing 351 bits

This commit is contained in:
fewtarius 2022-02-12 17:49:55 -05:00
parent ecf5b5ca76
commit 2cdc2063c6
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
18 changed files with 4772 additions and 350 deletions

View file

@ -25,7 +25,7 @@ sound_latency 0.10
sound_normalize no
display_vsync no
device_video_clock 10-180 / 30-80 / 50-70
display_mode 320x224x32
display_mode 1152x1920x32
device_joystick raw
input_map[coin1] joystick_button[gosuper_gamepad,button13]
input_map[start1] joystick_button[gosuper_gamepad,button14]

View file

@ -33,13 +33,6 @@ pre_configure_target() {
;;
esac
if [[ "$DEVICE" =~ RG351 ]]; then
if [ $ARCH == "arm" ]; then
AMIBERRY_PLATFORM="RK3326"
else
AMIBERRY_PLATFORM="pi64"
fi
fi
sed -i "s|AS = as|AS \?= as|" Makefile

View file

@ -0,0 +1,746 @@
# This file was generated by GZDoom g4.8pre-28-gbc75dc056 on 2021-10-16 16:14:47
# These are the directories to automatically search for IWADs.
# Each directory should be on a separate line, preceded by Path=
[IWADSearch.Directories]
Path=.
Path=$DOOMWADDIR
Path=/storage/.config/distribution/gzdoom
Path=/storage/roms/doom
# These are the directories to search for wads added with the -file
# command line parameter, if they cannot be found with the path
# as-is. Layout is the same as for IWADSearch.Directories
[FileSearch.Directories]
Path=/storage/.config/distribution/gzdoom
Path=/storage/roms/doom
Path=$DOOMWADDIR
# These are the directories to search for soundfonts that let listed in the menu.
# Layout is the same as for IWADSearch.Directories
[SoundfontSearch.Directories]
Path=/storage/.config/distribution/gzdoom/soundfonts
Path=/storage/.config/distribution/gzdoom/fm_banks
# Files to automatically execute when running the corresponding game.
# Each file should be on its own line, preceded by Path=
[Doom.AutoExec]
Path=/storage/.config/distribution/gzdoom/autoexec.cfg
[Heretic.AutoExec]
Path=/storage/.config/distribution/gzdoom/autoexec.cfg
[Hexen.AutoExec]
Path=/storage/.config/distribution/gzdoom/autoexec.cfg
[Strife.AutoExec]
Path=/storage/.config/distribution/gzdoom/autoexec.cfg
[Chex.AutoExec]
Path=/storage/.config/distribution/gzdoom/autoexec.cfg
# WAD files to always load. These are loaded after the IWAD but before
# any files added with -file. Place each file on its own line, preceded
# by Path=
[Global.Autoload]
# Wad files to automatically load depending on the game and IWAD you are
# playing. You may have have files that are loaded for all similar IWADs
# (the game) and files that are only loaded for particular IWADs. For example,
# any files listed under 'doom.Autoload' will be loaded for any version of Doom,
# but files listed under 'doom.doom2.Autoload' will only load when you are
# playing a Doom 2 based game (doom2.wad, tnt.wad or plutonia.wad), and files listed under
# 'doom.doom2.commercial.Autoload' only when playing doom2.wad.
[doom.Autoload]
[doom.id.Autoload]
[doom.id.doom2.Autoload]
[doom.id.doom2.commercial.Autoload]
[doom.id.doom2.commercial.french.Autoload]
[doom.id.doom2.commercial.xbox.Autoload]
[doom.id.doom2.unity.Autoload]
[doom.id.doom2.bfg.Autoload]
[doom.id.doom2.plutonia.Autoload]
[doom.id.doom2.plutonia.unity.Autoload]
[doom.id.doom2.tnt.Autoload]
[doom.id.doom2.tnt.unity.Autoload]
[doom.id.doom1.Autoload]
[doom.id.doom1.registered.Autoload]
[doom.id.doom1.ultimate.Autoload]
[doom.id.doom1.ultimate.xbox.Autoload]
[doom.id.wadsmoosh.Autoload]
[doom.id.doom1.unity.Autoload]
[doom.id.doom1.bfg.Autoload]
[doom.freedoom.Autoload]
[doom.freedoom.demo.Autoload]
[doom.freedoom.phase1.Autoload]
[doom.freedoom.phase2.Autoload]
[doom.freedoom.freedm.Autoload]
[heretic.Autoload]
[heretic.heretic.Autoload]
[heretic.shadow.Autoload]
[blasphemer.Autoload]
[hexen.Autoload]
[hexen.deathkings.Autoload]
[hexen.hexen.Autoload]
[strife.Autoload]
[strife.strife.Autoload]
[strife.veteran.Autoload]
[chex.Autoload]
[chex.chex1.Autoload]
[chex.chex3.Autoload]
[urbanbrawl.Autoload]
[hacx.Autoload]
[hacx.hacx1.Autoload]
[hacx.hacx2.Autoload]
[harmony.Autoload]
[square.Autoload]
[square.squareware.Autoload]
[square.square.Autoload]
[delaweare.Autoload]
[woolball.Autoload]
[woolball.rotwb.Autoload]
[LastRun]
Version=222
[GlobalSettings]
I_FriendlyWindowTitle=1
adl_chips_count=6
adl_emulator_id=0
adl_fullpan=true
adl_run_at_pcm_rate=false
adl_volume_model=0
autoloadbrightmaps=false
autoloadlights=false
autoloadwidescreen=true
autosavecount=4
autosavenum=1
chase_dist=90
chase_height=-8
cl_capfps=false
cl_defaultconfiguration=0
cl_noprediction=false
cl_oldfreelooklimit=false
cl_predict_lerpscale=0.05000000074505806
cl_predict_lerpthreshold=2
cl_predict_specials=true
cl_run=false
cl_waitforsave=true
con_4bitansi=false
con_buffersize=-1
con_ctrl_d=
con_notifylines=4
con_printansi=true
defaultiwad=
demo_compress=true
developer=0
disableautoload=false
disableautosave=0
enablescriptscreenshot=false
fluid_chorus=false
fluid_chorus_depth=8
fluid_chorus_level=1
fluid_chorus_speed=0.30000001192092896
fluid_chorus_type=0
fluid_chorus_voices=3
fluid_gain=0.5
fluid_interp=1
fluid_lib=
fluid_patchset=gzdoom
fluid_reverb=false
fluid_reverb_damping=0.23000000417232513
fluid_reverb_level=0.5699999928474426
fluid_reverb_roomsize=0.6100000143051147
fluid_reverb_width=0.7599999904632568
fluid_samplerate=0
fluid_threads=1
fluid_voices=128
freelook=true
gl_billboard_faces_camera=false
gl_billboard_mode=0
gl_billboard_particles=true
gl_cachenodes=true
gl_cachetime=0.6000000238418579
gl_debug=false
gl_debug_breakpoint=false
gl_debug_level=0
gl_distfog=70
gl_dither_bpc=0
gl_enhanced_nv_stealth=3
gl_es=true
gl_finishbeforeswap=false
gl_fxaa=0
gl_lens=false
gl_lens_chromatic=1.1200000047683716
gl_lens_k=-0.11999999731779099
gl_lens_kcube=0.10000000149011612
gl_light_particles=true
gl_light_shadowmap=false
gl_light_sprites=true
gl_lights=false
gl_mask_sprite_threshold=0.5
gl_mask_threshold=0.5
gl_mirror_envmap=true
gl_multisample=1
gl_multithread=true
gl_no_skyclear=false
gl_particles_style=2
gl_pipeline_depth=0
gl_plane_reflection=true
gl_satformula=1
gl_seamless=false
gl_shadowmap_filter=1
gl_shadowmap_quality=512
gl_sort_textures=false
gl_sprite_blend=false
gl_ssao=0
gl_ssao_portals=1
gl_ssao_strength=0.699999988079071
gl_texture_filter=6
gl_texture_filter_anisotropic=2
gl_texture_hqresize_maxinputsize=512
gl_texture_hqresize_mt_height=4
gl_texture_hqresize_mt_width=16
gl_texture_hqresize_multithread=true
gl_texture_hqresize_targets=15
gl_texture_hqresizemode=0
gl_texture_hqresizemult=1
gl_usecolorblending=true
gme_stereodepth=0
gus_memsize=0
gus_patchdir=
i_soundinbackground=false
inter_subtitles=false
invertmouse=false
invertmousex=false
language=auto
longsavemessages=true
lookstrafe=false
m_blockcontrollers=false
m_cleanscale=false
m_filter=false
m_forward=1
m_pitch=1
m_sensitivity_x=4
m_sensitivity_y=2
m_show_backbutton=0
m_showinputgrid=0
m_side=2
m_simpleoptions=false
m_use_mouse=2
m_yaw=1
map_point_coordinates=true
midi_config=gzdoom
midi_dmxgus=false
midi_voices=32
mod_autochip=false
mod_autochip_scan_threshold=12
mod_autochip_size_force=100
mod_autochip_size_scan=500
mod_dumb_mastervolume=1
mod_interp=2
mod_samplerate=0
mod_volramp=2
mouse_capturemode=1
mus_calcgain=true
mus_enabled=true
mus_gainoffset=0
mus_usereplaygain=false
nointerscrollabort=false
nomonsterinterpolation=false
opl_core=0
opl_fullpan=true
opl_numchips=2
opn_chips_count=8
opn_emulator_id=1
opn_fullpan=true
opn_run_at_pcm_rate=false
os_isanyof=true
png_gamma=0
png_level=5
queryiwad=true
quicksavenum=-1
quicksaverotation=false
quicksaverotationcount=4
r_actorspriteshadow=1
r_actorspriteshadowdist=1500
r_blendmethod=false
r_dynlights=true
r_fakecontrast=1
r_fullbrightignoresectorcolor=true
r_fuzzscale=true
r_line_distance_cull=0
r_linearsky=false
r_magfilter=false
r_minfilter=true
r_mipmap=true
r_mirror_recursions=4
r_models=true
r_multithreaded=1
r_noaccel=false
r_quakeintensity=1
r_sprite_distance_cull=0
r_spriteadjust=2
r_ticstability=true
save_dir=
save_formatted=false
saveloadconfirmation=true
savestatistics=0
screenshot_dir=
screenshot_quiet=false
screenshot_type=png
show_messages=true
showendoom=0
snd_aldevice=Default
snd_alresampler=Default
snd_backend=openal
snd_buffersize=0
snd_channels=128
snd_efx=true
snd_enabled=true
snd_hrtf=-1
snd_mastervolume=1
snd_mididevice=-5
snd_midiprecache=false
snd_musicvolume=0.5
snd_samplerate=0
snd_sfxvolume=1
snd_streambuffersize=64
snd_waterreverb=true
statfile=zdoomstat.txt
storesavepic=true
strictdecorate=false
telezoom=true
timidity_channel_pressure=false
timidity_chorus=0
timidity_config=gzdoom
timidity_drum_effect=false
timidity_drum_power=1
timidity_key_adjust=0
timidity_lpf_def=1
timidity_min_sustain_time=5000
timidity_modulation_envelope=true
timidity_modulation_wheel=true
timidity_overlap_voice_allow=true
timidity_pan_delay=false
timidity_portamento=true
timidity_reverb=0
timidity_reverb_level=0
timidity_surround_chorus=false
timidity_temper_control=true
timidity_tempo_adjust=1
turnspeedsprintfast=1280
turnspeedsprintslow=320
turnspeedwalkfast=640
turnspeedwalkslow=320
use_joystick=true
use_mouse=false
vid_activeinbackground=false
vid_adapter=0
vid_aspect=0
vid_brightness=0
vid_contrast=1
vid_cropaspect=true
vid_defheight=1920
vid_defwidth=1152
vid_fullscreen=true
vid_gamma=1
vid_hdr=false
vid_maxfps=0
vid_preferbackend=3
vid_rendermode=4
vid_saturation=1
vid_scale_customheight=200
vid_scale_custompixelaspect=1
vid_scale_customwidth=320
vid_scale_linear=false
vid_scalefactor=1
vid_scalemode=0
vid_sdl_render_driver=
vid_vsync=false
vr_hunits_per_meter=41
vr_ipd=0.06199999898672104
vr_mode=0
vr_screendist=0.800000011920929
vr_swap_eyes=false
wildmidi_config=
wildmidi_enhanced_resampling=true
wildmidi_reverb=false
win_h=384
win_maximized=false
win_w=512
win_x=-1
win_y=-1
xbrz_centerdirectionbias=4
xbrz_colorformat=0
xbrz_dominantdirectionthreshold=3.5999999046325684
xbrz_equalcolortolerance=30
xbrz_luminanceweight=1
xbrz_steepdirectionthreshold=2.200000047683716
[GlobalSettings.Unknown]
[Doom.Player]
autoaim=35
classicflight=false
color=40 cf 00
colorset=0
fov=90
gender=male
movebob=0.25
name=Player
neverswitchonpickup=false
playerclass=Fighter
skin=base
stillbob=0
team=255
wbobfire=0
wbobspeed=1
wi_noautostartmap=false
[Doom.ConsoleVariables]
addrocketexplosion=false
adl_bank=14
adl_custom_bank=
adl_use_custom_bank=false
allcheats=false
am_backcolor=6c 54 40
am_cdwallcolor=4c 38 20
am_colorset=0
am_customcolors=true
am_drawmapback=1
am_efwallcolor=66 55 55
am_emptyspacemargin=0
am_fdwallcolor=88 70 58
am_followplayer=true
am_gridcolor=8b 5a 2b
am_interlevelcolor=ff 00 00
am_intralevelcolor=00 00 ff
am_linealpha=1
am_linethickness=1
am_lockedcolor=00 78 00
am_map_secrets=1
am_markcolor=2
am_markfont=AMMNUMx
am_notseencolor=6c 6c 6c
am_ovcdwallcolor=00 88 44
am_ovefwallcolor=00 88 44
am_overlay=0
am_ovfdwallcolor=00 88 44
am_ovinterlevelcolor=ff ff 00
am_ovlockedcolor=00 88 44
am_ovotherwallscolor=00 88 44
am_ovportalcolor=00 40 22
am_ovsecretsectorcolor=00 ff ff
am_ovsecretwallcolor=00 88 44
am_ovspecialwallcolor=ff ff ff
am_ovtelecolor=ff ff 00
am_ovthingcolor=e8 88 00
am_ovthingcolor_citem=e8 88 00
am_ovthingcolor_friend=e8 88 00
am_ovthingcolor_item=e8 88 00
am_ovthingcolor_monster=e8 88 00
am_ovthingcolor_ncmonster=e8 88 00
am_ovunexploredsecretcolor=00 ff ff
am_ovunseencolor=00 22 6e
am_ovwallcolor=00 ff 00
am_ovyourcolor=fc e8 d8
am_portalcolor=40 40 40
am_portaloverlay=true
am_rotate=1
am_secretsectorcolor=ff 00 ff
am_secretwallcolor=00 00 00
am_showgrid=false
am_showitems=true
am_showkeys=true
am_showkeys_always=false
am_showmaplabel=2
am_showmonsters=true
am_showsecrets=true
am_showthingsprites=0
am_showtime=true
am_showtotaltime=false
am_showtriggerlines=0
am_specialwallcolor=ff ff ff
am_textured=true
am_thingcolor=fc fc fc
am_thingcolor_citem=fc fc fc
am_thingcolor_friend=fc fc fc
am_thingcolor_item=fc fc fc
am_thingcolor_monster=fc fc fc
am_thingcolor_ncmonster=fc fc fc
am_thingrenderstyles=true
am_tswallcolor=88 88 88
am_unexploredsecretcolor=ff 00 ff
am_wallcolor=2c 18 08
am_xhaircolor=80 80 80
am_yourcolor=fc e8 d8
am_zoomdir=0
blood_fade_scalar=1
chat_substitution=false
chatmacro0=No
chatmacro1=I'm ready to kick butt!
chatmacro2=I'm OK.
chatmacro3=I'm not looking too good!
chatmacro4=Help!
chatmacro5=You suck!
chatmacro6=Next time, scumbag...
chatmacro7=Come here!
chatmacro8=I'll take care of it.
chatmacro9=Yes
cl_bbannounce=false
cl_bloodsplats=true
cl_bloodtype=0
cl_custominvulmapcolor1=00 00 1a
cl_custominvulmapcolor2=a6 a6 7a
cl_customizeinvulmap=false
cl_doautoaim=false
cl_gfxlocalization=3
cl_maxdecals=1024
cl_missiledecals=true
cl_pufftype=0
cl_rockettrails=1
cl_showmultikills=true
cl_showsecretmessage=true
cl_showsprees=true
cl_spreaddecals=true
classic_scaling_factor=1
classic_scaling_pixelaspect=1.2000000476837158
compatmode=0
con_alpha=0.75
con_centernotify=false
con_midtime=3
con_notablist=false
con_notifytime=3
con_pulsetext=false
con_scale=0
con_scaletext=0
crosshair=0
crosshaircolor=ff 00 00
crosshairforce=false
crosshairgrow=false
crosshairhealth=2
crosshairon=true
crosshairscale=0.5
dehload=0
dimamount=-1
dimcolor=ff d7 00
displaynametags=0
dlg_musicvolume=1
dlg_vgafont=false
gl_aalines=false
gl_bandedswlight=false
gl_bloom=true
gl_bloom_amount=1.399999976158142
gl_brightfog=false
gl_enhanced_nightvision=true
gl_exposure_base=0.3499999940395355
gl_exposure_min=0.3499999940395355
gl_exposure_scale=1.2999999523162842
gl_exposure_speed=0.05000000074505806
gl_fogmode=1
gl_fuzztype=0
gl_interpolate_model_frames=true
gl_light_models=true
gl_lightadditivesurfaces=false
gl_lightmode=2
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_precache=true
gl_scale_viewport=true
gl_sclipfactor=1.7999999523162842
gl_sclipthreshold=10
gl_spriteclip=2
gl_tonemap=0
gl_weaponlight=8
hud_althud=false
hud_althud_forceinternal=false
hud_althudscale=0
hud_ammo_order=0
hud_ammo_red=25
hud_ammo_yellow=50
hud_armor_green=100
hud_armor_red=25
hud_armor_yellow=50
hud_aspectscale=true
hud_berserk_health=true
hud_health_green=100
hud_health_red=25
hud_health_yellow=50
hud_oldscale=true
hud_scale=-1
hud_scalefactor=1
hud_showammo=2
hud_showangles=false
hud_showitems=false
hud_showlag=0
hud_showmonsters=true
hud_showscore=false
hud_showsecrets=true
hud_showstats=false
hud_showtime=0
hud_showweapons=true
hud_timecolor=5
hudcolor_ltim=8
hudcolor_statnames=6
hudcolor_stats=3
hudcolor_time=6
hudcolor_titl=10
hudcolor_ttim=5
hudcolor_xyco=3
inter_classic_scaling=true
log_vgafont=false
lookspring=true
m_quickexit=false
msg=0
msg0color=11
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=11
msgmidcolor2=4
nametagcolor=5
nocheats=false
opn_custom_bank=
opn_use_custom_bank=false
paletteflash=0
pickup_fade_scalar=1
r_deathcamera=false
r_drawfuzz=1
r_maxparticles=4000
r_portal_recursions=4
r_rail_smartspiral=false
r_rail_spiralsparsity=1
r_rail_trailsparsity=1
r_skymode=2
r_vanillatrans=0
sb_cooperative_enable=true
sb_cooperative_headingcolor=6
sb_cooperative_otherplayercolor=2
sb_cooperative_yourplayercolor=3
sb_deathmatch_enable=true
sb_deathmatch_headingcolor=6
sb_deathmatch_otherplayercolor=2
sb_deathmatch_yourplayercolor=3
sb_teamdeathmatch_enable=true
sb_teamdeathmatch_headingcolor=6
screenblocks=10
setslotstrict=true
show_obituaries=true
snd_menuvolume=0.6000000238418579
snd_pitched=false
st_oldouch=false
st_scale=-1
transsouls=0.75
ui_screenborder_classic_scaling=true
uiscale=3
underwater_fade_scalar=1
vid_allowtrueultrawide=1
vid_cursor=None
vid_nopalsubstitutions=false
wi_cleantextscale=false
wi_percents=true
wi_showtotaltime=true
wipetype=1
[Doom.LocalServerInfo]
compatflags=0
compatflags2=0
forcewater=false
maxviewpitch=90
sv_corpsequeuesize=64
sv_disableautohealth=false
sv_dropstyle=0
sv_portal_recursions=4
sv_smartaim=0
[Doom.ConfigOnlyVariables]
[Doom.UnknownConsoleVariables]
[Doom.ConsoleAliases]
[Doom.Bindings]
Joy1=+use
Joy5=+speed
Joy6=+attack
Joy7=+crouch
Joy8=+jump
Joy11=weapprev
Joy12=weapnext
Joy13=togglemap
Joy14=menu_main
Joy16=centerview
Joy3=turn180
Joy4=+reload
[Doom.DoubleBindings]
[Doom.AutomapBindings]
MWheelUp=am_zoom 1.2
MWheelDown=am_zoom -1.2
Joy5=+am_zoomout
Joy6=+am_zoomin
[Joy:JS:0]
Axis0deadzone=0.200001
Axis0scale=0.8
Axis1deadzone=0.200001
Axis1scale=0.6
Axis2deadzone=0.200001
Axis2scale=0.6
Axis2map=0
Axis3deadzone=0.400001
Axis3scale=0.2
Axis3map=1

View file

@ -24,13 +24,7 @@ fi
mkdir -p ${SAVE_DIR}
params=" -config ${CONFIG} -savedir ${SAVE_DIR}"
if [[ "$EE_DEVICE" == RG351P ]]; then
params+=" +gl_es 1 +vid_preferbackend 3 +cl_capfps 0 +vid_fps 1"
fi
if [[ "$EE_DEVICE" == RG351V ]] || [[ "$EE_DEVICE" == RG351MP ]]; then
params+=" +gl_es 1 +vid_preferbackend 3 +cl_capfps 0 +vid_fps 1"
fi
params+=" +gl_es 1 +vid_preferbackend 3 +cl_capfps 0 +vid_fps 1"
# EXT can be wad, WAD, iwad, IWAD, pwad, PWAD or doom
EXT=${1#*.}

View file

@ -13,11 +13,6 @@ PKG_LONGDESC="GZDoom is a modder-friendly OpenGL and Vulkan source port based on
GET_HANDLER_SUPPORT="git"
PKG_TOOLCHAIN="cmake-make"
if [ ! "${DEVICE}" = "RG351MP" ]
then
PKG_PATCH_DIRS="RG351P"
fi
pre_build_host() {
HOST_CMAKE_OPTS=""
}
@ -52,11 +47,7 @@ makeinstall_target() {
cp $PKG_BUILD/.$TARGET_NAME/gzdoom $INSTALL/usr/bin
mkdir -p $INSTALL/usr/config/distribution/gzdoom
if [ "${DEVICE}" = "RG351MP" ]; then
cp $PKG_DIR/config/RG351MP/* $INSTALL/usr/config/distribution/gzdoom
else
cp $PKG_DIR/config/RG351P/* $INSTALL/usr/config/distribution/gzdoom
fi
cp $PKG_DIR/config/${DEVICE}/* $INSTALL/usr/config/distribution/gzdoom
cp $PKG_BUILD/.$TARGET_NAME/*.pk3 $INSTALL/usr/config/distribution/gzdoom
cp -r $PKG_BUILD/.$TARGET_NAME/soundfonts $INSTALL/usr/config/distribution/gzdoom
cp -r $PKG_BUILD/.$TARGET_NAME/fm_banks $INSTALL/usr/config/distribution/gzdoom

File diff suppressed because it is too large Load diff

View file

@ -24,13 +24,7 @@ fi
mkdir -p ${SAVE_DIR}
params=" -config ${CONFIG} -savedir ${SAVE_DIR}"
if [[ "$EE_DEVICE" == RG351P ]]; then
params+=" -width 360 -height 240 +vid_fps 1 +cl_capfps 0 +vid_renderer 0 +vid_glswfb 0"
fi
if [[ "$EE_DEVICE" == RG351V ]] || [[ "$EE_DEVICE" == RG351MP ]]; then
params+=" -width 320 -height 240 +vid_fps 1 +cl_capfps 0 +vid_renderer 0 +vid_glswfb 0"
fi
params+=" -width 1152 -height 1920 +vid_fps 1 +cl_capfps 0 +vid_renderer 0 +vid_glswfb 0"
# EXT can be wad, WAD, iwad, IWAD, pwad, PWAD or doom
EXT=${1#*.}

View file

@ -12,10 +12,7 @@ PKG_LONGDESC="ZDoom is a family of enhanced ports of the Doom engine for running
GET_HANDLER_SUPPORT="git"
PKG_TOOLCHAIN="cmake-make"
if [ "${DEVICE}" = "RG351MP" ]
then
PKG_PATCH_DIRS="RG351MP"
fi
PKG_PATCH_DIRS+="${DEVICE}"
pre_build_host() {
HOST_CMAKE_OPTS=""
@ -43,10 +40,7 @@ makeinstall_target() {
cp $PKG_BUILD/.$TARGET_NAME/lzdoom $INSTALL/usr/bin
mkdir -p $INSTALL/usr/config/distribution/lzdoom
if [ "${DEVICE}" = "RG351MP" ]; then
cp $PKG_DIR/config/RG351MP/* $INSTALL/usr/config/distribution/lzdoom
else
cp $PKG_DIR/config/RG351P/* $INSTALL/usr/config/distribution/lzdoom
cp $PKG_DIR/config/${DEVICE}/* $INSTALL/usr/config/distribution/lzdoom
fi
cp $PKG_BUILD/.$TARGET_NAME/*.pk3 $INSTALL/usr/config/distribution/lzdoom
cp -r $PKG_BUILD/.$TARGET_NAME/soundfonts $INSTALL/usr/config/distribution/lzdoom

View file

@ -0,0 +1,630 @@
# Mupen64Plus Configuration File
# This file is automatically read and written by the Mupen64Plus Core library
[64DD]
# Filename of the 64DD IPL ROM
IPL-ROM = ""
# Filename of the disk to load into Disk Drive
Disk = ""
[Audio-SDL]
# Mupen64Plus SDL Audio Plugin config parameter version number
Version = 1.000000
# Frequency which is used if rom doesn't want to change it
DEFAULT_FREQUENCY = 33600
# Swaps left and right channels
SWAP_CHANNELS = False
# Size of primary buffer in output samples. This is where audio is loaded after it's extracted from n64's memory.
PRIMARY_BUFFER_SIZE = 16384
# Fullness level target for Primary audio buffer, in equivalent output samples. This value must be larger than the SECONDARY_BUFFER_SIZE. Decreasing this value will reduce audio latency but requires a faster PC to avoid choppiness. Increasing this will increase audio latency but reduce the chance of drop-outs.
PRIMARY_BUFFER_TARGET = 2048
# Size of secondary buffer in output samples. This is SDL's hardware buffer. The SDL documentation states that this should be a power of two between 512 and 8192.
SECONDARY_BUFFER_SIZE = 1024
# Audio resampling algorithm. src-sinc-best-quality, src-sinc-medium-quality, src-sinc-fastest, src-zero-order-hold, src-linear, speex-fixed-{10-0}, trivial
RESAMPLE = "trivial"
# Volume control type: 1 = SDL (only affects Mupen64Plus output) 2 = OSS mixer (adjusts master PC volume)
VOLUME_CONTROL_TYPE = 1
# Percentage change each time the volume is increased or decreased
VOLUME_ADJUST = 5
# Default volume when a game is started. Only used if VOLUME_CONTROL_TYPE is 1
VOLUME_DEFAULT = 100
# Synchronize Video/Audio
AUDIO_SYNC = False
[Core]
# Mupen64Plus Core config parameter set version number. Please don't change this version number.
Version = 1.010000
# Draw on-screen display if True, otherwise don't draw OSD
OnScreenDisplay = True
# Use Pure Interpreter if 0, Cached Interpreter if 1, or Dynamic Recompiler if 2 or more
R4300Emulator = 2
# Disable compiled jump commands in dynamic recompiler (should be set to False)
NoCompiledJump = False
# Disable 4MB expansion RAM pack. May be necessary for some games
DisableExtraMem = False
# Increment the save state slot after each save operation
AutoStateSlotIncrement = False
# Activate the R4300 debugger when ROM execution begins, if core was built with Debugger support
EnableDebugger = False
# Save state slot (0-9) to use when saving/loading the emulator state
CurrentStateSlot = 0
# Path to directory where screenshots are saved. If this is blank, the default value of ${UserDataPath}/screenshot will be used
ScreenshotPath = "/storage/roms/n64"
# Path to directory where emulator save states (snapshots) are saved. If this is blank, the default value of ${UserDataPath}/save will be used
SaveStatePath = "/storage/roms/n64"
# Path to directory where SRAM/EEPROM data (in-game saves) are stored. If this is blank, the default value of ${UserDataPath}/save will be used
SaveSRAMPath = "/storage/roms/n64"
# Path to a directory to search when looking for shared data files
SharedDataPath = "/storage/roms/gamedata/mupen64plussa"
# Force number of cycles per emulated instruction
CountPerOp = 0
# Randomize PI/SI Interrupt Timing
RandomizeInterrupt = True
# Duration of SI DMA (-1: use per game settings)
SiDmaDuration = -1
# Gameboy Camera Video Capture backend
GbCameraVideoCaptureBackend1 = ""
# Disk Save Format (0: Full Disk Copy (*.ndr/*.d6r), 1: RAM Area Only (*.ram))
SaveDiskFormat = 1
[CoreEvents]
# Mupen64Plus CoreEvents config parameter set version number. Please don't change this version number.
Version = 1.000000
# SDL keysym for stopping the emulator
Kbd Mapping Stop = 27
# SDL keysym for switching between fullscreen/windowed modes
Kbd Mapping Fullscreen = 0
# SDL keysym for saving the emulator state
Kbd Mapping Save State = 286
# SDL keysym for loading the emulator state
Kbd Mapping Load State = 288
# SDL keysym for advancing the save state slot
Kbd Mapping Increment Slot = 0
# SDL keysym for resetting the emulator
Kbd Mapping Reset = 290
# SDL keysym for slowing down the emulator
Kbd Mapping Speed Down = 291
# SDL keysym for speeding up the emulator
Kbd Mapping Speed Up = 292
# SDL keysym for taking a screenshot
Kbd Mapping Screenshot = 293
# SDL keysym for pausing the emulator
Kbd Mapping Pause = 112
# SDL keysym for muting/unmuting the sound
Kbd Mapping Mute = 109
# SDL keysym for increasing the volume
Kbd Mapping Increase Volume = 93
# SDL keysym for decreasing the volume
Kbd Mapping Decrease Volume = 91
# SDL keysym for temporarily going really fast
Kbd Mapping Fast Forward = 102
# SDL keysym for advancing by one frame when paused
Kbd Mapping Frame Advance = 47
# SDL keysym for pressing the game shark button
Kbd Mapping Gameshark = 103
# Joystick event string for stopping the emulator
Joy Mapping Stop = "J0B12/B13"
# Joystick event string for switching between fullscreen/windowed modes
Joy Mapping Fullscreen = ""
# Joystick event string for saving the emulator state
Joy Mapping Save State = "J0B12/B5"
# Joystick event string for loading the emulator state
Joy Mapping Load State = "J0B12/B4"
# Joystick event string for advancing the save state slot
Joy Mapping Increment Slot = ""
# Joystick event string for resetting the emulator
Joy Mapping Reset = ""
# Joystick event string for slowing down the emulator
Joy Mapping Speed Down = ""
# Joystick event string for speeding up the emulator
Joy Mapping Speed Up = ""
# Joystick event string for taking a screenshot
Joy Mapping Screenshot = ""
# Joystick event string for pausing the emulator
Joy Mapping Pause = "J0B12/B1"
# Joystick event string for muting/unmuting the sound
Joy Mapping Mute = ""
# Joystick event string for increasing the volume
Joy Mapping Increase Volume = ""
# Joystick event string for decreasing the volume
Joy Mapping Decrease Volume = ""
# Joystick event string for fast-forward
Joy Mapping Fast Forward = ""
# Joystick event string for advancing by one frame when paused
Joy Mapping Frame Advance = ""
# Joystick event string for pressing the game shark button
Joy Mapping Gameshark = ""
# SDL keysym for save slot 0
Kbd Mapping Slot 0 = 48
# SDL keysym for save slot 1
Kbd Mapping Slot 1 = 49
# SDL keysym for save slot 2
Kbd Mapping Slot 2 = 50
# SDL keysym for save slot 3
Kbd Mapping Slot 3 = 51
# SDL keysym for save slot 4
Kbd Mapping Slot 4 = 52
# SDL keysym for save slot 5
Kbd Mapping Slot 5 = 53
# SDL keysym for save slot 6
Kbd Mapping Slot 6 = 54
# SDL keysym for save slot 7
Kbd Mapping Slot 7 = 55
# SDL keysym for save slot 8
Kbd Mapping Slot 8 = 56
# SDL keysym for save slot 9
Kbd Mapping Slot 9 = 57
[Input-SDL-Control1]
# Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number.
version = 2.000000
# Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
mode = 2
# Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
device = 0
# SDL joystick name (or Keyboard)
name = "GO-Super Gamepad"
# Specifies whether this controller is 'plugged in' to the simulated N64
plugged = True
# Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 4=Transfer pak, 5=Rumble pak
plugin = 2
# If True, then mouse buttons may be used with this controller
mouse = False
# Scaling factor for mouse movements. For X, Y axes.
MouseSensitivity = "2.00,2.00"
# The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes.
AnalogDeadzone = "0,0"
# An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
AnalogPeak = "32768,32768"
# Digital button configuration mappings
DPad R = "button(11)"
DPad L = "button(10)"
DPad D = "button(9)"
DPad U = "button(8)"
Start = "button(13)"
Z Trig = "button(15)"
B Button = "button(3)"
A Button = "button(0)"
C Button R = "button(7)"
C Button L = "button(2)"
C Button D = "button(1)"
C Button U = "button(6)"
R Trig = "button(5)"
L Trig = "button(4)"
Mempak switch = ""
Rumblepak switch = ""
# Analog axis configuration mappings
X Axis = "axis(0-,0+)"
Y Axis = "axis(1-,1+)"
[Input-SDL-Control2]
# Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number.
version = 2.000000
# Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
mode = 2
# Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
device = -1
# SDL joystick name (or Keyboard)
name = ""
# Specifies whether this controller is 'plugged in' to the simulated N64
plugged = False
# Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 4=Transfer pak, 5=Rumble pak
plugin = 2
# If True, then mouse buttons may be used with this controller
mouse = False
# Scaling factor for mouse movements. For X, Y axes.
MouseSensitivity = "2.00,2.00"
# The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes.
AnalogDeadzone = "4096,4096"
# An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
AnalogPeak = "32768,32768"
# Digital button configuration mappings
DPad R = ""
DPad L = ""
DPad D = ""
DPad U = ""
Start = ""
Z Trig = ""
B Button = ""
A Button = ""
C Button R = ""
C Button L = ""
C Button D = ""
C Button U = ""
R Trig = ""
L Trig = ""
Mempak switch = ""
Rumblepak switch = ""
# Analog axis configuration mappings
X Axis = ""
Y Axis = ""
[Input-SDL-Control3]
# Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number.
version = 2.000000
# Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
mode = 2
# Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
device = -1
# SDL joystick name (or Keyboard)
name = ""
# Specifies whether this controller is 'plugged in' to the simulated N64
plugged = False
# Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 4=Transfer pak, 5=Rumble pak
plugin = 2
# If True, then mouse buttons may be used with this controller
mouse = False
# Scaling factor for mouse movements. For X, Y axes.
MouseSensitivity = "2.00,2.00"
# The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes.
AnalogDeadzone = "4096,4096"
# An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
AnalogPeak = "32768,32768"
# Digital button configuration mappings
DPad R = ""
DPad L = ""
DPad D = ""
DPad U = ""
Start = ""
Z Trig = ""
B Button = ""
A Button = ""
C Button R = ""
C Button L = ""
C Button D = ""
C Button U = ""
R Trig = ""
L Trig = ""
Mempak switch = ""
Rumblepak switch = ""
# Analog axis configuration mappings
X Axis = ""
Y Axis = ""
[Input-SDL-Control4]
# Mupen64Plus SDL Input Plugin config parameter version number. Please don't change this version number.
version = 2.000000
# Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
mode = 2
# Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
device = -1
# SDL joystick name (or Keyboard)
name = ""
# Specifies whether this controller is 'plugged in' to the simulated N64
plugged = False
# Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 4=Transfer pak, 5=Rumble pak
plugin = 2
# If True, then mouse buttons may be used with this controller
mouse = False
# Scaling factor for mouse movements. For X, Y axes.
MouseSensitivity = "2.00,2.00"
# The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0. For X, Y axes.
AnalogDeadzone = "4096,4096"
# An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80). For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
AnalogPeak = "32768,32768"
# Digital button configuration mappings
DPad R = ""
DPad L = ""
DPad D = ""
DPad U = ""
Start = ""
Z Trig = ""
B Button = ""
A Button = ""
C Button R = ""
C Button L = ""
C Button D = ""
C Button U = ""
R Trig = ""
L Trig = ""
Mempak switch = ""
Rumblepak switch = ""
# Analog axis configuration mappings
X Axis = ""
Y Axis = ""
[Rsp-HLE]
# Mupen64Plus RSP HLE Plugin config parameter version number
Version = 1.000000
# Path to a RSP plugin which will be used when encountering an unknown ucode.You can disable this by letting an empty string.
RspFallback = ""
# Send display lists to the graphics plugin
DisplayListToGraphicsPlugin = True
# Send audio lists to the audio plugin
AudioListToAudioPlugin = False
[Transferpak]
# Filename of the GB ROM to load into transferpak 1
GB-rom-1 = ""
# Filename of the GB RAM to load into transferpak 1
GB-ram-1 = ""
# Filename of the GB ROM to load into transferpak 2
GB-rom-2 = ""
# Filename of the GB RAM to load into transferpak 2
GB-ram-2 = ""
# Filename of the GB ROM to load into transferpak 3
GB-rom-3 = ""
# Filename of the GB RAM to load into transferpak 3
GB-ram-3 = ""
# Filename of the GB ROM to load into transferpak 4
GB-rom-4 = ""
# Filename of the GB RAM to load into transferpak 4
GB-ram-4 = ""
[UI-Console]
# Mupen64Plus UI-Console config parameter set version number. Please don't change this version number.
Version = 1.000000
# Directory in which to search for plugins
PluginDir = "/usr/local/lib/mupen64plus"
# Filename of video plugin
VideoPlugin = "mupen64plus-video-rice"
# Filename of audio plugin
AudioPlugin = "mupen64plus-audio-sdl.so"
# Filename of input plugin
InputPlugin = "mupen64plus-input-sdl.so"
# Filename of RSP plugin
RspPlugin = "mupen64plus-rsp-hle.so"
[Video-General]
# Width of output window or fullscreen width
ScreenWidth = 1152
# Height of output window or fullscreen height
ScreenHeight = 1920
# Use fullscreen mode if True, or windowed mode if False
Fullscreen = False
# If true, activate the SDL_GL_SWAP_CONTROL attribute
VerticalSync = True
# Rotate screen contents: 0=0 degree, 1=90 degree, 2 = 180 degree, 3=270 degree
Rotate = 0
[Video-Glide64mk2]
# Enable full-scene anti-aliasing by setting this to a value greater than 1
wrpAntiAliasing = 0
# Card ID
card_id = 0
# If true, use polygon offset values specified below
force_polygon_offset = False
# Specifies a scale factor that is used to create a variable depth offset for each polygon
polygon_offset_factor = 0.000000
# Is multiplied by an implementation-specific value to create a constant depth offset
polygon_offset_units = 0.000000
# Vertical sync
vsync = True
# TODO:ssformat
ssformat = False
# Display performance stats (add together desired flags): 1=FPS counter, 2=VI/s counter, 4=% speed, 8=FPS transparent
show_fps = 0
# Clock enabled
clock = False
# Clock is 24-hour
clock_24_hr = True
# Wrapper resolution
wrpResolution = 0
# Wrapper VRAM
wrpVRAM = 0
# Wrapper FBO
wrpFBO = True
# Wrapper Anisotropic Filtering
wrpAnisotropic = True
# Texture Enhancement: Smooth/Sharpen Filters
ghq_fltr = 0
# Texture Compression: 0 for S3TC, 1 for FXT1
ghq_cmpr = 0
# Texture Enhancement: More filters
ghq_enht = 0
# Hi-res texture pack format (0 for none, 1 for Rice)
ghq_hirs = 1
# Compress texture cache with S3TC or FXT1
ghq_enht_cmpr = False
# Tile textures (saves memory but could cause issues)
ghq_enht_tile = 0
# Force 16bpp textures (saves ram but lower quality)
ghq_enht_f16bpp = False
# Compress texture cache
ghq_enht_gz = True
# Don't enhance textures for backgrounds
ghq_enht_nobg = False
# Enable S3TC and FXT1 compression
ghq_hirs_cmpr = False
# Tile hi-res textures (saves memory but could cause issues)
ghq_hirs_tile = False
# Force 16bpp hi-res textures (saves ram but lower quality)
ghq_hirs_f16bpp = False
# Compress hi-res texture cache
ghq_hirs_gz = True
# Alternative CRC calculation -- emulates Rice bug
ghq_hirs_altcrc = True
# Save tex cache to disk
ghq_cache_save = True
# Texture Cache Size (MB)
ghq_cache_size = 128
# Use full alpha channel -- could cause issues for some tex packs
ghq_hirs_let_texartists_fly = False
# Dump textures
ghq_hirs_dump = False
# Alternate texture size method: -1=Game default, 0=disable. 1=enable
alt_tex_size = -1
# Use first SETTILESIZE only: -1=Game default, 0=disable. 1=enable
use_sts1_only = -1
# Use spheric mapping only: -1=Game default, 0=disable. 1=enable
force_calc_sphere = -1
# Force positive viewport: -1=Game default, 0=disable. 1=enable
correct_viewport = -1
# Force texrect size to integral value: -1=Game default, 0=disable. 1=enable
increase_texrect_edge = -1
# Reduce fillrect size by 1: -1=Game default, 0=disable. 1=enable
decrease_fillrect_edge = -1
# Enable perspective texture correction emulation: -1=Game default, 0=disable. 1=enable
texture_correction = -1
# Set special scale for PAL games: -1=Game default, 0=disable. 1=enable
pal230 = -1
# 3DFX Dithered alpha emulation mode: -1=Game default, >=0=dithered alpha emulation mode
stipple_mode = -1
# 3DFX Dithered alpha pattern: -1=Game default, >=0=pattern used for dithered alpha emulation
stipple_pattern = -1
# Check microcode each frame: -1=Game default, 0=disable. 1=enable
force_microcheck = -1
# Force 0xb5 command to be quad, not line 3D: -1=Game default, 0=disable. 1=enable
force_quad3d = -1
# Enable near z clipping: -1=Game default, 0=disable. 1=enable
clip_zmin = -1
# Enable far plane clipping: -1=Game default, 0=disable. 1=enable
clip_zmax = -1
# Use fast CRC algorithm: -1=Game default, 0=disable. 1=enable
fast_crc = -1
# Adjust screen aspect for wide screen mode: -1=Game default, 0=disable. 1=enable
adjust_aspect = -1
# Force strict check in Depth buffer test: -1=Game default, 0=disable. 1=enable
zmode_compare_less = -1
# Apply alpha dither regardless of alpha_dither_mode: -1=Game default, 0=disable. 1=enable
old_style_adither = -1
# Scale vertex z value before writing to depth buffer: -1=Game default, 0=disable. 1=enable
n64_z_scale = -1
# Fast texrect rendering with hwfbe: -1=Game default, 0=disable. 1=enable
optimize_texrect = -1
# Do not copy auxiliary frame buffers: -1=Game default, 0=disable. 1=enable
ignore_aux_copy = -1
# Clear auxiliary texture frame buffers: -1=Game default, 0=disable. 1=enable
hires_buf_clear = -1
# Read alpha from framebuffer: -1=Game default, 0=disable. 1=enable
fb_read_alpha = -1
# Handle unchanged fb: -1=Game default, 0=disable. 1=enable
useless_is_useless = -1
# Set frambuffer CRC mode: -1=Game default, 0=disable CRC, 1=fast CRC, 2=safe CRC
fb_crc_mode = -1
# Filtering mode: -1=Game default, 0=automatic, 1=force bilinear, 2=force point sampled
filtering = -1
# Fog: -1=Game default, 0=disable. 1=enable
fog = -1
# Buffer clear on every frame: -1=Game default, 0=disable. 1=enable
buff_clear = -1
# Buffer swapping method: -1=Game default, 0=swap buffers when vertical interrupt has occurred, 1=swap buffers when set of conditions is satisfied. Prevents flicker on some games, 2=mix of first two methods
swapmode = -1
# Aspect ratio: -1=Game default, 0=Force 4:3, 1=Force 16:9, 2=Stretch, 3=Original
aspect = -1
# LOD calculation: -1=Game default, 0=disable. 1=fast, 2=precise
lodmode = -1
# Smart framebuffer: -1=Game default, 0=disable. 1=enable
fb_smart = -1
# Hardware frame buffer emulation: -1=Game default, 0=disable. 1=enable
fb_hires = -1
# Read framebuffer every frame (may be slow use only for effects that need it e.g. Banjo Kazooie, DK64 transitions): -1=Game default, 0=disable. 1=enable
fb_read_always = -1
# Render N64 frame buffer as texture: -1=Game default, 0=disable, 1=mode1, 2=mode2
read_back_to_screen = -1
# Show images written directly by CPU: -1=Game default, 0=disable. 1=enable
detect_cpu_write = -1
# Get frame buffer info: -1=Game default, 0=disable. 1=enable
fb_get_info = -1
# Enable software depth render: -1=Game default, 0=disable. 1=enable
fb_render = -1
# If true, skip up to maxframeskip frames to maintain clock schedule; if false, skip exactly maxframeskip frames
autoframeskip = False
# If autoframeskip is true, skip up to this many frames to maintain clock schedule; if autoframeskip is false, skip exactly this many frames
maxframeskip = 0
[Video-Rice]
# Mupen64Plus Rice Video Plugin config parameter version number
Version = 1
# Frame Buffer Emulation (0=ROM default, 1=disable)
FrameBufferSetting = 0
# Frequency to write back the frame buffer (0=every frame, 1=every other frame, etc)
FrameBufferWriteBackControl = 0
# Render-to-texture emulation (0=none, 1=ignore, 2=normal, 3=write back, 4=write back and reload)
RenderToTexture = 0
# Control when the screen will be updated (0=ROM default, 1=VI origin update, 2=VI origin change, 3=CI change, 4=first CI change, 5=first primitive draw, 6=before screen clear, 7=after screen drawn)
ScreenUpdateSetting = 4
# Force to use normal alpha blender
NormalAlphaBlender = False
# Use a faster algorithm to speed up texture loading and CRC computation
FastTextureLoading = False
# Use different texture coordinate clamping code
AccurateTextureMapping = True
# Force emulated frame buffers to be in N64 native resolution
InN64Resolution = False
# Try to reduce Video RAM usage (should never be used)
SaveVRAM = False
# Enable this option to have better render-to-texture quality
DoubleSizeForSmallTxtrBuf = False
# Force to use normal color combiner
DefaultCombinerDisable = False
# Enable game-specific settings from INI file
EnableHacks = True
# If enabled, graphics will be drawn in WinFrame mode instead of solid and texture mode
WinFrameMode = False
# N64 Texture Memory Full Emulation (may fix some games, may break others)
FullTMEMEmulation = False
# Enable vertex clipper for fog operations
OpenGLVertexClipper = False
# Enable/Disable SSE optimizations for capable CPUs
EnableSSE = True
# If this option is enabled, the plugin will skip every other frame
SkipFrame = False
# If enabled, texture enhancement will be done only for TxtRect ucode
TexRectOnly = False
# If enabled, texture enhancement will be done only for textures width+height<=128
SmallTextureOnly = False
# Select hi-resolution textures based only on the CRC and ignore format+size information (Glide64 compatibility)
LoadHiResCRCOnly = True
# Enable hi-resolution texture file loading
LoadHiResTextures = False
# Enable texture dumping
DumpTexturesToFiles = False
# Display On-screen FPS
ShowFPS = False
# Use Mipmapping? 0=no, 1=nearest, 2=bilinear, 3=trilinear
Mipmapping = 2
# Enable, Disable fog generation (0=Disable, 1=Enable)
FogMethod = 1
# Force to use texture filtering or not (0=auto: n64 choose, 1=force no filtering, 2=force filtering)
ForceTextureFilter = 0
# Primary texture enhancement filter (0=None, 1=2X, 2=2XSAI, 3=HQ2X, 4=LQ2X, 5=HQ4X, 6=Sharpen, 7=Sharpen More, 8=External, 9=Mirrored)
TextureEnhancement = 0
# Secondary texture enhancement filter (0 = none, 1-4 = filtered)
TextureEnhancementControl = 0
# Color bit depth to use for textures (0=default, 1=32 bits, 2=16 bits)
TextureQuality = 0
# Z-buffer depth (only 16 or 32)
OpenGLDepthBufferSetting = 16
# Enable/Disable MultiSampling (0=off, 2,4,8,16=quality)
MultiSampling = 0
# Color bit depth for rendering window (0=32 bits, 1=16 bits)
ColorQuality = 1
# OpenGL level to support (0=auto, 1=OGL_FRAGMENT_PROGRAM)
OpenGLRenderSetting = 0
# Enable/Disable Anisotropic Filtering for Mipmapping (0=no filtering, 2-16=quality). This is uneffective if Mipmapping is 0. If the given value is to high to be supported by your graphic card, the value will be the highest value your graphic card can support. Better result with Trilinear filtering
AnisotropicFiltering = 0
# If true, use polygon offset values specified below
ForcePolygonOffset = False
# Specifies a scale factor that is used to create a variable depth offset for each polygon
PolygonOffsetFactor = 0.000000
# Is multiplied by an implementation-specific value to create a constant depth offset
PolygonOffsetUnits = 0.000000

View file

@ -40,9 +40,7 @@ makeinstall_target() {
cp ${PKG_BUILD}/src/api/m64p_*.h ${INSTALL}/usr/local/include/mupen64plus
chmod 0644 ${INSTALL}/usr/local/include/mupen64plus/*
if [ "${DEVICE}" = "RG552" ]; then
cp ${PKG_DIR}/config/mupen64plus-RG351MP.cfg ${INSTALL}/usr/local/share/mupen64plus/mupen64plus.cfg
fi
cp ${PKG_DIR}/config/mupen64plus-${DEVICE}.cfg ${INSTALL}/usr/local/share/mupen64plus/mupen64plus.cfg
chmod 644 ${INSTALL}/usr/local/share/mupen64plus/mupen64plus.cfg
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_DIR}/m64p.sh ${INSTALL}/usr/bin

View file

@ -2125,7 +2125,7 @@ X Axis = axis(0+,0-)
Y Axis = axis(1+,1-)
; RG351MP Gamepad
[GO-Super Gamepad]
[retrogame_joypad]
plugged = True
mouse = False
AnalogDeadzone = 0,0
@ -2148,4 +2148,4 @@ Mempak switch =
Rumblepak switch =
# Analog axis configuration mappings
X Axis = axis(0-,0+)
Y Axis = axis(1-,1+)
Y Axis = axis(1-,1+)

View file

@ -0,0 +1,783 @@
# This file was generated by Raze 1.2pre-392-g50715d3eb
# These are the directories to automatically search for game data.
# Each directory should be on a separate line, preceded by Path=
[GameSearch.Directories]
Path=.
Path=./*
Path=/storage/.config/distribution/raze
Path=/storage/roms/build
# These are the directories to search for add-ons added with the -file
# command line parameter, if they cannot be found with the path
# as-is. Layout is the same as for GameSearch.Directories
[FileSearch.Directories]
Path=/storage/.config/distribution/raze
Path=/storage/roms/build
# These are the directories to search for soundfonts that let listed in the menu.
# Layout is the same as for GameSearch.Directories
[SoundfontSearch.Directories]
Path=/storage/.config/distribution/raze/soundfonts
[LastRun]
Version=2
[GlobalSettings]
adl_chips_count=6
adl_emulator_id=0
adl_fullpan=true
adl_run_at_pcm_rate=false
adl_volume_model=0
autoloadbrightmaps=true
autoloadlights=true
autoloadwidescreen=true
autosavecount=4
autosavenum=0
cl_capfps=false
cl_defaultconfiguration=0
cl_gender=0
cl_savedir=
con_4bitansi=false
con_buffersize=-1
con_ctrl_d=
con_notifylines=4
con_printansi=true
defaultiwad=
developer=0
disableautoload=false
disableautosave=0
duke_menufont=-1
fluid_chorus=false
fluid_chorus_depth=8
fluid_chorus_level=1
fluid_chorus_speed=0.30000001192092896
fluid_chorus_type=0
fluid_chorus_voices=3
fluid_gain=0.5
fluid_interp=1
fluid_lib=
fluid_patchset=raze
fluid_reverb=false
fluid_reverb_damping=0.23000000417232513
fluid_reverb_level=0.5699999928474426
fluid_reverb_roomsize=0.6100000143051147
fluid_reverb_width=0.7599999904632568
fluid_samplerate=0
fluid_threads=1
fluid_voices=128
gl_custompost=true
gl_customshader=false
gl_debug=false
gl_debug_breakpoint=false
gl_debug_level=0
gl_dither_bpc=0
gl_es=true
gl_finishbeforeswap=false
gl_fxaa=0
gl_lens=false
gl_lens_chromatic=1.1200000047683716
gl_lens_k=-0.11999999731779099
gl_lens_kcube=0.10000000149011612
gl_light_shadowmap=false
gl_mask_sprite_threshold=0.5
gl_mask_threshold=0.5
gl_mirror_envmap=true
gl_multisample=1
gl_no_skyclear=false
gl_pipeline_depth=0
gl_plane_reflection=true
gl_satformula=1
gl_seamless=false
gl_shadowmap_filter=1
gl_shadowmap_quality=512
gl_ssao=0
gl_ssao_portals=1
gl_ssao_strength=0.699999988079071
gl_texture_filter=4
gl_texture_filter_anisotropic=8
gl_texture_hqresize_maxinputsize=512
gl_texture_hqresize_mt_height=4
gl_texture_hqresize_mt_width=16
gl_texture_hqresize_multithread=true
gl_texture_hqresize_targets=15
gl_texture_hqresizemode=0
gl_texture_hqresizemult=1
gme_stereodepth=0
gus_memsize=0
gus_patchdir=
hud_showmapname=true
hud_stats=false
hw_animsmoothing=true
hw_hightile=true
hw_models=false
hw_parallaxskypanning=true
hw_shadeinterpolate=true
hw_shadescale=1
hw_useindexedcolortextures=false
i_soundinbackground=false
in_mousemode=false
inter_subtitles=false
invertmouse=false
invertmousex=false
language=auto
m_blockcontrollers=false
m_cleanscale=false
m_filter=false
m_forward=0.6999999284744263
m_pitch=0.7999999523162842
m_sensitivity_x=3.5
m_sensitivity_y=1.5
m_show_backbutton=3
m_showinputgrid=0
m_side=0.6999999284744263
m_use_mouse=1
m_yaw=0.7999999523162842
midi_config=raze
midi_dmxgus=false
midi_voices=32
mod_autochip=false
mod_autochip_scan_threshold=12
mod_autochip_size_force=100
mod_autochip_size_scan=500
mod_dumb_mastervolume=1
mod_interp=2
mod_samplerate=0
mod_volramp=2
mouse_capturemode=1
mus_calcgain=true
mus_enabled=true
mus_extendedlookup=false
mus_gainoffset=0
mus_usereplaygain=false
opl_core=0
opl_fullpan=true
opl_numchips=2
opn_chips_count=8
opn_emulator_id=0
opn_fullpan=true
opn_run_at_pcm_rate=false
os_isanyof=true
png_gamma=0
png_level=5
queryiwad=true
quicksavecount=4
quicksavenum=0
r_ambientlight=1
r_drawweapon=1
r_fov=90
r_mirror_recursions=4
r_multithreaded=1
r_precache=true
r_shadows=true
r_skipmats=false
r_spriteadjust=2
r_ticstability=true
saveloadconfirmation=true
savestatistics=0
secret_notify=false
showendoom=0
silentmouseaimtoggle=false
snd_aldevice=Default
snd_alresampler=Default
snd_ambience=true
snd_backend=openal
snd_buffersize=0
snd_channels=128
snd_efx=true
snd_enabled=true
snd_extendedlookup=false
snd_hrtf=-1
snd_mastervolume=1
snd_mididevice=-5
snd_midiprecache=false
snd_musicvolume=0.5
snd_reverb=true
snd_samplerate=0
snd_sfxvolume=1
snd_streambuffersize=64
snd_tryformats=true
snd_waterreverb=true
statfile=razestat.txt
strictdecorate=false
sw_darts=false
testnewrenderer=false
timidity_channel_pressure=false
timidity_chorus=0
timidity_config=raze
timidity_drum_effect=false
timidity_drum_power=1
timidity_key_adjust=0
timidity_lpf_def=1
timidity_min_sustain_time=5000
timidity_modulation_envelope=true
timidity_modulation_wheel=true
timidity_overlap_voice_allow=true
timidity_pan_delay=false
timidity_portamento=true
timidity_reverb=0
timidity_reverb_level=0
timidity_surround_chorus=false
timidity_temper_control=true
timidity_tempo_adjust=1
use_joystick=true
use_mouse=false
vid_activeinbackground=false
vid_adapter=0
vid_aspect=0
vid_brightness=0
vid_contrast=1
vid_cropaspect=false
vid_defheight=1920
vid_defwidth=1152
vid_fullscreen=true
vid_gamma=1
vid_hdr=false
vid_maxfps=200
vid_preferbackend=3
vid_saturation=1
vid_scale_customheight=400
vid_scale_custompixelaspect=1
vid_scale_customwidth=640
vid_scale_linear=false
vid_scalefactor=1
vid_scalemode=0
vid_sdl_render_driver=
vid_vsync=false
vr_hunits_per_meter=41
vr_ipd=0.06199999898672104
vr_mode=0
vr_screendist=0.800000011920929
vr_swap_eyes=false
wildmidi_config=
wildmidi_enhanced_resampling=true
wildmidi_reverb=false
win_h=384
win_maximized=false
win_w=512
win_x=-1
win_y=-1
wt_commentary=false
wt_forcemidi=false
wt_forcevoc=false
xbrz_centerdirectionbias=4
xbrz_colorformat=0
xbrz_dominantdirectionthreshold=3.5999999046325684
xbrz_equalcolortolerance=30
xbrz_luminanceweight=1
xbrz_steepdirectionthreshold=2.200000047683716
[GlobalSettings.Unknown]
[.Player]
cl_autoaim=1
cl_weaponswitch=3
combatmacro0=
combatmacro1=
combatmacro2=
combatmacro3=
combatmacro4=
combatmacro5=
combatmacro6=
combatmacro7=
combatmacro8=
combatmacro9=
playercolor=0
playergender=0
playername=Player
rtsname=
[.ConsoleVariables]
adl_bank=14
adl_custom_bank=
adl_use_custom_bank=false
adult_lockout=false
am_followplayer=true
am_linealpha=1
am_linethickness=1
am_nameontop=false
am_onesidedcolor=aa aa aa
am_ovonesidedcolor=aa aa aa
am_ovplayercolor=aa aa aa
am_ovtwosidedcolor=aa aa aa
am_playercolor=aa aa aa
am_rotate=true
am_showlabel=false
am_textfont=false
am_twosidedcolor=aa aa aa
chat_substitution=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_bloodoldweapbalance=false
cl_bloodqavforcedinterp=false
cl_bloodqavinterp=true
cl_bloodvanillabobbing=true
cl_bloodvanillaenemies=false
cl_bloodvanillaexplosions=false
cl_bloodvanillarun=true
cl_bloodweapinterp=false
cl_crosshair=true
cl_exhumedoldturn=false
cl_hudinterpolation=true
cl_idplayers=true
cl_interpolate=true
cl_loadingscreens=true
cl_maxautosaves=8
cl_nomeleeblur=false
cl_obituaries=true
cl_resumesavegame=true
cl_runmode=true
cl_showmagamt=false
cl_showweapon=1
cl_slopetilting=false
cl_sointerpolation=true
cl_swsmoothsway=true
cl_syncinput=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
classic_scaling_factor=1
classic_scaling_pixelaspect=1.2000000476837158
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notify_advanced=false
con_notifyscale=1
con_notifytime=3
con_pulsetext=false
con_scale=0
crosshair=0
crosshaircolor=ff 00 00
crosshairgrow=false
crosshairhealth=2
crosshairscale=0.5
gl_aalines=false
gl_bloom=false
gl_bloom_amount=1.399999976158142
gl_exposure_base=0.3499999940395355
gl_exposure_min=0.3499999940395355
gl_exposure_scale=1.2999999523162842
gl_exposure_speed=0.05000000074505806
gl_fogmode=1
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_precache=false
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_ctf_vanilla=false
hud_flashing=1
hud_messages=true
hud_position=false
hud_powerupduration=true
hud_scalefactor=1
hud_size=5
hud_statscale=0.5
hud_textfont=false
m_quickexit=false
menu_sounds=true
msg=0
msg0color=11
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=11
msgmidcolor2=4
mus_redbook=true
mus_restartonload=false
nocheats=false
opn_custom_bank=
opn_use_custom_bank=false
r_drawfuzz=1
r_voxels=true
screenshot_dir=
screenshotname=
snd_menuvolume=0.6000000238418579
snd_pitched=false
snd_speech=1
transsouls=0.75
ui_screenborder_classic_scaling=true
uiscale=0
usermapfolder=
vid_allowtrueultrawide=1
[.VideoSettings]
[.UnknownConsoleVariables]
[.ConsoleAliases]
[.Bindings]
[.DoubleBindings]
[.AutomapBindings]
[Duke.AutoExec]
Path=/storage/.config/raze/autoexec.cfg
[Duke.Player]
cl_autoaim=1
cl_weaponswitch=3
combatmacro0=An inspiration for birth control.
combatmacro1=You're gonna die for that!
combatmacro2=It hurts to be you.
combatmacro3=Lucky Son of a Bitch.
combatmacro4=Hmmm....Payback time.
combatmacro5=You bottom dwelling scum sucker.
combatmacro6=Damn, you're ugly.
combatmacro7=Ha ha ha...Wasted!
combatmacro8=You suck!
combatmacro9=AARRRGHHHHH!!!
playercolor=0
playergender=0
playername=Player
rtsname=
[Duke.ConsoleVariables]
adl_bank=14
adl_custom_bank=
adl_use_custom_bank=false
adult_lockout=false
am_followplayer=true
am_linealpha=1
am_linethickness=1
am_nameontop=false
am_onesidedcolor=aa aa aa
am_ovonesidedcolor=aa aa aa
am_ovplayercolor=aa aa aa
am_ovtwosidedcolor=aa aa aa
am_playercolor=aa aa aa
am_rotate=true
am_showlabel=false
am_textfont=false
am_twosidedcolor=aa aa aa
chat_substitution=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_bloodoldweapbalance=false
cl_bloodqavforcedinterp=false
cl_bloodqavinterp=true
cl_bloodvanillabobbing=true
cl_bloodvanillaenemies=false
cl_bloodvanillaexplosions=false
cl_bloodvanillarun=true
cl_bloodweapinterp=false
cl_crosshair=true
cl_exhumedoldturn=false
cl_hudinterpolation=true
cl_idplayers=true
cl_interpolate=true
cl_loadingscreens=true
cl_maxautosaves=8
cl_nomeleeblur=false
cl_obituaries=true
cl_resumesavegame=true
cl_runmode=true
cl_showmagamt=false
cl_showweapon=1
cl_slopetilting=false
cl_sointerpolation=true
cl_swsmoothsway=true
cl_syncinput=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
classic_scaling_factor=1
classic_scaling_pixelaspect=1.2000000476837158
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notify_advanced=false
con_notifyscale=1
con_notifytime=3
con_pulsetext=false
con_scale=0
crosshair=0
crosshaircolor=ff 00 00
crosshairgrow=false
crosshairhealth=2
crosshairscale=0.5
gl_aalines=false
gl_bloom=false
gl_bloom_amount=1.399999976158142
gl_exposure_base=0.3499999940395355
gl_exposure_min=0.3499999940395355
gl_exposure_scale=1.2999999523162842
gl_exposure_speed=0.05000000074505806
gl_fogmode=2
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_precache=false
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_ctf_vanilla=false
hud_flashing=1
hud_messages=true
hud_position=false
hud_powerupduration=true
hud_scalefactor=1
hud_size=5
hud_statscale=0.5
hud_textfont=false
m_quickexit=false
menu_sounds=true
msg=0
msg0color=11
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=11
msgmidcolor2=4
mus_redbook=true
mus_restartonload=false
nocheats=false
opn_custom_bank=
opn_use_custom_bank=false
r_drawfuzz=1
r_voxels=true
screenshot_dir=
screenshotname=
snd_menuvolume=0.6000000238418579
snd_pitched=false
snd_speech=1
transsouls=0.75
ui_screenborder_classic_scaling=true
uiscale=0
usermapfolder=
vid_allowtrueultrawide=1
[Duke.VideoSettings]
[Duke.UnknownConsoleVariables]
[Duke.ConsoleAliases]
[Duke.Bindings]
Y=show_weapon
K=coop_view
F4=openmenu SoundOptions
LThumb=crouch
LTrigger=+altattack
RTrigger=+attack
Joy1=+open
Joy3=turnaround
Joy5=+run
Joy6=+fire
Joy7=+crouch
Joy8=+jump
Joy11=weapprev
Joy12=weapnext
Joy13=togglemap
Joy14=menu_main
Joy15=toggle cl_autorun
Joy16=centerview
[Duke.DoubleBindings]
[Duke.AutomapBindings]
MWheelUp=am_zoom 1.2
MWheelDown=am_zoom -1.2
Joy5=+shrink_screen
Joy6=+enlarge_Screen
[ShadowWarrior.AutoExec]
Path=/storage/.config/raze/autoexec.cfg
[ShadowWarrior.Player]
cl_autoaim=1
cl_weaponswitch=1
combatmacro0=Burn baby burn...
combatmacro1=You make another stupid move.
combatmacro2=Blocking with your head again?
combatmacro3=You not fight well with hands!
combatmacro4=You so stupid!
combatmacro5=Quit jerking off. Come fight me!
combatmacro6=What the matter you scaredy cat?
combatmacro7=Did I break your concentration?
combatmacro8=Hope you were paying attention.
combatmacro9=ITTAIIIUUU!!!
playercolor=0
playergender=0
playername=Player
rtsname=
[ShadowWarrior.ConsoleVariables]
adl_bank=14
adl_custom_bank=
adl_use_custom_bank=false
adult_lockout=false
am_followplayer=true
am_linealpha=1
am_linethickness=1
am_nameontop=false
am_onesidedcolor=aa aa aa
am_ovonesidedcolor=aa aa aa
am_ovplayercolor=aa aa aa
am_ovtwosidedcolor=aa aa aa
am_playercolor=aa aa aa
am_rotate=true
am_showlabel=false
am_textfont=false
am_twosidedcolor=aa aa aa
chat_substitution=false
cl_automsg=false
cl_autorun=true
cl_autosave=true
cl_autosavedeletion=true
cl_bloodoldweapbalance=false
cl_bloodqavforcedinterp=false
cl_bloodqavinterp=true
cl_bloodvanillabobbing=true
cl_bloodvanillaenemies=false
cl_bloodvanillaexplosions=false
cl_bloodvanillarun=true
cl_bloodweapinterp=false
cl_crosshair=true
cl_exhumedoldturn=false
cl_hudinterpolation=true
cl_idplayers=true
cl_interpolate=true
cl_loadingscreens=true
cl_maxautosaves=8
cl_nomeleeblur=false
cl_obituaries=true
cl_resumesavegame=true
cl_runmode=true
cl_showmagamt=false
cl_showweapon=1
cl_slopetilting=false
cl_sointerpolation=true
cl_swsmoothsway=true
cl_syncinput=false
cl_viewbob=true
cl_viewhbob=true
cl_viewvbob=true
cl_weaponsway=true
classic_scaling_factor=1
classic_scaling_pixelaspect=1.2000000476837158
con_alpha=0.75
con_centernotify=false
con_notablist=false
con_notify_advanced=false
con_notifyscale=1
con_notifytime=3
con_pulsetext=false
con_scale=0
crosshair=0
crosshaircolor=ff 00 00
crosshairgrow=false
crosshairhealth=2
crosshairscale=0.5
gl_aalines=false
gl_bloom=false
gl_bloom_amount=1.399999976158142
gl_exposure_base=0.3499999940395355
gl_exposure_min=0.3499999940395355
gl_exposure_scale=1.2999999523162842
gl_exposure_speed=0.05000000074505806
gl_fogmode=2
gl_menu_blur=-1
gl_paltonemap_powtable=2
gl_paltonemap_reverselookup=true
gl_precache=false
gl_scale_viewport=true
gl_tonemap=0
hud_bgstretch=false
hud_ctf_vanilla=false
hud_flashing=1
hud_messages=true
hud_position=false
hud_powerupduration=true
hud_scalefactor=1
hud_size=5
hud_statscale=0.5
hud_textfont=false
m_quickexit=false
menu_sounds=true
msg=0
msg0color=11
msg1color=5
msg2color=2
msg3color=3
msg4color=3
msgmidcolor=11
msgmidcolor2=4
mus_redbook=true
mus_restartonload=false
nocheats=false
opn_custom_bank=
opn_use_custom_bank=false
r_drawfuzz=1
r_voxels=true
screenshot_dir=
screenshotname=
snd_menuvolume=0.6000000238418579
snd_pitched=false
snd_speech=1
transsouls=0.75
ui_screenborder_classic_scaling=true
uiscale=0
usermapfolder=
vid_allowtrueultrawide=1
[ShadowWarrior.VideoSettings]
[ShadowWarrior.UnknownConsoleVariables]
[ShadowWarrior.ConsoleAliases]
[ShadowWarrior.Bindings]
Y=show_weapon
I=toggle cl_crosshair
J=fly
K=coop_view
Shift=+Run
RShift=+Run
Alt=+Strafe
CapsLock=toggle cl_autorun
F4=openmenu SoundOptions
RAlt=+Strafe
LThumb=crouch
LTrigger=+altattack
RTrigger=+attack
Joy5=+run
Joy6=+fire
Joy7=+crouch
Joy8=+jump
Joy14=menu_main
Joy16=centerview
Joy1=+open
Joy3=turnaround
Joy11=weapprev
Joy12=weapnext
Joy13=togglemap
[ShadowWarrior.DoubleBindings]
[ShadowWarrior.AutomapBindings]
MWheelUp=am_zoom 1.2
MWheelDown=am_zoom -1.2
Joy5=+shrink_screen
Joy6=+enlarge_Screen
[Joy:JS:0]
Axis0deadzone=0.200001
Axis1deadzone=0.200001
Axis2deadzone=0.300001
Axis2scale=0.7
Axis2map=0
Axis3deadzone=0.300001
Axis3scale=0.6
Axis3map=1

View file

@ -12,10 +12,7 @@ PKG_LONGDESC="Raze is a fork of Build engine games backed by GZDoom tech and com
GET_HANDLER_SUPPORT="git"
PKG_TOOLCHAIN="cmake-make"
if [ ! "${DEVICE}" = "RG351MP" ]
then
PKG_PATCH_DIRS="RG351P"
fi
PKG_PATCH_DIRS+="${DEVICE}"
pre_build_host() {
HOST_CMAKE_OPTS=""
@ -51,11 +48,7 @@ makeinstall_target() {
cp $PKG_BUILD/.$TARGET_NAME/raze $INSTALL/usr/bin
mkdir -p $INSTALL/usr/config/distribution/raze
if [ "${DEVICE}" = "RG351MP" ]; then
cp $PKG_DIR/config/RG351MP/* $INSTALL/usr/config/distribution/raze
else
cp $PKG_DIR/config/RG351P/* $INSTALL/usr/config/distribution/raze
fi
cp $PKG_DIR/config/${DEVICE}/* $INSTALL/usr/config/distribution/raze
cp $PKG_BUILD/.$TARGET_NAME/*.pk3 $INSTALL/usr/config/distribution/raze
cp -r $PKG_BUILD/.$TARGET_NAME/soundfonts $INSTALL/usr/config/distribution/raze
}

View file

@ -16,18 +16,7 @@ PKG_TOOLCHAIN="make"
PKG_BUILD_FLAGS="-lto"
PKG_PATCH_DIRS+="${DEVICE}"
if [[ "$ARCH" == "arm" ]]; then
PKG_MAKE_OPTS_TARGET=" platform=${PROJECT}"
if [[ "${DEVICE}" =~ RG351 ]]; then
PKG_MAKE_OPTS_TARGET=" platform=Odroidgoa"
else
PKG_MAKE_OPTS_TARGET=" platform=Amlogic"
fi
else
PKG_MAKE_OPTS_TARGET=" platform=emuelec64-armv8"
fi
PKG_MAKE_OPTS_TARGET=" platform=emuelec64-armv8"
pre_configure_target() {
sed -i 's/"GFX Plugin; auto|glide64|gln64|rice/"GFX Plugin; rice|auto|glide64|gln64/g' $PKG_BUILD/libretro/libretro.c

View file

@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="enet"
PKG_VERSION="2cc0e7c78045fe2275e7959eb7b9992fe4fd038d"
PKG_SITE="https://github.com/lsalzman/enet"
PKG_URL="$PKG_SITE/archive/$PKG_VERSION.tar.gz"
PKG_LICENSE=""
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A network communication layer on top of UDP (User Datagram Protocol)."
PKG_TOOLCHAIN="autotools"

View file

@ -1,14 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020-present Fewtarius
PKG_NAME="moonlight"
PKG_VERSION="5b6639c8a76c4bbb5e0b4bcfe41b8df136608885"
PKG_ARCH="any"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/irtimmer/moonlight-embedded"
PKG_URL="$PKG_SITE.git"
PKG_DEPENDS_TARGET="toolchain opus libevdev alsa enet"
PKG_SHORTDESC="Moonlight Embedded is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield, but built for Linux."
PKG_TOOLCHAIN="cmake"
GET_HANDLER_SUPPORT="git"

View file

@ -1,222 +0,0 @@
From fd0cff622860903d4146a15062cfb0ecce300b28 Mon Sep 17 00:00:00 2001
From: krishenriksen <info@krishenriksen.dk>
Date: Mon, 1 Feb 2021 09:21:07 +0700
Subject: [PATCH 1/2] Rotation and tearing fix on Rockchip video backend for
rg351p
---
cmake/FindRockchip.cmake | 10 ++++--
src/video/rk.c | 77 ++++++++++++++++++++++++++++++++++++++--
2 files changed, 83 insertions(+), 4 deletions(-)
diff --git a/cmake/FindRockchip.cmake b/cmake/FindRockchip.cmake
index 83764dd2..1ad3f938 100644
--- a/cmake/FindRockchip.cmake
+++ b/cmake/FindRockchip.cmake
@@ -8,7 +8,13 @@ find_library(DRM_LIBRARY
NAMES libdrm.so
DOC "Path to libdrm Library"
PATHS /usr/local/lib /usr/lib /usr/lib/aarch64-linux-gnu /usr/lib/arm-linux-gnueabihf)
-mark_as_advanced(DRM_INCLUDE_DIR)
+mark_as_advanced(DRM_LIBRARY)
+
+find_library(RGA_LIBRARY
+ NAMES librga.so
+ DOC "Path to librga Library"
+ PATHS /usr/local/lib /usr/lib /usr/lib/aarch64-linux-gnu /usr/lib/arm-linux-gnueabihf)
+mark_as_advanced(RGA_LIBRARY)
find_path(ROCKCHIP_INCLUDE_DIR
NAMES rk_mpi.h
@@ -26,4 +32,4 @@ include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Rockchip DEFAULT_MSG ROCKCHIP_INCLUDE_DIR ROCKCHIP_LIBRARY)
set(ROCKCHIP_INCLUDE_DIRS ${ROCKCHIP_INCLUDE_DIR} ${DRM_INCLUDE_DIR})
-set(ROCKCHIP_LIBRARIES ${ROCKCHIP_LIBRARY} ${DRM_LIBRARY})
+set(ROCKCHIP_LIBRARIES ${ROCKCHIP_LIBRARY} ${DRM_LIBRARY} ${RGA_LIBRARY})
diff --git a/src/video/rk.c b/src/video/rk.c
index 44526443..af9451d7 100644
--- a/src/video/rk.c
+++ b/src/video/rk.c
@@ -37,15 +37,19 @@
#include <libdrm/drm_fourcc.h>
#include <rockchip/rk_mpi.h>
+#include <rga/RgaApi.h>
#define READ_BUF_SIZE 0x00100000
#define MAX_FRAMES 16
+#define MAX_DEST_BUFFERS 3
#define RK_H264 7
#define RK_H265 16777220
void *pkt_buf = NULL;
int fd;
int fb_id;
+int fb_id_rot[MAX_DEST_BUFFERS];
+int prime_fd_rot[MAX_DEST_BUFFERS];
uint32_t plane_id, crtc_id;
int frm_eos;
int crtc_width;
@@ -78,6 +82,7 @@ struct {
void *display_thread(void *param) {
+ static int index = 0;
int ret;
while (!frm_eos) {
@@ -94,8 +99,9 @@ void *display_thread(void *param) {
return NULL;
}
}
- _fb_id = fb_id;
+ _fb_id = fb_id_rot[index];
+ index = (index + 1) % MAX_DEST_BUFFERS;
fb_id = 0;
ret = pthread_mutex_unlock(&mutex);
assert(!ret);
@@ -110,10 +116,13 @@ void *display_thread(void *param) {
void *frame_thread(void *param) {
+ static int index = 0;
int count = 0;
int ret;
int i;
MppFrame frame = NULL;
+ rga_info_t src_info = {0};
+ rga_info_t dst_info = {0};
while (!frm_eos) {
@@ -137,7 +146,15 @@ void *frame_thread(void *param) {
RK_U32 ver_stride = mpp_frame_get_ver_stride(frame);
MppFrameFormat fmt = mpp_frame_get_fmt(frame);
assert((fmt == MPP_FMT_YUV420SP) || (fmt == MPP_FMT_YUV420SP_10BIT));
-
+ printf("Frame WxH=%dx%d WSxHs=%dx%d\n", frm_width, frm_height, hor_stride, ver_stride);
+
+#if 1
+ // position overlay, expand to full screen
+ fb_x = 0;
+ fb_y = 0;
+ fb_width = crtc_width;
+ fb_height = crtc_height;
+#else
// position overlay, scale to ratio
float crt_ratio = (float)crtc_width/crtc_height;
float frame_ratio = (float)frm_width/frm_height;
@@ -153,6 +170,47 @@ void *frame_thread(void *param) {
fb_x = 0;
fb_y = (crtc_height-fb_height)/2;
}
+#endif
+ for (int i = 0; i < MAX_DEST_BUFFERS; i++) {
+ // new DRM buffer for rotated screen
+ struct drm_mode_create_dumb dmcd2 = {0};
+ dmcd2.bpp = fmt==MPP_FMT_YUV420SP?8:10;
+ dmcd2.width = hor_stride;
+ dmcd2.height = ver_stride*2; // documentation say not v*2/3 but v*2 (additional info included)
+ do {
+ ret = ioctl(fd, DRM_IOCTL_MODE_CREATE_DUMB, &dmcd2);
+ } while (ret == -1 && (errno == EINTR || errno == EAGAIN));
+
+ struct drm_prime_handle dph2 = {0};
+ dph2.handle = dmcd2.handle;
+ dph2.fd = -1;
+ do {
+ ret = ioctl(fd, DRM_IOCTL_PRIME_HANDLE_TO_FD, &dph2);
+ } while (ret == -1 && (errno == EINTR || errno == EAGAIN));
+ assert(!ret);
+
+ prime_fd_rot[i] = dph2.fd;
+
+ uint32_t handles[4] = {0}, pitches[4] = {0}, offsets[4] = {0};
+ handles[0] = dmcd2.handle;
+ offsets[0] = 0;
+ pitches[0] = hor_stride;
+ handles[1] = dmcd2.handle;
+ offsets[1] = hor_stride * ver_stride;
+ pitches[1] = hor_stride;
+ ret = drmModeAddFB2(fd, frm_width, frm_height, fmt==MPP_FMT_YUV420SP?DRM_FORMAT_NV12:DRM_FORMAT_NV12_10, handles, pitches, offsets, &fb_id_rot[i], 0);
+ assert(!ret);
+ }
+ // setup rotation
+ src_info.mmuFlag = 1;
+ src_info.rotation = HAL_TRANSFORM_ROT_270;
+
+ rga_set_rect(&src_info.rect, 0, 0, frm_width, frm_height, mpp_frame_get_hor_stride(frame), mpp_frame_get_ver_stride(frame), RK_FORMAT_YCbCr_420_SP);
+
+ dst_info.fd = prime_fd_rot[index];
+ dst_info.mmuFlag = 1;
+
+ rga_set_rect(&dst_info.rect, 0, 0, frm_width, frm_height, mpp_frame_get_hor_stride(frame), mpp_frame_get_ver_stride(frame), RK_FORMAT_YCbCr_420_SP);
// create new external frame group and allocate (commit flow) new DRM buffers and DRM FB
assert(!mpi_frm_grp);
@@ -220,6 +278,15 @@ void *frame_thread(void *param) {
// send DRM FB to display thread
ret = pthread_mutex_lock(&mutex);
assert(!ret);
+
+ src_info.fd = frame_to_drm[i].prime_fd;
+ dst_info.fd = prime_fd_rot[index];
+ index = (index + 1) % MAX_DEST_BUFFERS;
+
+ if (c_RkRgaBlit(&src_info, &dst_info, NULL) < 0) {
+ fprintf(stderr, "Failed to do rga blit\n");
+ }
+
fb_id = frame_to_drm[i].fb_id;
ret = pthread_cond_signal(&cond);
assert(!ret);
@@ -359,6 +426,10 @@ int rk_setup(int videoFormat, int width, int height, int redrawRate, void* conte
// hide cursor by move in left lower corner
drmModeMoveCursor(fd, crtc_id, 0, crtc_height);
+ // RGA Setup
+
+ c_RkRgaInit();
+
// MPI SETUP
pkt_buf = malloc(READ_BUF_SIZE);
@@ -442,6 +513,8 @@ void rk_cleanup() {
mpp_destroy(mpi_ctx);
free(pkt_buf);
+ c_RkRgaDeInit();
+
drmModeFreePlane(ovr);
drmModeFreePlaneResources(plane_resources);
drmModeFreeEncoder(encoder);
From a812c83ea9946e08854443e4c1ace8a5cb78eb3a Mon Sep 17 00:00:00 2001
From: Kris Henriksen <github@krishenriksen>
Date: Mon, 1 Feb 2021 02:47:54 +0000
Subject: [PATCH 2/2] added required mode for rockchip
---
src/video/rk.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/video/rk.c b/src/video/rk.c
index af9451d7..e40f2c60 100644
--- a/src/video/rk.c
+++ b/src/video/rk.c
@@ -36,6 +36,13 @@
#include <xf86drmMode.h>
#include <libdrm/drm_fourcc.h>
+#define DRM_FORMAT_NV12_10 fourcc_code('N', 'A', '1', '2') /* 2x2 subsampled Cr:Cb plane */
+#define DRM_FORMAT_NV21_10 fourcc_code('N', 'A', '2', '1') /* 2x2 subsampled Cb:Cr plane */
+#define DRM_FORMAT_NV16_10 fourcc_code('N', 'A', '1', '6') /* 2x1 subsampled Cr:Cb plane */
+#define DRM_FORMAT_NV61_10 fourcc_code('N', 'A', '6', '1') /* 2x1 subsampled Cb:Cr plane */
+#define DRM_FORMAT_NV24_10 fourcc_code('N', 'A', '2', '4') /* non-subsampled Cr:Cb plane */
+#define DRM_FORMAT_NV42_10 fourcc_code('N', 'A', '4', '2') /* non-subsampled Cb:Cr plane */
+
#include <rockchip/rk_mpi.h>
#include <rga/RgaApi.h>

View file

@ -1,36 +0,0 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020-present Shanti Gilbert (https://github.com/shantigilbert)
PKG_NAME="rs97-commander-sdl2"
PKG_VERSION="7d0b939508602c1035283d9062d258d695ad1f0f"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/dhwz/rs97-commander-sdl2"
PKG_URL="$PKG_SITE/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain SDL2 SDL2_image SDL2_gfx SDL2_ttf patchelf"
PKG_PRIORITY="optional"
PKG_SECTION="tools"
PKG_SHORTDESC="Two-pane commander for RetroFW and RG-350 (fork of Dingux Commander)"
pre_configure_target() {
if [ "${DEVICE}" = "RG351V" ] || [ "${DEVICE}" = "RG351P" ]
then
sed -i 's|std::ifstream cFile ("/tmp/joypads/"+gamepad+".cfg");|std::ifstream cFile ("/tmp/joypads/"+gamepad+"_SDL.cfg");|g' window.cpp
fi
sed -i "s|sdl2-config|${SYSROOT_PREFIX}/usr/bin/sdl2-config|" Makefile
if [ "${DEVICE}" = "RG351V" ] || [ "${DEVICE}" = "RG351MP" ]
then
PKG_MAKE_OPTS_TARGET=" RG351V=1 CC=$CXX"
else
PKG_MAKE_OPTS_TARGET=" RG351P=1 CC=$CXX"
fi
}
makeinstall_target() {
mkdir -p $INSTALL/usr/bin
mkdir -p $INSTALL/usr/share/DinguxCommander/
cp DinguxCommander $INSTALL/usr/bin/
cp -rf res $INSTALL/usr/share/DinguxCommander/
}