Main > Raspberry Pi & Dev Board
How to make a dedicated MAME 0.250 Appliance on a Raspberry Pi 4/Pi 400
bbegin:
--- Quote from: wimpie3 on January 08, 2022, 09:45:20 am ---@bbegin Thanks for your help, unfortunately it's not working. What I have right now:
In mame.ini I've set effect to none
and added this at the end of mame.ini:
#
# OpenGL-SPECIFIC OPTIONS
#
gl_forcepow2texture 0
gl_notexturerect 0
gl_vbo 1
gl_pbo 1
gl_glsl 1
gl_glsl_filter 1
glsl_shader_mame0 $HOME/.mame/glsl/mame-psgs
I've created a directory /data/mame/glsl with these files:
custom_crt.vsh (contents: palette_emulation = 0.0;)
mame-psgs.vsh
mame-psgs_rgb32_dir.fsh
When I launch mame there is no filter effect present.
Could it be that glsl shaders only work when video=opengl?
Edit: google says that "GLSL requires OpenGL support", can I just change video to opengl and not use the current accel option? Or would that break my installation?
--- End quote ---
Just to make sure, your files have to be located under /data/mame/glsl/mame-psgs, not directly under /data/mame/glsl
wimpie3:
--- Quote from: bbegin on January 08, 2022, 01:13:01 pm ---
Just to make sure, your files have to be located under /data/mame/glsl/mame-psgs, not directly under /data/mame/glsl
--- End quote ---
That wasn't the case. Created the directory, moved the files, still not working. I know this is a bit out-of-scope for your project, but I really wanted to get this working since GLSL can offer that unique CRT look. :banghead:
bbegin:
I will take a look at this tonight and I will give you feedback. :cheers:
wimpie3:
How can I edit boot.txt in servicemode?
This is what I get now:
Using username "pi".
pi@192.168.0.52's password:
Linux arcade 5.4.77-v7l+ #1371 SMP Tue Nov 17 13:35:27 GMT 2020 armv7l
The system is currently in SERVICE mode (MAME 0.239), current Frontend is: Attract Mode.
Hypseus Singe v2.6.21-RPi.
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
pi@arcade(ro):~$ sudo nano /boot/config.txt
And when the file shows up, I see the message "[ File '/boot/config.txt' is unwritable ]"
How is this possible? I'm clearly in service mode so the filesystem should be writeable...
J_K_M_A_N:
--- Quote from: wimpie3 on January 28, 2022, 12:25:41 pm ---How can I edit boot.txt in servicemode?
This is what I get now:
Using username "pi".
pi@192.168.0.52's password:
Linux arcade 5.4.77-v7l+ #1371 SMP Tue Nov 17 13:35:27 GMT 2020 armv7l
The system is currently in SERVICE mode (MAME 0.239), current Frontend is: Attract Mode.
Hypseus Singe v2.6.21-RPi.
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
pi@arcade(ro):~$ sudo nano /boot/config.txt
And when the file shows up, I see the message "[ File '/boot/config.txt' is unwritable ]"
How is this possible? I'm clearly in service mode so the filesystem should be writeable...
--- End quote ---
You have to put it in read-write mode first.
--- Code: ---rw
--- End code ---
Then you can edit the file and put it back into read-only mode.
--- Code: ---ro
--- End code ---
J_K_M_A_N
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version