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
Ergebnis 41 bis 60 von 121
-
"Unter diesen schwierigen Umständen bin ich mir sicher, daß diese guten Menschen meinen augenblicklichen Bedarf an deren Gold verstehen werden." -- ConnorGeändert von NicoDE (06.01.2011 um 20:42 Uhr)
-
- 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?)Geändert von Galrath434 (06.01.2011 um 21:09 Uhr)
-
-
- 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]Geändert von Galrath434 (03.02.2011 um 16:41 Uhr)
-
-
- 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.
-
-
- 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):
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.
-
- 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.
-
- 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.
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.
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.Geändert von Galrath434 (11.01.2012 um 12:33 Uhr) Grund: Remove all download links, except first post!
-
- Registriert seit
- Aug 2008
- Beiträge
- 174
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
-
- 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.Geändert von Galrath434 (11.01.2012 um 12:33 Uhr) Grund: Remove all download links, except first post!
-
- Registriert seit
- Aug 2008
- Beiträge
- 174
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"?
-
- 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...).
-
- 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.
-
- 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"?
Anything else I should fix?
Or any suggestions for other things to implement?
-
- Registriert seit
- Aug 2008
- Beiträge
- 174
-
- Registriert seit
- Feb 2011
- Beiträge
- 4
I dont have most textures. what do you do?
[Bild: ]
-
- Registriert seit
- Feb 2011
- Beiträge
- 4
im dont have textures. what to du ?
http://imageshack.us/photo/my-images...tytuugjri.jpg/
-