Advertisement:

Author Topic: [WIP] Mod Builder  (Read 82523 times)

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #120 on: June 20, 2013, 04:07:01 PM »
Version 1.3 released!

! Fix compiler; it now works correctly without having to re-zip files, due to 7-zip being used!
+ Code templates; you can now create templates in the form of PHP files, which can be dropped into the editor with two clicks!
+ Code checking; you can now check your code for PHP syntax errors (not instructions)!
+ Recovery methods; Mod Builder now keeps the installers for all old versions, so you can revert to an older version if you'd like to!

Make sure to check your Options screen to enable all features.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Dhayzon

  • Sophist Member
  • *****
  • Posts: 1,167
  • Gender: Male
  • DhayZone RevolutioN
    • Dhayzon on GitHub
    • @dhayzon on Twitter
    • http://dhayzon.com/
Re: [WIP] Mod Builder
« Reply #121 on: June 20, 2013, 04:12:56 PM »
great application 

thanks

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #122 on: June 20, 2013, 04:22:02 PM »
Thanks dhayzon :)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Scareface

  • Semi-Newbie
  • *
  • Posts: 63
  • Gender: Male
  • PEACE
Re: [WIP] Mod Builder
« Reply #123 on: July 02, 2013, 02:20:50 AM »
How to setup file permissions ? For example I setup an extract information but the php file created is always 666 permission. So it cannot be access. So how to change the default permission of extracted files ?

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #124 on: July 02, 2013, 04:12:08 AM »
I'm not sure that is possible with a package, I'd have to read in to that. If it is possible, I will add that in the next version :)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Chalky

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,380
  • Gender: Female
  • If in doubt, give me beer...
    • ChalkCat
Re: [WIP] Mod Builder
« Reply #125 on: August 15, 2013, 09:11:06 AM »
Would this enable a coding thicko like me to build a mod Yoshi?  I made some manual edits to my forum that I think are pretty funky, so by comparing my files before and after and feeding my changes into your mod builder, am I right in thinking I could actually maybe possibly with a fair wind.... create an actual mod??  :)

Offline ѕησω

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,432
  • Gender: Male
  • Nisi credideritis, non intelligetis.
    • wade.poulsen93 on Facebook
    • acans on GitHub
    • https://www.linkedin.com/profile/view?id=145186638 on LinkedIn
    • @imacans on Twitter
    • Acans
Re: [WIP] Mod Builder
« Reply #126 on: August 15, 2013, 09:40:19 AM »
I just had a quick play with this to build my hacks into mods and it works perfectly! :)
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not dead yet, the time was soon to come to pass when mysql_query shall be gone and no more."

Offline Chalky

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,380
  • Gender: Female
  • If in doubt, give me beer...
    • ChalkCat
Re: [WIP] Mod Builder
« Reply #127 on: August 15, 2013, 09:46:24 AM »
Thanks snow, I'll have a play and see how forgiving it is  :P

Offline ѕησω

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,432
  • Gender: Male
  • Nisi credideritis, non intelligetis.
    • wade.poulsen93 on Facebook
    • acans on GitHub
    • https://www.linkedin.com/profile/view?id=145186638 on LinkedIn
    • @imacans on Twitter
    • Acans
Re: [WIP] Mod Builder
« Reply #128 on: August 15, 2013, 09:55:46 AM »
It's not evil at all, it did these simple edits without any issues.

http://www.simplemachines.org/community/index.php?topic=479348.0

Installed and uninstalled perfectly, and the readme maker is cool! :)
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not dead yet, the time was soon to come to pass when mysql_query shall be gone and no more."

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #129 on: September 18, 2013, 10:04:27 AM »
Just as a note, v1.3 will be the last version to support Windows XP, and Windows Vista and 7 users will have to install .NET 4.5 if not installed yet.

Why? I'm going to use .NET 4.5 for all versions from 1.4 and beyond. It features better ZIP handling (so it's just a native call instead of using an external version of 7-zip) and runs *much* faster (my development build loads a big project in under a second, whereas it takes two or three seconds on the older version).

