-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with locating data when game lives in PATH and user runs it just by its name #22
Comments
may you build current master with “ --enable-debug ” switch to configure? as for “ The characters in menu before this commit are defective ” ~ it is due to “ ++ ” inside invokation of function is implementation-specific, I already solved that an yep, I haven’t yet tested with c++11, I build with CXX="${pathToCompiler}/bin/g++ -std=c++03", and I want pre-c++11 support ... |
With the master I get the following errors: |
I uploaded updated master |
I'll try it...
Now I compile it with the --enable-debug switch |
And compiled with the --enable-debug switch is alright!!! |
Yes, that would give some point to me instead of useless ?? like “ 0x0809e414 in ?? () ” |
Hmm, I haven’t build it without debugging on since a lot of time. Yet on your side, non-debug build fails and debug build is okay? |
The debug-build is ok, but only in gdb. |
Which platform are you on? If you’re on linux @ x86_*, build with -fsanitize=address -fno-omit-frame-pointer, that would help me a lot |
I made the packages for UHU Linux ubk1 and ubk2 for 32 and 64 bit |
Terminal-log |
So you’re going to revert some stuff and use your fork instead of making this game better together? It’s up to you, but I just can’t get it |
As for
from hoh.log look for issue #18 and play with these paths |
I'm not a C programmer, just a packager that makes from sources packages for our distributon. My favorite game is headoverheels, already 20 years. I do not speak the English language at all, the German already, and of course the Hungarian, which is my mother tongue. I need to contact Google translator from german to english. Well, I looked it over and made a patch, this one:
And so I get already in a terminal sensible message:
But running in gdb, I get the right sharepath, and the game is running.
|
I have replaced these lines:
With this:
And the game only runs if I am in the directory / usr / share.
Good:
|
I can not start the game.
|
nice digging, I’m going to deal with it in a couple of days, thanks multi-reading of the same file with font is a thing to optimize too |
... when game lives in PATH and user runs it just by its name #22 IN PROGRESS ~~ add more support for c++11 like nullptr and such
is it okay now? note that I hard-coded for other install paths like /usr/local and custom names of game it would need more logic |
... when game lives in PATH and user runs it just by its name #22 change gui.Font & GuiManager to read the file with picture of letters once IN PROGRESS ~~ add more support for c++11 like nullptr and such
... and user runs it just by its name #22 change gui.Font & GuiManager to read the file with picture of letters once IN PROGRESS ~~ add more support for c++11 like nullptr and such
Yes! Is OK! In most linux systems the installed binaries are always under the folder / usr / bin, for the users this way is always reachable. In my install phase, I made a headoverheels.desktop in the folder / usr / share / applications to make the game appear in desktops menus. [Desktop Entry] And in the install phase, I've copied the menu icon in the right place. mkdir -p $ UB_INSTALLDIR / usr / share / pixmaps ($ UB_INSTALLDIR is my "fake" chroot folder, it packs everything into an installable package.) I have noticed a thing to translate: "play room tunes" is in Hungarian: "helyiség hangok" Otherwise, you have done a nice job! |
... and user runs it just by its name #22 change gui.Font & GuiManager to read the file with picture of letters once IN PROGRESS ~~ add more support for c++11 like nullptr and such and change build scripts for osx ~~ buildexternal-osx.sh NEEDS TESTING
... and user runs it just by its name #22 change gui.Font & GuiManager to read the file with picture of letters once update Magyar ( hu_HU ) translation with help from Attila Kiss IN PROGRESS ~~ add more support for c++11 like nullptr and such and change build scripts for osx ~~ BUT buildexternal-osx.sh NEEDS TESTING
Thanks, I already uploaded updated commit with "helyiség hangok" (; |
and if you like, I may add your "headoverheels.desktop" file to extras folder of git repository, if you’d attach it or make a commit by yourself |
I do not want to make a fork from your repository, from here you can download the desktop file, then install it in your repository: In the desktop file is "Icon = headoverheels" without the png extension, because the extension png is not needed. I renamed the iconfile name from headoverheels48 to headoverheels because I put in the headoverheels.png package instead of headoverheels48.png When a stable release is done, I will make packages again. Until then, this pre-release is enough. And many can play at first! |
... and user runs it just by its name #22 that PathToGame is gone since yet change gui.Font & GuiManager to read the file with picture of letters once update Magyar ( hu_HU ) translation with help from Attila Kiss IN PROGRESS ~~ add more support for c++11 like nullptr and such change build scripts for osx ~~ BUT buildexternal-osx.sh NEEDS TESTING add extras/headoverheels.desktop by Atilla Kiss
... when game lives in PATH and user runs it just by its name #22 yeah, that PathToGame is gone since yet change gui.Font & GuiManager to read the file with picture of letters once update Magyar ( hu_HU ) translation with help from Attila Kiss IN PROGRESS ~~ add more support for c++11 like nullptr and such change build scripts for osx ~~ BUT buildexternal-osx.sh NEEDS TESTING add extras/headoverheels.desktop by Atilla Kiss
... when game lives in PATH and user runs it just by its name #22 yeah, that PathToGame is gone since yet change gui.Font & GuiManager to read the file with picture of letters once update Magyar ( hu_HU ) translation with help from Attila Kiss IN PROGRESS ~~ add more support for c++11 like nullptr and such change build scripts for osx add extras/headoverheels.desktop by Atilla Kiss
... when game lives in PATH and user runs it just by its name #22 yeah, that PathToGame is gone since yet change gui.Font & GuiManager to read the file with picture of letters once IN PROGRESS ~~ add more support for c++11 like nullptr and such change build scripts for osx with help from Atilla Kiss update Magyar ( hu_HU ) translation add extras/headoverheels.desktop
... when game lives in PATH and user runs it just by its name #22 yeah, that PathToGame is gone since yet change gui.Font & GuiManager to read the file with picture of letters once add more support for c++11 like nullptr and such change build scripts for osx with help from Atilla Kiss update Magyar ( hu_HU ) translation add extras/headoverheels.desktop
... when game lives in PATH and user runs it just by its name #22 yeah, that PathToGame is gone since yet change gui.Font & GuiManager to read the file with picture of letters once add more support for c++11 like nullptr and such change build scripts for osx with help from Atilla Kiss update Magyar ( hu_HU ) translation add extras/headoverheels.desktop
Something in the "Isomot" section is not good in commit 17e8a63.
The characters in menu before this commit are defective.
I get this error in gdb: (1.30 pre-release)
attila@localhost:~$ gdb headoverheels
The text was updated successfully, but these errors were encountered: