Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 9:50 pm
All times are UTC + 0
OS Big Editor 0.5.1
Moderators: Community Tools Developpers
Post new topic   Reply to topic Page 1 of 1 [30 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
igi
Civilian


Joined: 11 Mar 2007

PostPosted: Sun Mar 11, 2007 1:07 pm    Post subject:  OS Big Editor 0.5.1
Subject description: Small updates
Reply with quote  Mark this post and the followings unread

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.

igi



BIGEditorBeta051.zip
 Description:

Download
 Filename:  BIGEditorBeta051.zip
 Filesize:  877.55 KB
 Downloaded:  7589 Time(s)


Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Mar 11, 2007 2:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

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...

Back to top
View user's profile Send private message Visit poster's website Skype Account
igi
Civilian


Joined: 11 Mar 2007

PostPosted: Mon Mar 12, 2007 1:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

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).

Back to top
View user's profile Send private message
igi
Civilian


Joined: 11 Mar 2007

PostPosted: Mon Mar 12, 2007 11:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.



BIGEditorBeta052.zip
 Description:

Download
 Filename:  BIGEditorBeta052.zip
 Filesize:  502 KB
 Downloaded:  673 Time(s)


Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Tue Mar 13, 2007 1:41 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message Visit poster's website Skype Account
igi
Civilian


Joined: 11 Mar 2007

PostPosted: Tue Mar 13, 2007 12:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

The only GUI strings I've not done are in the About screen.

The INI file bug is simple: when loading the settings from the INI file, I wasn't assigning the values to anything.

You (obviously) don't have to use anything I (or anyone else) adds/changes. I thought I'd contribute though, seeing as it was open source.

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Tue Mar 13, 2007 4:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

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...

Back to top
View user's profile Send private message Visit poster's website Skype Account
igi
Civilian


Joined: 11 Mar 2007

PostPosted: Tue Mar 13, 2007 9:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

Contributions from other coders are why I've been uploading nightly - to try and avoid a giant crunch at the end.

Ideally, any project with more than one coder should have some form of source control (sourceforge would do).

Quote:
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


A visual diff tool is the best bet - Araxis Merge, WinMerge, Beyond Compare etc.

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Tue Mar 13, 2007 10:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed Mar 14, 2007 2:54 am    Post subject: Reply with quote  Mark this post and the followings unread

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 Laughing



OSBIGEditor053BetaWIP.zip
 Description:
Source and executable, although this is not an official release.

Download
 Filename:  OSBIGEditor053BetaWIP.zip
 Filesize:  893.75 KB
 Downloaded:  840 Time(s)


Back to top
View user's profile Send private message Visit poster's website Skype Account
Danny
Guest




PostPosted: Wed Mar 14, 2007 6:43 am    Post subject: Treeview / refactoring Reply with quote  Mark this post and the followings unread

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 Wink

Greetings,
Danny[/img]

Back to top
Danny
Guest




PostPosted: Wed Mar 14, 2007 7:39 am    Post subject: Small Changes Reply with quote  Mark this post and the followings unread

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
Code:
ExtractFileDir(ParamStr(0)

to
Code:
IncludeTrailingPathDelimiter(ExtractFilePath(Application.exename))

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)



Thats my 2-cents,
Danny

Back to top
tobiasboon46
Shrapnel Sniper


Joined: 09 Sep 2005
Location: Argentina

PostPosted: Wed Mar 14, 2007 9:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

I translated the language ini to spanish what I do now?

_________________



Err...the image above means no offence to the american people...It's a bit of what I feel about it's gov't >_>

Back to top
View user's profile Send private message Send e-mail Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Mar 15, 2007 1:59 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Clazzy
Karma Police


Joined: 26 Nov 2002
Location: Algae Colony On Mars

PostPosted: Thu Mar 15, 2007 11:19 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
This makes it safe for use in win95/98 and exp as the retrieval of directories is different accross those windows versions

To be honest, there's probably no need for that since the game doesn't run on 95/98 to my knowledge.

_________________
Quote:
This is sexier than what this forum was supposed to tolerate. - Banshee

Back to top
View user's profile Send private message
tobiasboon46
Shrapnel Sniper


Joined: 09 Sep 2005
Location: Argentina

PostPosted: Thu Mar 15, 2007 7:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

Great then I'll store it for later!!

Last edited by tobiasboon46 on Sun Mar 18, 2007 3:08 am; edited 1 time in total

Back to top
View user's profile Send private message Send e-mail Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Mar 18, 2007 2:33 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Mar 18, 2007 3:05 am    Post subject:   Reply with quote  Mark this post and the followings unread

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.



OSBIGEditor054BetaWIP.zip
 Description:
Use it at your own risk...

Download
 Filename:  OSBIGEditor054BetaWIP.zip
 Filesize:  1.08 MB
 Downloaded:  1445 Time(s)


Last edited by Banshee on Sun Mar 18, 2007 3:13 am; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website Skype Account
tobiasboon46
Shrapnel Sniper


Joined: 09 Sep 2005
Location: Argentina

PostPosted: Sun Mar 18, 2007 3:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Anything for creating .big's??
Or I missed it...?

_________________



Err...the image above means no offence to the american people...It's a bit of what I feel about it's gov't >_>

Back to top
View user's profile Send private message Send e-mail Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Mar 18, 2007 3:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
will still have


is different than

Quote:
has

Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Fri Mar 23, 2007 12:42 am    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message Visit poster's website
tobiasboon46
Shrapnel Sniper


Joined: 09 Sep 2005
Location: Argentina

PostPosted: Mon Mar 26, 2007 1:13 am    Post subject: Reply with quote  Mark this post and the followings unread

How's it going?

_________________



Err...the image above means no offence to the american people...It's a bit of what I feel about it's gov't >_>

Back to top
View user's profile Send private message Send e-mail Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Mon Mar 26, 2007 3:12 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm overloaded at the moment.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Jul 26, 2007 2:15 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Thu Jul 26, 2007 3:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Update: SVN is located at:

http://svn.ppmsite.com

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.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Chrisse
AA Infantry


Joined: 02 Mar 2006
Location: Sweden

PostPosted: Fri Jul 27, 2007 12:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

http://open.spotify.com/track/3B5lZi3QJ8AeVpdLtO9NcI

www.myspce.com/ttex91 (Listen to my music (Outdated)).

Back to top
View user's profile Send private message Send e-mail Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Fri Jul 27, 2007 2:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yea, SVN screwed up after a commit. I still have no idea of what is wrong with that database. I'll continue to investigate it today.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sat Jul 28, 2007 2:23 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message Visit poster's website Skype Account
sasor
Vehicle Driver


Joined: 02 Nov 2007

PostPosted: Sun Nov 04, 2007 10:50 am    Post subject: Reply with quote  Mark this post and the followings unread

tell OS Big Editor can save in big?(i have 0.54 Beta version) Or there are other programs ?

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Nov 04, 2007 2:39 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [30 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
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


Powered by phpBB © phpBB Group

[ Time: 0.2441s ][ Queries: 13 (0.0118s) ][ Debug on ]