Skip to content

Commit

Permalink
Experimental (#84)
Browse files Browse the repository at this point in the history
* Starting custom layout

* Same

* More changes for custom layout

* More customizing. MOREEEEE!!!

* More custom

* Adjusting even more custom things

* More params

* Better

* Adding header text in custom and fixing alphabetical nav display in the
same mode

* HDMI control for RG-350

* Adding text below picture POC

* Same

* Too tired to think of something better, it works

* Fixing ratio in custom

* Reorganizing when things are drawn

* Associating text to the picture

* Tidying names containing hyphen

* Updating theme.ini and sample background

* Adding backgrounds and making header optional

* Adding threading

* Fixing trad and drunken

* Fix trad

* Heart

* Adding customization for art text

* Adjusting indentation as well as addig the shrink function when the
image width can be divided by the new width

* Changing surface scaling for backgrounds to start

* Trying resizing groups only once

* MOTHERFUCKER

* Fixing bug where default theme was always needed and tidying up what
get's shown each screen update

* Changing function name and making it stetch to full screen

* Switching section loading from one place to the other

* I'm fixing a bug, where the rain gets in...

* MORRRRREEEEE

* Fixing graphical stuff!!!

* Removign printfs

* All

Fix ing bug with loading files when the first dir is empty
Adjusting when backgrounds are loaded and
Adjusting empty picture simulation when no pic

* fixing alpha sorting when aliased

* Fixing image scaling

* Yes

Trying new but almost thesame dir function while fixing another sorting
bug

* Adding game count to custom mode

* Removing warnings, adding completed new theme and perfecting graphics

* Fixing game count in custom mode

* Fixing bittboy

* Fixing theme

* Adjusting favorites in fullscreen

* Changing thee backgrounds and adjusting footer position in fulllscreen

* Adjusting theme

* Theming

* Updating game gear

Co-authored-by: bittboy <bittboy@bittboy>
  • Loading branch information
fgl82 and bittboy authored May 17, 2020
1 parent 2f1d1bb commit edd8b5d
Show file tree
Hide file tree
Showing 359 changed files with 9,710 additions and 863 deletions.
12 changes: 6 additions & 6 deletions simplemenu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ TARGET = simplemenu
#PLATFORM = BITTBOY
#PLATFORM = RG-300
#PLATFORM = RG-350
PLATFORM = NPG
#PLATFORM = PC
#PLATFORM = NPG
PLATFORM = PC

# Compiler
ifeq ($(PLATFORM), BITTBOY)
Expand All @@ -20,19 +20,19 @@ else ifeq ($(PLATFORM), RG-300)
else ifeq ($(PLATFORM), RG-350)
CC = /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc
LINKER = /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc
CFLAGS = -DTARGET_RG350 -DUSE_GZIP -Ofast -fdata-sections -ffunction-sections -fno-PIC -flto -Wall -std=gnu99
CFLAGS = -DTARGET_RG350 -DUSE_GZIP -Ofast -fdata-sections -ffunction-sections -fno-PIC -flto -Wall -Wextra -std=gnu99
LIBS += -lSDL -lSDL_sound -lSDL_image -lSDL_ttf -lshake -lpthread -lz -lbz2
else ifeq ($(PLATFORM), NPG)
CC = /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc
LINKER = /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc
CFLAGS = -DTARGET_NPG -DUSE_GZIP -Ofast -fdata-sections -ffunction-sections -fno-PIC -flto -Wall -std=gnu99
LIBS += -lSDL -lSDL_sound -lSDL_image -lSDL_ttf -lshake -lpthread -lz -lbz2
LIBS += -lSDL -lSDL_sound -lSDL_image -lSDL_ttf -lpthread -lz -lbz2
else
TARGET = simplemenu-x86
CC = gcc
LINKER = gcc
CFLAGS = -DTARGET_PC -DUSE_GZIP -DTARGET_PC -Ofast -fdata-sections -ffunction-sections -fPIC -flto -Wall -Wextra
LIBS += -lSDL -lasound -lSDL_image -lSDL_ttf -lpthread -lz
CFLAGS = -DTARGET_PC -DUSE_GZIP -Ofast -fdata-sections -ffunction-sections -fPIC -flto -Wall -Wextra -pg
LIBS += -lSDL -lasound -lSDL_image -lSDL_ttf -lpthread -lz
endif

# You can use Ofast too but it can be more prone to bugs, careful.
Expand Down
9 changes: 0 additions & 9 deletions simplemenu/output/RG-350/config/config.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[GENERAL]
media_folder = media
theme = default

[FULLSCREEN_MODE]
display_footer = 0
display_menu = 1

[SYSTEM]
screen_timeout_in_seconds = 30
allow_shutdown = 0

[CPU]
underclocked_speed = 408
Expand Down
4 changes: 2 additions & 2 deletions simplemenu/output/RG-350/section_groups/arcades.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[CONSOLES]
consoleList =MAME,FINAL BURN ALPHA,DAPHNE
consoleList =MAME,FINALBURN ALPHA,DAPHNE

[MAME]
execs = /media/data/local/share/xmame/xmame84/xmame.SDL.84
Expand All @@ -8,7 +8,7 @@ romExts = .zip
aliasFile = /media/home/.simplemenu/alias.txt
onlyFileNamesNoPathOrExtension = yes

[FINAL BURN ALPHA]
[FINALBURN ALPHA]
execs = /media/data/apps/fba.opk
romDirs = /media/sdcard/ROMS/FBA/
romExts = .zip
Expand Down
4 changes: 2 additions & 2 deletions simplemenu/output/RG-350/section_groups/consoles.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[CONSOLES]
consoleList = NES,SNES,MASTER SYSTEM,SEGA GENESIS,SEGA CD,SEGA 32X,PLAYSTATION,NEO-GEO,PC ENGINE,PC ENGINE CD,ATARI 2600,ATARI 7800,
consoleList = NES,SNES,MASTER SYSTEM,SEGA GENESIS,SEGA CD,SEGA 32X,PLAYSTATION,NEO GEO,PC ENGINE,PC ENGINE CD,ATARI 2600,ATARI 7800,

[NES]
execs = /media/data/apps/fceux.opk
Expand Down Expand Up @@ -36,7 +36,7 @@ execs = /media/data/apps/pcsx4all.opk
romDirs = /media/sdcard/ROMS/PS/
romExts = .mdf,.img,.bin,.zip

[NEO-GEO]
[NEO GEO]
execs = /media/data/apps/fba.opk
romDirs = /media/sdcard/ROMS/NEOGEO/
romExts = .zip
Expand Down
Binary file added simplemenu/output/gmon.out
Binary file not shown.
27 changes: 27 additions & 0 deletions simplemenu/output/log.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on SimpleMenu-RG-350.opk, block size 131072.
[===============================================================|] 291/291 100%

Squashfs 4.0 filesystem, gzip compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, no xattrs
duplicates are removed
Filesystem size 6429.51 Kbytes (6.28 Mbytes)
89.50% of uncompressed filesystem size (7183.44 Kbytes)
Inode table size 3847 bytes (3.76 Kbytes)
35.02% of uncompressed inode table size (10984 bytes)
Directory table size 2264 bytes (2.21 Kbytes)
31.37% of uncompressed directory table size (7216 bytes)
Number of duplicate files found 2
Number of inodes 339
Number of files 264
Number of fragments 28
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 75
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
Expand Down
12 changes: 6 additions & 6 deletions simplemenu/output/make_opk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ else
FLIST="${FLIST} default.retrofw.desktop"
fi

rm -f ${OPK_NAME}
mksquashfs ${FLIST} ${OPK_NAME} -all-root -no-xattrs -noappend -no-exports
rm -f ${OPK_NAME} > log.txt
mksquashfs ${FLIST} ${OPK_NAME} -all-root -no-xattrs -noappend -no-exports >> log.txt

if [ "$1" = 'RG-350' ] || [ "$1" = 'PG2' ]; then
cat default.gcw0.desktop
rm -f default.gcw0.desktop
# cat default.gcw0.desktop
rm -f default.gcw0.desktop >> log.txt
while true; do
read -p "Transfer?" yn
case $yn in
Expand All @@ -92,6 +92,6 @@ if [ "$1" = 'RG-350' ] || [ "$1" = 'PG2' ]; then
esac
done
else
cat default.retrofw.desktop
rm -f default.retrofw.desktop
# cat default.retrofw.desktop
rm -f default.retrofw.desktop >> log.txt
fi
Binary file added simplemenu/output/themes/GBZ35Remix.zip
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading

0 comments on commit edd8b5d

Please sign in to comment.