Author Topic: UselessRS97 - Custom Firmware for the RS97  (Read 35724 times)

gameblabla (OP)

  • **
  • Posts: 718
UselessRS97 - Custom Firmware for the RS97
« on: July 11, 2018, 04:36:02 am »


WARNING: Make sure to keep the internal sd card that comes with the unit or to back it up ! There are new RS-97s roaming around.

UselessRS97 is an internal and external RS97 firmware for all known revisions of the RS-97.
It aims at improving overall stability, weird crashes and be overall a pleasant experience.

Features
Emulators
Code: [Select]
BeebEm (BBC Micro)
Caprice32 (Amstrad CPC)
DCastAway (Atari ST)
Dingux-2600 (Atari 2600)
Dingux-Atari (Atari 8-bits)
DosBOX (MS-DOS)
DumbSNES (SNES)
FBA-GCW0 (Arcade)
FBA-A320 (Arcade)
Fceux (NES/Famicom)
GnGeo (Neo Geo)
Gamebatte (GB/GBC)
Handy (Atari Lynx)
JzIntv (Intellivision)
MAME4ALL (Arcade)
ONScripter (VN interpreter)
OhBoy! (GB/GBC)
OpenBOR (beat em up engine)
Oswan (Wonderswan)
PCSX4ALL (PS1)
Picodrive (Megadrive/Sega CD)
PocketSNES (SNES)
PokeMini (Pokemon Mini)
Race (Neo Geo Pocket)
ReGBA (GBA emulator)
SMS Plus GX (Master system/Game Gear/SG-1000)
ScummVM (Interpreter)
Temper (PC-Engine)
UAE4ALL (Amiga)
Unreal Speccy (ZX Spectrum)
Vice (C64)
Games
Code: [Select]
Apricots
Arkanoid
Bermuda
Boulder
BlockOut 2
C-Dogs SDL
Cannonball
CaveStory
Chroma
Chocolate Doom
Chocolate Heretic
Chocolate Hexen
Chocolate Strife
Dark Light
Digger
Drillux
EcWolf
EDuke32
Falling Time
FreeBlocks
Ganbare-Natsuki-San
Homing Fever
JinYong Legend
JinYong Legend PSP
Just4QIX
KETM
King of Fighters : Flames of Courage
The Last Mission
Meritous
Noiz2sa
OpenJazz
OpenTyrian
Overheated
Pang
ProfaDeluxe
Puzzletube
Quake
Reminiscence
Rockbot
Rise Of The Triad SW
SDLPAL
SDLPAL MHV
Shifty
Shisen Seki
Snowman
Street of Rage Remake
SORR Game
Spartak
Spout
Super DMCA War
SuperTux
Transball
Triple
Tileworld
Wizznic
Zelda Roth
Apps
Code: [Select]
Dingoo Commander (File Explorer)
FFPlay (Video Player)
GMU (Music player)
GluTexto (Text Editor)
LGPT (Track editor)
O2xiv (Image viewer)

Need to be fixed (from older firmware)
SRB2. (Refuses to load. Still no fix found), FreeDroid (Crashes), Midpath & Opentitus (way too tricky to compile)

Download

External

Patcher for using firmware over external sd card 16th August 2018 :
https://github.com/gameblabla/rs97-fixesgames/releases/download/5/ExternalRS97_patcher.zip

Firmware

Important : Make sure to apply the updates (Service pack) after flashing the firmware !

Latest firmware version : 1.41 (October 14th 2018)
Quote
Revision 1.0S (new screen) :
https://drive.google.com/open?id=1nJ16NSKzk5tbNVpql-IpBDVRgQagHWui

Revision 2.1 (New units, came with a 16Gb sd card) :
https://drive.google.com/open?id=1B18Z7in5zhOzNGbsX1sN8plUgYZXjNlL

Revision 2.1 (Old units, came on a 4Gb sd card) :
https://drive.google.com/open?id=1dfrTeugFn4ZBgVU5P_26U7l8C5aQAUMR

Revision 1.0, 2.0, 1.0S (old screen panel):
https://drive.google.com/open?id=1ONnG0SofoVtmWmzUiakGLjcq6RUiEKp2

Updates

Service Pack 5 for Firmware 1.4 :
https://drive.google.com/open?id=1bnczbPYeQUXxogXSYoN4cjIdAH3e19Fh

