Search found 140 matches

by Lanica
Mon May 02, 2016 11:41 pm
Forum: Exult Discussion
Topic: playable version?
Replies: 12
Views: 2249

Re: playable version?

Hmm. From a new game I don't have any of the issues...
by Lanica
Mon May 02, 2016 11:19 pm
Forum: Exult Discussion
Topic: playable version?
Replies: 12
Views: 2249

Re: playable version?

Thanks for the save game. I can definitely recreate it with that. Let me try to recreate it from a new game as well.
by Lanica
Thu Apr 28, 2016 10:21 pm
Forum: Exult Discussion
Topic: playable version?
Replies: 12
Views: 2249

Re: playable version?

A save game would definitely help.
by Lanica
Mon Sep 02, 2013 1:15 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

Nevermind I had AR correction enabled...if I disable it, I see the issue. It warps the screen so the left side shows some very stretched screen material and right side is all black. No clue as of yet...
by Lanica
Mon Sep 02, 2013 1:08 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

Fixed the transparency for SetIcon...bleh...I see my mistake clearly. As far as the scale=1 issue....you have said it is "broken" .. .by "broken" do you mean it crashes? Can you provide specific settings (or perhaps a cfg file) that cause it to break? If its not crashing, what ex...
by Lanica
Sun Sep 01, 2013 9:12 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Tried to compile with SDL2....made some fixes, but get a bunch of undefined references that seem to be related to the SDL2 library itself....
by Lanica
Sun Sep 01, 2013 12:57 am
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

SetIcon now works. However, its not optimal. Really just couldn't get the paletted surface to work with SDL2.
by Lanica
Sat Aug 31, 2013 2:28 am
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

Oh and OpenGL needs to be handled too!
by Lanica
Sat Aug 31, 2013 1:43 am
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

* audio/midi_drivers/LowLevelMidiDriver.cpp, audio/midi_drivers/LowLevelMidiDriver.h: Added a quit_thread flag -- really only used for SDL2 Took care of the Create/Kill/Wait thread issue. Audio is sometimes messed up...at least on Mac. Have to restart Exult to fix it. Also forgot...need to fix SetIc...
by Lanica
Sat Aug 31, 2013 1:14 am
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

We should be in better shape now: * imagewin/imagewin.cc: Applied Malignant Manor's fix for SDL2 window resizes. Added NULL-check instead of using test variable. * gamemgr/bggame.cc, gamemgr/sigame.cc: Fixed text input for initial BG and SI game screen for SDL2 * gumps/Gump_manager.cc: Fixed text in...
by Lanica
Fri Aug 30, 2013 10:44 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

That could be helpful as a reference if we are unable to solve certain problems.

I noticed with some audio there was sometimes an issue. Likely has to do with SDL_KillThread no longer existing, or at least that's my assumption.
by Lanica
Thu Aug 29, 2013 5:21 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

We should probably do a NULL check on screen_window (make sure to set it in an init). SetIcon isn't perfect yet. Seems like its throwing out white if an alpha is present of any kind. FYI, last night it did work on Linux once I "fixed" SetIcon. The remaining flaws with it might be causing c...
by Lanica
Thu Aug 29, 2013 1:10 am
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

SetIcon issue should be fixed. That's all I have time for tonight.
by Lanica
Wed Aug 28, 2013 11:14 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

Did you have a patch of what you've done? Feel free to commit if you're confident in your actions of course :) I'm validating on Linux right now.
by Lanica
Wed Aug 28, 2013 8:43 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

Ok, NOW its working with scaling. Keyboard input doesn't work right in some cases and in other cases it doesn't work at all. Again this is the selective case of being on a Mac OS X and without OPENGL. I might try another platform tonight to see if it works.
by Lanica
Wed Aug 28, 2013 1:05 am
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

I can now get screen output when scaling is disabled! Audio works as well!
by Lanica
Tue Aug 27, 2013 8:46 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

Looks like you're falling in the case of "HAVE_OPENGL", and I am not. I'll work to validate all platform configs once I get one basic one working :)
by Lanica
Tue Aug 27, 2013 2:07 am
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

Made a lot of progress on SDL2....Exult compiles for Mac OS X against SDL2...but it does not work.

Did:
sudo port install libsdl2
./configure SDL_CONFIG=/opt/local/bin/sdl2-config