What I can say about v1.4 for now:
- Dropped support for Windows XP,
- Removed 7za.exe,
- Removed Files tab from Editor,
+ In exchange, under Project, a button is added to open the project window,
! Overhauled Files to extract/delete tab,
! Editor cleanup in general,
! Fixed ZIP functionality (for real!)
! Optimisations in dialogues so work can be done faster,
! Optimisations in various places in code so the program runs faster in general,
! Code cleanup and logic fixed in various places,
! Better use of icons to make things clear

Due to more calls to the "native" API, Mod Builder should run *better* under Wine/Mono (if it supports .NET 4.5 yet)
« Last Edit: December 31, 2013, 11:33:05 AM by Yoshi »
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Colin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,879
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: [WIP] Mod Builder
« Reply #130 on: November 02, 2013, 02:22:20 AM »
When you change the type of source modification, add after, add before, or replace the text above the text areas does not change to reflect this update.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #131 on: November 02, 2013, 03:47:10 AM »
Text above the text areas? ???
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Colin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,879
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: [WIP] Mod Builder
« Reply #132 on: November 02, 2013, 03:53:47 AM »
[Attached]
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #133 on: November 02, 2013, 04:41:56 AM »
Ohh, that. It's not intended to do that either, though I should add that in a later version. Thanks for reporting :)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #134 on: December 31, 2013, 11:40:05 AM »
So, getting ready for 1.4.

I dropped the Hook and Settings editors for the sole reason that mod authors can write up these things themselves, it's not a big effort, and templates have been added to the editor anyway to make this easier.

Mod Builder 1.4 should overall be more stable than 1.3 and below, and brings a good batch of improvements, noted above.

I'm going through the final testing phase, and will let you know when it's time to update :)
(you can also of course keep an eye with the Check for updates button)
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #135 on: January 02, 2014, 06:36:30 PM »
Feel free to download 1.4 right now :)

It'll require a manual update, the updater is unfortunately borked. I'll fix that in 1.4.1.
« Last Edit: January 02, 2014, 07:54:22 PM by Yoshi »
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,994
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • What's Ur Beef
Re: [WIP] Mod Builder
« Reply #136 on: January 02, 2014, 09:02:49 PM »
Installed it. Will have to check it out real soon. Nice job man. :)

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #137 on: January 03, 2014, 10:39:34 AM »
Thanks bigguy :)

1.4.1 is out, this should be the last manual update. Update executables are now stored in %AppData%\Mod Builder\Updates which should be writable.
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

Offline phantomm

  • Sophist Member
  • *****
  • Posts: 1,064
  • Gender: Male
    • pages/smfpl/171860759503032 on Facebook
    • Polish ElkArte community
Re: [WIP] Mod Builder
« Reply #138 on: January 03, 2014, 05:04:11 PM »
I installed new version (1.4.1), and have small issue when I want to open project, select path for SMF files or WAMP Server (see attachment).
Here's what is under Details button:
Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.WindowsAPICodePack.Shell, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.WindowsAPICodePack.Shell, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
   at ModBuilder.Forms.Options.browseSmfPath_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ModBuilder
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SMF%20Mod%20Builder/ModBuilder.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



Windows 7 x64
net framework 4.5
If you need other specs let me know.
Polskie wsparcie SMF na simplemachines.org

My mods

Offline NanoSector

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,500
  • Gender: Male
  • VC321xb47@aperture:~#
    • Yoshi2889 on GitHub
Re: [WIP] Mod Builder
« Reply #139 on: January 03, 2014, 06:39:45 PM »
Oh god I forgot a few DLL files... :|
Hold on for a bit. I'll push out 1.4.2 which fixes this.

ETA: Fixed. Please update to 1.4.2 (finally using the built-in updater :P)
Let me know how the update process goes.
« Last Edit: January 03, 2014, 06:53:41 PM by Yoshi »
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."