Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Game not starting after forced kill (Win7/ADOM1.2.0_Pre1)

  1. #1
    Join Date
    Aug 2012
    Posts
    9

    Default Game not starting after forced kill (Win7/ADOM1.2.0_Pre1)

    I killed the program with task manager (to save time after getting incompatable star sign for the character I intended to make) and now every time I start it, it closes instantly. I recall there was some issue with perc file when doing that and it should be deleted, but this version of ADOM doesn't seem to have any other files than EXE and deleting and "reinstalling" it didn't fix it.

    Good thing this is just a work computer and it doesn't really matter that much. I think I might be able to fix this with a system restore since
    none of the thing done with this computer really matter anyway, though I might not be able to do that without administrative rights, which I don't happen to have.
    Is there any other way to fix this?

    I suppose I could just play JADE then, though I feel so lost there (why couldn't it work and look more like ADOM?)

  2. #2
    Join Date
    Mar 2008
    Location
    Esslingen, Germany
    Posts
    3,973

    Default

    Your ADOM files are actually located in the /AppData/Local/ADOM directory. A lot of games store personal files this way now. Why ADOM 1.2.0 stores ALL data there rather than just the save games or logfiles and such is a mystery to me (I also think it's a terrible idea in general because usually you suddenly have two folders per game to keep track of). But yeah, that's where ADOM.prc is waiting to be deleted.
    ADOM Guides - whatever you wanted to know about playing a certain class, but have been afraid to ask!

    Check out my youtube channel to see my ADOM videos, including a completed playthrough of the game. I try to give instructions, so if you want to see some place you haven't been before and get some hints on how to deal with it, this might help! There's also some other games featured there that you might find interesting.

  3. #3
    Join Date
    Feb 2012
    Posts
    1,923

    Default

    Quote Originally Posted by Silfir View Post
    Your ADOM files are actually located in the /AppData/Local/ADOM directory. A lot of games store personal files this way now. Why ADOM 1.2.0 stores ALL data there rather than just the save games or logfiles and such is a mystery to me (I also think it's a terrible idea in general because usually you suddenly have two folders per game to keep track of). But yeah, that's where ADOM.prc is waiting to be deleted.
    I thought the same initially, but it turns out you can set the ADOM_HOME environment variable (via System Properties in Windows) to tell the game where it should store its data. If you point it to the same directory as the executable, you get the same behavior as in older versions.

    Note that 1.1.1 reads the variable too. If you want to be able to play it with a separate data directory (essential since savegames are incompatible), you can create a batch file for this purpose.

    Code:
    @set ADOM_HOME=
    @start Adom_winbeta4
    Put that in the same folder as Adom_winbeta4.exe and run it.

    --

    I'm also terminating the process and restarting until I get the starsign I want. Wish there was a selector for 1.2.0.
    "And light there be!"

  4. #4
    Join Date
    Feb 2010
    Location
    Louisiana
    Posts
    287

    Default

    Quote Originally Posted by anon123 View Post
    I'm also terminating the process and restarting until I get the starsign I want. Wish there was a selector for 1.2.0.
    I wish it would just be a feature added to the game officially. Let you pick or let fate decide.
    Proud member of Team Silfir in the Treasure Hunter debate.

  5. #5
    Join Date
    Mar 2008
    Location
    Esslingen, Germany
    Posts
    3,973

    Default

    That solves a problem I don't have because I can find the AppData folder and such to begin with - and doesn't make the behavior less terrible.

    With ADOM 1.2.0 prerelease 1, not only does the game not display the "blah blah delete ADOM.prc" message for longer than a split-second (that is a very serious bug, but then it's just a prerelease version), the file has now vanished to an entirely different location that's hidden by default. That puts it into the depths of nowhere for those who just aren't all that computer-savvy, i.e. the majority of people.

    The best solution would be to scrap the ADOM.prc stuff for the Windows version entirely and replace it with a check for whether the ADOM process is already running or not, or whichever method games such as Warcraft III or League of Legends are using. I'm assuming it's not that simple, so in the meantime, just make ADOM.prc easy to find by default, and have players who wish to complicate their own lives set the home directory to /AppData/Local or their porn folder or what have you.
    ADOM Guides - whatever you wanted to know about playing a certain class, but have been afraid to ask!

    Check out my youtube channel to see my ADOM videos, including a completed playthrough of the game. I try to give instructions, so if you want to see some place you haven't been before and get some hints on how to deal with it, this might help! There's also some other games featured there that you might find interesting.

  6. #6
    Join Date
    Aug 2012
    Posts
    9

    Default Fixed

    Those files were invisible and I could not find them. Almost though I could not see nor delete the hidden files due not having administrative rights. Weirdly enough the system allowed me to do a system restoration despite the rights but it didn't help me since it leaves all documents intact and Adom.prc was then propably interpreted as a document (it did remove Adom.exe (and who knows what)). Then tried getting through to hidden files via command prompt somehow and did manage to see some hidden files with a dir -AH but it just made no sense to be able to see hidden files that way and not the other.. then it turned out I just looked in a wrong place for that "show hidden files" -option. The rest was easy.

    I don't really like when games and programs use more folders than their own. For some things it can be good but often it's just messed up.
    Last edited by Arranger; 08-13-2012 at 02:38 PM.

  7. #7
    Join Date
    Feb 2012
    Posts
    1,923

    Default

    Quote Originally Posted by Kyreles View Post
    I wish it would just be a feature added to the game officially. Let you pick or let fate decide.
    I second that.

    Quote Originally Posted by Silfir View Post
    With ADOM 1.2.0 prerelease 1, not only does the game not display the "blah blah delete ADOM.prc" message for longer than a split-second (that is a very serious bug, but then it's just a prerelease version)
    That has always happened with the Windows port as far as I know. Where the Linux or DOS versions would display a "the game crashed, don't send me binaries unless I ask to and press a key" message, winbeta just disappears. If the game ran as a native console app instead of creating its own display (as it has been suggested on the bug tracker), that would be solved.

    Quote Originally Posted by Arranger View Post
    I don't really like when games and programs use more folders than their own. For some things it can be good but often it's just messed up.
    I prefer the old approach too (it keeps files organized and makes the game inherently portable), but I don't think the directory change was done for no reason.
    "And light there be!"

  8. #8
    nathrakh Guest

    Default ADOM path guide

    If you have a "games" folder like me, you may want to change the path that ADOM uses for the data folder.

    1. Search for "env". Choose the system one.
    2. Choose Environment Variables.
    3. Make a new System variable "ADOM_HOME" and set the value to your ADOM path.


  9. #9
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    1,878

    Default

    The directory change was "forced" by current versions of Windows: they don't allow a normal user to have write access to the program directory. So ADOM now handles this the same way other windows programs do, i.e. the program files and data are located in separate directories. Many commercial programs/games use this mechanism.

    As for the "adom.prc" file, I'm very much aware of the problems caused by it. It's already been on my "TODO" list, but since the prerelease was kinda "rushed", there was no time to fix it before the release.
    “It's a cruel and random world, but the ChAoS is all so beautiful.” ― Hiromu Arakawa

  10. #10
    Join Date
    Feb 2010
    Location
    Louisiana
    Posts
    287

    Default

    I love that Jochen is so active on the forums lately. I wish Thomas would post too.
    Proud member of Team Silfir in the Treasure Hunter debate.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •