Page 1 of 3

Tools for Forge users in Windows

PostPosted: 30 Dec 2017, 01:14
by churrufli
JUNE 21 - Moved all the projects to Github - https://github.com/churrufli

The reason for this tools is to keep Forge's updates for Windows users simplified.

LAST UPDATED VERSION: June. 2021

Forge Launcher.
https://github.com/churrufli/forgelauncher/releases

This app can auto install from zero/keep your Forge updated

Exttract it in your Forge folder and run Forge Launcher.exe (Needs ICSharpCode.SharpZipLib.dll included to decompress .tar.bz2) and try it for yourself!

Forge Translator Assistant.

Do you want to help translate Forge into your language? It is easy to help in the task of translating Forge. https://www.slightlymagic.net/forum/viewtopic.php?f=26&t=23215#p229940Even so, I have created a tool to manage translations. Do it manually or with this, like you want. The application will update and load the updated file when there are new texts to translate. Translations it's a work in progress.

Forge Translator Assistant.zip
(16.7 KiB) Downloaded 563 times


Suggestions are welcome :)

Because the program connects to URLs for downloading Forge updates, some antivirus software may consider Forge Launcher.exe or Forge Translator Assistant.exe as malicious. I GUARANTEE THAT THE CODE IS SAFE, you can check it and compile by yourself getting the code from my github site. Feel free to DM if you are interested in contributing to the development (VB.NET)

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 01 Feb 2018, 22:56
by churrufli
Many updates in the tool! Decks Extractor included and more! Windows users, let me know if u like it. :D

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 16 Feb 2018, 05:21
by Shadowzeny
Interesting design and such, though if you try to install forge with this, you get a null point string error trying to download. I do like the fact it offers deck updates though.

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 16 Feb 2018, 19:58
by Corwin72
Great idea with the installer!. I am also getting the null point string error.

Edit:
This thing is great.
You are awesome.

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 19 Feb 2018, 14:36
by churrufli
Thanks, let me know if there are errors in the functionality or possible ideas to improve the application, greetings.

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 22 Feb 2018, 21:35
by Corwin72
How do you determine what is the current version of Forge?

Everyone should try this. It is great.

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 23 Feb 2018, 22:17
by churrufli
Edit 24 may 19

Reading snapshots.cardforge.org and comparing with your version.txt file value
----
If you are more interested in other features let me know ;)

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 11 Mar 2018, 22:05
by Darth Agnon
Any chance you could add better support for custom directories in the tool? I store my Forge data in <C:/Users/[Username]/Documents/Forge/>, which contains the Data, Cache and CardPics folders. The tool, unfortunately, doesn't detect the <Data/gauntlet> folder, searching instead for <C:\Users\[Username]\Documents\Forge\Data\res\defaults\gauntlet\>, which would never exist. It would also be nice if the tool would backup the custom <forge.profile.properties>, as it overwrites everything when updating. It also detects commented-out directories in the <forge.profile.properties>, which shouldn't ideally be detected.

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 12 Mar 2018, 23:26
by churrufli
Hello! Thanks for your comment! I will work on the possibility of custom directories on next versions.

EDIT: Added support for custom directories and some fixes ;)

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 14 Mar 2018, 18:29
by Corwin72
I recently updated the launcher and now I am getting a null exception.

| Open
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: uriString
at System.Uri..ctor(String uriString)
at Forge_Launcher.fl.DownloadStart(Object dwl, Object fn)
at Forge_Launcher.fl.update_forge(Object vtoupdate)
at Forge_Launcher.fl.avisar_version()
at Forge_Launcher.fl.update_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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Forge Launcher
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///F:/Forge/Forge%20Launcher/Forge%20Launcher.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
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.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
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.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.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.

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 14 Mar 2018, 23:04
by churrufli
I think I solved it, you can find me on the Forge Discord channel if you continue with problems. Thanks for your report.

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 15 Mar 2018, 12:53
by Corwin72
Still getting this error:

| Open
Parameter name: uriStringLatest version can't be obtained automatically. The latest version indicated by Forge Launcher is:https://ftp.cardforge.org/maven/snapshots/forge/forge-gui-desktop/1.6.7-SNAPSHOT/forge-gui-desktop-1.6.7-20180225.164326-4.tar.bz2. Your current version is https://ftp.cardforge.org/maven/snapsho ... .bz2Latest version can't be obtained automatically. The latest version indicated by Forge Launcher is:https://ftp.cardforge.org/maven/snapshots/forge/forge-gui-desktop/1.6.7-SNAPSHOT/forge-gui-desktop-1.6.7-20180225.164326-4.tar.bz2. Your current version is https://ftp.cardforge.org/maven/snapsho ... ownloading forgeupdate.tar.bz2 ... please wait!
Value cannot be null.
Parameter name: uriString

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 17 Mar 2018, 12:29
by churrufli
New version will solved this. Read "what's new" section.

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 06 Apr 2018, 17:08
by Darth Agnon
Thank you very much for the continued updates; it's a great tool and it keeps getting better!

Noticed with the latest (3/26/18) version, "Frontier" is missing from the formats list; bug, or has Frontier died that quickly lol :D

Would it be possible to update the OP with the latest version?

Little feature request: Would it be possible to change the "Preserve Decks by Date" to "Preserve the Last X Metas by Date", where X can be changed between "All", and e.g. 1-10?

Thanks for the great tool :D
Live long and prosper!

Darth Agnon

Re: Forge Launcher.exe. Auto install / update Forge and mor

PostPosted: 07 Apr 2018, 22:04
by churrufli
Hi! At now only available formats are Standard,Modern,Pauper,Legacy,Vintage,Commander 1v1,Commander. I'm working on get that top of decks updated (Frontier, Tiny Leaders) in new versions. thanks for your request. Have fun! :)