Jump to content
IGNORED

Magellan


The Codex

Recommended Posts

  • 2 months later...

Hello all,

 

I'm having an issue, I can't seem to export any of the circled items.

 

7sTLXxs.png

 

When I click on them nothing happens, no dialog box or file requester. The other options seem to export fine.

 

I'm using windows 10, I tried using compatibility mode but that didn't seem to make a difference.

 

I tried the 64 bit version, the 32 bit no luck with either. Any help would be appreciated

Link to comment
Share on other sites

Hello all,

 

I'm having an issue, I can't seem to export any of the circled items.

 

7sTLXxs.png

 

When I click on them nothing happens, no dialog box or file requester. The other options seem to export fine.

 

I'm using windows 10, I tried using compatibility mode but that didn't seem to make a difference.

 

I tried the 64 bit version, the 32 bit no luck with either. Any help would be appreciated

 

 

Sorry, I have no clue. These menu entries are never turned off deliberately by the software. Which Java version are you using (check under Help/About)?

Link to comment
Share on other sites

You can start a Java application from a console in Windows as well; use cmd.exe, go to the folder where the jar file is, and type java -jar <yourjarfile>. It's possible that exceptions are thrown that can be read in the console, particularly when you click the menu items.

Link to comment
Share on other sites

Thanks, here's what I get when I click on the Assembler Transition Data

 

C:\Program Files (x86)\Magellan>java -jar Magellan.jar
java.lang.IllegalArgumentException: setSelectedIndex: 8 out of bounds
        at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
        at com.dreamcodex.ti.component.MagellanExportDialog.<init>(MagellanExportDialog.java:112)
        at com.dreamcodex.ti.Magellan.exportScrollFile(Magellan.java:2371)
        at com.dreamcodex.ti.Magellan.actionPerformed(Magellan.java:1292)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

I get this with XB Program

C:\Program Files (x86)\Magellan>java -jar Magellan.jar
java.lang.IllegalArgumentException: setSelectedIndex: 112 out of bounds
        at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
        at com.dreamcodex.ti.component.MagellanExportDialog.<init>(MagellanExportDialog.java:126)
        at com.dreamcodex.ti.component.MagellanExportDialog.<init>(MagellanExportDialog.java:57)
        at com.dreamcodex.ti.Magellan.exportDataFile(Magellan.java:2302)
        at com.dreamcodex.ti.Magellan.actionPerformed(Magellan.java:1288)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

 

Does that help at all?

Edited by LASooner
Link to comment
Share on other sites

I can now export assembly data, but Nothing happens with the Basic or XB exports.

 

XB Export generates this error

C:\Program Files\Magellan>java -jar Magellan.jar
java.lang.IllegalArgumentException: setSelectedIndex: 112 out of bounds
        at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
        at com.dreamcodex.ti.component.MagellanExportDialog.<init>(MagellanExportDialog.java:126)
        at com.dreamcodex.ti.component.MagellanExportDialog.<init>(MagellanExportDialog.java:57)
        at com.dreamcodex.ti.Magellan.exportDataFile(Magellan.java:2337)
        at com.dreamcodex.ti.Magellan.actionPerformed(Magellan.java:1288)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Basic Export generates this

java.lang.IllegalArgumentException: setSelectedIndex: 128 out of bounds
        at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
        at com.dreamcodex.ti.component.MagellanExportDialog.<init>(MagellanExportDialog.java:126)
        at com.dreamcodex.ti.component.MagellanExportDialog.<init>(MagellanExportDialog.java:57)
        at com.dreamcodex.ti.Magellan.exportDataFile(Magellan.java:2337)
        at com.dreamcodex.ti.Magellan.actionPerformed(Magellan.java:1286)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Link to comment
Share on other sites

Here is a really weird utility that I used for the rotation demo. It takes an image file of any size and color (but better keep the dimensions small <= 512 pixels) and creates a Magellan file with one character per pixel of the original.

 

post-35226-0-19189400-1459076670_thumb.png

 

Click on the image below to see its real size.

 

post-35226-0-49689100-1459076817_thumb.png

 

The Magellan map is using a dithered 225 color palette obtained by pairing of each of the 15 colors.

Img2Mag.zip

grass_textures_flowers_glade.mag

  • Like 6
Link to comment
Share on other sites

  • 3 weeks later...

I've been playing with this quite a bit. It's been so long since I had to deal with so many restrictions, it's challenging,but fun.

 

I've come up with two features I'd like to see. versioning and a sprite flip book.

 

It would be nice if you could activate versioning for saving, I've inadvertently saved over maps I didn't want to. It would be great if you could have the option to have the program rename the old file with a version suffix and then save the new file, so if you happened to save something disasterous, you'd have a backup to go back to.

 

Also it would be great if we could have sprite flipbook, so we can check animation loops. I figure it could be something where you'd define which sprites you want to loop a field that has the sprites delimited by commas. And an adjustment for playback rate, to help editing .

 

I realized this when watching my bad run cycle on my little guys.

 

It's not hard to see what I'm going for here

 

CmhE4JE.png

UPwucce.png

 

I also attached some object files using the example scroll code.

 

My code-Fu is not strong, so I was just happy that something I compiled actually ran.

 

I'm testing my sprite cycles in XB as I understand that way more than assembly at this point.

 

This program is a lot of fun. Wish I had it in 1984.

fball.obj

futbol.obj

Edited by LASooner
  • Like 4
Link to comment
Share on other sites

  • 1 month later...

Thanks for the reply Sometimes99er.

 

The funny part of the demo... That is my track work! I need to revisit that game at some point.

 

Anyway, the problem isn't with the normal 28 char width export for displaying, I want to do the same for 32 chars wide.

It has an option for 32 chars wide, but that doesn't work.

 

The data statement for normal XP export is very large/heavy. If it had a compression of some sort..

Even simple compression, if the first 3 rows are blank, skip that data and change the for loop to start at row 4.

But patterns could be repeated too.

 

Anyway, this is a great tool. I have used it a lot. Just dreaming for 32 chars wide with the simple method of the display at.

Link to comment
Share on other sites

Thanks for the reply Sometimes99er.

 

The funny part of the demo... That is my track work! I need to revisit that game at some point.

Oh, there you go. :)

 

Anyway, the problem isn't with the normal 28 char width export for displaying, I want to do the same for 32 chars wide.

It has an option for 32 chars wide, but that doesn't work.

Oh, I haven't been clear on that then. Export of 28x24 goes with XB and DISPLAY AT - and the 32x24 part goes with the additional assembly routine VWRITE for XB (written by senior_falcon).

 

The data statement for normal XP export is very large/heavy. If it had a compression of some sort..

Even simple compression, if the first 3 rows are blank, skip that data and change the for loop to start at row 4.

But patterns could be repeated too.

Sometimes one can manually shrink, cut and reuse strings. Keeping in mind that the process itself may take additional memory.

 

The main objective was support of quick printing to screen (using DISPLAY AT). A rather nice technique / trick used in a bunch of XB games through the decades. The penalty for speed is perhaps rather large strings. Any take on creating a screen takes some memory.

 

As is with the 28x24 option, it would be a rather slow process for XB to do a general uncompress. This itself having to take yet another nasty bite out of memory. ;)

 

Anyway, this is a great tool. I have used it a lot. Just dreaming for 32 chars wide with the simple method of the display at.

:) - Well, I think DISPLAY AT is and always was limited to 28 chars wide. Again, never say never. ;)

Edited by sometimes99er
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...