Jump to content

[Q]hello need som help with a java program

hey im working on a theme for my iphone when doing this i got a problem with cgbi files forced to be png and u need to decode it to a normal png and i went to google how would i do this on windows and i found a java program that should do the job for me 

 

https://github.com/CuelogicTech/Convert-iOS-Application-PNG-imagesbut i cant get it to work nothing is happening i cant see the console and i dont know how it works can someone help me?

 

I also tryed this https://github.com/viphe/ipng-converterthe cmd just pops up for a sec no time to read anyting 

Cpu: intel i7 4790k    Motherboard: MSI GAMING 5   GPU:Nvidia GTX 980Ti   PSU: Corsair AX 760 PSU  RAM:Crucial DDR3 Ballistix Tactical 24GB RG  SSD: OZC Vertex 4 128GB  HDD: 2x1tb WD  Case: Thermaltake Level 10GT Snow edition! 

Link to comment
https://linustechtips.com/topic/316135-qhello-need-som-help-with-a-java-program/
Share on other sites

Link to post
Share on other sites

have you tried running it from cmd/shell? (java -jar pngconverter.jar)

Asrock 890GX Extreme 3 - AMD Phenom II X4 955 @3.50GHz - Arctic Cooling Freezer XTREME Rev.2 - 4GB Kingston HyperX - AMD Radeon HD7850 - Kingston V300 240GB - Samsung Spinpoint F3 1TB - Chieftec APS-750 - Cooler Master HAF912 PLUS


osu! profile

Link to post
Share on other sites

have you tried running it from cmd/shell? (java -jar pngconverter.jar

if u mean a .bat file? i dont know how to make one for this type of program 

Cpu: intel i7 4790k    Motherboard: MSI GAMING 5   GPU:Nvidia GTX 980Ti   PSU: Corsair AX 760 PSU  RAM:Crucial DDR3 Ballistix Tactical 24GB RG  SSD: OZC Vertex 4 128GB  HDD: 2x1tb WD  Case: Thermaltake Level 10GT Snow edition! 

Link to post
Share on other sites

if u mean a .bat file? i dont know how to make one for this type of program 

you could make a bat file too... just put:

java -jar PNGConverter.jar

in it and that's it. Or run that command directly from cmd

Asrock 890GX Extreme 3 - AMD Phenom II X4 955 @3.50GHz - Arctic Cooling Freezer XTREME Rev.2 - 4GB Kingston HyperX - AMD Radeon HD7850 - Kingston V300 240GB - Samsung Spinpoint F3 1TB - Chieftec APS-750 - Cooler Master HAF912 PLUS


osu! profile

Link to post
Share on other sites

you could make a bat file too... just put:

java -jar PNGConverter.jar

in it and that's it. Or run that command directly from cmd

still nothing i tried to add a pause to look for a error message but the program wont say anything no error message no java no nothing 

Cpu: intel i7 4790k    Motherboard: MSI GAMING 5   GPU:Nvidia GTX 980Ti   PSU: Corsair AX 760 PSU  RAM:Crucial DDR3 Ballistix Tactical 24GB RG  SSD: OZC Vertex 4 128GB  HDD: 2x1tb WD  Case: Thermaltake Level 10GT Snow edition! 

Link to post
Share on other sites

still nothing i tried to add a pause to look for a error message but the program wont say anything no error message no java no nothing 

Sorry, I've got nothing. I tried playing around with arguments (as it looks like it needs one), but I got nowhere

Asrock 890GX Extreme 3 - AMD Phenom II X4 955 @3.50GHz - Arctic Cooling Freezer XTREME Rev.2 - 4GB Kingston HyperX - AMD Radeon HD7850 - Kingston V300 240GB - Samsung Spinpoint F3 1TB - Chieftec APS-750 - Cooler Master HAF912 PLUS


osu! profile

Link to post
Share on other sites

Sorry, I've got nothing. I tried playing around with arguments (as it looks like it needs one), but I got nowhere

thanks anyway tho :) i have send the maker a email not sure if its still active after a year tho :/

Cpu: intel i7 4790k    Motherboard: MSI GAMING 5   GPU:Nvidia GTX 980Ti   PSU: Corsair AX 760 PSU  RAM:Crucial DDR3 Ballistix Tactical 24GB RG  SSD: OZC Vertex 4 128GB  HDD: 2x1tb WD  Case: Thermaltake Level 10GT Snow edition! 

Link to post
Share on other sites

thanks anyway tho :) i have send the maker a email not sure if its still active after a year tho :/

You can always go through the source code and try to figure it out.

Asrock 890GX Extreme 3 - AMD Phenom II X4 955 @3.50GHz - Arctic Cooling Freezer XTREME Rev.2 - 4GB Kingston HyperX - AMD Radeon HD7850 - Kingston V300 240GB - Samsung Spinpoint F3 1TB - Chieftec APS-750 - Cooler Master HAF912 PLUS


osu! profile

