Giter VIP home page Giter VIP logo

justoolkit's Introduction

Identity by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)


Credits:

	Theme:
		AJ [email protected] | @ajlkn

	Image:
		Unsplash (unsplash.com)
		Marcelo Quinan (http://levelofambiguity.tumblr.com/)

	Icons:
		Font Awesome (fortawesome.github.com/Font-Awesome)

	Other:
		html5shiv.js (@afarkas @jdalton @jon_neal @rem)
		CSS3 Pie (css3pie.com)
		Respond.js (j.mp/respondjs)
		Skel (skel.io)

justoolkit's People

Contributors

darkc0m avatar priverop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

darkc0m

justoolkit's Issues

Issue importing Dig+ALMT

There is an issue with the compression the game uses (I think), but maybe I did something wrong.

Dig to PNG:
unknown (2)

Dig + ALMT to PNG:
unknown (3)

Edited PNG to Dig + ALMT to PNG:
unknown (1)

We need to figure out what is going on.

  • Prepare a test with the original DIG + ALMT -> to PNG.
  • Prepare a test with the PNG to the original DIG + ALMT.
  • Is it 1:1?

Update Readme

Update readme with the latest information and how to use.

Tutorial formats

We need to refactor the old tutorial formats to use the current system. Each file should have a format unless there is 0 differences between two file formats.

As soon as we see a difference we would create a new format, because we don't want any IFs.

Alar export/import doesn't support DSCP compressed files.

Describe the bug
When using an Alar exporter/importer the program doesn't check if the file is compressed or not.

To Reproduce
Grab any Alar file with a DSCP header and try to export it.

Expected behavior
Exporter should first check if the file is compressed or not and then extract/import the files.

Integration Tests

We need to finish the Integration Testing support and add tests for every converter.

Export .dtx

Tool Usage

-exportdtx dir <dirToSave> <dirWithFilesToInsert>
In the "dirWithFilesToInsert" we need to have:

  • koma.bin
  • kshape.bin
  • arm9.bin
  • deck.bin
  • thefile.dtx

Issue

The .dtx format is a Sprite format, here is the research file

Right now the Converter does work until line 100 where we have to use the kshape to get the Sprite shape.

We have already hacked the format with everything we need. BUT, we need the Sprite support, which we don't have. I tried to port it from Ninoimager to Texim but I couldn't. The other option would be to use the Ninoimager classes directly.

Pack .aar

Pack files from insertDemo into demo.aar and save it in root (.)
-i alar/demo.aar . alar/insertDemo

We have to keep the same folder structure that we have when unpacking.

To Do

  • Get folder structure of demo.aar from Tinke.

Preparing repo for open-source

It's been a long time I don't work on this project so I want to update everything and get it ready for other contributors.

  • Create README with ALL my info.
  • Merge ALMT branch
  • Merge koma branch
  • Merge Alar-refactor branch
  • Testing
  • Create issue for DTX
  • Create issue for DIG
  • Delete branches
  • Separate research files from the main README.md

LZSS Testing

We need to test this converter:

  • Binary Compressed - Binary Decompressed 1:1 recompress
  • Binary Compressed - Binary Decompressed deserialize

Export dig & almt to png

-exportdig dirToSave dirWithFilesToInsert

We need to test this feature and see if everything is OK.

Png -> Alar importer (without original dig+atm)

We need a CLI function to auto import PNGs directly to the original .aar, so we can start importing images quickly.

The difficult task here is to know if the dig/almt needs to be compressed or not.

.bin Tests

Create test for each type of .bin format. The goal is to have 1:1 for export and reimport.

  • ability_t.bin
  • bgm.bin
  • chr_b_t.bin
  • chr_s_t.bin
  • clearlst.bin
  • commwin.bin
  • demo.bin
  • infoname.bin
  • komatxt.bin
  • location.bin
  • piece.bin
  • pname.bin
  • rulemess.bin
  • stage.bin
  • title.bin
  • jQuiz.bin #55
  • tutorials #54
  • InfoDeck
  • jGalaxy
  • Deck
  • DeckMake

Dig exports with transparent pixels

When we export a Dig+ATM we get some extra transparent pixels on the bottom:

image

We need to check if we can ignore those and re-import them into the game (meaning that all the testing we have is correct), or we need to remove it.

  • What happens if we remove it?

Auto Format Identifier

I want to automate the Converter selection creating an identifier class as I had back in 1.0.

The goal would be to identify a Node by its extension, stamp and version, and then return the format.

Then I would love to transform the Node with the correct converter.

With this we don't need to choose what are we extracting and we could batch export everything automatically.

error while trying to export .aar and .bin

Hi !
When i Try to export aar file i have an unhandled exception "The specified argument was not within the range of valid values"
Error AAR

And when i try to export bin file i have an unhandled exception too "An exception was thrown by the target of a call. ---> System.Collections.Generic.KeyNotFoundException: The given key was missing from the dictionary."
Error BIN

These are the files i tried to export
envoi.zip

Thanks for your help if you read !

Alar identifier + compression

We need to create the alar identifier to export/import without telling which format it is.

Plus, the cli should uncompress or compress the container automatically.

ALAR Tests

Create test for each type of .aar format. The goal is to have 1:1 for export and reimport.

  • alar2 (koma.aar) Deserialze
  • alar3 Deserialze
  • binary - alar2 1:1 retransform
  • binary - alar3 1:1 retransform

Alar3 insert Size fix?

Describe the bug
I'm not 100% sure but I think I forgot to re-adjust the size parameter in the File Info section.

To Reproduce
Insert a new file with a different size from the original to see if it changes.

DTX Testing

Create test for each type of .dtx format. The goal is to have 1:1 for export and reimport.

  • deserialize
  • binary - dtx 1:1

Alar -> Png auto extractor

I want a CLI command that automatically exports every .dig+.atm from an ALAR file.

So, from demo.aar we would get a ton of .png files.

Returns exception if the file doesn't exist

We need to handle what happens if the files we are passing by arguments are not valid.

If we don't this happens:

Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
 ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
   at Yarhl.IO.DataReader.ReadBytes(Int32 count)
   at Yarhl.IO.DataReader.ReadString(Int32 bytesCount, Encoding encoding)
   at JUSToolkit.Utils.CompressionUtils.IsCompressed(DataStream stream) in /JUSToolkit/src/JUS.Tool/Utils/CompressionUtils.cs:line 49

ALMT + DIG Tests

Create test for each type of .dig format. The goal is to have 1:1 for export and reimport.

  • dig + almt Deserialze
  • binary - alar 1:1 retransform
  • binary - dig 1:1 retransform
  • dig + almt 1:1 retransform

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.