Service Pack 15 for Firmware 1.3 and 1.2 :
https://drive.google.com/open?id=12WTCAx8mP2RzEiQOaa454V55gwtFMbHw
Note that applying it over USB can result in file corruptions. If this happens, either flash the whole firmware
or apply it again via an sd card usb writer.

Guide
Installation

There are 2 methods of installations :
External, which is the easiest and allows you to install Useless RS-97 without having to unmount the console.
Internal, which doesn't require another micro sd card and also allows you to use the external sd slot in addition to the internal one.

If you are new to the RS-97 scene then it is recommended that you follow the external route instead.

External
Quote
This will still erase the internal OS, you have been warned
For using it over the external sd slot, you of course need to have another micro sd card, with a size of at least 4GB.
If you don't have another micro sd card, then your only option is to use the internal option.
You also need to own an SD card usb adapter or something similar so you can write files to it.

Download both the firmware file (according to your hardware revision, behind the battery) and the external tool.

Unzip ExternalRS97_patcher.zip and put the folder patcher_ext on a micro sd card.
Plug that micro sd card into the RS-97, go to the Folder icon and look for your "patcher_ext" folder.
Once you found it, run the file patch.dge. Screen will become black for a while, wait until it goes back to where it was.
Once the screen is no longer black, you can turn off the unit. If it becomes stuck, then hit the reset button or remove the battery.

