Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » Map Editor
Map Editor[message #188421] Thu, 12 June 2008 14:07 Go to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Since r4357 the map editor can be started using the parameter -editor. To build the game with support for the editor, uncomment JA2BETAVERSION and JA2EDITOR in the build config file.
Please test the editor and report any problems. If there's interest, I can provide binaries for Windows.

Note: You need editor.slf to run the editor. ATM I cannot provide an URL where it is available, sorry.

Update: I added support to scroll the terrain and building graphics lists and the items lists with the mouse wheel

[Updated on: Thu, 12 June 2008 20:36] by Moderator

Report message to a moderator

Sergeant 1st Class
Re: Map Editor[message #189496] Wed, 25 June 2008 00:39 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
It seems like nobody is interested in the editor. This is a pity. I the meantime I resolved a few minor problems in the editor, but when nobody uses it, this effort is wasted.

Report message to a moderator

Sergeant 1st Class
Re: Map Editor[message #189497] Wed, 25 June 2008 00:49 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
How many people are using your mod at all?

I ask because if there are 1000 people using the mod statistics show that about 1 of them will use the map editor. If those 1000 people are people interested in code and things like that the number drops to maybe .1 or even .01.

But without a map editor your project will never have a mod built on it. That would be quite a shame.

I used to have a lot of time for different projects and if I still did I would first install an os that could take advantage of the true beauty of this project and then start testing and modding on it.

Ja2 is a great game, but recent developments in the 1.13 have me seriously doubting if it will be the future for modders. I am hoping you could maybe make the same externalizations as we had in the 1.13 but steer clear of anything that breaks any mod making utility (even the somewhat superfluous IMP editor).
Knowing that your project can also be use with windows we might be able to make a mod with mass appeal.

But in short, giving up on the map editor is like closing the door on moddability in your project. I can think of no worse fate for any version of Ja2.

Report message to a moderator

Sergeant Major
Re: Map Editor[message #189500] Wed, 25 June 2008 00:59 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Quote:
I used to have a lot of time for different projects and if I still did I would first install an os that could take advantage of the true beauty of this project and then start testing and modding on it.

*sigh* Not again! JA2-Stracciatella works perfectly fine on Windows, too. It is not "only for Linux". In fact I do not use Linux at all, I develop on FreeBSD. It works on OS X (on x86, not POWER though) and probably several other operating systems, too.

Report message to a moderator

Sergeant 1st Class
Re: Map Editor[message #189501] Wed, 25 June 2008 01:03 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
I didn't say it only works on linux.

You are a combative little monkey aren't you?

I said that was one of it's most appealing aspects. Please take off your red lenses before reading a post from someone who greatly supports your project.

[Updated on: Wed, 25 June 2008 01:04] by Moderator

Report message to a moderator

Sergeant Major
Re: Map Editor[message #189502] Wed, 25 June 2008 01:11 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Earlier you (others, too) have assumed that it is "Linux only". I just want to get rid of this myth. I have no idea what else you could mean by "first install an os that could take advantage of the true beauty", so please clear this up.

Report message to a moderator

Sergeant 1st Class
Re: Map Editor[message #189504] Wed, 25 June 2008 01:22 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Please take a look at my earlier posts. I read your q&a before I ever posted in this section so I can't see how I could have got that impression. I think you have me confused with someone else.

Anyway, Windows is a great platform for a universal os since most everything has been developed for it. But ever since windows 95 there are a lot of things running in the background that make it a hog for resources and frankly a rather shaky platform in some aspects.
Having a more streamlined os like linux to run complex programs like Ja2 seems a great idea to me because it removes a lot of the chance for a 'static' (meaning os related) corruption resulting in a bug or even a difficult to alter system and brings everything right down to the nuts and bolts of the program.

Perhaps this is coding ignorance talking. But at the very least your project is making it possible for people using other operating systems to enjoy and maybe even mod this game. For that I am very greatful and you have my full support.

Unfortunately until about the middle of August I will be so busy with rl that even stealing a few minutes to work on my mod or rant here on these baords is becoming difficult that is why unfortunately I have not yet had a chance to try your project. It is definitely near the top of my tech no to do list.

Report message to a moderator

Sergeant Major
Re: Map Editor[message #189505] Wed, 25 June 2008 01:27 Go to previous messageGo to next message
the scorpion

 
Messages:1834
Registered:September 2004
Location: CH
there are only so few mapmakers that it will take more time than 10 days or two weeks until feedback is available. I guess right now there are quite some guys looking for a working editor though, so maybe feebdack gets available at some point.
forum activity isn't on an all time high either.

I don't think the effort to improve the editor will be wasted in the long run. But then i guess the core appeal of stracciatella is still the stable multiplatform ja2 game, and what's gonna happen in terms of moddability will depend a lot on what design decisions will be taken.

Personally, i'm not going to make suggestions for once. But i'll have a look at what's gonna happen.

Report message to a moderator

Sergeant Major
Re: Map Editor[message #190394] Wed, 09 July 2008 21:03 Go to previous messageGo to next message
Doolan is currently offline Doolan

 
Messages:13
Registered:July 2006
Oh calm down guys...

Straciatella is a mother, beautiful project. There are reasons for the lack of feedback though.

First off, not everyone knows of it. If you take the time to check the VMWare / Crossover / Parallels forums or any Mac gaming forum, you will see that a lot of Mac users want JA2 to run natively on their computers and do all they can with Boot Camp or virtualization to get it working. Still, none of them know about 1.13, let alone Straciatella. Just posting in a community site is not going to help that.

Second off, the Bear's Pit hosts a number of JA2 variants that I find confusing. Only recently I discovered Straciatella, but there's a truckload of other flavors / mods / builds.

Third off, and this is the most serious problem in my opinion, most active posters here seem to know their code backwards and assume everyone else does. For most users, the simple action of compiling Straciatella for OSX or Windows is scary. No mod or build is ever going to be "mainstream" or "popular" unless it gives a single link to a single self-contained installer file in enormous, bright-colored letters.

In other words, what you guys are looking for is a person who knows of the Bear's Pit, is curious enough to use anything that is not 1.13, knows how to compile stuff AND wants to edit maps. That's a very small demographic.

I for one will be more than happy to try the map editor when there's a way simple enough that a monkey could install and launch it in OSX and the URL to that version is fed to me with a spoon. Very Happy

I can't speak for Linux users (who are probably just enjoying the crappy original Linux port of JA) or Windows users (who probably either play vanilla or learned what SVN was just to play 1.13 because they somehow learned about it), but I can tell you that most Mac users won't lift a finger until they are given a .dmg. Also, chance is they won't even have the original files, because the game was never released for Mac in the first place.

That said, I have tried 0.8 in OSX and I am now your number one fan. It's beautiful, sleek, fast and marvelously ported, and it has made one of my longtime dreams come true, playing JA2 in my Mac laptop. Now, if you want attention, build an Intel app with XCode and post it in MacGameFiles and MacUpdate with a description and an easy-to-follow readme. Then, and only then, they'll take the map editor off your hands and annoy the hell out of you with questions Very Happy

Report message to a moderator

Private
Re: Map Editor[message #190412] Thu, 10 July 2008 01:39 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Doolan
I can't speak for Linux users (who are probably just enjoying the crappy original Linux port of JA)

The Tribsoft version does not work on modern distributions due to dependencies on very old libraries.

Quote:
or Windows users (who probably either play vanilla or learned what SVN was just to play 1.13 because they somehow learned about it),

I provide Windows binaries for all languages. (Obviously I cannot repeat this fact often enough)

Quote:
but I can tell you that most Mac users won't lift a finger until they are given a .dmg.

I do not have a Mac nor do I have the necessary tools to provide Mac binaries.

Quote:
Also, chance is they won't even have the original files, because the game was never released for Mac in the first place.

Providing the data files is plain out of question.

Report message to a moderator

Sergeant 1st Class
Re: Map Editor[message #190415] Thu, 10 July 2008 03:38 Go to previous messageGo to next message
Doolan is currently offline Doolan

 
Messages:13
Registered:July 2006
Man, I'm not attacking you or anything! I love Stracciatella and I love having a map editor...

1) I know about the Windows binaries. I'm not going to say "OMG LINUX ONLY" like everyone else.

2) I understand and appreciate the magnitude of the project more than you imagine. I am thankful for your efforts and will be more than glad to help in any way, for example offering the use of my Mac platform, which has the right tools.

3) Exactly where did I tell you to distribute the original files?

That said...

The fact that nobody replied does NOT mean nobody cares. All I was trying to say is that you are addressing a minority within a minority within a minority, so don't expect immediate reply. I know Stracciatella has many virtues. Heck, I have it installed and I was playing it less than 30 min ago. I know it even has some advantages over 1.13.

But the fact is that, for the Windows crowd, 1.13 is more widely known, and vanilla is something they already play (so they probably don't even bother to search for alternatives). As for Mac users, none of the Mac gaming forums I visit (and I visit many) even suspect that this forum or the Stracciatella site exists, and MOST users don't know how to compile stuff nor care.

What I was trying to tell you is that Stracciatella, as awesome and needed as it is, is right now beyond the reach and / or knowledge of most people Smile Some publicity and an easier method of distribution and installation would go a long way to increase its popularity. Then people will be flocking around for the map editor. Until then, the average user will just scratch his head and stare in bewilderment.

It's what Khor was trying to say I think. Few people play JA2, even less play one specific variant of it, even less edit maps and even less can compile or care, so a reply with any relevant feedback will take a while.

Keep up the good work man, I think, like Khor said, that the map editor is a needed addition for the long-run health of the mod.


Report message to a moderator

Private
Re: Map Editor[message #190428] Thu, 10 July 2008 09:48 Go to previous messageGo to next message
lockie is currently offline lockie

 
Messages:3717
Registered:February 2006
Location: Scotland
nicely put doolan , even I almost understood most of it Very Happy , as for khorr , he really cares about ja and map editing , and it 's the frustration of not being able to do it properly that is getting him down . I hope tron understands and keeps plugging away for no reward and little praise , without taking offence too easily .As for me , when those bright , shiny buttons appear , maybe I'll give it a go :biglaugh:

Report message to a moderator

Captain

Re: Map Editor[message #190470] Thu, 10 July 2008 22:19 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Doolan
Man, I'm not attacking you or anything!

No offense taken, I just replied to some points you raised.

Quote:
1) I know about the Windows binaries. I'm not going to say "OMG LINUX ONLY" like everyone else.

Yes, you did not say that and I did not understand that. But you mentioned the need to use development tools, specifically Subversion, to get it to work. I just pointed out, that there are simple binaries available for download. All you further need is the game data.

Quote:
3) Exactly where did I tell you to distribute the original files?

You mentioned Mac users, which want it to play, but on the other hand you said, that they most likely do not have the data files. Which conclusion should I have drawn from these two pieces?


lockie
As for me , when those bright , shiny buttons appear , maybe I'll give it a go

From my side it probably won't get any easier than a .zip file. I don't even have a Windows machine.


Well, nobody even wanted a Windows binary for the map editor, so far.

Report message to a moderator

Sergeant 1st Class
Re: Map Editor[message #190471] Thu, 10 July 2008 23:03 Go to previous messageGo to next message
Doolan is currently offline Doolan

 
Messages:13
Registered:July 2006
About the Mac users, what I meant was that they have to overcome many, many difficulties to get it to work.

Many know about the game and played it ages ago, but simply accepted that a Mac port wasn't going to be made. When they got the ability to play the Windows version through CrossOver, VMware, Parallels or Boot Camp, those willing to go that far (or who had other reasons to install that software in the first place) did it and lived happily ever after.

Those probably won't look for Stracciatella or 1.13 because they already have what they wanted (in a way) and don't know there are additional goodies beyond playing Gold in a virtual machine. A compiled .app in MacUpdate or MGF would no doubt make them switch. But for most, having to install XCode and building the app themselves is more inconvenient than just installing Windows and playing.

As for those who don't know JA2 or have only heard of it / played it once or twice but don't have it, they would probably buy it if they knew that they can just slap the datafiles into the package of an Intel-native app and play away, but otherwise it's just an added inconvenience.

They would have to get curious enough to look up Stracciatella, have XCode, be able to compile the app and get the datafiles (and a PC is needed to get them no matter what, or a copy of the Linux version).

My belief is that if all inconveniences are solved but one, that last one will solve itself. Since we can't really release the datafiles, more publicity and an easier distribution method would help a tad.

A guy in your forums already built 0.8 for OSX, which works beautifully with only one or two crashes here and there. Simply hosting that file with his permission on your web site along with instructions and "OH MY GOD THIS WORKS IN OSX" in big flashy letters, paired with a link in MGF, would be really easy to do and bring a lot of attention. I even have friends who work at InsideMacGames who would love publishing a news story on the subject...

Just as an example, I've been busy recently and I already had 1.13 installed in a virtual machine. I was happy with that, so even though I'm a hardcore JA2 fanatic I didn't discover Stracciatella until two days ago when I visited here and wondered what the "new forum folder" was. If that happened to me, I suppose most "casual" JA2 players would probably never find out.

Anyway, enough writing, I have to go back to playing 0.8 on my Mac Mini Cool

Report message to a moderator

Private
Re: Map Editor[message #190511] Fri, 11 July 2008 14:11 Go to previous messageGo to next message
ZeRgY
Messages:1
Registered:July 2007
Location: Australia
I will also add that I've been watching Stracciatella, and I think the idea for a stable and portable version of JA2 is brilliant. Especially with the uprising of linux based mobile PC's, and the possibilities of SDL being ported to other devices such as Symbian, Android, etc. Hell, theoretically it wouldn't be impossible to get this running on a cracked Iphone?

But at the moment, it's pretty difficult for people to not only download the libraries required, but to also download the development environment/source code/misc files and compile it as well. Especially when people are still testing and playing with the 1.13 releases.

But I hope you're not discouraged, us less technical forum goers are noticing your work, and I'm sure when I get the chance I will look more into testing out the brilliant work done by you guys!

Report message to a moderator

Civilian
Re: Map Editor[message #190670] Mon, 14 July 2008 00:19 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
The are only few dependencies: The only library required is SDL. Further for building you only need a C++ compiler and GNU make. All these things are commonly available on pretty much any *nix nowadays.
For FreeBSD there is a port available maintained by me. All you need to do is type "make install clean", which is the usual install procedure for FreeBSD.
Some Linux distributions seem to have packages for JA2-Stracciatella available, too.
For Windows I provide a .zip (one for each of the seven/eight languages), which contains the binary and the required SDL library.
So I do think it is easy to set up, but please correct me, if I'm wrong. What are the concrete problems you are experiencing?

Report message to a moderator

Sergeant 1st Class
Re: Map Editor[message #196380] Sun, 14 September 2008 22:10 Go to previous messageGo to next message
LCJr.

 
Messages:83
Registered:November 2001
Is this editor based on the UB version or the, better IMHO, 0.95 DE Beta version?

[Updated on: Sun, 14 September 2008 22:10] by Moderator

Report message to a moderator

Corporal 1st Class
Re: Map Editor[message #199239] Wed, 15 October 2008 23:35 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
I tried it (x86 Linux). It's great to have it but the major problem is that it crashes when I try to save a map. I have all the file permissions on the folder where the data is installed ("data_dir" as stracciatella calls it). I don't even know if the editor tries to save the maps in 'data_dir/Data/maps.slf' or elsewhere.

Report message to a moderator

Master Sergeant
Re: Map Editor[message #199272] Thu, 16 October 2008 10:36 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
I'm only guessing here because this is the way it works with the standard game. You need to create a folder called maps in the data directory. Maps should save there.

Please give this a try. It would be interesting to see what he's done with the map editor.

Report message to a moderator

Sergeant Major
Re: Map Editor[message #199307] Thu, 16 October 2008 23:51 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
Thanks for the info, Dan !

With your tip, it was easier to guess that the maps are saved in the user's directory '$HOME/.ja2/Data/MAPS/', case sensitive. It's probably the best place for FHS-compliant systems and the uppercase "MAPS" must follow Tron's policy for filenames.

The editor is rather buggy but very enjoyable though. I can't do much more than draw the tiles, walls and doors of a 10x10 room before it crashes. I restart and add beds and lockers and it crashes again. There are problems of screen refresh too.

In the release I use, Stracciatella doesn't include my replacement maps in new games, it still takes them from 'Data/maps.slf'.

It was a surprise to see the demo sector in P1 !



Report message to a moderator

Master Sergeant
Re: Map Editor[message #199327] Fri, 17 October 2008 10:46 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
It sounds like there are serious deficiencies with this editor. I hope Tron comes around to shed some light on what may be the problem.

If you mod from the vanilla version (or 1.13) the maps folder does not have to be written in upper case. It can be written either way.

Kind of strange that it would require this.

Report message to a moderator

Sergeant Major
Re: Map Editor[message #199374] Sat, 18 October 2008 00:37 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
I have tried the editor a bit more and found out that it is an emergency save that crashes it. The emergency save tries to save the map with an altitude of -1 instead of the 0 to 3 range. Now that I have hardcoded an altitude of 0, the editor doesn't crash anymore but exits on failure. But the logs are complete now.

I found two ways to make it fail: "Failed to add node to world" when using the "Building" button and "Palette creation failed, soldier has invalid animation" when using the "Mercs" button.

The detailed way to reproduce them follows.

1) The "Building" button.
Load a map. Click "Building" button, click "Place furniture" (the table button). The first item of the list is automatically selected ('old_furn.sti', subindex 0). Place it anywhere and the editor exits. I have tried several items and maps (A9, L1, Hospital, Hicks, Estoni ...). It always fails.

This is the log displayed by stracciatella:
(I removed the messages that appeared before I tried to place the item)
Copying 8 BPP Imagery.
ERROR: caught unhandled exception:
Failed to add node to world
Creating an emergency savegame failed.
Please report this error with a description of the circumstances.
Shutting down the Video Surface manager
Shutting down the video manager


2) The "Mercs" button:
Add a creature, click several times on the arrows to change its type from bloodcat to anything else. The editor exits. It doesn't always happen: it failed 5 times on the 14 tries I've done on the Hicks (F10) map.

Its log:
(I removed the messages that appeared before I tried to change the creature type)
Copying 8 BPP Imagery.
ERROR: caught unhandled exception:
Palette creation failed, soldier has invalid animation
Creating an emergency savegame failed.
Please report this error with a description of the circumstances.
Shutting down the Video Surface manager
Shutting down the video manager

Report message to a moderator

Master Sergeant
Re: Map Editor[message #202299] Sun, 23 November 2008 15:51 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Quote:
[...] and the uppercase "MAPS" must follow Tron's policy for filenames.

As I said elsewhere, it's not my policy, but the names were spelled this way in the source code (sometimes inconsistently). Maybe I change it to all lowercase.

Quote:
The editor is rather buggy but very enjoyable though. I can't do much more than draw the tiles, walls and doors of a 10x10 room before it crashes. I restart and add beds and lockers and it crashes again. There are problems of screen refresh too.

The problem is, that failure to add a levelnode is not ignored anymore. When you click to place an object, the editor tries to place it every frame. The first time succeeds, after that it fails. If you click and release the button /really/ fast, then the editor will not exit with an error. I'm working on this.

Quote:
The emergency save tries to save the map with an altitude of -1 instead of the 0 to 3 range.

Yes, this a bug in the editor. For surface levels it fails to set the level. I resolved this issue in r4831. On the other hand, the emergency save code should not generate a savegame, when in editor mode, but it should try to save the map (not with its original name, of course).

Quote:
2) The "Mercs" button:
Add a creature, click several times on the arrows to change its type from bloodcat to anything else. The editor exits. It doesn't always happen: it failed 5 times on the 14 tries I've done on the Hicks (F10) map.

This happens, when you change the body of the creature to something which does not have a particular rotation or stance. Same situation as before: JA2-Stracciatella does not ignore error like the vanilla version did.

Report message to a moderator

Sergeant 1st Class
Re: Map Editor[message #224773] Thu, 02 July 2009 01:36 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Any idea why make fails at this point?

Make: *** No rule to make target `Build/Strategic/Strategic_Town_Reputation.h', needed by `Build/Strategic/Game_Event_Hook.d'.  Stop


I tried to build an exe with editor enabled. Previously I had managed to compile an exe, it's just the lastest version who gives me this error...

Btw, I check the source folder and i lack any Strategic_Town_Reputation.h , but I have two other files:
Strategic_Town_Reputation.o
Strategic_Town_Reputation.d
???

Updating from SVN doesnt get any new files...



Nvm, got some old files left over... deleted everything, started fresh, all seems to compile happily.

[Updated on: Thu, 02 July 2009 01:48] by Moderator

Report message to a moderator

Captain
Re: Map Editor[message #224776] Thu, 02 July 2009 01:57 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Gah, I guess I messed up something again... I compiled fine a normal exe, but once i uncommented the following...

JA2BETAVERSION := yes
JA2EDITOR := yes

I got a lot of error on make, resulting in this:

Quote:

Build/Editor/Smooth.o:Smooth.cc:(.text+0x85f): more undefined references to `TypeRangeExistsInLandLayer(unsigned int, unsigned int, unsigned int)' follow
collect2: ld returned 1 exit status
make: *** [ja2] Error 1

Report message to a moderator

Captain
Re: Map Editor[message #224783] Thu, 02 July 2009 02:42 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Doh, of course it was me again...

Once i ran a "make clean" THEN "make" it was all fine, editor version compiled, editor loaded, etc etc...

Report message to a moderator

Captain
Re: Map Editor[message #224787] Thu, 02 July 2009 02:53 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Cool, now all you have to do is distribute the .exe (with Trons permission of course) and we can all have a look at it.

Report message to a moderator

Sergeant Major
Re: Map Editor[message #224791] Thu, 02 July 2009 03:05 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2021
Registered:January 2003
Location: Australia :D
I second that Smile

Report message to a moderator

Lieutenant

Re: Map Editor[message #224792] Thu, 02 July 2009 03:09 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
I linked the editor in SMP forum if you want to use it. I'd let Tron handle any official distribution of exe files, I am prone to blowing code up, as you noticed.

http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=224790#Post224790

[Updated on: Thu, 02 July 2009 03:09] by Moderator

Report message to a moderator

Captain
Re: Map Editor[message #224794] Thu, 02 July 2009 03:22 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2021
Registered:January 2003
Location: Australia :D
All good I grabbed it already Wink

Report message to a moderator

Lieutenant

Re: Map Editor[message #224796] Thu, 02 July 2009 03:27 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
When changing tileset on any map, old or new, editor crashed with the following error (pasted more than error to be sure sure i catch all):

Quote:

Type: WIREFRAME Size: 15 Index: 3110
Database Sizes: 3125 vs 3125
Database Types: 151
Database Item Mem: 100000
World Screen Width 3160 Height 1540
Copying 8 BPP Imagery.

ERROR: caught unhandled exception:
Opening file failed
Creating an emergency savegame failed.
Please report this error with a description of the circumstances.
Shutting down the Video Surface manager
Shutting down the video manager


Full log here: stderr.txt

What is the standard procedure or what am I doing wrong? You're not allowed to change a tileset to a default map?

[Updated on: Thu, 02 July 2009 03:31] by Moderator

Report message to a moderator

Captain
Re: Map Editor[message #224798] Thu, 02 July 2009 03:33 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
Changing tileset was always a bit squirley. There is a proper order to change tileset and name the map to what sector you want (if I remember correctly changing the tileset changes the the map name) I think you change the tileset, name the sector and then save but I don't remember for sure.

Is this jogging your memory?

I am just offering this as a possibility.

Report message to a moderator

Sergeant Major
Re: Map Editor[message #224799] Thu, 02 July 2009 03:36 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia

Still I think it shouldn't crash like that.
Did you try this? Does it crash for you too?

Report message to a moderator

Captain
Re: Map Editor[message #224800] Thu, 02 July 2009 03:40 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
I'm sorry but I can't get to the computer that has Stracciatella loaded. I will try later but for now, Kaerar?

But it always crashed if you didn't make the changes in the 'right' order. That part should be made more forgiving, it is most likely a victim of sloppy code.

Report message to a moderator

Sergeant Major
Re: Map Editor[message #224801] Thu, 02 July 2009 03:46 Go to previous messageGo to next message
Kaerar is currently offline Kaerar

 
Messages:2021
Registered:January 2003
Location: Australia :D
Will have a look if I get time Smile

Report message to a moderator

Lieutenant

Re: Map Editor[message #224809] Thu, 02 July 2009 04:24 Go to previous messageGo to next message
Khor1255 is currently offline Khor1255

 
Messages:1817
Registered:August 2003
Location: Pleasantville, NJ
I just tried and I am getting that error message

'ERROR: caught unhandled exeption
initializing libraries failed'

is the exact message. I know this is a simple one but can't remember how to get an editor running without the necessary files.

I have the .bat file in my main directory and thew editor file in my data folder.

Any ideas?

[Updated on: Thu, 02 July 2009 06:06] by Moderator

Report message to a moderator

Sergeant Major
Re: Map Editor[message #224906] Thu, 02 July 2009 15:24 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
Here's an old piece of info regarding the Beta editor we used when doing JA2UC, posted by Bearpit:

Quote:


MSS32DLL dated 22-9-1999 editor works correctly with this version.

...
2. Move MSS32DLL into Talonsoft/JA2 folder ... it will replace default version & is the only one which works flawlessly with Beta Editor & UC.
...



Maybe this could solve the issue? Now I AM the one with no access to JA2 until later this evening, so if you want to test it, I'd be grateful.

[Updated on: Thu, 02 July 2009 15:28] by Moderator

Report message to a moderator

Captain
Re: Map Editor[message #224926] Thu, 02 July 2009 18:32 Go to previous messageGo to next message
Tron

 
Messages:225
Registered:August 2007
Location: Germany
Khor1255
I just tried and I am getting that error message

'ERROR: caught unhandled exeption
initializing libraries failed'

is the exact message. I know this is a simple one but can't remember how to get an editor running without the necessary files.

It is not possible to run the editor without the necessary files, of course. Maybe you are missing editor.slf.

Shanga
Here's an old piece of info regarding the Beta editor we used when doing JA2UC, posted by Bearpit:

Quote:


MSS32DLL dated 22-9-1999 editor works correctly with this version.

...
2. Move MSS32DLL into Talonsoft/JA2 folder ... it will replace default version & is the only one which works flawlessly with Beta Editor & UC.
...



Maybe this could solve the issue? Now I AM the one with no access to JA2 until later this evening, so if you want to test it, I'd be grateful.

JA2-Stracciatella does not use the Miles Sound System (MSS). Its only depedency is SDL.

Report message to a moderator

Sergeant 1st Class
Re: Map Editor[message #224932] Thu, 02 July 2009 19:22 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3480
Registered:January 2000
Location: Danubia
I did place the editor.slf from you website (the one in your sig) in /data/tilesets, anything else special that i should've have done? Normal game runs fine, even the editor loads all right (does not crash when viewing npc inventories for example); just changing the tileset throws in that critical error.

I'll try extracting the maps tonight, maybe editor tries to write something in map file when you change the tileset and since they are all inside the slf... it crashes. If I am not mistaken i've read something above about creating a MAPS folder (in uppercase) in /Data - could this be the cause of the crash?

Khor - you have been able to play normal version?

[Updated on: Thu, 02 July 2009 19:35] by Moderator

Report message to a moderator

Captain
Re: Map Editor[message #224936] Thu, 02 July 2009 19:34 Go to previous messageGo to previous message
gmonk

 
Messages:670
Registered:April 2002
Location: Newfoundland, Canada
Shanga
maybe he tries to write something in map file when you change the tileset and since they are all inside the slf... it crashes.


Something smells right about that bit. I tried running it, too. With the editor.slf from the UB CD (I dropped in JA2\Data. It crashed when I tried to save the A9.dat, says the file exists even though there are no files in the maps folder.

I'm really not sure what it's trying to do that causes the error but I know we'll figure it out. There's no reason it shouldn't work properly once we've got the stuff in the right places.

Report message to a moderator

First Sergeant
Previous Topic: Streamlined JA2. Could use some help making it
Next Topic: A PowerPC port was already released?
Goto Forum:
  


Current Time: Sun Jan 05 00:55:42 GMT+2 2025

Total time taken to generate the page: 0.03463 seconds