Home Risen Risen2 Risen3 Forum English Russian

Registrieren Hilfe Kalender Heutige Beiträge
Seite 3 von 7 « Erste 1234567 Letzte »
Ergebnis 41 bis 60 von 121
  1. #41 Zitieren
    research Avatar von NicoDE
    Registriert seit
    Dec 2004
    Beiträge
    7.410
    Zitat Zitat von Galrath434 Beitrag anzeigen
    An even easier way would be to just use the Registry to determine where the Risen folder is located.
    I have multiple Risen folders and never used the setup (extract_all + IsCabView of an InstallShield demo version).
    Therefore I’m fine with relative paths and/or a config file with Risen-like defaults
    "Unter diesen schwierigen Umständen bin ich mir sicher, daß diese guten Menschen meinen augenblicklichen Bedarf an deren Gold verstehen werden." -- Connor
    NicoDE ist offline Geändert von NicoDE (06.01.2011 um 20:42 Uhr)

  2. #42 Zitieren
    Abenteurer
    Registriert seit
    Aug 2009
    Ort
    NRW
    Beiträge
    81
    Ok now there are 4 possiblities to locate the archive files:
    1. Use the registry(you don't have to unpack the folder anymore)
    2. You can place the folder at this location : "RisenMainFolder/Lrent Viewer"
    3. You can specify a path in the Settings.ini, this will only be used if it is diffrent then "INVALID".
    4. It will be checked if there are valid files at "Resources/Scene/Paks".

    I think everybod should be happy now

    @NicoDE:
    Could you have a look at the "gCInventory_PS" or/and the "gCNavigation_PS" classes? It would be very nice if it was possible to alter the contents NPC's inventorys or change the WayPoints.

    \Resources\Scene\Models\ (is the folder still used?)
    I use this folders for the SpeedTree models, but it could also be used for additional models which can be loaded from the "EditScene" window.
    Galrath434 ist offline Geändert von Galrath434 (06.01.2011 um 21:09 Uhr)

  3. #43 Zitieren
    research Avatar von NicoDE
    Registriert seit
    Dec 2004
    Beiträge
    7.410
    Zitat Zitat von Galrath434 Beitrag anzeigen
    Could you have a look at the "gCInventory_PS" or/and the "gCNavigation_PS" classes?
    As soon as possible. But currently I have enough things to do at work and at home
    "Unter diesen schwierigen Umständen bin ich mir sicher, daß diese guten Menschen meinen augenblicklichen Bedarf an deren Gold verstehen werden." -- Connor
    NicoDE ist offline

  4. #44 Zitieren
    Abenteurer
    Registriert seit
    Aug 2009
    Ort
    NRW
    Beiträge
    81
    I have spent some time adding new things to the Viewer and I made some improvements.

    1. It is now possible to view and edit inventories, you can select any entity, look at it's inventory, add new items, remove some or change the amount of an item. There are still some problems with the slots(the armor, head, helmet) because I am not shure how to work with them, but I will fix this till the next release.

    2. I added scripts. They are written in plain C#, compiled at runtime and you can do basiclly all you want in them. I did this so people could edit multiple entities at once. For example if you want to turn all entities upside down this can be done in just a few lines now. I chose C# because it's easy to implement and really easy to use, all people who know C++ or C should be fine with it.

    Next I will have a go at Waypoints, I will try to not only display them(which should be easy) but to make them editable(which is going to be hard ).

    Is there any reason why nobody has made a small mod where the hero has to fight against "thousands" of enemys? I imagine this could be a lot of fun.
    Is it because the viewer is that horrible to work with or because there are not enogh possiblities?

    If somebody thinks there are features I should add please let me know because right now I will only add thing I find interesting and not what could be helpfull.

    I will add some screenshots which show how easy it is to work with inventories after I get home from school
    [Edit] Here it is :
    [Bild: RV_Inventories1_small.jpg]
    Galrath434 ist offline Geändert von Galrath434 (03.02.2011 um 16:41 Uhr)

  5. #45 Zitieren
    Veteran Avatar von Ihrrik
    Registriert seit
    Jan 2008
    Ort
    Dresden
    Beiträge
    648
    ehm.
    Where can I download the latest version?
    Your startpost was changed on 09.19.2010 the last time.
    Ihrrik ist offline

  6. #46 Zitieren
    Abenteurer
    Registriert seit
    Aug 2009
    Ort
    NRW
    Beiträge
    81
    Ah nice to see that somebody is interested
    Yeah you are right my last update was quite a while ago, thats because in the next update I want to add lots of new things and I can't really stop
    If you would like to try it please send me a pm and I will provide you with a beta version. There you can edit inventories/modify waypoints etc. It would be a beta version because I hadn't had time to test all the new features, but it should be alright.
    Galrath434 ist offline

  7. #47 Zitieren
    Veteran Avatar von Ihrrik
    Registriert seit
    Jan 2008
    Ort
    Dresden
    Beiträge
    648
    Sounds great.
    I come back to it when I've done my exams.
    Ihrrik ist offline

  8. #48 Zitieren
    Ranger
    Registriert seit
    Aug 2008
    Beiträge
    174
    This message is a reply to the discussion of Bruno inability to find a way through the Monastery main gate, started in RisenSDK thread (figured I should move it into a more appropriate thread):
    Zitat Zitat von Galrath434 Beitrag anzeigen
    But if you know what the excat problem with the nav path is(if there is one) feel free to contact me I would be glad to help you.
    Well, figuring out what causes the problem is part of the problem. For starters it would be nice to just check if there are any nav-paths present in the game, which lead through Monastery main gate.
    I downloaded LrentViewer (found two links in this thread) but both versions crash on startup on my system.

    Info from Windows report:
    Spoiler:(zum lesen bitte Text markieren)
    Description:
    Stopped working

    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: risen viewer.exe
    Problem Signature 02: 0.0.0.1
    Problem Signature 03: 4d2612e3
    Problem Signature 04: mscorlib
    Problem Signature 05: 2.0.0.0
    Problem Signature 06: 4ca2b889
    Problem Signature 07: c43
    Problem Signature 08: 59
    Problem Signature 09: System.FormatException
    OS Version: 6.1.7601.2.1.0.256.48
    Locale ID: 1058

    log.txt
    Spoiler:(zum lesen bitte Text markieren)
    -----
    -----
    -----
    27.03.2011 11:27:47 Application was startet succesfully. Log was initialized.
    27.03.2011 11:27:47 First settings were loaded.
    27.03.2011 11:27:47 Device initialization started.
    27.03.2011 11:27:47 Device and API_Device successfully created.
    27.03.2011 11:27:47 Event ID : 0
    Event Type : Message
    Event message :
    Feature Level : Level_11_0
    DepthStencil format : D32_Float
    27.03.2011 11:27:47 Core initialization finished.
    PowerGamer ist offline

  9. #49 Zitieren
    Abenteurer
    Registriert seit
    Mar 2009
    Beiträge
    94
    i dont know whats the cause of this crash, but i know that u need shader model 4.0 and dx10.

    btw. u should contact him via pm, because the version in this thread is highly outdated.
    Bude ist offline

  10. #50 Zitieren
    Abenteurer
    Registriert seit
    Aug 2009
    Ort
    NRW
    Beiträge
    81
    I downloaded LrentViewer (found two links in this thread) but both versions crash on startup on my system.
    Firtly, I am sorry for that. Secondly, does startup mean right after starting the program or does it mean when loading a lrent? I am assuming the first because you seem to know c++ and know what you are talking about

    Ok here is a guess : Your operating system has some diffrent language type than English/German. "Problem Signature 09: System.FormatException" sounds to me like string to float conversion going wrong because of "," and "." problems, this is of course just and example for formatting problems. Problem is I have no idea where this happens. So here is a Debug build which will print out the stacktrace and some descriptions. If you tell me these info I should be able to fix it.

    i dont know whats the cause of this crash, but i know that u need shader model 4.0 and dx10.
    Well thats alway a good guess with this program
    But you can see from "Feature Level : Level_11_0" that DirectX chose 11 as rendering path, If you only have ShaderModel 2 this will be "Level_9_2". But a good guess anyhow

    btw. u should contact him via pm, because the version in this thread is highly outdated.
    I wouldn't directly phrase it like this,... okay well maybe I would
    Galrath434 ist offline Geändert von Galrath434 (11.01.2012 um 12:33 Uhr) Grund: Remove all download links, except first post!

  11. #51 Zitieren
    Ranger
    Registriert seit
    Aug 2008
    Beiträge
    174
    Zitat Zitat von Galrath434 Beitrag anzeigen
    Secondly, does startup mean right after starting the program or does it mean when loading a lrent? I am assuming the first because you seem to know c++ and know what you are talking about

    Ok here is a guess : Your operating system has some diffrent language type than English/German. "Problem Signature 09: System.FormatException" sounds to me like string to float conversion going wrong because of "," and "." problems, this is of course just and example for formatting problems. Problem is I have no idea where this happens. So here is a Debug build which will print out the stacktrace and some descriptions. If you tell me these info I should be able to fix it.
    http://upload.worldofplayers.de/file...ebug_Build.rar
    Yes, the program crashes right after startup, before displaying main window. Message box displayed the same message as in the log. I have English OS and Ukrainian locale set. "Decimal symbol" is changed to "." in Regional Settings applet in Control Panel. Here is the log:
    Spoiler:(zum lesen bitte Text markieren)
    Code:
    -----
    -----
    -----
    27.03.2011 15:11:08 Application was startet succesfully. Log was initialized.
    27.03.2011 15:11:08 First settings were loaded.
    27.03.2011 15:11:08 Device initialization started.
    27.03.2011 15:11:08 Device and API_Device successfully created.
    27.03.2011 15:11:08 Event ID : 0
       Event Type : Message
       Event message : 
          Feature Level : Level_11_0
          DepthStencil format : D32_Float
    27.03.2011 15:11:08 Core initialization finished.
    27.03.2011 15:11:08 Event ID : 1
       Event Type : Message
       Event message : 
          Message : Input string was not in a correct format.
          Stack Trace : mscorlib
             at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
       at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
       at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo info)
       at System.Single.Parse(String s)
       at Risen_Viewer.Form1.LoadSettings_After()
       at Risen_Viewer.Form1..ctor()
       at Risen_Viewer.Program.Main()
          Method Name : StringToNumber
    PowerGamer ist offline

  12. #52 Zitieren
    Abenteurer
    Registriert seit
    Aug 2009
    Ort
    NRW
    Beiträge
    81
    Ok well I think because of your operating system excpecting "." to be the decimal seperator, my "ObjectCount = 0,05" in "settings.ini" was killing C#. I changed the parsing method a bit and it should work now. I tried it by setting my decimal sperator in the control panel to "." and it worked. But as always with computers no guarantees

    Could you maybe tell me if everything is working correctly so I can update the link on the first page.
    Galrath434 ist offline Geändert von Galrath434 (11.01.2012 um 12:33 Uhr) Grund: Remove all download links, except first post!

  13. #53 Zitieren
    Ranger
    Registriert seit
    Aug 2008
    Beiträge
    174
    Zitat Zitat von Galrath434 Beitrag anzeigen
    Could you maybe tell me if everything is working correctly so I can update the link on the first page.
    It works now, a useful program indeed, thank you.
    Well, it crashed when I tryed to do "File->Save Lrents" command, probably not fully implemented yet? Just in case here is a crash log:

    Spoiler:(zum lesen bitte Text markieren)
    Code:
    ************** Exception Text **************
    System.UnauthorizedAccessException: Access to the path 'G:\projects\World\Cities\Monastery\Monastery_Events.lrent' is denied.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
       at GameLibrary.IO.StdFileReader.CloseFile(String s, Stream S)
       at GameLibrary.IO.EFile.Close()
       at Risen_Viewer.LrentFile.SaveFile()
       at Risen_Viewer.RisenWorld.Save()
       at Risen_Viewer.Form1.BTN_CLICK_Save(Object sender, EventArgs e)
       at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
       at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Risen Viewer
        Assembly Version: 0.0.0.1
        Win32 Version: 0.0.0.1
        CodeBase: file:///F:/Risen%20Viewer/Risen%20Viewer.exe
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    GameLibrary
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///F:/Risen%20Viewer/GameLibrary.DLL
    ----------------------------------------
    SlimDX
        Assembly Version: 2.0.10.43
        Win32 Version: 
        CodeBase: file:///F:/Risen%20Viewer/SlimDX.DLL
    ----------------------------------------
    msvcm90
        Assembly Version: 9.0.30729.4974
        Win32 Version: 9.00.30729.4974
        CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb/msvcm90.dll
    ----------------------------------------
    System.Core
        Assembly Version: 3.5.0.0
        Win32 Version: 3.5.30729.5420 built by: Win7SP1
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    9lld9pwt
        Assembly Version: 0.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    1x3lugd1
        Assembly Version: 0.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    fcwceenb
        Assembly Version: 0.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    zlib.net
        Assembly Version: 1.0.3.0
        Win32 Version: 1.0.3.0
        CodeBase: file:///F:/Risen%20Viewer/zlib.net.DLL
    ----------------------------------------

    And log.txt:
    Spoiler:(zum lesen bitte Text markieren)
    Code:
    -----
    -----
    -----
    27.03.2011 17:30:13 Application was startet succesfully. Log was initialized.
    27.03.2011 17:30:13 First settings were loaded.
    27.03.2011 17:30:13 Device initialization started.
    27.03.2011 17:30:13 Device and API_Device successfully created.
    27.03.2011 17:30:13 Event ID : 0
       Event Type : Message
       Event message : 
          Feature Level : Level_11_0
          DepthStencil format : D32_Float
    27.03.2011 17:30:13 Core initialization finished.
    27.03.2011 17:30:13 Second settings were loaded and rendering was started.
    27.03.2011 17:30:19 Loading Lrent : G:\projects\World\Cities\Monastery\Monastery_Events.lrent
    27.03.2011 17:30:37 Event ID : 1
       Event Type : Message
       Event message : 
          Message : Collection was modified; enumeration operation may not execute.
          Stack Trace : mscorlib
             at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
       at System.Windows.Forms.Application.ExitInternal()
       at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
       at System.Windows.Forms.Control.WndProcException(Exception e)
       at System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at Risen_Viewer.Program.Main()
          Method Name : MoveNext

    Also, why upon doing "File->Open Folder" command, program allows user to select a folder only inside "My Documents"?
    PowerGamer ist offline

  14. #54 Zitieren
    Abenteurer
    Registriert seit
    Aug 2009
    Ort
    NRW
    Beiträge
    81
    Actually saving is implemented. You could move/rotate/clone/delete entities and save it all. But this isn't very usful because you won't be able to edit events etc.

    Well you problems is quite interesting because on the one hand Windows tells us that the file can't be accessed :
    System.UnauthorizedAccessException: Access to the path 'G:\projects\World\Cities\Monastery\Monastery_Events.lrent' is denied.
    On the other hand there seems to be a problem while iterating over a list :
    Collection was modified; enumeration operation may not execute.

    I am not quite shure what the problem could be. Did you move any entities with the gizmo(or change anything in a way, besides the camera) or did you just open a lrent and save it?

    Anyhow you could check if your user has read and write rights on the file(right click->Properties...).
    Galrath434 ist offline

  15. #55 Zitieren
    Ranger
    Registriert seit
    Aug 2008
    Beiträge
    174
    It seems the file I opened and tryed to save was marked as Read-Only (I unpacked all the files with Risenaut.exe). After removing the Read-Only flag saving the file works.
    PowerGamer ist offline

  16. #56 Zitieren
    Abenteurer
    Registriert seit
    Aug 2009
    Ort
    NRW
    Beiträge
    81
    Also, why upon doing "File->Open Folder" command, program allows user to select a folder only inside "My Documents"?
    Just fixed that.

    Anything else I should fix?
    Or any suggestions for other things to implement?
    Galrath434 ist offline

  17. #57 Zitieren
    Ranger
    Registriert seit
    Aug 2008
    Beiträge
    174
    Zitat Zitat von Galrath434 Beitrag anzeigen
    Just fixed that.
    Anything else I should fix?
    Or any suggestions for other things to implement?
    Nothing I could think of at the moment, but I'll let you know if something comes up.
    PowerGamer ist offline

  18. #58 Zitieren
    Neuling
    Registriert seit
    Feb 2011
    Beiträge
    4
    I dont have most textures. what do you do?

    [Bild: ]
    Gonzo54 ist offline

  19. #59 Zitieren
    Neuling
    Registriert seit
    Feb 2011
    Beiträge
    4
    im dont have textures. what to du ?
    http://imageshack.us/photo/my-images...tytuugjri.jpg/
    Gonzo54 ist offline

  20. #60 Zitieren
    Ehrengarde Avatar von Baltram
    Registriert seit
    Jun 2006
    Beiträge
    2.264
    Zitat Zitat von Gonzo54 Beitrag anzeigen
    im dont have textures. what to du ?
    http://imageshack.us/photo/my-images...tytuugjri.jpg/
    I can't see no problem. You do have textures.

    If you want to see the level mesh then you have to open Risen\data\common\projects\World\_Level\*.lrent.
    Baltram ist offline

Seite 3 von 7 « Erste 1234567 Letzte »

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •