Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingal1337 committed Aug 18, 2020
2 parents 0459ac2 + 4a6b633 commit 2bf6b78
Showing 1 changed file with 58 additions and 14 deletions.
72 changes: 58 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
# Minimalistic Yugioh Proxy Maker
<p align="center">
<h1 align="center">Minimalistic Yugioh Proxy Maker</h1>
<p align="center">
A Minimalistic Yu-Gi-Oh Proxy Generator where it generates a printable PDF with only the information you need.
All card information is pulled from `yugioh.fandom.com`
<br />
All card information is pulled from
<br />
<a href="https://yugioh.fandom.com"><strong>Yu-Gi-Oh Fandom</strong></a>
</p>

## How to use
## Table of Contents
* [How to Use](#how-to-use)
* [Usage](#usage)
* [Running the Code](#running-the-code)
* [Generating a Deck](#generating-a-deck)
* [Steps](#steps)
* [The Command](#the-command)
* [Examples](#examples)
* [Printing](#printing-the-deck)

## How to Use

### Usage

1. Make sure you have atleast **Java 8** installed on your machine

### To run the code
### Running the Code

1. You will also need to download 2 libraries (should be located in the libs folder)
1. JSoup 1.12.1.jar
Expand All @@ -21,22 +37,50 @@ You can generate 3 types of proxies
- Informational Proxies (Text based card using information from real life card)
- Colored Informational Proxies
- Full Card Art Proxies (Image taken from `yugioh.fandom.com`)
## Steps
1) Download the lastest version of the [Yugioh Proxy Maker](https://github.com/Kingal1337/YugiohProxyMaker/releases)
2) Open the command prompt
3) Navigate to where you have downloaded the .jar file in the command promt
4) Type `java -jar Yugioh-Proxy-Maker-1.1.0.jar <desk_list_location>` to generate a Simple Deck (Be sure to replace `<deck_list_location>` with the .ydk file located on your computer)
5) The pdf that was generated should be located in the folder where you downloaded the .jar file
6) Print the PDF.
## The Command


`DeckListLocation [DestinationLocation] [Colored MarginLeft MarginTop MarginRight MarginBottom]`
**Usage**

`java -jar Yugioh-Proxy-Maker-1.1.0.jar <desk_list_location>`
<br>
`java -jar Yugioh-Proxy-Maker-1.1.0.jar <desk_list_location> <destination>`
<br>
`java -jar Yugioh-Proxy-Maker-1.1.0.jar <desk_list_location> <use_image> <colored>`
<br>
`java -jar Yugioh-Proxy-Maker-1.1.0.jar <desk_list_location> <destination> <use_image> <colored> [--left=<px>] [--top=<px>] [--right=<px>] [--bottom=<px>]`

**Arguments**
```
<deck_list_location> Where the .ydk file is located
<destination> Where to save the file (Note: you must include a file name)
<use_image> (true/false), set to true,to use the image on the fandom website
instead of using the minimalistic design
<colored> (true/false), if you want colored images or grayscale
```

-
1. Open the command prompt and navigate to where you downloaded the jar file
2. type `java -jar Yugioh-Proxy-Maker-1.0.0.jar DECK_LIST_LOCATION`
3. The deck should then be generated in the game folder where the jar file is
**Options**
```
--left=<px> the left margin of the pdf in pixels [default: 36]
--top=<px> the top margin of the pdf in pixels [default: 50]
--right=<px> the right margin of the pdf in pixels [default: 36]
--bottom=<px> the bottom margin of the pdf in pixels [default: 50]
```

## Examples

java -jar Yugioh-Proxy-Maker-1.0.0.jar "decklist.txt"
- **Simple Deck** - This will generate a minimalistic deck with just text and will be saved on the desktop
- `java -jar Yugioh-Proxy-Maker-1.1.0.jar "C:/Users/<NAME>/Desktop/Decklist.ydk"`
- **Deck with Original Images** - This will generate a deck with the image of the card pulled from the Yugioh Fandom
- `java -jar Yugioh-Proxy-Maker-1.1.0.jar "C:/Users/<NAME>/Desktop/Decklist.ydk" true true`

## Printing the Deck
In order to print with the correct dimensions of a Yu-Gi-Oh card, set the scale of the print to 100%

## To-Do
- Add User-Friendly GUI
- Add text overlay to full card art proxies that lack an english card description/image/TCG printing
Recommended Software: `Adobe Acrobat Reader`

0 comments on commit 2bf6b78

Please sign in to comment.