Now, you need to flash the firmware to another micro sd card. (or you can reuse the one you used for the patcher, it's no longer needed)
Format said micro sd card with this tool :
https://www.sdcard.org/downloads/formatter_4/

Then use https://etcher.io or Win32 Disk Imager to write the firmware file to the Micro sd card.
Once that is done, you can expand your FAT32 partition with a tool like Minitool or Gparted.

Put that micro sd card in the GBA slot. Make sure your console is powered off !
Then power it on with the micro sd card inside the GBA slot and it should boot it.

Internal
Quote
You need to be able to disassemble your console and be able to flash the internal micro sd card.
On Windows, format your SD card first with this :
https://www.sdcard.org/downloads/formatter_4/
Then use Win32 Disk Imager to flash the firmware.

You can expand the FAT32 partition if you need more space, provided that you used the SD Card alliance formater before on the sd card (Windows only).

Then it's simply a matter (after flashing) of putting everything pack together and power it up.
You may have to press the reset button if it stays black. If it's still black, make sure the internal micro sd card is properly inserted.

Transfer ROMs
External
Quote
Just simply power off your console and transfer your ROMS to the external sd card.
Note that on versions prior Windows 10 Creator's Update, you will need to use RMPrepUSB to access the FAT32 partition.
Quote
Open RMPrepUSB, hold CTRL+O, type 3 and access to the ROMS partition appears. Then when finished, hit CTRL+O again and select 0.

Only for older revisions, not for 1.0S with new LCD panel
If that's an issue for you, then you can also mount it via the USB mounting feature. Plug the micro USB cable and power on your console.
A prompt will appear asking you if you want to mount the internal partition. Press A to accept and it should be mounted on your PC.
Internal
Quote
You have 2 options : Use the external SD card slot with the cartridge or use the auto mounting feature.
The external micro sd should be mounted at /mnt/ext_sd.

To use the auto mounting feature, reboot or power on your console while a USB cable is plugged to a computer.
A prompt will appear asking you if you want to mount the internal partition. Press A to accept and it should be mounted on your PC.
Additional software required
Quote
Chocolate Doom series (Heretic, Hexen, Strife): No shareware files provided. Put the wads file somewhere and point it to it.
DOSBox : Requires a special format for the games. For example, here's an example file "duke_nukem.dos" for Duke Nukem :
Code: [Select]
[autoexec]
mount C "/mnt/int_sd/roms/dos/"
C:
cd DUKE
dn1.exe
Make sure that the paths are correct.
ECWolf : No shareware files provided either. When trying to launch it from Gmenu2x, you need to point it to a game's directory such as Wolf3D, Super Noah's Ark or Spear of Destiny. All known versions should be compatible.
UAE4All : Requires a kickstart 1.3 Rom file called kick.com in /mnt/int_sd/emus/uae4all. Not provided by default.
DCastaway : Provided with EmuTOS but might require Original TOS file in /mnt/int_sd/emus/dcastaway in a file called "rom".
Picodrive : Requires Sega CD bios files for Sega CD emulation. No Bios required for other machines.
It must be one of the following filenames depending on the region :
Quote
US
us_scd1_9210.bin
us_scd2_9306.bin
SegaCDBIOS9303.bin
EU
eu_mcd1_9210.bin
eu_mcd2_9303.bin
eu_mcd2_9306.bin
JP
jp_mcd1_9112.bin
jp_mcd1_9111.bin
PCSX4ALL : Some games might need a PSX Bios file. Put it in /mnt/int_sd/.pcsx4all/bios. Create the folders if they don't exist.
Bermuda : Make sure to put the full version (or the very rare demo files) in /mnt/int_sd/games/bermuda/data.
EDuke32 : Comes with shareware files. If you own full version, replace it over the shareware ones in /mnt/int_sd/games/eduke32
Quake : Comes with shareware files. If you own full version, replace it over the shareware ones in /mnt/int_sd/games/quake/id1
Reminiscence : Requires full version in /mnt/int_sd/games/reminiscence/data
Gngeo : Make sure you have the neogeo.zip bios file in the same directory as your games. GOG provides it with Neo GEO games.
ScummVM : Doesn't come provided with games. Use the internal browser to search your games, they'll get added to a list.
Temper : Requires syscard3.pce file for CD emulation. Put it in /mnt/int_sd/.temper/syscards.

Video

Part 1 : Games and some Emulators
<a href="https://www.youtube.com/watch?v=64Lwth6Ri9U" target="_blank">https://www.youtube.com/watch?v=64Lwth6Ri9U</a>

Part 2 : More emulators
<a href="https://www.youtube.com/watch?v=32WarYJbOWA" target="_blank">https://www.youtube.com/watch?v=32WarYJbOWA</a>

Changelog
Quote
October 19th 2018
Fixes more regressions, including C-Dogs, PCSX4ALL, FBA-GCW0... This is going to be the last update in a while.

October 17th 2018
Fixes TV out issues for most apps & games except for OpenBor and Race. Also updates ScummVM to the latest git version, including support for high resolution games as well as including it with the modern theme.

October 4th 2018
Several fixes, speed improvements for Picodrive & PocketSNES, also several display issues for numerous emulators (including ohboy & gamebatte).
Gambatte's menu can now be trigerred with the brightness button (in addition to the power button).

Development

Toolchain for developers (compiled against Debian unstable glibc 2.27) :
https://mega.nz/#!j2hVAYqa!yAaliiN6LSOsWmOAuZCw_4E8fxbPTzlm5ovf4qLe3Sg

Source code :
Quote
https://github.com/gameblabla/buildroot-rs97
https://github.com/gameblabla/handy-rs97
https://github.com/gameblabla/ecwolf
https://github.com/gameblabla/dumbsnes
https://github.com/gameblabla/rs97-fixesgames
https://github.com/gameblabla/sms_sdl

CREDITS
Quote
Thanks pingflood for fixing and improving many emulators in addition to his advice and help.
He currently maintains GMenuNext, dingux-2600, dingux-msx and helped fixing PocketSNES/dumbsnes.
Thanks bob-fossil for ROTT port, improving Mame4ALL and fixing FBA-SDL.
Many thanks to bitrider for his numerous fixes !
Thanks Fontes for the artwork and some of the wallpapers that came with it, see his deviantart
https://www.deviantart.com/fontesmakua

And of course, i would like to thank the many emulator authors for their work, they are too numerous to be listed here !


FAQ

Q: Videos with FFPlay play too slowly or skip frames !
A : You need to reconvert your videos specifically for the RS-97. MP4 H.264 with Carbac disabled, resolution at 320x240 or lower with a crf of 32 will play best. Here are my recommended ffmpeg settings :
Code: [Select]
ffmpeg -i source_video.mp4 -tune fastdecode -maxrate 8M -r 24 -crf 32 -s 320x240 -aspect 320:240 -bf 0 output.mp4
Q: Some of my GBA games don't work on it !
A : GPSP and even reGBA are not known for being compatible with most games out there. Except most of them to work but not all of them. (especially the video carts for the GBA)
Known problematic games : NES classic games, Hamtaro, GBA movie carts.

Q: For some reasons, it can't read my external SD card !
A : Make sure to format it with the SD Card alliance formatter.
https://www.sdcard.org/downloads/formatter_4/
Then you can create your FAT32 partition.

Q: I would like to go back to the original firmware but i haven't made a backup of it !
A: Grab the firmware image files according to your revisions :
Quote
Revision 1.0, 2.0
https://rs97.bitgala.xyz/04.%20os_images/Internal%20v2.1%20sysyems%20only/original_shipped_firmware_RS-97_2018.04.12_New_rs97%20v2.1%20only.7z
Revision 2.1
https://rs97.bitgala.xyz/04.%20os_images/Internal%20v2.1%20sysyems%20only/original_shipped_firmware_RS-97_2018.04.12_New_rs97%20v2.1%20only.7z
Revision 1.0S (with 2.0 screen)
https://drive.google.com/file/d/1WM89HIecCxCzqawkvNd0Iwc4OFxCUF-Q/view

Then flash it to the internal sd card and replace it.
« Last Edit: October 18, 2018, 07:05:37 pm by gameblabla »

chris67

  • *
  • Posts: 15
Re: UselessRS97 - Internal firmware for RS97 revision 2.1
« Reply #1 on: July 11, 2018, 06:54:23 am »
Hello Gamablabla, wow, this is a major update ! Your post is much technical, as firmware porting is still an obscure subject for me. It seems you have done a real amount of work, many thanks for doing it. Not sure everyone will understand what you've done ! I have a few questions not directly related, but it is still about software development for RS97. First, is the SDL2 library supported ? I can only see source codes based on old SDL 1.2. Then, do you know if OpenGL is supported ? I had no success trying to compile with these two libraries. Thank you !

jutley

  • *** Moderator
  • Posts: 1550
    • Retrogamers97-90
Re: UselessRS97 - Internal firmware for RS97 revision 2.1
« Reply #2 on: July 11, 2018, 08:30:54 am »
Well done sauce hat's off to you great job looking forward to many updates :)

fosamax

  • *
  • Posts: 297
Re: UselessRS97 - Internal firmware for RS97 revision 2.1
« Reply #3 on: July 11, 2018, 09:02:59 am »
Hi Gameblabla, nice work on that one.

I hope there will be more improvement with the firmware, like adding ipu support, as well as scanline option if possible.

Regarding FBA, I guess you could look at porting NJEMU from PSP https://github.com/phoe-nix/NJEMU
There's support for CPS1, CPS2, NeoGeo and NeoGeoCD and the speed is really good on PSP as long as the game doesn't use rasters.

Those emus where the one that were used on the original dingoo A320.

I hope FBA could be readded at some point since there are some nice cave shooters for it.

Thanks for everyone involved in that project !

hiei

  • *
  • Posts: 100
Re: UselessRS97 - Internal firmware for RS97 revision 2.1
« Reply #4 on: July 11, 2018, 09:34:41 am »
Great! As soon as this cfw will support also 1.0 and 2.0 revs I will add it to the "Ultimate" RS-97 Guide :)

