Posted: Sun Mar 11, 2007 1:07 pm Post subject:
OS Big Editor 0.5.1
Subject description: Small updates
Heya,
I've made some changes to the OS BIG Editor (based upon the release by Probab - based upon the work Banshee - to avoid duplicating work Probab's work).
Anyway, I've not added much functionality (options in INI file is about the only useful change) , though I have made significant changes to the code - I'd hope that Banshee bases the next version upon this, to aid maintainability and readability.
Note that this is a hybrid polish/english release, as I've not had time to finish the multi-lingual support.
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Sun Mar 11, 2007 2:25 pm Post subject:
Except for the 2 space identation, the rest is fine. I like working with 3 spaces. I don't think 2 isn't enough to distuingish the blocks. 3 is much more confortable. Anyway, I'll base future versions on this one, except that I'll re-ident to 3 spaces... QUICK_EDIT
I prefer 2 spaces, but I can work with three.
There seemed to be a variety of styles in the code, at least now it's consistent (though, there are some methods in the TARGA class that I couldn't be bothered with). QUICK_EDIT
A few more updates.
Main changes:
Fixed bug loading from the ini file
Added more translatable strings
Switched from listbox to treeview
Note: This still isn't intended as a usable release. Still lots of stuff to add/change. Notably, I've not had a chance to switch back to 3 space indentation, and the file preview now only works on right-click for some reason.
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Tue Mar 13, 2007 1:41 am Post subject:
Honestly. I might not use most of these changes. I have a version properly idented here... I'm already adding the strings in my end and I'll see what was this bug fix with the ini file. QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Tue Mar 13, 2007 4:05 pm Post subject:
I'll see your GUI strings, merge with mine and make a version out of it.
I've also received a email from Danny van Loon, who has also been contributing with the program
Quote:
Hello Banshee,
I've been working on a massive update for the big editor.
What I've done so far:
- Refactored code, especially the TARGA unit
- Fixed a few Access violations and added some input validations.
- Added a treeview
- Added tree loading support, including shell icons reflecting the current system's designated Icon for the selected file
- Added support for the extraction of entire directories ( the code is there, I just need a function / call to the BIG_FILE unit to extract entire directories )
I just have one small question: Are the directories inside the big files case sensitive ?
Greetz and hope to hear from you soon,
D.van Loon
PS
The changes cover an enormous part of the FormBigMain.pas file.. It might be easy for you to highlight / comment any changes you've made since 0.5
Considering the changes that you've done in the code, I don't even know what to reply... QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Tue Mar 13, 2007 10:26 pm Post subject:
At the moment, I'm doing the source control. I haven't uploaded my version yet because it's not finished. I promise that today I'll upload it here in the next hours, although it won't have tree view for now. I'll wait for Danny's version to add his tree view, which looks more stable than yours. QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Wed Mar 14, 2007 2:54 am Post subject:
And, as promised... in time!
7 minutes to midnight here and I need to wake up 5:00 am, so I'm rushing to release this beta version. This is a work in progress, but it works. I've completely reorganized the LanguageLoader.pas that became Language.pas.
The multi-language support exists, but it's not user friendly... only for those who use notepad
OSBIGEditor053BetaWIP.zip
Description:
Source and executable, although this is not an official release.
Posted: Wed Mar 14, 2007 6:43 am Post subject:
Treeview / refactoring
Without anyone knowing I have been working on refactoring and a treeview aswell.
I guess it's my own fault for not checking the forums, but I fear igi and I have been doing many of the same things.
I therefor strongly suggest to start a sourceforge project where any developers interested and authorized can check-in or check-out any sourcefiles said person is interested in working on.
I've been creating a treeview with pieces of source I've used before, to generate an explorer-like view of the files.
Screenshot:
I provided the latest source to banshee, but I fear he will have some work todo to merge all the new changes, again sourceforge should fix this.
I'll keep an eye on this thread, hope this see more nice stuff soon
Posted: Wed Mar 14, 2007 7:39 am Post subject:
Small Changes
I just uploaded the latest version of my source of the Bigeditor
As far as I can tell it contains all the changes currently present, including those Igi and me have worked on seperately, however without the multi lingual support.
Some small suggestions that caught my attention on the current WIP version.
- The memo has Font System, size -9, personally I'd prefer Arial, Size 12.
- Furthermore the "options" menu item becomes visible only after opening a big file, while it could be always visible
- The save dialog does not pre-filter on *.big and doesnt seem to reflect the currently opened BIG file
- It might be convenient to add the current big file's name to the form caption
For instance "OS Big Editor 0.53 beta [myfile.BIG]"
- File-->save does not quick-save, it however shows the save as dialog
- Consideration: when no file modification has been performed, should we show "save" at all ?
- Many windows currently use poScreenCenter, poMainFormCenter might be a better choice
- We currently dont have form position storage ( easily implemented by saving position into the HKEY_USER registry )
- Consideration: Quicklist, quick reference of the last 5 files
- Consideration: Drag-dropping ( extraction) of an entire directory
- Consideration: live editting.. file-->stream-->memo--> user editted memo --> stream --> file
- Change references of
This makes it safe for use in win95/98 and exp as the retrieval of directories is different accross those windows versions
Tip: Where using windows directories you can code the retrieval of the directory or let windows do the work: ( you can use %temp% or %system% variables in directories to let windows do the work for you)
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Thu Mar 15, 2007 1:59 am Post subject:
Thanks, but you might need to do few changes. That english.ini wasn't the final version yet. This is why I didn't notified the people who were interested to translate the program.
But there isn't much difference from that to the final one. The final one will have more warnings and one exception and one tag removed.
Anyway, these versions posted here are development versions. Once the tree view works flawlessly and TS Hyper graphics are applied, we'll have a final development release and translators will be able to work based on that. QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Sun Mar 18, 2007 2:33 am Post subject:
Hello everyone. I've been working for a while on absorbing Danny's latest source into mine. It worked well. His tree view is awesome. It was a bit slow, but I've already fixed it. I'm trying to sort the drag and drop now. I managed to make it work for the first time, however, it doesn't work more than once unless I restart the program, so I'm trying to find out why is that happening. Once it's fixed, I'll post another development version here.
The final version will still have:
-> More bugs finished
-> Complete multi-language support
-> Ability to display/hide repetitive files.
-> Possible ability to save BIG files.
I've done some heavy modifications in the BIG_File.pas to add a binary tree to make the tree view faster and I've also added functions to add files from external sources, among other things. I only need to write a function to save the .BIG file and it seems to be an easy job, except for the RefPack encoding, which will be done later. QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Sun Mar 18, 2007 3:05 am Post subject:
Hey folks. As promised, I have another development version here, since I've fixed the drag and drop.
Here's my need to do list for 0.6 release
-> More bugs finished (shift and ctrl keys on tree view) and more
-> Complete multi-language support
-> Ability to display/hide repetitive files.
-> Possible ability to save BIG files.
-> Add TSHyper graphics.
To have language support you rearly need to use UNICODE for the language files (i.e wri's) and have components which support UNICODE.
tntunicodecontrols is an example.
Without using unicode stuff languages which use letters outside ASCII's range will not work (they would eather display wrong or display the english char equivalent). Also you would need to use WideString insted of String. _________________ Free Map Editor - Game Requirements - Stucuk.Net QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Thu Jul 26, 2007 2:15 am Post subject:
I've been playing with this program recently. I'm trying to code a RefPack compression to the save ability that should be done, once Refpack is compressed.
Once it's finished, I'll not do chinese support. Sorry, but I'll keep the current and simple language system. Maybe future versions will have that.
Also, this version will not feature any code from Carl Kenner, due to his ridiculous liscensing, which means that b.i.m.r. packages won't be supported yet.
So, once Refpack and saving is done, I'll start the translations and release it.
Right now, I've asked a friend of mine to make a SVN for OS BIG Editor. Once it's online, I'll post the link here. QUICK_EDIT
There are two repositories there. The OS BIG Editor one has the latest release and the latest work in progress. Check the Welcome.txt for further information.
SVN at the Revora server is on very early experimental stages and only available at PPM at this moment. I still can't create repositories on my own, but I can create accounts for the existing repositories.
For those wondering what should be used to do the checkout, I recommend Tortoise SVN. QUICK_EDIT
Error running this command: svnlook youngest '/home/svnrepos/ppmsite/os_big_editor'
svn: Berkeley DB error while opening environment for filesystem /home/svnrepos/ppmsite/os_big_editor/db:
DB_RUNRECOVERY: Fatal error, run database recovery
svn: bdb: PANIC: fatal region error detected; run recovery _________________ R.I.P Xeno.
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Sat Jul 28, 2007 2:23 am Post subject:
The SVN was repaired and, after some improvements, it is now under harder tests in order to make sure that it won't screw up after new commits. QUICK_EDIT
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum