MMBExplorer released!

discuss pc<>acorn file transfer issues and the use of other utils
User avatar
lurkio
Posts: 4351
Joined: Wed Apr 10, 2013 12:30 am
Location: Doomawangara
Contact:

Re: MMBExplorer released!

Post by lurkio »

robcfg wrote: Thu May 27, 2021 9:56 pm Can you provide me with some more details, like which platform are you running it on and how do you take off the SD card? Edit: Can you try to reproduce the same steps, but closing MMBExplorer before taking out the SD card from the computer?
Running MMBExplorer on macOS Mojave. I think I did close MMBExplorer before ejecting the card from the laptop, but I can't be 100% sure. I eject the card by using the macOS "Eject" menu item. Then I physically remove the card from the slot in the laptop.

I'll try and come up with a series of steps and a specific BEEB.MMB file that reproduce the error but I suspect it'll be tricky because the error is intermittent. In fact, I'd say it was rare. (But it's fairly catastrophic when it happens!)

:idea:
Orac
Posts: 2
Joined: Mon Jul 12, 2021 8:21 pm
Contact:

Re: MMBExplorer released!

Post by Orac »

I've just come across this little gem of an app, thank you very much for it.

I don't know if its already been requested, but a nice option would be to export the directory contents to a csv file.

Cheers,
John Spink
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

Orac wrote: Sat Jul 24, 2021 12:45 pm I've just come across this little gem of an app, thank you very much for it.

I don't know if its already been requested, but a nice option would be to export the directory contents to a csv file.

Cheers,
John Spink
Hi John,

Thank you for your kind words!

I definitely could do it, is the current order (Locked flag, Directory.name, size, load address, exec address and crc32) about right for your needs?

Cheers,
Rob
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

As I said, it wasn't difficult at all :mrgreen:

I'm going to fix a couple of small details before making a new release, which should be coming this week.

Meanwhile, here's a csv file that I just generated.

Cheers,
Rob
XOR_Data_csv.png
Attachments
XOR_Data.csv
(1.01 KiB) Downloaded 49 times
Orac
Posts: 2
Joined: Mon Jul 12, 2021 8:21 pm
Contact:

Re: MMBExplorer released!

Post by Orac »

Wow, thanks Rob,

The column order looks fine to me.

Regards,
John
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

Nice!

I'll sort a couple of things out, and shout here when the new release is ready.
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

The time has come!

Here's a shiny new release, v1.2.8, which includes Orac's request to export the disk directory as a CSV file, and also implemented some changes in order to avoid the problem that Lurkio reported.

Please grab it here: https://github.com/robcfg/retrotools/re ... tag/v1.2.8

And report any bugs you may find.

Cheers,
Rob
shifters74
Posts: 433
Joined: Mon Mar 04, 2019 9:44 am
Contact:

Re: MMBExplorer released!

Post by shifters74 »

Hi,

does MMBExplorer support the extended BEEB.MMB files that can be used with MMFS 1.50 or greater?

shifters
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

Not yet.

I started working on it, but life got in my way...

I'll move it upper on my priority list.
Phantasm
Posts: 34
Joined: Thu Jan 19, 2017 9:56 pm
Contact:

Re: MMBExplorer released!

Post by Phantasm »

robcfg wrote: Sun May 22, 2022 12:58 pm Not yet.

I started working on it, but life got in my way...

I'll move it upper on my priority list.
I created a pull request with support for extended MMB files and also some other small useful functionality
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

After polishing some minor things, I merged your pull request and will make a release in the next days.

Thank you very much for your contribution! =D>
Phantasm
Posts: 34
Joined: Thu Jan 19, 2017 9:56 pm
Contact:

Re: MMBExplorer released!

Post by Phantasm »

I've opened another pull request for something which I was working on at the end of last week. Just a small change to add a view file option.
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

Nice!

