Jump to content


Photo

InfinityCore


  • Please log in to reply
32 replies to this topic

#1 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 11 December 2012 - 11:45 AM

Here is Infinity Core 0.01, a C# tool based on InfinityExplorer.

- Currently in progress, many points remain unknown: simple GUI like NearInfinity or more user friendly like ShadowKeeper/InfinityExplorer? Complete Area screen or just data in a grid? Display all EFFs? etc.
- ARE, VVC, WAV, WED: not yet viewable
- Make sure to have weidu.exe in your BG2 directory

Let me know your ideas to improve it


Screenshot of the script screen:
bcsscreen.JPG

Attached Files


Edited by shadowlich, 20 February 2013 - 10:13 AM.


#2 -anderio-

-anderio-
  • Guest

Posted 15 December 2012 - 05:00 AM

improve the BG:EE - *.pvrz file editor/converter :)

#3 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 29 December 2012 - 04:20 PM

Note: everything is open source of course, can post codes if someone is interested...
 
InfinityCore v0.01b
-------------------
- Ask for BG2 - SoA folder
- Bookmark implemented: A/ Crtl + Shift + {0-9} to bookmark, or Crtl + Shift + D; B/ Ctrl + {0-9} to go to bookmark (or use menu)
- Multi-Windows (ALT + click)
- Cannot make autoscroll working to goto the required rectangle of a picture; C# component stupid.  
 
* Technical part:
- Start to get away from pseudo-coding by contract, it's a real burden; now use DDD
- Use of ShadowInfExp.dll, it's the data acces layer of InfExp that I wrapped on a Delphi 7 dll. Missing libs were replaced by my owns. This dll is used to resolve 2 points: A/ turn .BAM and .MOS in .BMP dueto the very very very slow C# SetPixel() method; B/ to avoid to implement the useless .TIS decoder (coz' not compatible with BG:EE) 
- Note: Seems to potentially have a memory in InfExpl. Fixed in ShadowInfExp.dll
 
 
area.jpg

Attached Files


Edited by shadowlich, 04 January 2013 - 04:54 PM.


#4 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 18 January 2013 - 10:27 AM

I try to make a simulator engine, here is its first release.

With it, you can play a dialog as in the game. Here is how I test with Saerileth:

- choose Temple District area (AR0900.ARE)

- create game

- execute first condition/response block (should be the creation of Saerileth, otherwise move the exec cursor to this condition/response block)

- make sure that the trigger are satisfied (or popup menu on the row, then force execute the condition/response)

- Saerileth should be created and add to the creatures in game, her scripts too.

- goto her condition response where she dialogs with you (should be her first C/R block)

- force execute or make sure triggers are satisfied

=> the dialog simulator shows

 

- you can then force play from a state (popup menu) or press space to play the dialog as ingame; you could also modify the triggers result.

 

Here are 2 screenshots and the read.me 

 

DialogSimulatorScreen.png

 

SimulatorScreen.png

Attached Files


Edited by shadowlich, 19 January 2013 - 04:59 AM.


#5 Miloch

Miloch

    Barbarian

  • Modder
  • 6528 posts

Posted 21 January 2013 - 10:21 PM

Looks promising.


Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#6 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 30 January 2013 - 11:33 AM

 

 

Thanks a lot for your support Miloch   :D

 

 

version 0.01f:

- Fix a boring bug: when opening a .CRE with its portrait in /portraits folder, InfinityCore could crashes

- Add .BS resource

- Better GUI, correct minor mappings

- Get my hands on NearInfinity source; 3 sources to compare data/code (InfExpl, NearInf and IESDP) , have to make choice when they differ.

- Add consistency checks from NearInfinity

- Add export resources (not test much yet but should be fine)

 

Just see the new version of NearInfinity, suppose I have to check data mapping again...

 

[edit: ok, as usual, I published a wrong version   :D ]

 

ConsistencyScreen.jpg

Attached Files


Edited by shadowlich, 20 February 2013 - 10:15 AM.


#7 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 20 February 2013 - 10:12 AM

Version 0.01h:

- tries to uniformize the GUI screen

- adds a binary tab for every resource (really useful for debugging and comprehension of the serialization)

- workaround for SetPixel found, improve loading time

- .NET garbage collector/memory consumption corrected

- Test units

- more NearInf features

- enhanced BAM screen: slow motion, reverse playing, transparent background; don't know if it is useful, it s just for fun  :lol2: 

- worldmap screen pre-visualization as ingame

 

Notes: I 'll be back for simulator, dialog part and others features, for now I will terminate the editor mode and EFF mapping (nearly 400 different effects...)

 

Binary.png

 

 

worldmap_screen.jpg

Attached Files



#8 Daulmakan

Daulmakan

    Comfortably numb

  • Member
  • 1064 posts

Posted 20 February 2013 - 11:49 AM

Looks nifty. :new_thumbs:


Edited by Daulmakan, 20 February 2013 - 11:49 AM.


#9 Valiant

Valiant
  • Member
  • 18 posts

Posted 24 June 2013 - 11:36 PM

Any progress so far? It looks very promising indeed...


Tower Of Deception creator

Posted Image
Posted Image

#10 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 14 October 2013 - 09:21 AM

Well 

- currently I am implementing the edit features. You can see in this version (v0.02) tthe copy/cut/paste resource (try with an area)

- screens are more user friendly

- remove any simulator component (I think this part deserves its own tool)

