csv_editor v2
-
- Mercenary
- Posts: 126
- Joined: Sun May 01, 2005 10:33 am
- Location: Italia
csv_editor v2
thanks to Halleck, Klauss and Jacks, the V2 version of my li'l app is here.
attached is the latest win32 build.
linux build will follow in a few days.
it's a (guess what?) csv file editor, specifically designed to fast-edit the units.csv file (and those that will follow), but remains a general purpose csv file editor.
it's released as GPLv2, and comes with full source code.
it's written in freepascal with the aid of lazarus's lcl component library (all GPLv?).
it can be compiled for almost any platform and OS.
the linux version will use GTK2.
a mac os x version can be compiled with the carbon interface (see www.lazarus.freepascal.org forums and docs for howtos)
hope You'll find it usefull.
p.s.: little advices:
- it's a statically linked apps, so it doesn't need any library.
- the textfiles in the archive MUST BE IN THE SAME WORKING DIR OF THE EXECUTABLE in order for the app to start.
- elements.txt is deprecated and it's in the archive only 'cause I'm lazy, you can delete it.
- the textfiles contains in a simple to edit syntax a bunch of things that can be inserted in various field of the units.csv file; if anyone adds fields to them, please post it here, so others (me, for example ) can make use of it.
- sorry for the lack of documentation, but my spare time lacks as well; the GUI should be simple and auto-explaining, and has NO MENU (i hate them); if You have question, ask me and You will be replied.
- if any of you will find a bug or wants a new feature, feel free to ask me, i will do my best.
at Your service.
attached is the latest win32 build.
linux build will follow in a few days.
it's a (guess what?) csv file editor, specifically designed to fast-edit the units.csv file (and those that will follow), but remains a general purpose csv file editor.
it's released as GPLv2, and comes with full source code.
it's written in freepascal with the aid of lazarus's lcl component library (all GPLv?).
it can be compiled for almost any platform and OS.
the linux version will use GTK2.
a mac os x version can be compiled with the carbon interface (see www.lazarus.freepascal.org forums and docs for howtos)
hope You'll find it usefull.
p.s.: little advices:
- it's a statically linked apps, so it doesn't need any library.
- the textfiles in the archive MUST BE IN THE SAME WORKING DIR OF THE EXECUTABLE in order for the app to start.
- elements.txt is deprecated and it's in the archive only 'cause I'm lazy, you can delete it.
- the textfiles contains in a simple to edit syntax a bunch of things that can be inserted in various field of the units.csv file; if anyone adds fields to them, please post it here, so others (me, for example ) can make use of it.
- sorry for the lack of documentation, but my spare time lacks as well; the GUI should be simple and auto-explaining, and has NO MENU (i hate them); if You have question, ask me and You will be replied.
- if any of you will find a bug or wants a new feature, feel free to ask me, i will do my best.
at Your service.
You do not have the required permissions to view the files attached to this post.
"Eppur si muove ..."
(Galileo Galilei just after abjuring to the Inquisition)
(Galileo Galilei just after abjuring to the Inquisition)
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
-
- Elite
- Posts: 1832
- Joined: Sat Jan 15, 2005 10:21 pm
- Location: State of Denial
- Contact:
-
- Mercenary
- Posts: 126
- Joined: Sun May 01, 2005 10:33 am
- Location: Italia
very thanks Halleck.
as promised... the linux build.
it relies on gtk2, but it's again statically linked so...
too bad the win32 version under wine works better and faster
as promised... the linux build.
it relies on gtk2, but it's again statically linked so...
too bad the win32 version under wine works better and faster
You do not have the required permissions to view the files attached to this post.
"Eppur si muove ..."
(Galileo Galilei just after abjuring to the Inquisition)
(Galileo Galilei just after abjuring to the Inquisition)
-
- Mercenary
- Posts: 126
- Joined: Sun May 01, 2005 10:33 am
- Location: Italia
as per loki request...
@loki: as i'm unable to attach this in a pm, i post it in here for everyone.
this new version fixes a bug pointed by loki1950 in handling a one line csv file and files whose last record doesn't terminate with a paragrah (scii10) char.
the save procedure has been rewritten accordingly and fixes the last problem on save (adding a chr(10) if it lacks).
this will the li'l app work also in PR csv (or was it svn?)
thanks to loki for the information and the files provided.
this is only a win32 build. if the linux one is needed, let me know.
this new version fixes a bug pointed by loki1950 in handling a one line csv file and files whose last record doesn't terminate with a paragrah (scii10) char.
the save procedure has been rewritten accordingly and fixes the last problem on save (adding a chr(10) if it lacks).
this will the li'l app work also in PR csv (or was it svn?)
thanks to loki for the information and the files provided.
this is only a win32 build. if the linux one is needed, let me know.
You do not have the required permissions to view the files attached to this post.
"Eppur si muove ..."
(Galileo Galilei just after abjuring to the Inquisition)
(Galileo Galilei just after abjuring to the Inquisition)
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
@baba2007 save game files are not cvs so of course it did not work well
Enjoy the Choice
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Insys Pilot
- Posts: 2
- Joined: Wed Sep 19, 2007 3:47 am
been trying to figure out your source. not familiar with Pascal so its not easy... been trying to find different ways to compile it on my OSX box... can you maybe say what files are what? the only files i saw that seemed to be source code were the unit1.pas and unit2.pas are both of those the entire program?
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Welcome doh123 and the project1.lpi file as well i believe as for compiling under OSX
GAlex wrote:
Enjoy the Choice
GAlex wrote:
if you have problems just post.a mac os x version can be compiled with the carbon interface (see www.lazarus.freepascal.org forums and docs for howtos)
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Insys Pilot
- Posts: 2
- Joined: Wed Sep 19, 2007 3:47 am
Well thanks for the response
I tried many times installing many things to get Lazarus working right, but i cant ever get it working right, that was a longer problem, and seems to come down to it not liking x86 OSX, and only wanting PPC. Lazarus seems to be well supported for Windows and Linux, but little to nothing for OSX, which makes sence because Xcode is awesome and free with OSX, so they just made a FPC plug in for it.
I was trying to do some compiling in Xcode with the FPC for Xcode plug in... which seems to work fine, i just do not know enough about Free Pascal to build the project out right with the right code in the right places... I've mainly only used Xcode for Java coding. I'll figure it out sometime, or I'll just give up and run it in Linux, i just perfer using my Mac for most things.
I tried many times installing many things to get Lazarus working right, but i cant ever get it working right, that was a longer problem, and seems to come down to it not liking x86 OSX, and only wanting PPC. Lazarus seems to be well supported for Windows and Linux, but little to nothing for OSX, which makes sence because Xcode is awesome and free with OSX, so they just made a FPC plug in for it.
I was trying to do some compiling in Xcode with the FPC for Xcode plug in... which seems to work fine, i just do not know enough about Free Pascal to build the project out right with the right code in the right places... I've mainly only used Xcode for Java coding. I'll figure it out sometime, or I'll just give up and run it in Linux, i just perfer using my Mac for most things.
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
glad you made some sense of it i haven't looked at Pascal for about 20 years and in a main frame environment it was the teaching language of the moment.you might try the windows exe under wine as GAlex mentioned.
Enjoy the Choice
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
Yes there is the attachment in the fourth post
Enjoy the Choicevery thanks Halleck.
as promised... the linux build.
it relies on gtk2, but it's again statically linked so...
too bad the win32 version under wine works better and faster Crying or Very sad
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- The Shepherd
- Posts: 5841
- Joined: Fri May 13, 2005 8:37 pm
- Location: Ottawa
- Contact:
We have to keep our toys under lock and keyoh LOL i had to be logged in to see it
Enjoy the Choice
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
-
- Trader
- Posts: 17
- Joined: Thu Jul 30, 2009 8:58 pm
Re: csv_editor v2
Much appreciated. Thank you