Release Ultima 4 (xu4)

Discussion in 'Software Releases' started by mcobit, May 16, 2011.

  1. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    Port of the xu4 engine for Ultima 4:


    http://xu4.sourceforge.net/


    [​IMG]


    - Run the app once


    - Get the ultima4.zip from e.g. here:


    http://www.thatfleminggent.com/ultima/u4download.html


    - Put it into the appdatadirectory xu4.


    - Run the app again. It should start up.


    - Optionally you can get the u4upgrad.zip from


    http://www.moongates.com/u4/upgrade/Upgrade.htm


    and put it into the appdatadirectory too.


    Generally it is advised to read the included documentation!


    Get the pnd here:


    http://repo.openpandora.org/?page=detail&app=xu4-u4-1893
     
    Last edited by a moderator: May 16, 2011
    Tags:
  2. Michoko

    Michoko Member

    Joined:
    May 13, 2008
    Messages:
    458
    Location:
    France
    Thank you very much for this port! Ultima 4 is certainly one of my favourite RPGs of all times!
     
  3. Nintendo

    Nintendo Nintendo Switch

    Joined:
    Oct 8, 2005
    Messages:
    12,718
    Location:
    Melbourne, VICTORIA - AUSTRALIA
    ^ Same here! Thanks mcobit. You're THE BEST!!! :)
     
  4. Blue Protoman

    Blue Protoman Well-Known Member

    Joined:
    Mar 6, 2010
    Messages:
    4,119
    Hey, cool!
     
  5. Michoko

    Michoko Member

    Joined:
    May 13, 2008
    Messages:
    458
    Location:
    France
    By the way mcobit, I don't seem to get any music in this build. In the last XU4 snapshot, there are several music tracks, including OGG files. Is it something you removed on purpose?
     
  6. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    hmmm. No, not on purpose. I saw the midifiles too... Ah, midimusic. Maybe try sebt3's midiinstaller. If it still doesn't work I'll have another look.


    EDIT: I think I know whats wrong: The paths to datafiles are hardcoded and as we can't use /usr/lib on the nand I will have to change some paths in the source. Will have another look tomorrow, as I have my builddirectory on a virtual machine on my workpc.
     
    Last edited by a moderator: May 16, 2011
  7. Michoko

    Michoko Member

    Joined:
    May 13, 2008
    Messages:
    458
    Location:
    France
    ok thanks. FYI I tried the midi installer, with various options but no success. I suppose it won't work before you apply your edited changes. Thanks!
     
  8. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    Updated the PND again. I have no clue, why the music isn't working.


    The VGA-graphics are now btw ;)


    It seems to have some strange issues with the paths, but I just can't find out whats wrong.


    If anybody would like to take this over or could make the music work:


    Here are the sources: http://maheld.heckel-web.pharmchem.uni-frankfurt.de/xu4-pandora.tar.bz2
     
    Last edited by a moderator: May 17, 2011
  9. Cas

    Cas Member

    Joined:
    Sep 6, 2010
    Messages:
    613
    Hi


    Anybody who needs a manual for this game go here - http://amiga-manuals.xiik.net/


    It is for the Amiga but I am sure it will help with the game.
     
  10. hakmanplayer

    hakmanplayer Guest

    Thanks Cas.
     
  11. Nintendo

    Nintendo Nintendo Switch

    Joined:
    Oct 8, 2005
    Messages:
    12,718
    Location:
    Melbourne, VICTORIA - AUSTRALIA
    Thanks for the manual Cas. Much appreciated. :)
     
  12. klapse

    klapse Central Scrutinizer

    Joined:
    Aug 30, 2012
    Messages:
    1,932
    Location:
    Germany
    The Ultima series pioneered many computer RPG features. It is a total classic.


    Mcobit, your source link gives me a 403 forbidden message. I would like to work on this - the music adds a lot!


    Can you add source to the openpandora repo? Open project servers should additionally provide source downloads, IMHO...


    Thanks much!
     
  13. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    There is nothing specific to this port. You can use upstream sources :)


    Also nice to see somebody wanting to improve it.
     
    Last edited by a moderator: Sep 2, 2012
  14. klapse

    klapse Central Scrutinizer

    Joined:
    Aug 30, 2012
    Messages:
    1,932
    Location:
    Germany
    sadly i have no own internet or svn in my "prison" - using borrowed phone I save xu4-1.0beta3.tar.gz to sd, then unpack src on pandora in my cdevtools dir and run 'make' which returns:


    armor.cpp:42: error 'strcasecmp' was not declared in this scope


    Is this error related to the cdevtools environment or is it a problem in armor.cpp?
     
  15. klapse

    klapse Central Scrutinizer

    Joined:
    Aug 30, 2012
    Messages:
    1,932
    Location:
    Germany
    #including <string.h> in armor.cpp fixed it
     
  16. klapse

    klapse Central Scrutinizer

    Joined:
    Aug 30, 2012
    Messages:
    1,932
    Location:
    Germany
    Now make breaks with


    Imagemgr.h:105: error: extra qualification 'ImageMgr::' on member 'getSubImage'
     
  17. klapse

    klapse Central Scrutinizer

    Joined:
    Aug 30, 2012
    Messages:
    1,932
    Location:
    Germany
    ok that was a known bug, fixed via cut and paste
     
  18. klapse

    klapse Central Scrutinizer

    Joined:
    Aug 30, 2012
    Messages:
    1,932
    Location:
    Germany
    now make breaks with


    dialogueloader.cpp:14: error: 'abort' was not declared in this scope


    ....


    It seems the .tar.gz from sourceforge is full of errors. Without svn access, I need a downloadable source package that BUILDS.


    Can you help me mcobit?


    FIXED! There were more missing includes and some unresolved ASSERTS and some undefined constants. Now i have a version that builds.


    Sorry for the many posts. I did not have an EDIT post option on the cellphone i used.


    I now have a version that builds so maybe the MIDI will work soon. Wish me luck.
     
    Last edited by a moderator: Sep 2, 2012
  19. mcobit

    mcobit Advanced Member

    Joined:
    Jul 28, 2008
    Messages:
    6,755
    You know, I was using sebt3's toolchain and not cdevtools to build it.


    I cannot remember having any trouble building it with this.


    But good to hear that you were able to do it.
     
  20. klapse

    klapse Central Scrutinizer

    Joined:
    Aug 30, 2012
    Messages:
    1,932
    Location:
    Germany
    Music is working!


    I didnt change any paths in the xu4 source. Just compiled, installed timidity from sebt's midi installer then ran the u4 executeable from the u4 directory. It seems to work fine with freepats installed to NAND or SD, as well as the small 3MB fileset.


    The small fileset sounds much worse - go for the big one if you have the space.


    mcobit's build doesnt play the mids even if i put the .mid files into a mid directory under pandora/appdata. xu4 looks for the .mids in a ./mid directory under the application directory, but i do not find the current working directory of mcobits build. I dont understand enough about .pnds yet. "u4" is not in the pwd.


    mcobit, maybe you just need to put the mid directory in the right place. I can share my build if it would help you.


    EDIT: ARGH! Sourceforge files only had beta3 but the latest build is beta4, which uses tracker-based music instead of MIDI files. This is actually a good thing, since the .mid files do not sound anything like the original AppleII mockingboard music.


    My work so far was therefore useless. I will get svn and build that.
     
    Last edited by a moderator: Sep 2, 2012

Share This Page

Loading...