Problem building exult

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Walter Gress

Problem building exult

Post by Walter Gress »

I'm getting this error when running configure



checking if we want to statically compile libraries... no
./configure: line 18256: PKG_PROG_PKG_CONFIG: command not found
checking for sdl-config... /opt/local/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
./configure: line 18500: syntax error near unexpected token `OGG,'
./configure: line 18500: ` PKG_CHECK_MODULES(OGG, ogg >= 1.0 vorbis >= 1.0.1 vorbisfile, , as_fn_error $? "*** must have Ogg/Vorbis installed!" "$LINENO" 5)'
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

install pkgconfig and it might work. (sudo port install pkgconfig)

oh and of course ogg/vorbis (sudo port install libvorbis). Then run ./autogen.sh again.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Well it got further. I was about to say "wahoo" but then this popped up during make

In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:16:0,
from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:34,
from CoreAudioMidiDriver.h:29,
from CoreAudioMidiDriver.cpp:23:
/System/Library/Frameworks/AudioUnit.framework/Headers/AudioComponent.h:510:39: error: expected ‘)’ before ‘^’ token
void (^inCompletionHandler)(AudioComponentInstance __nullable, OSStatus))
^
/System/Library/Frameworks/AudioUnit.framework/Headers/AudioComponent.h:510:39: error: expected ‘)’ before ‘^’ token
/System/Library/Frameworks/AudioUnit.framework/Headers/AudioComponent.h:510:39: error: expected initializer before ‘^’ token
In file included from /usr/include/Availability.h:168:0,
from /usr/include/wchar.h:72,
from /usr/local/include/c++/4.9.2/cwchar:44,
from /usr/local/include/c++/4.9.2/bits/postypes.h:40,
from /usr/local/include/c++/4.9.2/bits/char_traits.h:40,
from /usr/local/include/c++/4.9.2/string:40,
from ./../../headers/common_types.h:26,
from ./../../headers/pent_include.h:34,
from CoreAudioMidiDriver.cpp:22:
/System/Library/Frameworks/AudioUnit.framework/Headers/AUComponent.h:501:28: error: expected ‘}’ before ‘__attribute__’
kAudioUnitSubType_3DMixer __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_3, __MAC_10_10, __IPHONE_NA, __IPHONE_NA)
^
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:17:0,
from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:34,
from CoreAudioMidiDriver.h:29,
from CoreAudioMidiDriver.cpp:23:
/System/Library/Frameworks/AudioUnit.framework/Headers/AUComponent.h:502:12: error: expected unqualified-id before ‘=’ token
= '3dmx',
^
In file included from /System/Library/Frameworks/AudioUnit.framework/Headers/AudioUnit.h:17:0,
from /System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:34,
from CoreAudioMidiDriver.h:29,
from CoreAudioMidiDriver.cpp:23:
/System/Library/Frameworks/AudioUnit.framework/Headers/AUComponent.h:1659:1: error: expected declaration before ‘}’ token
}
^
make[4]: *** [CoreAudioMidiDriver.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Teds-MacBook-Pro:exult ted_gress$ In
Walter Gress

Re: Problem building exult

Post by Walter Gress »

As far as I can tell all the frameworks are there and what they are supposed to be.
marzo
Site Admin
Posts: 1925
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by marzo »

You need to compile with clang instead of GCC on OSX 10.7 and up.
------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Hi

It compiles now but it doesn't recognize ULTIMA7 and SERPENT directories and throws an error.I changed the config file but it still doesn't recognize them. They are in ~/ directory
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Please copy paste your game settings from exult.cfg and please copy paste the output of the following terminal commands:
cd ~/ultima7
ls
cd ~/serpent
ls

Also, please start exult from the terminal and copy/paste its output there as well.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

1




no




~/Exult/ULTIMA7



0


0


0



320


200




640


480



2


2xSaI


Centre


Bilinear


yes



0


0


0



320


200




yes


no


no


no


no



0


normal


original


no



8


double


yes


0


no


no


no




no


yes



yes


gm


no


gm





640


480



2


2xSaI


Centre


Bilinear


yes




yes


no


no


no


no



0


normal


original


no



8


double


yes


0


no


no


no




no


yes



yes


gm


no


gm





Last login: Sat Mar 19 01:40:43 on console
Teds-MacBook-Pro:~ ted_gress$ cd ~/ULTIMA7
Teds-MacBook-Pro:ULTIMA7 ted_gress$ ls
ENDGAME.EXE INTRO.EXE STATIC U7.EXE
INSTALL.EXE MAINMENU.EXE U7.BAT ULTIMA7.COM
INSTALL.PRM MOSLO.COM U7.CFG.txt ULTIMA7.TXT
Teds-MacBook-Pro:ULTIMA7 ted_gress$ cd ..
Teds-MacBook-Pro:~ ted_gress$ cd ~/SERPENT
Teds-MacBook-Pro:SERPENT ted_gress$ ls
386STEP.EXE INTRO.EXE SERP.BAT SERPENT.TXT STATIC
ENDGAME.EXE MAINMENU.EXE SERPENT.CFG SETUP.EXE
INSTALL.EXE MOSLO.COM SERPENT.CFG.txt SI.BAT
INSTALL.PRM READTHIS.TXT SERPENT.COM SI.EXE
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Ok, there are a couple of things wrong in your cfg.
1st you point BG at ~/exult/ultima7 while you actually have it in ~/ultima7.
2nd there is no section for SI.
3rd there is stuff in the blackgate section that is just wrong there (but will probably just be ignored.

My advice is, delete the cfg, rename the two game folders from Ultima7 to blackgate and serpent to serpentisle. Then put those into /library/application support/exult
Now Exult should find them on its own.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

DIdn't change a thing. And black gate, serpents isle, silver seed, etc. were already in under application support.I know that config file keeps showing up incorrect. I'm not sure why.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Ok, then another round of terminal commands:

Code: Select all

rm ~/library/preferences/exult.cfg
cd '/library/application support/exult'
ls
cd blackgate
ls
cd ..
cd serpentisle
ls
cd ..
cd forgeofvirtue
ls
cd ..
cd silverseed
ls
cd ~/library/application support/exult
ls
open /Applications/exult.app
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Here is the terminal output:


Last login: Sun Mar 20 03:21:45 on ttys000
Teds-MacBook-Pro:~ ted_gress$ rm ~/Library/preferences/exult.cfg
Teds-MacBook-Pro:~ ted_gress$ cd ~/Library/application support/exult
-bash: cd: /Users/ted_gress/Library/application: No such file or directory
Teds-MacBook-Pro:~ ted_gress$ cd "~/Library/application support/exult"
-bash: cd: ~/Library/application support/exult: No such file or directory
Teds-MacBook-Pro:~ ted_gress$ cd ~/Library/Application Support/exult
-bash: cd: /Users/ted_gress/Library/Application: No such file or directory
Teds-MacBook-Pro:~ ted_gress$ cd ~/Library/Application Support/Exult
-bash: cd: /Users/ted_gress/Library/Application: No such file or directory
Teds-MacBook-Pro:~ ted_gress$ cd ~/Library/"Application Support"/Exul
-bash: cd: /Users/ted_gress/Library/Application Support/Exul: No such file or directory
Teds-MacBook-Pro:~ ted_gress$ cd ~/Library/"Application Support"/Exult
Teds-MacBook-Pro:Exult ted_gress$ pwd
/Users/ted_gress/Library/Application Support/Exult
Teds-MacBook-Pro:Exult ted_gress$ ls
blackgate forgeofvirtue serpentisle silverseed
Teds-MacBook-Pro:Exult ted_gress$ cd blackgate
Teds-MacBook-Pro:blackgate ted_gress$ ls
gamedat
Teds-MacBook-Pro:blackgate ted_gress$ cd ..
Teds-MacBook-Pro:Exult ted_gress$ cd serpentisle
Teds-MacBook-Pro:serpentisle ted_gress$ ls
386STEP.EXE INTRO.EXE SERP.BAT SERPENT.TXT STATIC
ENDGAME.EXE MAINMENU.EXE SERPENT.CFG SETUP.EXE gamedat
INSTALL.EXE MOSLO.COM SERPENT.CFG.txt SI.BAT
INSTALL.PRM READTHIS.TXT SERPENT.COM SI.EXE
Teds-MacBook-Pro:serpentisle ted_gress$ cd ..
Teds-MacBook-Pro:Exult ted_gress$ cd forgeofvirtue
Teds-MacBook-Pro:forgeofvirtue ted_gress$ ls
gamedat
Teds-MacBook-Pro:forgeofvirtue ted_gress$ cd silverseed
-bash: cd: silverseed: No such file or directory
Teds-MacBook-Pro:forgeofvirtue ted_gress$ ls
gamedat
Teds-MacBook-Pro:forgeofvirtue ted_gress$ cd ..
Teds-MacBook-Pro:Exult ted_gress$ cd silverseed
Teds-MacBook-Pro:silverseed ted_gress$ ls
gamedat
Teds-MacBook-Pro:silverseed ted_gress$ cd ~/Library/"Application Support"/Exult
Teds-MacBook-Pro:Exult ted_gress$ pwd
/Users/ted_gress/Library/Application Support/Exult
Teds-MacBook-Pro:Exult ted_gress$ open /Applications/exult.app
Teds-MacBook-Pro:Exult ted_gress$ open /Applications/exult.app
Teds-MacBook-Pro:Exult ted_gress$
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

please follow those commands to the letter, preferably by copy/pasting. There is a big difference between /Library and ~/Library. But I guess that answers the question where youput the games anyway.
So please move the folder exult from ~/library/appliction support to /library/application support
A way to do this is the command

Code: Select all

cp -p -R '~/library/application support/exult' '/library/application support'
If it refuses to do so, please use sudo in front of the command.

After this, if it still doesn't work, please copy/paste the output of the other commands but exactly as I wrote them.
AND run exult from terminal (in the folder where you compiled it, run ./exult) and copy/paste its output.


http://exult.info/docs.php#path_config_osx
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Teds-MacBook-Pro:exult ted_gress$ cp -p -R '~/library/application support/exult' '/library/application support'
cp: ~/library/application support/exult: No such file or directory
Teds-MacBook-Pro:exult ted_gress$


That's why I changed the directories. library is Library on my mac and application support is two words and doesn't work without quotes...as in this command you told me to type:

cd ~/library/application support/exult

Anyway. as I was saying, this was the terminals reply:

Teds-MacBook-Pro:library ted_gress$ cd ~/library/application support
-bash: cd: /Users/ted_gress/library/application: No such file or directory
Teds-MacBook-Pro:library ted_gress$ sudo cp -p -R '~/library/application support/exult' '/library/application support'
Password:
cp: ~/library/application support/exult: No such file or directory
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Got it. Thanks for the help
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Question though, is Exult Studio available for Mac OS?
Malignant Manor
Site Admin
Posts: 985
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Malignant Manor »

Yes. Look at README.MacOSX.
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Ok. I'm trying to compile the exult studio and I am getting those CoreAudio errors I got before. I tried to change my compiler over to clang but I can't remember how to do it,

I tried:

export CC=/usr/bin
export CXX=/usr/bin

I also tried

export CC=clang
export CXX=clang++

No luck.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

a mixture of those two should work
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

OK. I've got everything compiled. Now what do I click on/what do I run to run Exult Studio? All I see is exult_studio.cc
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

in the folder mapedit should be a binary called exult_studio. If it isn't then you may not have followed the instructions in https://github.com/exult/exult/blob/mas ... acOSX#L102 or your MacPorts lacks something or you didn't just run make but ran "make install" or...
When you have run "./configure --enable-exult-studio --enable-macosx-studio-support" it should have told you at the end whether it builds Exult Studio.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Followed the instructions to the T.
DIdn't run make install.
Copied and pasted the ./configure line above and this is what I get:


Exult v1.5.0svn

SDL ....................... : 1.2.15
GLIB ...................... : 2.46.2
GTK+ ...................... : 2.24.30
libGlade .................. : 2.6.4

Build tools................ : yes
Build usecode compiler..... : no
Build Exult mods........... : no
Build Exult Studio......... : yes
Exult Studio support....... : yes

Build all HQ scalers....... : yes
Build NxBR scalers......... : yes

Now type 'make' to build Exult
Teds-MacBook-Pro:exult ted_gress$
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Oh and yeah, no binary in map edit
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Oops. Wrong directory, Sorry!!!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Ok. Exult is built but only serpent isle shows up in the main menu.
When I try to run exult studio I get:

Teds-MacBook-Pro:mapedit ted_gress$ ./exult_studio
Could not find 'exult.flx' anywhere.
Please make sure Exult is correctly installed,
and the Exult data path is specified in the configuration file.
(See the README file for more information)
Teds-MacBook-Pro:mapedit ted_gress$
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Copy the exult.flx, exult_bg.flx, exult_si.flx to /library/application support/exult/data (not ~/library/....).

As for why only SI shows up, there must be an error in howyou moved the BG files or where you moved them. Please run exult from terminal (./exult in the folder you have the source when you compile it), don't run SI, exit, copy/paste theoutput here.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Ok. It's still not working. This is what the terminal is giving me:

/Users/ted_gress/Exult/exult/mapedit/exult_studio ; exit;
Teds-MacBook-Pro:~ ted_gress$ /Users/ted_gress/Exult/exult/mapedit/exult_studio ; exit;
Could not find 'exult.flx' anywhere.
Please make sure Exult is correctly installed,
and the Exult data path is specified in the configuration file.
(See the README file for more information)
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...30 completed.

[Process completed]



exult.flx exult_lx and exult_si.flx are already in the data folder

If I compile exult with the exult folder it doesn't work.


Compiling from root:

pngio.cc:238:3: error: use of undeclared identifier 'memset'
memset(&trans[0], 255, tindex);
^
pngio.cc:309:16: error: member access into incomplete type 'png_struct'
(aka 'png_struct_def')
if (setjmp(png->jmpbuf)) // Handle errors.
^
/usr/local/include/png.h:444:16: note: forward declaration of 'png_struct_def'
typedef struct png_struct_def png_struct;
^
pngio.cc:398:16: error: member access into incomplete type 'png_struct'
(aka 'png_struct_def')
if (setjmp(png->jmpbuf)) // Handle errors.
^
/usr/local/include/png.h:444:16: note: forward declaration of 'png_struct_def'
typedef struct png_struct_def png_struct;
^
6 errors generated.
make[3]: *** [pngio.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Teds-MacBook-Pro:Exult ted_gress$

Also, where should the SERPENT and BLACKGATE directories be and what should they be named?
Malignant Manor
Site Admin
Posts: 985
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Malignant Manor »

You seem to be using an old version of the source (Jan 2013). Download this.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Read this for the default paths. Of course you can edit exult.cfg and point at different paths.
If Exult Studio still complains about missing exult.flx then you either edited exult.cfg or you didn't copy the files to the correct folder.
In terminal do these things to confirm:

Code: Select all

cd "/library/application support/exult/data"
ls
cd "~/library/application support/exult/data"
ls
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

I don't have an exult.cfg file. Also, I don't understand what you mean by in terminal do these things to confirm?

My path to exult/data is:

/library/application support/Exult/exult/data
because
/library/application support/Exult/serpentisle
and
/library/application support/Exult/blackgate
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

You can't NOT have an exult.cfg it is always created by exult in ~/library/preferences.
By in terminal I mean run these commands.

If you have /library/application support/Exult/exult/data then it is wrong. There is one exult too many. I honestly can't help you anymore, it seems as if you don't do what I tell you to do. Good luck.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

I'm sorry about not following directions. I went through all your posts and started from scratch and got the same result. I really want to get this installed and help out on the project.

Teds-MacBook-Pro:mapedit ted_gress$ cd "/library/application support/exult/data"
-bash: cd: library/application support/exult/data: No such file or directory



Teds-MacBook-Pro:mapedit ted_gress$ cd ~/Library/"Application Support"/exult/data
-bash: cd: /Users/ted_gress/Library/Application Support/exult/data: No such file or directory
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Then make the folder data in /library/application support/exult. And the copy the flx files to this folder.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Ok I did that. Do I want to copy the exult application and source code into /library/application support/exult?

Right now I have the black gate folder, the serpent isle folder, and the fox files in that folder
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

No, that is good (if you have the flx files in the data sub folder of that).
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Joseph
Posts: 7
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Joseph »

I've been following this thread for a few days now and I must say, Dominus, you have the patience of a saint! And Walter, good on you for learning the ropes!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Joseph: I know you guys have documentation but I think once I get this running I'm going to turn this thread into a guide for macs for you. :-)
Walter Gress

Re: Problem building exult

Post by Walter Gress »

This is the latest problem Dominus: (lol my autocorrect insists on changing it to Dominos :-p)

Teds-MacBook-Pro:mapedit ted_gress$ ./exult_studio

(exult_studio:27154): libglade-WARNING **: could not find glade file '/Library/Application Support/Exult/data/exult_studio.glade'
Assertion failed: (app_xml), function ExultStudio, file studio.cc, line 557.
Abort trap: 6
Teds-MacBook-Pro:mapedit ted_gress$


libglade2 is installed. There isn't a trace of an exult_studio.glade
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Please reread the Exult Studio instructions in ReadMe.MacOSX.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

If you are referring to lib glade it is installed already. The read says nothing about exult_studio.glade.

Thanks for your help.
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Ok. My mistake. I copied over exult_studio.glade. I"m still having that problem with exult not recognizing black gate.

Teds-MacBook-Pro:mapedit ted_gress$ ./exult_studio
Looking for 'blackgate' at '/Library/Application Support/Exult/blackgate'... but it wasn't there.
Looking for 'forgeofvirtue' at '/Library/Application Support/Exult/forgeofvirtue'... but it wasn't there.
Looking for 'serpentisle' at '/Library/Application Support/Exult/serpentisle'... found game with identity 'SILVER SEED'
Looking for 'silverseed' at '/Library/Application Support/Exult/silverseed'... but it wasn't there.
Black Gate : not found (/)
Forge of Virtue : not found (/)
Serpent Isle : not found (/)
Silver Seed : found
exult_si.flx : found
Black Gate not found.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Please read more closely, the readme.macosx tells you where the glade file is located and where to put it.
In order to use Exult Studio with Exult you will need to do:

- The nice Exult.app will not work with Exult Studio, you will need to run
the exult binary, found where you compiled the source.

- You need to add the path of Exult Studio to your PATH settings so that Exult
can start Exult Studio on entering Map-Edit-Mode (ctrl+cmd+m).
Normally Exult Studio gets compiled in /path_to_the_Exult_source_code/mapedit,
so if you do "export PATH=$PATH:/path_to_the_Exult_source_code/mapedit" before
starting Exult, you can start using Exult and Exult Studio.
If you don't want to set the path to Exult Studio, you can also start Exult,
go into Map-Edit-Mode, start Exult Studio manually and click in it's menu
on File->Connect.

- You need to copy the file exult_studio.glade (found in
/path_to_the_Exult_source_code/mapedit/) to your Exult data folder which is by
default in /Library/Application Support/Exult/data.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

Ok. All of those steps have been taken. Exult studio crashes when it starts up.

Screen Dump:

Teds-MacBook-Pro:mapedit ted_gress$ ./exult_studio
Looking for 'blackgate' at '/Library/Application Support/Exult/blackgate'... found game with identity 'FORGE'
Looking for 'forgeofvirtue' at '/Library/Application Support/Exult/forgeofvirtue'... but it wasn't there.
Looking for 'serpentisle' at '/Library/Application Support/Exult/serpentisle'... found game with identity 'SILVER SEED'
Looking for 'silverseed' at '/Library/Application Support/Exult/silverseed'... but it wasn't there.
Black Gate : not found (/)
Forge of Virtue : found
exult_bg.flx : found
Serpent Isle : not found (/)
Silver Seed : found
exult_si.flx : found
libc++abi.dylib: terminating with uncaught exception of type file_open_exception: Error opening file /Library/Application Support/Exult/data/exultmsg.txt
Abort trap: 6
Teds-MacBook-Pro:mapedit ted_gress$
Walter Gress

Re: Problem building exult

Post by Walter Gress »

OK the path issue with black gate and serpents isle is resolved and it can see them now and play them.

Exult Studio however is still crashing with the message:

libc++abi.dylib: terminating with uncaught exception of type file_open_exception: Error opening file /Library/Application Support/Exult/data/exultmsg.txt
Abort trap: 6
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Copy exultmsg.txt from sourcecode data folder to /library/application support/exult/data
(And that is the only reason it crashed, the other stuff about the games found/not found is just debug stuff - not actual errors)
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

OK its up in running. Play button doesn't do anything though. DO you have that part implemented?
Walter Gress

Re: Problem building exult

Post by Walter Gress »

OH one other. Is it possible to export the VGA files for editing?
?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

Use expack to unpack the shp files from the vga files. Or right click on a shape and export that...
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Walter Gress

Re: Problem building exult

Post by Walter Gress »

What is expack?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Problem building exult

Post by Dominus »

--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Locked