-Lanica
by Lanica
Mon Aug 26, 2013 7:37 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Yes, lots of tweaking needed. I'm working on making some progress on the SDL2.0 arena...then I can circle back to this. However, anyone can work on the iphone portion while I do that, since we're going the route of the slow incremental ifdef SDL2.0 change!
by Lanica
Mon Aug 26, 2013 7:13 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Woohoo! beautiful! ;)
by Lanica
Mon Aug 26, 2013 5:45 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Its possible you need to edit something in the Info.plist file....the error is not specific at all. Did you sign? Was this simulator or hardware? I have seen that happen before with the simulator...but with the hardware it typically makes sure all is good before it goes forward. Could also be as sim...
by Lanica
Mon Aug 26, 2013 5:43 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

Also...SDL 2.0 only supports these platforms:
Windows, Linux, Mac OS X, iOS, Android.

Think this will cause any heart ache, break, or burn?

-Lanica
by Lanica
Mon Aug 26, 2013 4:58 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Dominus: The instructions for compiling for hardware should have made sure they were generated first. However, I know you're just trying to get to success, so here is exult_iphone.flx : https://www.box.com/shared/otmg5wwhckbqewct6s2b ;) Once you get done, try to checkout to a new directory and follo...
by Lanica
Mon Aug 26, 2013 4:50 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

Re: SDL 1.2 to 2.0

I can't help but agree. I think "well...we could just do one big commit and be done with it". But that will always break something. Plus if we go the ifdef route, then we can incrementally make change rather than all at once. So I can do some cycles, then you can do some cycles, etc. It wo...
by Lanica
Mon Aug 26, 2013 4:48 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

