Repton Map Creator
- geraldholdsworth
- Posts: 1406
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Repton Map Creator
Hi all,
I've been busy beavering away writing version 2 of Repton Map Display, now known as Repton Map Creator.
The intention is that, eventually, you'll be able to view, create and edit maps on Windows, Linux or macOS for use in BBC, Electron, Commodore 64, and Archimedes versions of Repton 3, Infinity and The Lost Realms (and view other Repton scenarios).
For now, I've got a beta release ready. Not very polished, but I'm getting there. I've only tested it on macOS, so the GUI may look a lot different on Linux or Windows. Also, I haven't done the High-DPI scaling, so if you use anything other than 100%, it will look messed up.
macOS Intel 64bit
macOS Intel 32bit
macOS ARM
Linux 64bit
Linux 32bit
Linux ARM (Raspbian)
Windows 64bit
Windows 32bit
Either click on the folder to load a Repton 3/Infinity/TLR data file or disc image, or just drag and drop a file onto the main window. With some formats (3,Infinity and TLR, IIRC) if you then drag another data file of the same game type, even different platform, it'll load the character set and replace the loaded set with the incoming one (and up or down scaling as necessary).
Version 1 is still available on The Repton Resource Page.
I've been busy beavering away writing version 2 of Repton Map Display, now known as Repton Map Creator.
The intention is that, eventually, you'll be able to view, create and edit maps on Windows, Linux or macOS for use in BBC, Electron, Commodore 64, and Archimedes versions of Repton 3, Infinity and The Lost Realms (and view other Repton scenarios).
For now, I've got a beta release ready. Not very polished, but I'm getting there. I've only tested it on macOS, so the GUI may look a lot different on Linux or Windows. Also, I haven't done the High-DPI scaling, so if you use anything other than 100%, it will look messed up.
macOS Intel 64bit
macOS Intel 32bit
macOS ARM
Linux 64bit
Linux 32bit
Linux ARM (Raspbian)
Windows 64bit
Windows 32bit
Either click on the folder to load a Repton 3/Infinity/TLR data file or disc image, or just drag and drop a file onto the main window. With some formats (3,Infinity and TLR, IIRC) if you then drag another data file of the same game type, even different platform, it'll load the character set and replace the loaded set with the incoming one (and up or down scaling as necessary).
Version 1 is still available on The Repton Resource Page.
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Re: Repton Map Creator
Gosh this takes me back to the original BBC level editor which I believe may have been the first time I ever used a mouse!
I never managed to design anything very interesting as a level and I remember a school friend at the time thinking it rather hilarious to create levels with rude shapes
All these years later I still occasionally fire up BeebEm and play Repton. I'll have to have a go a making a level and see if 35 years have boosted my creativity
I never managed to design anything very interesting as a level and I remember a school friend at the time thinking it rather hilarious to create levels with rude shapes
All these years later I still occasionally fire up BeebEm and play Repton. I'll have to have a go a making a level and see if 35 years have boosted my creativity
Re: Repton Map Creator
I'm being told the macOS ARM version is damaged and needs to be moved to the Bin when I try to open it!
- geraldholdsworth
- Posts: 1406
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Re: Repton Map Creator
Odd! Never happened before. I've recompiled that version and reposted it.
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Re: Repton Map Creator
If I try to open a PC version of a repton map I either get a blank screen or the program crashes with "Access violation"
Repton1 files give blank screen, Repton2 Access violation and Repton3 not a valid Repton data file.
Repton1 files give blank screen, Repton2 Access violation and Repton3 not a valid Repton data file.
Regards Peter.
- geraldholdsworth
- Posts: 1406
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Re: Repton Map Creator
It can't deal with PC Repton 1 or 2, unfortunately. Maybe one day.
As for PC Repton 3, it can deal with but I've been asked to restrict the access to this ability. Sorry. Again, maybe one day I'll be able to open it out to everyone. That's also the reason why this is not open source.
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Re: Repton Map Creator
Ah okay no problem.geraldholdsworth wrote: ↑Thu Jan 26, 2023 9:09 amIt can't deal with PC Repton 1 or 2, unfortunately. Maybe one day.
As for PC Repton 3, it can deal with but I've been asked to restrict the access to this ability. Sorry. Again, maybe one day I'll be able to open it out to everyone. That's also the reason why this is not open source.
Regards Peter.
Re: Repton Map Creator
I'm still getting the same error with your latest ARM upload. I'm on macOS Monterey 12.6.2. (I'm opening the copy of the .app that's on the desktop in the following screenshot, *not* the copy that's still inside the disk-image.):geraldholdsworth wrote: ↑Thu Jan 26, 2023 8:05 amOdd! Never happened before. I've recompiled that version and reposted it.
What's weird is that if I right-click the desktop copy of the .app and Show Package Contents, and then go into Contents/MacOS, and then copy the binary file Repton Map Creator onto the desktop, I can then successfully open that desktop copy of the binary and get the full application running!
So it seems like the binary itself is okay, but something's gone wrong with the packaging of the binary into a .app..?
- geraldholdsworth
- Posts: 1406
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Re: Repton Map Creator
That is weird - it's the same packaging for all three macOS DMGs, just different binaries. The 64 bit one works fine on Catalina. I'll fire up my Mac Mini later on and try it with my install of Monterey...unfortunately, still only the Intel version.
Cheers,
Gerald.
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Re: Repton Map Creator
I was able to "fix" the problem by using option 4 on the following webpage:geraldholdsworth wrote: ↑Thu Jan 26, 2023 1:43 pmThat is weird - it's the same packaging for all three macOS DMGs, just different binaries. The 64 bit one works fine on Catalina. I'll fire up my Mac Mini later on and try it with my install of Monterey...unfortunately, still only the Intel version.
https://osxdaily.com/2019/02/13/fix-app ... error-mac/
Code: Select all
xattr -cr /path/to/application.app
Code: Select all
$ cd Desktop/
$ xattr Repton\ Map\ Creator.app/
com.apple.quarantine
EDIT2: I'm downloading a security update for macOS Monterey right now. Stand by..!
EDIT3: Security update didn't make any difference.
- geraldholdsworth
- Posts: 1406
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Re: Repton Map Creator
That makes some sense - I use Apple's iCloud drive to store all my source code on, and it compiles to there too. The packages are also created in the same place. iCloud has been getting stuck on 'uploading 0% of XXX MB' on these packaged applications (the Windows and Linux ZIP files too), and I've had to reboot to get it to complete the upload. I have my suspicions that this could also have something to do with permissions/attributes.lurkio wrote: ↑Thu Jan 26, 2023 1:52 pm I was able to "fix" the problem by using option 4 on the following webpage:
https://osxdaily.com/2019/02/13/fix-app ... error-mac/
Code: Select all
xattr -cr /path/to/application.app
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
- geraldholdsworth
- Posts: 1406
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Re: Repton Map Creator
I've uploaded beta 2 version today. This version can save edited Repton 3 scenarios (except PC version), and PC graphics. Still need to write the map editor yet.
Links above are still valid, and hopefully, my Mac hasn't decided to keep the attributes to prevent it running (I've put the xattr command in the script for creating the packages, so fingers crossed). You can also get it direct from The Repton Resource Page, by clicking on the "Repton Map Display & Repton Map Decoder" link at the top.
Oh, I may have accidentally left the PC Repton 3 functionality unlocked.
Links above are still valid, and hopefully, my Mac hasn't decided to keep the attributes to prevent it running (I've put the xattr command in the script for creating the packages, so fingers crossed). You can also get it direct from The Repton Resource Page, by clicking on the "Repton Map Display & Repton Map Decoder" link at the top.
Oh, I may have accidentally left the PC Repton 3 functionality unlocked.
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
- geraldholdsworth
- Posts: 1406
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Re: Repton Map Creator
After a few weeks busy working, and going back over to Disc Image Manager, I've come back to Repton Map Creator and made Version 2 beta 3 available on the Repton Resource Page. Not much done, except that you can now edit Repton 3 maps (and, of course, save them).
A few things:
Finally, in an attempt to stop macOS Monterey and Ventura from claiming that it is broken, I've changed the script that does the packaging. It now creates the app package on my Desktop before copying it onto the DMG. Funnily enough, I don't get any issues like this on my Mac Mini running Monterey with this or Disc Image Manager.
A few things:
- You can't start with a blank scenario, or blank off a screen
- You can't change the screen colours
- When placing a transporter, you will then need to place the destination - the 'cursor' remains as a transporter
Finally, in an attempt to stop macOS Monterey and Ventura from claiming that it is broken, I've changed the script that does the packaging. It now creates the app package on my Desktop before copying it onto the DMG. Funnily enough, I don't get any issues like this on my Mac Mini running Monterey with this or Disc Image Manager.
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
- geraldholdsworth
- Posts: 1406
- Joined: Tue Nov 04, 2014 9:42 pm
- Location: Inverness, Scotland
- Contact:
Re: Repton Map Creator
I'm making available the separate application (which will be merged with the main application) which can detokenise 'T.*' and 'eT.*' files, decompile 'O.*' and 'eO.*' files, and retokenise what is in the text box into a 'T.*' or 'eT.*' file (these are identical, btw). It can also convert 'O.*' into 'eO.*' and vice versa (BBC to Electron and back) - but this hasn't been tested on Repton Infinity.
This application is very 'rough and ready' and is not meant for full release, just a little side project to add to the main one. So, treat it as beta. If you find any object files it doesn't successfully decompile, please do send them over to me to polish the code up.
This application is very 'rough and ready' and is not meant for full release, just a little side project to add to the main one. So, treat it as beta. If you find any object files it doesn't successfully decompile, please do send them over to me to polish the code up.
- Repton Infinity DeCompiler macOS Intel version
- Repton Infinity DeCompiler macOS 32 bit Intel version
- Repton Infinity DeCompiler macOS ARM version
- Repton Infinity DeCompiler Linux version
- Repton Infinity DeCompiler Linux 32 bit version
- Repton Infinity DeCompiler Linux ARM 32 bit version (Raspberry Pi)
- Repton Infinity DeCompiler Windows version
- Repton Infinity DeCompiler Windows 32 bit version
Gerald Holdsworth, CTS-D
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza
Extron Authorised Programmer
https://www.geraldholdsworth.co.uk
https://www.reptonresourcepage.co.uk
Twitter @radiogezza