Jump to content

Recommended Posts

Posted (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 by phoboz
Posted (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 by DegasElite
Posted (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 jlibcrmvlib 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 by phoboz
Posted
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?

Posted
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?

Posted (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 😀

a8b_misc_intelout.gif.39e99e9f28d327f3ae9e94761a906566.gif

 

It required some hard work, but I will try to write down the instructions here later...

Edited by phoboz

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...