Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: #NightS RAW Applications#  (Read 4461 times)

NightS

  • Bay Watcher
    • View Profile
#NightS RAW Applications#
« on: March 09, 2012, 08:34:48 am »

I have VERY recently started learning python (4 days) and i have wanted to do for some time applications to ease modders their task, and now i can do it effectively:

I present you the NEMC (NightS Easy Metal Creator)
At first it was a script in batch, very limited and not very effective. Now it is in python and you can use it without any problem.
This will probaly be the first of a series of utilities similar to this one so you can manipulate raw files easily.

Link: http://dffd.wimbli.com/file.php?id=5825
Source: If you want to see it ask me for a link and i will send it to you :)
Enjoy!


EDIT: Overwriting wipes the entire file, do not do it except if you really want to. Just in case.

EDIT: Link to the old thread in case someone is interested: http://www.bay12forums.com/smf/index.php?topic=90725

EDIT: v0.2 released!
« Last Edit: March 13, 2012, 01:56:42 pm by NightS »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: #NightS RAW Applications#
« Reply #1 on: March 09, 2012, 09:47:35 am »

Ooh! I got many uses out of the original batch!

NightS

  • Bay Watcher
    • View Profile
Re: #NightS RAW Applications#
« Reply #2 on: March 09, 2012, 09:57:11 am »

Now it is quite improved, you can choose the output file and add to another file the metal/s you want. This is an early version too, i will be improving this one.
Logged

janglur

  • Bay Watcher
  • +Blood Soup+
    • View Profile
Re: #NightS RAW Applications#
« Reply #3 on: March 09, 2012, 10:27:33 am »

I get an error when trying to run.

Traceback (most recent call last):
  File "c:\python27\lib\site-packages\cx_Freeze\initscripts\Console.py", line 26
, in <module>
zipimport.ZipImportError: can't find module 'easy metal creator__main__'
Logged

NightS

  • Bay Watcher
    • View Profile
Re: #NightS RAW Applications#
« Reply #4 on: March 09, 2012, 10:31:20 am »

Aw, crap :P For it to work change the name of the exe for pynmc. I'll be uploading a fixed version in a minute. Thanks for telling me :)
EDIT: Fixed, downloads should be all right now
« Last Edit: March 09, 2012, 10:36:35 am by NightS »
Logged

Courtesy Arloban

  • Bay Watcher
  • This isn't a fortress... ...It's also not a map.
    • View Profile
Re: #NightS RAW Applications#
« Reply #5 on: March 09, 2012, 01:17:18 pm »

I enjoyed using your batch fie version.  I'm sure your new version will be helpful too.
Logged
Maybe that the dwarves never died and everyone is just shunning them.
"Wait, what are you doing?  I don't want to go in there!  No, I'm still alive, you can't do this to me!  Is Anybody listening?  Hello... Can someone let me out?  Help me!  Is anyone there?  I'm running out of air!"

NightS

  • Bay Watcher
    • View Profile
Re: #NightS RAW Applications#
« Reply #6 on: March 12, 2012, 08:25:52 am »

Well, does it work well? Any problems with it? Any suggestions?
Logged

NightS

  • Bay Watcher
    • View Profile
Re: #NightS RAW Applications#
« Reply #7 on: March 13, 2012, 01:58:08 pm »

Version 0.2 released!
Some bugfixes and removed some problems with crashing if you typed a letter when inputting a numeric value.
Logged

Vandala

  • Bay Watcher
  • Mad Tinkerer
    • View Profile
Re: #NightS RAW Applications#
« Reply #8 on: March 13, 2012, 02:26:13 pm »

Interested in helping?  ::)

http://www.bay12forums.com/smf/index.php?topic=102881.0

I'll going to create a sourceforge for it soon that might help cooperation.

And if not I'll probably be stealing from your code anyway, if you don't mind that is?  ;D

(Maybe this is useful to you, warning, this is still pretty crappy.)
« Last Edit: March 13, 2012, 02:42:06 pm by Vandala »
Logged
Working on the "Dwarf Fortress Mod Creation Kit"
http://www.bay12forums.com/smf/index.php?topic=102881.0

GO BUY STARFARER NOW!!!! It's crazy awesome!
http://fractalsoftworks.com/

NightS

  • Bay Watcher
    • View Profile
Re: #NightS RAW Applications#
« Reply #9 on: March 13, 2012, 03:24:10 pm »

Yeah, i can help if you want, but i'm still pretty much a noob in programming (i started learning last monday) but it seems i'm pretty good at it. I will pass you a copy of the code as soon as i can. The only thing i want is credit :)
Logged

gimli

  • Bay Watcher
    • View Profile
Re: #NightS RAW Applications#
« Reply #10 on: March 13, 2012, 03:45:00 pm »

Interested in helping?  ::)

http://www.bay12forums.com/smf/index.php?topic=102881.0

I'll going to create a sourceforge for it soon that might help cooperation.

And if not I'll probably be stealing from your code anyway, if you don't mind that is?  ;D

(Maybe this is useful to you, warning, this is still pretty crappy.)

Gogo, this is the tool what the community needs! :) I would help if I could but I don't know jack about coding.  ::)
Logged

Vandala

  • Bay Watcher
  • Mad Tinkerer
    • View Profile
Re: #NightS RAW Applications#
« Reply #11 on: March 13, 2012, 03:50:25 pm »

WOOT!! Awesome, thank you man. Of course you get credit! Your name and anything you want will be right on top man.

I still have a lot of things that I need to set up and I've got some tools to gather that should really help.

I'll let you know as I go along. Might take a day or two.
Logged
Working on the "Dwarf Fortress Mod Creation Kit"
http://www.bay12forums.com/smf/index.php?topic=102881.0

GO BUY STARFARER NOW!!!! It's crazy awesome!
http://fractalsoftworks.com/