While I take a look at your new pull request, here's the release with your support for extended MMB files:
https://github.com/robcfg/retrotools/re ... tag/v1.2.9

Cheers,
Rob
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

Hello everyone!

A new hot MMBExplorer release is available right from the oven :mrgreen:

Now, you'll be able to view the contents of one or several files thanks to the brand new View File Window, originally coded by @Phantasm and improved by yours truly.

The contents can be seen as hex data, text or BBC Basic listing. The latter with some rudimentary but nice syntax highlighting! =P~

So, go grab it here: https://github.com/robcfg/retrotools/re ... tag/v1.3.0 ,enjoy it, and don't hesitate to share some feedback and error reports.

Cheers,
Rob
User avatar
vanekp
Posts: 1413
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: MMBExplorer released!

Post by vanekp »

f-secure does not like this file for the new version.
MMBExplorer.jpg
F-Secure Info
Regards Peter.
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

I've sent the executable to F-Secure for analysis just in case, but I think it will most probably be a false positive.

I'll be telling you as soon as I get an answer.

Thanks for your report!
User avatar
vanekp
Posts: 1413
Joined: Thu Nov 30, 2000 7:09 am
Location: The Netherlands
Contact:

Re: MMBExplorer released!

Post by vanekp »

I figured it was but though I would just let you know, I had already put it in my exclude list.
Regards Peter.
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

Good evening, wonderful people!

I made a new release, consisting mainly in some refactoring of code and some housekeeping, as it's quite a lot of code by now and most functionality was condensed into a single file.

As usual, please take a look and tell me should something not work as expected or if you'd like any new feature.

Grab it here: https://github.com/robcfg/retrotools/re ... tag/v1.3.1

Cheers,
Rob
robbyp
Posts: 8
Joined: Fri Mar 16, 2018 5:15 pm
Contact:

Re: MMBExplorer released!

Post by robbyp »

Thank you for this wonderful tool.

I was going to build it (as I normally do with 3rd party tools) on windows, but failed at the "Install FLTK" point. The link described at https://github.com/robcfg/retrotools/tr ... mbexplorer takes you to the FLTK site. The latest release 1.38 which is a set of source code...

What exactly do I do with it? That's the point where I got stuck. And if I build it, how does the MMBExplorer reference it? etc.

Many thanks

Rob
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

Hi, Rob.

Thank you for your kind words!

As you pointed out, you must build FLTK first. You can follow the instructions on README.MSWindows.txt.

But in a nutshell, once you decompress the FLTK source code, there will be a folder named "ide" which contains solution file for Visual Studio.

You'll need to open that on Visual Studio and compile FLTK.

Once that's done, you can continue following the instructions on the MMBExplorer readme file. That is, cloning the MMBExplorer repository, etc.

Then you'll need to edit the CMakeLists.txt file in the retrotools/mmbexplorer folder and change the path to the FLTK folder on line 9

Code: Select all

set(FLTK_INCLUDE_DIR "C:\\Users\\example\\fltk-1.3.8\\")
When you are finished editing this file, you can create a folder named "build" inside the retrotools/mmbexplorer folder, enter it and run the CMake command. That will generate another Visual Studio file for you to compile MMBExplorer.

It sounds like a lot, but it's quite easy :D

Don't hesitate to ask if you have any doubt or get stuck!

Cheers,
Rob
clivebarrell
Posts: 7
Joined: Sat Sep 16, 2023 5:37 pm
Contact:

Re: MMBExplorer released!

Post by clivebarrell »