gameblabla (OP)

  • **
  • Posts: 718
Re: UselessRS97 - Internal firmware for RS97 revision 2.1
« Reply #5 on: July 11, 2018, 11:12:59 am »
Quote
First, is the SDL2 library supported ? I can only see source codes based on old SDL 1.2. Then, do you know if OpenGL is supported ? I had no success trying to compile with these two libraries. Thank you !
SDL2 has no software renderer and is impossible to be supported. The RS-97 has no 3D hardware and the 2D hardware is not supported, only a framebuffer is. SDL2 requires to be able to set up an EGL context and that requires hardware acceleration.
It is possible to compile it with DirectFB but you'll get a black screen no matter what.
OpenGL is also not supported. In theory, a Mesa3D software renderer is possible, however that is undesirable, will be ultra slow and thus useless. It will also severely increase the rootfs size for something that is ultimately useless.
Closest thing we have to 3D is TinyGL and unfortunately, it's pretty primitive. (take the one from my blockout source)

Quote
I hope there will be more improvement with the firmware, like adding ipu support, as well as scanline option if possible.
Steward is working IPU support, at least he was... I got no words from him since a week or so. I must note that i am unable to compile a working linux kernel due to missing LCD drivers.

Code: [Select]
Regarding FBA, I guess you could look at porting NJEMU from PSP https://github.com/phoe-nix/NJEMU
There's support for CPS1, CPS2, NeoGeo and NeoGeoCD and the speed is really good on PSP as long as the game doesn't use rasters.
Those emus where the one that were used on the original dingoo A320.
Would it be possible to have the port to the Dingoo ? I couldn't find it and porting the PSP work would be a huge amount of work. (not to mention its CPU is not directly compatible with mips32)
I found this old CPS2 emulator for the GP2X with the released source code : https://github.com/gameblabla/cps2emu
Unfortunately, even that won't properly work on the RS-97 due to issues with broken code being used for loading cache files...

