phoboz Posted May 20, 2023 Report Posted May 20, 2023 (edited) As the Removers' library is LGPL licensed, you are supposed to contribute back. Here it goes: https://github.com/phoboz/tmx2lev Use this tool to convert a tilemap created using Tiled (~ version 0.9) to a tilemap that can be used by example20 for the Removers' library: tmx2lev infile.tmx outside.lev --vertical --datasize 1 --legacy (The whole command goes on one line) The tool is GPL licensed, which means that if you improve it, you should contribute back your changes (preferably by creating a pull request to the repository) Here is also a little bit more advanced example No need to use the --legacy and --datasize 1 options for compatability with this example. Use --vertical for horizontal scrolling maps and --horizontal (or nothing) for vertically scrolling maps. License of the code is LGPL (e.g. contribute back changes to it), the included example assets are propreitary and cannot be used without permission in other products. Edited May 20, 2023 by phoboz alucardx, DegasElite and Boris 2 1 Quote
DegasElite Posted May 21, 2023 Report Posted May 21, 2023 This is an excellent resource. Thanks for the post. :) phoboz 1 Quote
DegasElite Posted May 22, 2023 Report Posted May 22, 2023 (edited) Questions: Do you have to build this program? Can it be on the same directory as the tile-map? Also, can this be used for Mac as well as for Windows? Either way, I can use this. Thanks and welcome to the Forum, seeing you are new here. :) Edited May 22, 2023 by DegasElite Quote
phoboz Posted May 23, 2023 Author Report Posted May 23, 2023 (edited) 18 hours ago, DegasElite said: Questions: Do you have to build this program? Can it be on the same directory as the tile-map? Also, can this be used for Mac as well as for Windows? Either way, I can use this. Thanks and welcome to the Forum, seeing you are new here. 🙂 Yes, the code needs to be compiled. For the tmx2lev tool you need a C++ compiler for the host. I have tested under Linux, so it should definately work on Mac. For the Jaguar sample you need to have a Jaguar cross compiler development environment installed. There are various options on how to build that. Jaguar Cross compiler options: 1. https://github.com/cubanismo/jaguar-sdk 2. https://github.com/theRemovers/jagdev Finally you also need to build jlibc, rmvlib and the Jaguar image converter. You may put the tmx2lev in the same directory as the tilemaps to convert, or add the directory of the executable to the PATH environment variable. If you have it in the same directory as the tilemaps you normally call the program using the ./ prefix before the executable name (on Mac/Linux) Edited May 23, 2023 by phoboz DegasElite and Boris 2 Quote
DegasElite Posted May 23, 2023 Report Posted May 23, 2023 Got another question. Will Xcode for the Mac compile it? Thanks. :O) Quote
phoboz Posted May 24, 2023 Author Report Posted May 24, 2023 11 hours ago, DegasElite said: Got another question. Will Xcode for the Mac compile it? Thanks. :O) XCode should definately be able to compile the tmx2lev tool. I assume it can also be used for compiling the Jaguar cross compiler toolchain, but I haven't tried it myself. There are options to install the compiler that Linux uses on Mac e.g. GCC. This approach might be smoother? DegasElite 1 Quote
DegasElite Posted May 24, 2023 Report Posted May 24, 2023 Thanks for the information. I appreciate it. :O) phoboz 1 Quote
peteym5 Posted June 12, 2023 Report Posted June 12, 2023 (edited) Here is my latest progress with Delta Space Arena on the Atari Jaguar. Thankyou guys for guiding me on setting on Linux on my system and getting these Libaries to work. Edited June 12, 2023 by peteym5 Boris, alucardx, Eternal-Krauser and 2 others 5 Quote
TrekMD Posted June 12, 2023 Report Posted June 12, 2023 Cant' see the video. It says it was removed. DegasElite 1 Quote 🖖 Going to the final frontier, gaming...
peteym5 Posted June 12, 2023 Report Posted June 12, 2023 I accidentally uploaded the video from an earlier state of progress. This one shows the ship moving with the code I plan to use with the game. Quote
Cobradile Posted May 20 Report Posted May 20 Hey, I’m interested in using this library. How would I compile and use it? Do I need to use Jaguar SDK for this? DegasElite 1 Quote
peteym5 Posted May 20 Report Posted May 20 You need to use Linux, or the Windows Linux Subsystem. It is independent of Jaguar SDK or JagStudio. Quote
Cobradile Posted May 22 Report Posted May 22 On 5/20/2024 at 11:08 PM, peteym5 said: You need to use Linux, or the Windows Linux Subsystem. It is independent of Jaguar SDK or JagStudio. I use Ubuntu as my daily driver. Are there any build instructions? Quote
phoboz Posted May 24 Author Report Posted May 24 (edited) I just managed to setup the Atari Jaguar build environment under Asahi Linux (on Apple Silicon) I had to try it, as Linux seems to run way faster on aarch64 (e.g. ARM 64-bit CPU) compared to x86_64 (Intel PC). Now I will save a lot of compilation time 😀 It required some hard work, but I will try to write down the instructions here later... Edited May 24 by phoboz Boris, DegasElite and TrekMD 2 1 Quote
phoboz Posted May 26 Author Report Posted May 26 On 5/22/2024 at 3:51 AM, Cobradile said: I use Ubuntu as my daily driver. Are there any build instructions? This is probably the easiest way to setup a toolchain on Ubuntu: https://github.com/cubanismo/jaguar-sdk Unfortunately, it does not install the Removers' library. This you can do manually afterwards. You do get the Jaguar SDK. Boris and DegasElite 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.