Upspring 1.54
Moderator: Moderators
Re: Upspring 1.54
Yay, this makes life much easier.
Re: Upspring 1.54
The exported BOS values seem very small, it seems that because of the rotation changes it's not calling "function OutputRotationAnim(propInfo,f)" for rotations but also "OutputVector3Anim(propInfo,f)", this will require another bit of fixing in the lua script...
Re: Upspring 1.54
Things I'd like to see in the future:
- mass import
- automatic naming of pieces on (mass) import (filename minus extension)
- make save dialogue append extension properly
- no quitting on escape (there's like one or two dialogues where it still happens)
- correct normal scaling when resizing

- mass import
- automatic naming of pieces on (mass) import (filename minus extension)
- make save dialogue append extension properly
- no quitting on escape (there's like one or two dialogues where it still happens)
- correct normal scaling when resizing

Re: Upspring 1.54
is this abandoned?
Is it still in use?
Is it still in use?
Re: Upspring 1.54
yes & yes, as far as I know.
Re: Upspring 1.54
Is anyone willing to rewrite this program as cross-platform in c++?
I want to contribute, but im still a beginner in terms of c++, but i want to learn!
I have machines with ubuntu 64bit, 32 bit and 32bit WinXP for testing available and greater amounts of time.
I want to contribute, but im still a beginner in terms of c++, but i want to learn!
I have machines with ubuntu 64bit, 32 bit and 32bit WinXP for testing available and greater amounts of time.
Re: Upspring 1.54
you should try it yourself!
there is always help around, if you need it, either here in the forum or on the lobby server, or the internet as a whole.
Is Upspring in C++ already? if so, you can just try to compile it wiht the different compilers on the different systems, and then try to eliminate the compile errors and warnings.
I don´t think that there is a better way of leanrning C++ -> the main part of this, is learning the special things, eg. what things are not supported by all compilers. You could read about this, or beeing told by someone that knows all this already, but you could not remember it anyway, as it is just too detailed info, not in a format easyly remembered by just hearing or reading it. of course ti will take you longer to port the app, then it would take a C++ expert, but.. thats just how you learn this stuff.. in my experience
there is always help around, if you need it, either here in the forum or on the lobby server, or the internet as a whole.
Is Upspring in C++ already? if so, you can just try to compile it wiht the different compilers on the different systems, and then try to eliminate the compile errors and warnings.
I don´t think that there is a better way of leanrning C++ -> the main part of this, is learning the special things, eg. what things are not supported by all compilers. You could read about this, or beeing told by someone that knows all this already, but you could not remember it anyway, as it is just too detailed info, not in a format easyly remembered by just hearing or reading it. of course ti will take you longer to port the app, then it would take a C++ expert, but.. thats just how you learn this stuff.. in my experience

Re: Upspring 1.54
Where can i find source or anything? I just found compiled exes...
Re: Upspring 1.54
Source: https://spring.clan-sy.com/svn/spring/t ... /Upspring/
Patch to make it compile on Linux: http://spring.clan-sy.com/mantis/view.php?id=516
(It's written in C++, using FLTK toolkit.)
Patch to make it compile on Linux: http://spring.clan-sy.com/mantis/view.php?id=516
(It's written in C++, using FLTK toolkit.)
Re: Upspring 1.54
Is that up-to-date? The source is also avaiable in the NSIS installer, but you'll have to install that on windows (or wine).
Re: Upspring 1.54
AFAIK the SVN source is of 1.54 pre-conversion to Euler angles, and my patch was based on that revision as well. I don't think there were any other changes between April 2007 and May 2008 (the SVN log seems to agree).
PS. I wouldn't mind bringing the patch up to date again or doing some general work on UpSpring if it is indeed "abandonware".
PS. I wouldn't mind bringing the patch up to date again or doing some general work on UpSpring if it is indeed "abandonware".
Re: Upspring 1.54
Tobi, if i click on your link to the upspring source, i get a bad ssl certificate error form firefox.
Well, i would very welcome a native version, because i do not like wine and all these "hacks". I ll keep trying...
Well, i would very welcome a native version, because i do not like wine and all these "hacks". I ll keep trying...
Re: Upspring 1.54
Heh, shouldn't you know that?jcnossen wrote:Is that up-to-date?

Either way, I've no clue..
Do you still plan to work on it sometime, ever, or is it really abandoned?
Just add exception... HTTPS with unverified certificate is still safer then plain HTTP, about which firefox doesn't complainCaradhras wrote:Tobi, if i click on your link to the upspring source, i get a bad ssl certificate error form firefox.

Or just check it out with you SVN client.
Re: Upspring 1.54
Yes, you can consider it abandonware.Kloot wrote:AFAIK the SVN source is of 1.54 pre-conversion to Euler angles, and my patch was based on that revision as well. I don't think there were any other changes between April 2007 and May 2008 (the SVN log seems to agree).
PS. I wouldn't mind bringing the patch up to date again or doing some general work on UpSpring if it is indeed "abandonware".
The euler angle release was the last public one, and then I did just one more local commit to fix image file locking. 2 lines, probably easier to just add by hand.
The euler angle release also has your patch in it, and a fixed BOSExporter.lua by rattle, so it's probably easier to start from there.
Code: Select all
Index: G:/MyProjects/mysvn/upspring/src/upspring/Image.cpp
===================================================================
--- upspring/src/upspring/Image.cpp (revision 170)
+++ upspring/src/upspring/Image.cpp (revision 171)
@@ -435,9 +435,11 @@
LoadFromMemory(buf, len);
} catch(const content_error& e) {
delete[] buf;
+ fclose(f);
throw content_error(SPrintf("Error loading image %s: %s", file, e.what()));
}
delete[] buf;
+ fclose(f);
}
Image* Image::Clone()
Re: Upspring 1.54
The link to the source is obviously not the Euler version, right?
But im to stupid to apply the linux patch, I tried it with the unix program "patch" but it always spits errors like this in my face:
I fiddled around with the path, but from this point it still refuses to move on.

But im to stupid to apply the linux patch, I tried it with the unix program "patch" but it always spits errors like this in my face:
Code: Select all
can't find file to patch at input line 486
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Index: /home/mypath/Code/UpSpring/src/upspring/FileIO/
|===================================================================
|--- S3O.cpp (revision 3585)
|+++ S3O.cpp (working copy)
--------------------------

Re: Upspring 1.54
Caradhras, as i got it, Kloot will work on it (correct me if i am wrong), so you may wait for him to setup a new repository.
Re: Upspring 1.54
ah ok, that might be even better.
Kloot, if you have anything I can help you with, send me a pm. I will hang around in #sy.
Kloot, if you have anything I can help you with, send me a pm. I will hang around in #sy.