MM: I receive this is I gut the ifdef block (make it just k.scancode = 0): keys.cc: In member function 'void KeyBinder::AddKeyBinding(SDL_Keycode, int, const Action*, int, int*)': keys.cc:379: error: invalid conversion from 'int' to 'SDL_Scancode' make[2]: *** [keys.o] Error 1 make[1]: *** [all-recu...
by Lanica
Mon Aug 26, 2013 4:14 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Yeah probably should have used that macro. Right now SDL_VER_1_3 is only defined if you are using --with-iphone-sdk ... so you probably need to define that.. It should be fixed...guess I was in a hurry back in 2011 and didn't do that the right way. At that point though, the iOS devices were the only...
by Lanica
Mon Aug 26, 2013 3:52 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

SDL 1.2 to 2.0

Started the SDL conversation at:
http://exult.info/forum/viewtopic.php?p=516617#p516617

Looks like there's lots to do....

Migration guide (also in the post above): http://wiki.libsdl.org/MigrationGuide
by Lanica
Mon Aug 26, 2013 3:51 pm
Forum: Exult Discussion
Topic: SDL 1.2 to 2.0
Replies: 46
Views: 21981

SDL 1.2 to 2.0

Guide is here: http://wiki.libsdl.org/MigrationGuide Some things have been done for SDL 1.3 but that was at a pretty dated version. There's lots to do to get to SDL 2.0. It sounds like it should actually get better performance overall, but I don't know for sure. Should we ifdef a bunch for SDL2 or s...
by Lanica
Mon Aug 26, 2013 3:03 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

I provided the SDL and vorbis libs in posts above. Note the libs are different whether you're using the simulator (x86) or hardware (arm). # Get libs required for simulator and extract # URL for libs: https://www.box.com/shared/86qspv7c3bout465oyly # Get libs required for hardware (SDL + vorbis) and...
by Lanica
Mon Aug 26, 2013 12:37 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

To make it work for the iphone5 resolution you can do:
touch Exult.app/Default-568h@2x.png

But then exult.cfg needs to be modified so it fills up the rest of the screen and also so the touch/mouse cursor properly lines up.
by Lanica
Mon Aug 26, 2013 12:15 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Tweaking the audio options did the trick. Sorry didn't have much time to mess with it last night. Should also try the OGGs for fun. Looks like you're around 9 hours head of me, so I expect your evening is coming up. FYI you walk around by moving your device....When its level it shouldn't move at all...
by Lanica
Sun Aug 25, 2013 11:41 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Ok...now music works. However it seems like it hangs whenever it gets to the end...just repeats one tone and doesn't loop.
by Lanica
Sun Aug 25, 2013 11:11 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Yes Malignment....that is correct. I am just now only remembering what I did and didn't do back in 2011 ;)

-Lanica
by Lanica
Sun Aug 25, 2013 10:25 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Ok, so audio does not work...what I did get to work was static.
Also, the dimensions do not match the iPhone 5....uses the previous device screen dimensions.

Exciting nonetheless!
by Lanica
Sun Aug 25, 2013 9:46 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

It now compiles ALL of the way. Here are the instructions so far. Also...I updated the hardware libs...I also updated the link in the post above just in case...though those steps are little off on the configure line. # Instructions below are for getting to run on the physical hardware! # Get latest ...
by Lanica
Sun Aug 25, 2013 8:28 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Did you get around hardcoding -- I couldn't seem to find a way to get it to detect a compiler automatically? I changed it to llvm-g++ and lvm-gcc and then I don't have the problem in the audio directory.
by Lanica
Sun Aug 25, 2013 6:09 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Ok...found the line: aim *= tempo; Which is right below: uint64 aim = event->time - time_prev; I can get it to compile by doing: aim = aim * (uint64)tempo; tempo is a uint32.... Strangely enough, if I try to ifdef it out, it still gets the error: #ifndef __IPHONEOS__ aim *= tempo; #else aim = aim * ...
by Lanica
Sun Aug 25, 2013 5:51 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

You can still deliver binaries to your iOS devices that were not built with your XCode. You can also sign binaries outside of XCode. FYI, I isolated the compile error to something in this function: void XMidiFile::AdjustTimings(uint32 ppqn) (in /audio/midi_drivers/XMidiFile.cpp) About 58 lines of co...
by Lanica
Sun Aug 25, 2013 3:10 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

correction...I was able to get the audio part to compile, but then got other errors later on...which had references to XMidi stuff.
by Lanica
Sun Aug 25, 2013 12:33 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Dominus: disable-data and disable-tools together works for that part of the code it seems. Also, it looks like what its dying on, is an XMidi driver...which I'm assuming is X-Windows, which cannot be used. I cut it out of the Makefile and was able to get it to compile. Now I need to make some kind o...
by Lanica
Sun Aug 25, 2013 12:25 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

GPL vs. Apple

Here's the developer agreement: https://developer.apple.com/programs/terms/ios/standard/ios_program_standard_agreement_20130610.pdf Note that you can distribute outside of the app store, if its free. If its a paid app, you are agreeing to only allow it thru Apple. There some kind of default EULA att...
by Lanica
Sun Aug 25, 2013 12:04 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

GPL vs. Apple

Apple doesn't restrict the copying of the free programs as far as I can tell. Anyone want a copy of the Apple developer agreement to look it over? Does anyone here actually believe it would be a violation of the GPL? I guess reading the agreement would be the way to go... If so, then we would need t...
by Lanica
Sun Aug 25, 2013 12:01 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Here's the process for TRYING to get it compiled for the hardware. It dies on some midi stuff due to an internal compiler error. From what I've read its not the code's fault, but you might be able to find a workaround. I've tried disabling some of the midi stuff via configure but it never seems to c...
by Lanica
Sat Aug 24, 2013 7:48 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

I think the license may have changed some.... The below is from the Apple Developer Agreement, dated 2013/06/10. Looks like to me they intend for you to use GPL...or not. Hard to read between the lines here. “FOSS” (Free and Open Source Software) means any software that is subject to terms that, as ...
by Lanica
Sat Aug 24, 2013 7:29 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

The GPL is preventing the spread of free software? That's...amazing. I'm trying to find which terms of the Apple agreement are the offending ones... The fact is, its a mechanism to deliver application binaries. It had nothing to do with source. Anyone can still do whatever they want with the source ...
by Lanica
Sat Aug 24, 2013 6:08 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Here are the steps to get it going on in the simulator... Make sure you have done these things first: Install XCode (with iOS support), Install command line tools from XCode (Preferences->Downloads), and Install libsdl-devel using macports ( sudo port install libsdl-devel ) # Get latest code svn co ...
by Lanica
Sat Aug 24, 2013 5:51 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

Oh...and another thing... Save game transfer. Need to be able to bring savegames in and also send them out.
by Lanica
Sat Aug 24, 2013 5:40 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

What's wrong with the license? I figured Exult itself would be free, but the content would have to be paid for. Good thing for you guys I still have the SDL I compiled back when I was messing around. Like I said above. I'll post it in a bit. I think I have it done where you can get it working at lea...
by Lanica
Sat Aug 24, 2013 2:24 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

So now for the big questions: 1. What time of user interface enhancements will actually make an iPhone version useful? 2. What time of user interface enhancements (beyond those above) will actually make an iPad version useful? 3. If the goal is to get this into the app store, then we have to allow t...
by Lanica
Sat Aug 24, 2013 2:19 pm
Forum: Exult Discussion
Topic: iOS / iPhone / iPad
Replies: 82
Views: 20278

Re: iOS / iPhone / iPad

* Now will compile for iOS again * Quick instructions: Install XCode (with iOS support), Install command line tools from XCode (Preferences->Downloads), Install libsdl-devel using macports (sudo port install libsdl-devel), and use iphone-simulator-libs or iphone-hardware-libs as provided by me * Ver...