- the search text box is now an Omnibox (like google, try type CARSO or AR0700)

- improve resource loading time 

 

- More important, everyone can help me: I need some beta testers for the edit features, everyone is welcome  ^_^ 

 
 
( Note: you should have weidu.exe in your BG2 folder ) 
 
 
carsomyr.png

Attached Files


Edited by shadowlich, 14 October 2013 - 09:29 AM.


#11 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 14 October 2013 - 09:46 AM

I tried to run InfinityCore v0.02 in my "little" BWP game but it CTD and tries to send report to Microsoft.

 

Are there any additional requirements (other than weidu) to run InfinityCore?


CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#12 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 14 October 2013 - 10:39 AM

Whenever I delete/rename my BG2/data/ folder I have a CTD too, and neither Near Infinity and InfExp can load BIF located in the folder.

 

So I supposed if one has a nice BG2/data/ it's fine for him

 

I don't know when this folder is filled (while playing the game?), I suppose we have to fill it to help these tools.

I come back as soon as possible whenever I find more about this folder

 

 

OK, FIXED

This is the good news for you micbaldur  :) 

It seems that chitin.key could references some missing bif files, but as far as I know, the game/Near Infinity/InfExpl/InfinityCore COULD NEVER LOAD them. That could imply a way to know if a mega install is trustfull or not -- In your case, this is the bad new: your mega install has a high probability to contain errors.

 

InfinityCore now writes these missing bifs in the log file; you can also see them by opening Chitin.Key in InfinityCore. Thanks a lot for your return, this was very important, and makes a better tool  :new_thumbs: 

Attached Files


Edited by shadowlich, 15 October 2013 - 05:46 AM.


#13 Miloch

Miloch

    Barbarian

  • Modder
  • 6528 posts

Posted 17 October 2013 - 05:08 AM

I got a crash shortly after launch with v0.03 on plain unmodded BG2 (WinXP) with a copy of WeiDU.exe in the folder.


Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#14 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 17 October 2013 - 05:37 AM

Sorry that i didn't noticed earlier that you have updated Infinitycore to v0.03.

 

But i also get CTD (like Miloch) with both vanilla BGII and my BWP expert-install with weidu.exe in both game folders.

 

Update:

Again didn't noticed something.you said.

 

Well i know that my BWP expert-install (over 300 mods) has bugs. It's something that i have accepted and learned to live with. It's only way i play this great game.


Edited by micbaldur, 17 October 2013 - 02:38 PM.

CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#15 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 18 October 2013 - 04:25 AM

Ok here's my InfinityCore.log.txt. It's from my BWP game.

 

Hope it helps.

 

Attached File  InfinityCore.log.txt   80.24K   258 downloads


CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#16 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 23 October 2013 - 07:55 AM

- Cannot find why there is CTD on vanilla BG2; however I turn a fatal error into an error while parsing IDS. Anyone else has a CTD on a vanilla BG2?

Found: I think you were trying to go to a bookmark with a CTRL+... at the very beginning; at this moment there are no selected control..., I fixed it

 

 

- I test with Weidu version 23300 (include in the zip)

 

- ARE, CHR, CRE, ITM, SPL, STO save are enable, seems fine with NearInf and InfExp

 

- DLG resources are displayed as InfExp, some states are missing, have to work this point now

 

 

 

Attached Files


Edited by shadowlich, 23 October 2013 - 08:06 AM.


#17 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 23 October 2013 - 09:37 AM

Sorry i can't get this to work. I probably did some stupid thing (happens a lot).

 

I tried on vanilla BGII and now InfinityCore freezes when reading CHITIN.KEY. After half hour i closed the program.


CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible


#18 Mad Mate

Mad Mate
  • Member
  • 191 posts

Posted 23 October 2013 - 10:56 AM

Fantastic program! Thank you, Shadowlich!

It works of me without CTDs. I'll post my InfinityCore.log and WeiDU.log, if it can help you. It's 2 month old BiG World Install v12.1.1

Errors are mostly from dummy test bifs (desound.bif, progtest.bif & progtes2.bif) and duplicate IDs for *.IDS files.

Can these duplicated IDs break my game?

Attached Files



#19 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 29 October 2013 - 03:36 AM

@micbaldur: I corrected some codes that could CTD... could you try please?
 
- thanks Mad Mate, I am pleased that you appreciate this tool and at least it works for some one  ^_^
 
- 10 bookmark with hotkey is definitively not enought; so I add 12 more: Ctrl + Shift + (0-9) and Ctrl + Shift + (F1-F12) to set, Ctrl + (0-9) and Ctrl + (F1-F12) to navigate to; Ctrl + D to set more bookmarks
- here is the improved dialog player; you can make choice as ingame and based on conditions (see the image)
 
dialog.jpg

Attached Files


Edited by shadowlich, 29 October 2013 - 03:38 AM.


#20 micbaldur

micbaldur

    Retired Perkele, Ultimate BWP player

  • Member
  • 1692 posts

Posted 29 October 2013 - 05:02 AM

Well i tried and it still doesn't work. Like i said i did stupid thing earlier.

 

I get fatal error during initialization.

 

Here's InfinityCore.log.txt.

Attached File  InfinityCore.log.txt   310bytes   255 downloads


CHARNAMEs excellent adventures in the world of BWP expert-install here

 

Thanks to Leonardo Watson for making this possible