1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice

[Ported Game] Widelands

Discussion in 'DragonBox Coding Compo 2012/2013' started by canseco, Jan 26, 2013.

  1. canseco

    canseco Very Active Member

    Joined:
    Jun 1, 2004
    Messages:
    805
    Location:
    Spain
    Delete appdata widelands folder.

    What type of game, singleplayer, play tutorial, editor?

    Can you show me the out file on tmp?
     
  2. Askarus

    Askarus Advanced Member

    Joined:
    Sep 28, 2011
    Messages:
    3,998
    Location:
    Germany
    Got a cras that only crashed game but not the whole Pandra.

    It was during loading the tutorial (about 97%).

    Here's the PND run out:

    =======================================================================================
    PND             : /media/MAIN/pandora/menu/widelands.pnd
    PND_FSTYPE      : Squashfs
    APPDATADIR      : /media/MAIN/pandora/appdata/widelands
    APPDD_FSTYPE    : vfat
    PND_CPUSPEED    : <unset>
    EXENAME         : start.sh
    ARGUMENTS       : <unset>
    =======================================================================================
    [ START ]--- Mount the PND ----------
    Mounting : mount -t squashfs -o ro "/dev/loop0" "/mnt/utmp/widelands"
    rmdir: failed to remove `/mnt/pnd/widelands': Not a directory
    Mounting the Union FS : mount -t aufs -o exec,noplink,dirs="/media/MAIN/pandora/appdata/widelands=rw+nolwh":"/mnt/pnd/widelands=rr" none "/mnt/utmp/widelands"
    [sUCCESS]--- Mount the PND ----------
    [ START ]--- Starting the application (start.sh ) ----------
    Set home directory: /mnt/utmp/widelands/home/.widelands
    No version file found
    Adding directory:./.
    No version file found
    Adding directory:/usr/share/games/widelands
    Adding directory:.
    No version file found
    Adding directory: /mnt/utmp/widelands/share/games/widelands
    Version file found with id "build-17" (real "build-17" )
    No version file found
    Widelands executable directory: /mnt/utmp/widelands/share/games/widelands/
    localedir: /mnt/utmp/widelands/share/games/widelands/locale
    selected language: (system language)
    using locale
    SDL_VIDEODRIVER=&
    Graphics: Trying Video driver: 0 x11 SDL_VIDEODRIVER=x11
    Graphics: Trying FULLSCREEN
    Graphics: Try to set Videomode 800x480 16Bit
    Graphics: Setting video mode was successful
    Graphics: FULLSCREEN ENABLED
    **** GRAPHICS REPORT ****
     VIDEO DRIVER x11
     hw surface possible 0
     window manager available 1
     blitz_hw 0
     blitz_hw_CC 0
     blitz_hw_A 0
     blitz_sw 0
     blitz_sw_CC 0
     blitz_sw_A 0
     blitz_fill 0
     video_mem 0
     vfmt 0x505fe8
     size 800 480
    **** END GRAPHICS REPORT ****
    Graphics: flags: 80000000
    [] Section [global], key 'EXENAME' not used (did you spell the name correctly?)
    Sound_Handler: loaded song "music/intro_00.ogg"
    Sound_Handler: loaded song "music/menu_00.ogg"
    Registering script: (aux,coroutine)
    Registering script: (aux,format_help)
    Registering script: (aux,formatting)
    Registering script: (aux,infrastructure)
    Registering script: (aux,objective_utils)
    Registering script: (aux,set)
    Registering script: (aux,table)
    Registering script: (aux,ui)
    Registering script: (aux,win_condition_functions)
    Registering script: (aux,win_condition_texts)
    No version file found
    Parsing world bobs...
    Parsing global bobs in world...
    Parsing map gen info...
    Compatibility ware "flax"="thatchreed" loaded.
    Registering script: (tribe_barbarians,sc00_headquarters_medium)
    Registering script: (tribe_barbarians,sc01_citadel_village)
    Registering script: (tribe_empire,sc00_headquarters_medium)
    Registering script: (tribe_empire,sc01_castle_village)
    Reading Elemental Data ... done!
     Reading Player Names And Tribe Data ... done!
     Reading Heights Data ... done!
     Reading Terrain Data ... done!
     Reading Map Objects ... done
    Reading Player Start Position Data ... done!
     Reading Bob Data ... done!
     Reading Resources Data ... done!
     Reading Map Extra Data ... done!
     Reading Allowed Worker Types Data ... done!
     Reading Allowed Building Types Data ... done!
     Reading Node Ownership Data ... done!
     Reading Exploration Data ... done!
     Reading AreaWatchers Data ... done!
     Reading Flag Data ... done!
     Reading Road Data ... done!
     Reading Building Data ... done!
     Reading Map Ware Data ... done!
     Reading Flagdata Data ... done!
     Reading Roaddata Data ... done!
     Reading Buildingdata Data ... done!
     Reading Waredata Data ... done!
     Reading Bobdata Data ... done!
     Second and third phase loading Map Objects ... done
    Reading Players View Data ... Map_Players_View_Data_Packet::Read: WARNING: Could not open "player/1/view/unseen_times_1" for reading. Assuming that the game is from an old version without player point of view. Will give player 1 knowledge of unseen nodes, edges and triangles (but not resources).done!
     Reading Player Message Data ... done!
     Reading Objective Data ... done!
     Reading Scripting Data ... Registering script: (map,init)
    Registering script: (map,texts)
    done!
     Starting replay writer
    Game: Writing Preload Data ...  done
    Game: Writing Game Class Data ...  done
    Game: Writing Player Info ...  done
    Game: Writing Map Data!
    Writing Elemental Data ... done!
     Writing Player Names And Tribe Data ... done!
     Writing Port Spaces Data ... done!
     Writing Heights Data ... done!
     Writing Terrain Data ... done!
     Writing Player Start Position Data ... done!
     Writing Player Message Data ... done!
     Writing Resources Data ... done!
     Writing Map Extra Data ... done!
     Writing Allowed Worker Types Data ... done!
     Writing Flag Data ... done!
     Writing Road Data ... done!
     Writing Building Data ... done!
     Writing Area Watchers Data ... done!
     Writing Map Objects ... done!
     Writing Node Ownership Data ... done!
     Writing Exploration Data ... done!
     Writing Players Unseen Data ... done!
     Writing Scripting Data ... nwritten: 6833
    done!
     Writing Objective Data ... done!
     Game: Writing Map Data done!
    Game: Writing Player Economies Info ...  done
    Game: Writing Command Queue Data ...  done
    Game: Writing Interactive Player Data ...  done
    Reloading the game from replay
    Game: Reading Preload Data ...  done
    Game: Reading Game Class Data ...  done
    Game: Reading Map Data ... No version file found
    Parsing world bobs...
    Parsing global bobs in world...
    Parsing map gen info...
     done
    Game: Reading Player Info ... Compatibility ware "flax"="thatchreed" loaded.
    Registering script: (tribe_barbarians,sc00_headquarters_medium)
    Registering script: (tribe_barbarians,sc01_citadel_village)
    Registering script: (tribe_empire,sc00_headquarters_medium)
    Registering script: (tribe_empire,sc01_castle_village)
     done
    Game: Reading Map Data Complete!
    Reading Elemental Data ... done!
     Reading Player Names And Tribe Data ... done!
     Reading Port Spaces Data ... done!
     Reading Heights Data ... done!
     Reading Terrain Data ... done!
     Reading Map Objects ... done
    Reading Player Start Position Data ... done!
     Reading Resources Data ... done!
     Reading Map Extra Data ... done!
     Reading Allowed Worker Types Data ... done!
     Reading Allowed Building Types Data ... done!
     Reading Node Ownership Data ... done!
     Reading Exploration Data ... done!
     Reading AreaWatchers Data ... done!
     Reading Flag Data ... done!
     Reading Road Data ... done!
     Reading Building Data ... done!
     Reading Flagdata Data ... done!
     Reading Roaddata Data ... done!
     Reading Buildingdata Data ... done!
     Second and third phase loading Map Objects ... done
    Reading Players View Data ... Vision check successful for player 1
    Vision check successful for player 2
    done!
     Reading Player Message Data ... done!
     Reading Objective Data ... done!
     Reading Scripting Data ... Registering script: (map,init)
    Registering script: (map,texts)
    done!
     Game: Reading Map Data Complete done!
    Game: Reading Player Economies Info ...  done
    Game: Reading Command Queue Data ...  done
    Game: Enqueuing comands to expire player's messages ...  done
    Game: Reading Interactive Player Data ...  done
    Done reloading the game from replay
    Replay writer has started
    [sync] Reset
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
    /usr/pandora/scripts/pnd_run.sh: line 519:  3393 Killed                  "./$EXENAME" $ARGUMENTS
    [ FAILED]--- Starting the application (start.sh ) ----------
    [ START ]--- Restoring the frame buffer status ----------
    [sUCCESS]--- Restoring the frame buffer status ----------
    [ START ]--- uMount the PND ----------
    [ START ]--- Waiting the Union to be available ----------
    [sUCCESS]--- Waiting the Union to be available ----------
    auplink:plink.c:223: AUFS_CTL_PLINK_MAINT: Inappropriate ioctl for device
    rmdir: failed to remove `/mnt/utmp/widelands': Device or resource busy
    [ START ]--- Waiting the PND mount dir to be free ----------
    [sUCCESS]--- Waiting the PND mount dir to be free ----------
    cleanup done
    [sUCCESS]--- uMount the PND ----------
    =======================================================================================
    Return code is : 3
     

    EDIT:

    I removed the appdat folder beofore plaiyng.
     
    Last edited by a moderator: Feb 1, 2013
  3. canseco

    canseco Very Active Member

    Joined:
    Jun 1, 2004
    Messages:
    805
    Location:
    Spain
    Play tutorial and Editor crash the game due to problems with old alsa system version.

    That's why you see a lot of ALSA underrun in the log.

    You can still play singleplayer, campaign and multiplayer fine (maybe load saved multiplayer will not work, need to test with someone.)
     
  4. Askarus

    Askarus Advanced Member

    Joined:
    Sep 28, 2011
    Messages:
    3,998
    Location:
    Germany
    Ok.

    I'll try Singleplayer then.

    EDIT:

    Campaign mode didn't crash.

    It's a nice game and seems to be made directly for Pandora.

    The first ported strategy game I know which fits perfectly into Pandora's little screen.
     
    Last edited by a moderator: Feb 1, 2013
    Trip likes this.
  5. sebt3

    sebt3 homebrew player (P. & C.)

    Joined:
    Sep 9, 2008
    Messages:
    4,678
    Location:
    France
    These alsa underrun have nothing to do with the crash...
     
  6. canseco

    canseco Very Active Member

    Joined:
    Jun 1, 2004
    Messages:
    805
    Location:
    Spain
    You are right, it was the "stable" version that was broken.

    I compiled last version from their launchpad bazaar (bzr 6499) and everything works at the speed of light, ;)

    Uploading new version now.
     
  7. crosspoint

    crosspoint Member

    Joined:
    Feb 28, 2009
    Messages:
    183
    Hello! Since the update Widelands crashes after one minute in play. :(
     
    Last edited by a moderator: Mar 10, 2013
  8. Not for me. Works perfectly. Did you save your previous appdata folder files?

    Just played this for 1/2 hour with no crashing.

    A real beautiful and relaxing game for me.
     
    Last edited: Mar 10, 2013
  9. crosspoint

    crosspoint Member

    Joined:
    Feb 28, 2009
    Messages:
    183
    Yes i tried it with and without my previous appdata folder. Which mode did you play? I only tried the campain mode.

    Edit: Ok i found the problem. I should have read the description in the repo:

    Hope Canseco can fix this eventually.
     
    Last edited by a moderator: Mar 10, 2013
    Trip likes this.
  10. canseco

    canseco Very Active Member

    Joined:
    Jun 1, 2004
    Messages:
    805
    Location:
    Spain
    Talking with Widelands guys, i'm sure they will fix it, ;)
     
  11. crosspoint

    crosspoint Member

    Joined:
    Feb 28, 2009
    Messages:
    183
    Yay!
     
  12. Trip

    Trip Sorry, but I suck at explaining stuff :P

    Joined:
    Dec 22, 2005
    Messages:
    2,671
    Location:
    The cesspit of the world, Bradford U.K
    I take it that the music crash hasn't been sorted yet?

    Mine worked fine until the music changed, then locked up completely :(
     
  13. Elw3

    Elw3 ¯\_(ツ)_/¯

    Joined:
    Jul 21, 2013
    Messages:
    666
    Can i bug you for an update?
     
  14. canseco

    canseco Very Active Member

    Joined:
    Jun 1, 2004
    Messages:
    805
    Location:
    Spain
    As soon as they release the next stable version, only a few weeks left, ;)

    In the meantime, i'm trying to compile development version, will keep you updated.
     

Share This Page

Loading...