This is going to be a lot painful.

Quote
Great! As soon as this cfw will support also 1.0 and 2.0 revs I will add it to the "Ultimate" RS-97 Guide :)
Sure, it's among my plans.

Thanks guys, i lost many nights trying to fix FBA SDL & GCW0, to no avail... If slaneesh could release his source code for the Dingoo port of FBA, that would also help because he never released it...
« Last Edit: July 11, 2018, 11:30:48 am by gameblabla »

fosamax

  • *
  • Posts: 297
Re: UselessRS97 - Internal firmware for RS97 revision 2.1
« Reply #6 on: July 11, 2018, 12:20:49 pm »
Would it be possible to have the port to the Dingoo ? I couldn't find it and porting the PSP work would be a huge amount of work. (not to mention its CPU is not directly compatible with mips32)
I found this old CPS2 emulator for the GP2X with the released source code : https://github.com/gameblabla/cps2emu
Unfortunately, even that won't properly work on the RS-97 due to issues with broken code being used for loading cache files...

This is going to be a lot painful.


Unfortunatly njemu port were released on original firmware for dingoo A320 by the dingoo manufacturer so no sources were ever released. Plus I guess it was compiled for ucos. The port was also a bit different from the original since cache files were embedded into a file (.mvs or .cp2) rather than being in a folder.

I thought PSP and RS-97 were closer on an hardware side in fact.

« Last Edit: July 11, 2018, 12:23:00 pm by fosamax »

gameblabla (OP)

  • **
  • Posts: 718
Re: UselessRS97 - Internal firmware for RS97 revision 2.1
« Reply #7 on: July 11, 2018, 01:41:28 pm »
Unfortunatly njemu port were released on original firmware for dingoo A320 by the dingoo manufacturer so no sources were ever released. Plus I guess it was compiled for ucos. The port was also a bit different from the original since cache files were embedded into a file (.mvs or .cp2) rather than being in a folder.

I thought PSP and RS-97 were closer on an hardware side in fact.
It turns out the CPS2Emu is actually based on an older version of NJEMU !
NJEMU has also no assembly lines of code, making it much more useful. However, it still uses too much PSP specific code so i used it as a reference to fix the cache code. Doing so led to CPS2 games now booting up and running just like it does on PC.
I'll work more on CPS2EMU and hopefully release it.
Sadly, it has currently no sound and i completely suck when it comes to this. Hopefully it's an easy fix... (i don't have sound with the SDL version either)
« Last Edit: July 11, 2018, 01:44:21 pm by gameblabla »

fosamax

  • *
  • Posts: 297
Re: UselessRS97 - Internal firmware for RS97 revision 2.1
« Reply #8 on: July 11, 2018, 01:49:53 pm »
I guess sound may rely on media engine for the psp which is obviously not available for the rs-97.

I'm pretty sure you will end up figuring it out

gameblabla (OP)

  • **
  • Posts: 718
Re: UselessRS97 - Internal firmware for RS97 revision 2.1
« Reply #9 on: July 12, 2018, 12:58:35 am »
I'm pretty sure you will end up figuring it out
And i did figure out the issue :' ) Turns out sound was not enabled by default... Stupid right ?

I have a released a new firmware version with a newer partition layout and the CPS2 Emulator.
I also have added a firmware image for revision 2.0/1.0. Be warned that it might not work, since i don't own that revision.

Other than that, no changes. if you don't care for the newer partition layout, then grab the update pack which adds the CPS2emulator to GMenu2x. Reboot after applying the changes.

I must add that the CPS2Emu has some issues : First bootup will take some time (it needs to create a cache file on the console), it copies the rom file a second time and not all games were tested yet. I got it to work with Eco Fighters, complete with sound support.
If possible, overclock it beyond 600 Mhz for better results and less frame-skipping.

Do let me know if anything crash or does not work as expect. Thank you and enjoy

EDIT: It was reported that Minitool can corrupt the FAT32 partition if you attempt to expand it. Make sure to double check the FAT32 partition and also check if gmenu2x (apps/gmenu2x) is not corrupted.
Expanding it with Gparted works fine.

EDIT2: I have added a video that showcases my stuff on my UselessRS97 firmware. take a look if you're not sure.
https://www.youtube.com/watch?v=64Lwth6Ri9U
« Last Edit: July 12, 2018, 06:04:14 pm by gameblabla »

gameblabla (OP)

  • **
  • Posts: 718