Link to post
Share on other sites

You can always go through the source code and try to figure it out.

yeah right xD the only coding i can do or understand is a little basic html xD hehe 

Cpu: intel i7 4790k    Motherboard: MSI GAMING 5   GPU:Nvidia GTX 980Ti   PSU: Corsair AX 760 PSU  RAM:Crucial DDR3 Ballistix Tactical 24GB RG  SSD: OZC Vertex 4 128GB  HDD: 2x1tb WD  Case: Thermaltake Level 10GT Snow edition! 

Link to post
Share on other sites

yeah right xD the only coding i can do or understand is a little basic html xD hehe 

Well... best of luck with your project :)

Asrock 890GX Extreme 3 - AMD Phenom II X4 955 @3.50GHz - Arctic Cooling Freezer XTREME Rev.2 - 4GB Kingston HyperX - AMD Radeon HD7850 - Kingston V300 240GB - Samsung Spinpoint F3 1TB - Chieftec APS-750 - Cooler Master HAF912 PLUS


osu! profile

Link to post
Share on other sites

Well... best of luck with your project :)

thank you :)

Cpu: intel i7 4790k    Motherboard: MSI GAMING 5   GPU:Nvidia GTX 980Ti   PSU: Corsair AX 760 PSU  RAM:Crucial DDR3 Ballistix Tactical 24GB RG  SSD: OZC Vertex 4 128GB  HDD: 2x1tb WD  Case: Thermaltake Level 10GT Snow edition! 

Link to post
Share on other sites

Well... best of luck with your project :)

the maker came trogh i got a tutorial i was missing java jdk and he also added a little .bat file to start it this is kinda pain full tho .. java -jar PNGConverter.jar Icon.png it can only take 1 picture of the time and i need to change out icon.png for every picture im using and thats about 200 xD can i ask if there is an easyer way?  like do all of these and put theme here type of command?

Cpu: intel i7 4790k    Motherboard: MSI GAMING 5   GPU:Nvidia GTX 980Ti   PSU: Corsair AX 760 PSU  RAM:Crucial DDR3 Ballistix Tactical 24GB RG  SSD: OZC Vertex 4 128GB  HDD: 2x1tb WD  Case: Thermaltake Level 10GT Snow edition! 

Link to post
Share on other sites

the maker came trogh i got a tutorial i was missing java jdk and he also added a little .bat file to start it this is kinda pain full tho .. java -jar PNGConverter.jar Icon.png it can only take 1 picture of the time and i need to change out icon.png for every picture im using and thats about 200 xD can i ask if there is an easyer way?  like do all of these and put theme here type of command?

you can write a script to go through all *.png files

http://stackoverflow.com/questions/14237548/batch-script-run-command-on-each-file-in-directory

Asrock 890GX Extreme 3 - AMD Phenom II X4 955 @3.50GHz - Arctic Cooling Freezer XTREME Rev.2 - 4GB Kingston HyperX - AMD Radeon HD7850 - Kingston V300 240GB - Samsung Spinpoint F3 1TB - Chieftec APS-750 - Cooler Master HAF912 PLUS


osu! profile

Link to post
Share on other sites

Thanks but that link didnt do me any good xD i might have to sit down and read and try to learn a little when i have the time thanks for the link tho i guess if i learn a little i might be able to understand it :) 

Cpu: intel i7 4790k    Motherboard: MSI GAMING 5   GPU:Nvidia GTX 980Ti   PSU: Corsair AX 760 PSU  RAM:Crucial DDR3 Ballistix Tactical 24GB RG  SSD: OZC Vertex 4 128GB  HDD: 2x1tb WD  Case: Thermaltake Level 10GT Snow edition! 

Link to post
Share on other sites

Try this one http://www.axelbrz.com.ar/?mod=iphone-png-images-normalizer

 

Instructions from the comments: 

 

1) Install python at your computer

2) Save ipin.py file in the folder where you have all PNG images to modify (warning: images will be replaced!)

3) Run the program using 'python ipin.py' command (without quotes), or maybe you will be able to run it just double clicking on file.

Link to post
Share on other sites

Try this one http://www.axelbrz.com.ar/?mod=iphone-png-images-normalizer

 

Instructions from the comments: 

 

1) Install python at your computer

2) Save ipin.py file in the folder where you have all PNG images to modify (warning: images will be replaced!)

3) Run the program using 'python ipin.py' command (without quotes), or maybe you will be able to run it just double clicking on file.

thanks im better at python then java or bach :) tried to extract some .artworks sadly the scrip i was using will never be updated for the .artwork files i tried to extract .. 

Cpu: intel i7 4790k    Motherboard: MSI GAMING 5   GPU:Nvidia GTX 980Ti   PSU: Corsair AX 760 PSU  RAM:Crucial DDR3 Ballistix Tactical 24GB RG  SSD: OZC Vertex 4 128GB  HDD: 2x1tb WD  Case: Thermaltake Level 10GT Snow edition! 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×