I'm unable to build mmbexplorer on Ubuntu.
(Linux XXXX 6.2.0-32-generic #32~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 18 10:40:13 UTC 2 x86_64 x86_64 x86_64 GNU/Linux).

FLTK from git built ok and install'ed.
mmbexplorer initially failed to compile some code. Seemed like some source was referring to FLTK include as FL rather than Fl. Creating a soft link hack solved that. Now the mmbexplorer code compiles but fails to link. Here's the first few lines of the output ...

usr/bin/ld: /usr/local/lib/libfltk.a(Fl_Xlib_Graphics_Driver_font_xft.o): in function `utf8extents(Fl_Xlib_Font_Descriptor*, char const*, int, _XGlyphInfo*)':
Fl_Xlib_Graphics_Driver_font_xft.cxx:(.text._ZL11utf8extentsP23Fl_Xlib_Font_DescriptorPKciP11_XGlyphInfo+0x46): undefined reference to `XftTextExtents32'

Any help much appreciated.

Update: Just got it to link on Ubuntu. Here's how ...

On my system, the link step seems to require some additional libraries. I added them one by one to retrotools/mmbexplorer/CMakeLists.txt.
Near the bottom, I now have these lines. Could be amalgamated if needed.

# Link libraries
TARGET_LINK_LIBRARIES(MMBExplorer ${FLTK_LIBRARIES})
TARGET_LINK_LIBRARIES(MMBExplorer ${OPENGL_LIBRARIES})
### Added the following 6 link library lines.
TARGET_LINK_LIBRARIES(MMBExplorer -lfontconfig)
TARGET_LINK_LIBRARIES(MMBExplorer -lXft)
TARGET_LINK_LIBRARIES(MMBExplorer -lXrender)
TARGET_LINK_LIBRARIES(MMBExplorer -lXinerama)
TARGET_LINK_LIBRARIES(MMBExplorer -lXfixes)
TARGET_LINK_LIBRARIES(MMBExplorer -lXcursor)

From the build directory, I then issued:
make clean
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Output:
[ 0%] Built target getscmversion
[ 11%] Building CXX object CMakeFiles/MMBExplorer.dir/src/MMBExplorer.cpp.o
[ 22%] Building CXX object CMakeFiles/MMBExplorer.dir/src/MMBFile.cpp.o
[ 33%] Building CXX object CMakeFiles/MMBExplorer.dir/src/MMBE_Commands.cpp.o
[ 44%] Building CXX object CMakeFiles/MMBExplorer.dir/src/MMBE_Gui.cpp.o
[ 55%] Building CXX object CMakeFiles/MMBExplorer.dir/src/MMBE_Callbacks.cpp.o
[ 66%] Building CXX object CMakeFiles/MMBExplorer.dir/src/MMBE_ViewFileWindow.cpp.o
[ 77%] Building CXX object CMakeFiles/MMBExplorer.dir/src/MMBE_BootOptionsWindow.cpp.o
[ 88%] Building CXX object CMakeFiles/MMBExplorer.dir/src/AcornDFS.cpp.o
[100%] Linking CXX executable MMBExplorer
[100%] Built target MMBExplorer

Result. Executable runs as documented.
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

Hi Clive,

I'm glad you got it working!

It's a bit strange though, as I usually test the Linux build on a Linux Mint VM, which is basically Ubuntu.

Which window manager are you using?

Cheers,
Rob
clivebarrell
Posts: 7
Joined: Sat Sep 16, 2023 5:37 pm
Contact:

Re: MMBExplorer released!

Post by clivebarrell »

Using Gnome.
Initially Ubuntu was running with Wayland.
I recently removed/disabled that and went to plain X11 as I was trying out some screen scaling stuff, which ultimately I didn't need.
It was only at this stage that I started trying to build MMBExplorer and encounted the compile/link issues.
james
Posts: 330
Joined: Tue Aug 15, 2023 8:41 pm
Location: NE Hampshire
Contact:

Re: MMBExplorer released!

Post by james »

This is great. Compiled without problems on my Mac and works a treat. Thank you!
User avatar
robcfg
Posts: 161
Joined: Sun Dec 30, 2018 6:23 pm
Contact:

Re: MMBExplorer released!

Post by robcfg »

Hi James,

Thank you for your kind words!

Cheers,
Rob
Post Reply

Return to “software & utilities for the pc, mac or unix”