Re: UselessRS97 - Internal firmware for the RS97
« Reply #10 on: July 13, 2018, 09:52:23 pm »
Bump,
Alright guys, thanks for the initial feedback, hopefully this will be the last mandatory firmware release in a while !
I have released firmware 1.2 which fixes some issues with partitioning. It now uses 3.4GB of space and uses internal id 3, so it should be less prone to breaking. I have also added checks for the filesystem at boot.
This should hopefully be more stable.
The last firmware also adds Beebem (nice emulator) and adds CPS2EMU.

EDIT: I have added CPS2EMU back, turns out it was a romset issue; Make sure your CPS2 roms come from a MAME 0.138 romset.
EDIT2: I have posted a part 2 to my first video that shows more emulators running on my firmware. (CPS2EMU, DumbSNES, Beebem, Mame4All running CPS1 games etc...)
« Last Edit: July 14, 2018, 05:54:44 pm by gameblabla »

odjinan

  • *
  • Posts: 20
Re: UselessRS97 - Internal firmware for the RS97
« Reply #11 on: July 15, 2018, 07:55:48 am »
hi!

will try it soon, promising firmware!

2 small suggestion:

could you add this alternative gui?
https://boards.dingoonity.org/ingenic-jz4760-devices/help-wanted!-new-menu-written-in-python-for-k3p-(and-maybe-rs97)/
tagged as alpha, but seems working fine~

this tools too:
https://boards.dingoonity.org/ingenic-jz4760-devices/rs-97-here-is-my-(accurate)-battery-meter/


merci en tout cas pour le boulot ;)
« Last Edit: July 15, 2018, 07:58:20 am by odjinan »

gameblabla (OP)

  • **
  • Posts: 718
Re: UselessRS97 - Internal firmware for the RS97
« Reply #12 on: July 15, 2018, 09:12:55 am »
Hey,
Quote
could you add this alternative gui?
https://boards.dingoonity.org/ingenic-jz4760-devices/help-wanted!-new-menu-written-in-python-for-k3p-(and-maybe-rs97)/
tagged as alpha, but seems working fine~
No, it's written in python, thus it's going to be atrociously slow on the device and would add yet another dependency to python. (which i have removed from the firmware)
Plus, links aren't working properly yet and we need that feature for some games so it's not completely usable anyway.

I'll add the battery meter app though.

Thanks guys and report any issues with if you find any.

EDIT: Btw guy, i think we can mark TV-Out (on all custom firmwares) as broken... The issue is that most games/emus are using double lining due to the weird screen on the RS-97 for speed reasons. However this looks poorly over TV OUT and will introduce screen artifacts and all...
I'll talk to pingflood and see if it would be possible to control the TV Out resolution (like 320x240), which would make it much better than using it on the real RS-97.

Jack83

  • *
  • Posts: 98
Re: UselessRS97 - Internal firmware for the RS97
« Reply #13 on: July 15, 2018, 01:43:32 pm »
No, it's written in python, thus it's going to be atrociously slow on the device and would add yet another dependency to python. (which i have removed from the firmware)

I find this statement a little odd. PyMenu is running fine on the RS97 on the firmware based on stewards work. You don't need high end performance for a menu or possible other scripts with a small UI. Python 2.7 (which runs best on low end devices) and pygame adds only about 14mb of dependencies.

In the end, its your firmware and your choice


dinosaw_act

  • *
  • Posts: 32
Re: UselessRS97 - Internal firmware for the RS97
« Reply #14 on: July 15, 2018, 01:50:34 pm »
Perhaps I've done something stupid but I've installed firmwarev12_rev20 to my RS97 and it works but I don't seem to be able to save settings in MAME4ALL. Every time it starts up it asks for a rom directory. Gamebatte doesn't remember it's settings either.

On the old firmware there was a .mame4all folder created which held the settings files. Some games seem to create there dot folder okay, (.rott, .homingfever for example) but I'm not seeing a .mame4all folder in /mnt/int_sd.

EDIT: MAME4ALL is doing the following in gethomedir in src/odx/odx_frontend.cpp:
Code: [Select]
strcpy(dir, getenv("HOME"));
if (strlen(dir) == 0) {
getcwd(dir, 256);
}

EDIT2: Okay, I got this working by changing the code in MAME4ALL that gets the HOME location on the device. Switching over to the toolchain for the newer firmware broke it for some reason. This was working on the older custom firmware.
« Last Edit: July 15, 2018, 04:32:11 pm by dinosaw_act »