26

Re: Новый лаунчер

Gromozavr пишет

Лаунчер удаляет моментом клиент собственной сборки sad

- Удаляем параметры: ... "updating"(перенос другой сборки, если не убрать этот параметр(например при копировании main или ic клиентов), то сборка удалится)

27

Re: Новый лаунчер

Копирую из лиц клиента файлы:
.minecraft\versions\1.6.2-Forge9.10.1.871.jar  > .ttyh\servers\cric\cric.jar
.minecraft\versions\1.6.2-Forge9.10.1.871.json > .ttyh\servers\cric\cric.json

Вношу изменения в cric.json, по инстукции из первого поста.
[spoiler=содержимое cric.json после модификации]

{
  "id": "cric",
  "clientVersion": 314,
  "index": 2,
  "name": "CRiC",
  "jarMD5": "anystring",
  "minecraftVersion": "1.6.2",

    "minecraftArguments": "--username ${auth_player_name} --session ${auth_session} --version ${version_name} --gameDir ${game_directory} --assetsDir ${game_assets} --tweakClass cpw.mods.fml.common.launcher.FMLTweaker",
    "libraries": [
        {
            "url": "http://files.minecraftforge.net/maven/",
            "name": "net.minecraftforge:minecraftforge:9.10.1.871"
        },
        {
            "serverreq": true,
            "name": "net.minecraft:launchwrapper:1.3"
        },
        {
            "serverreq": true,
            "name": "org.ow2.asm:asm-all:4.1"
        },
        {
            "comment": "Important for Forge, we add this",
            "serverreq": true,
            "name": "org.scala-lang:scala-library:2.10.2",
            "url": "http://files.minecraftforge.net/maven/",
            "checksums": [
                "6ba65d12cd09d441083262d6f73d2257fec7c663",
                "65de4339eaed1c3675485fb03a3532fecfd8e8cd"
            ],
            "clientreq": true
        },
        {
            "comment": "Important for Forge, we add this",
            "serverreq": true,
            "name": "org.scala-lang:scala-compiler:2.10.2",
            "url": "http://files.minecraftforge.net/maven/",
            "checksums": [
                "64c8b1380cc53d6850823d6e4e7ae984aa44ef9c",
                "99fd0ffb66f3088b0cd1071315fd5eb2b2b070ff"
            ],
            "clientreq": true
        },
        {
            "serverreq": true,
            "name": "net.sf.jopt-simple:jopt-simple:4.5"
        },
        {
            "serverreq": true,
            "name": "lzma:lzma:0.0.1"
        },
        {
            "name": "com.paulscode:codecjorbis:20101023"
        },
        {
            "name": "com.paulscode:codecwav:20101023"
        },
        {
            "name": "com.paulscode:libraryjavasound:20101123"
        },
        {
            "name": "com.paulscode:librarylwjglopenal:20100824"
        },
        {
            "name": "com.paulscode:soundsystem:20120107"
        },
        {
            "name": "org.lwjgl.lwjgl:lwjgl:2.9.0"
        },
        {
            "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.0"
        },
        {
            "name": "argo:argo:2.25_fixed"
        },
        {
            "name": "org.bouncycastle:bcprov-jdk15on:1.47"
        },
        {
            "name": "com.google.guava:guava:14.0"
        },
        {
            "name": "org.apache.commons:commons-lang3:3.1"
        },
        {
            "name": "commons-io:commons-io:2.4"
        },
        {
            "name": "net.java.jinput:jinput:2.0.5"
        },
        {
            "name": "net.java.jutils:jutils:1.0.0"
        },
        {
            "name": "com.google.code.gson:gson:2.2.2"
        },
        {
            "rules": [
                {
                    "action": "allow"
                },
                {
                    "action": "disallow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl:2.9.0"
        },
        {
            "rules": [
                {
                    "action": "allow"
                },
                {
                    "action": "disallow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.0"
        },
        {
            "rules": [
                {
                    "action": "allow"
                },
                {
                    "action": "disallow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "extract": {
                "exclude": [
                    "META-INF/"
                ]
            },
            "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.0",
            "natives": {
                "windows": "natives-windows",
                "osx": "natives-osx",
                "linux": "natives-linux"
            }
        },
        {
            "rules": [
                {
                    "action": "allow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl:2.9.1-nightly-20130708-debug3"
        },
        {
            "rules": [
                {
                    "action": "allow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1-nightly-20130708-debug3"
        },
        {
            "rules": [
                {
                    "action": "allow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "extract": {
                "exclude": [
                    "META-INF/"
                ]
            },
            "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1-nightly-20130708-debug3",
            "natives": {
                "windows": "natives-windows",
                "osx": "natives-osx",
                "linux": "natives-linux"
            }
        },
        {
            "extract": {
                "exclude": [
                    "META-INF/"
                ]
            },
            "name": "net.java.jinput:jinput-platform:2.0.5",
            "natives": {
                "windows": "natives-windows",
                "osx": "natives-osx",
                "linux": "natives-linux"
            }
        }
    ],
    "mainClass": "net.minecraft.launchwrapper.Launch",
    "minimumLauncherVersion": 4,
    "processArguments": "username_session_version"
}

[/spoiler]

Запускаю лаунчер, восстанавливаю совместимость, запускаю клиент и при попытке подключения к main.ttyh.ru получаю следующее:
http://storage5.static.itmages.ru/i/14/0203/h_1391439233_5699803_f8ebbe8b13.png

Где я ошибся?

28

Re: Новый лаунчер

swg2you пишет

Копирую из лиц клиента файлы:
.minecraft\versions\1.6.2-Forge9.10.1.871.jar  > .ttyh\servers\cric\cric.jar
.minecraft\versions\1.6.2-Forge9.10.1.871.json > .ttyh\servers\cric\cric.json

Вношу изменения в cric.json, по инстукции из первого поста.
[spoiler=содержимое cric.json после модификации]

{
  "id": "cric",
  "clientVersion": 314,
  "index": 2,
  "name": "CRiC",
  "jarMD5": "anystring",
  "minecraftVersion": "1.6.2",

    "minecraftArguments": "--username ${auth_player_name} --session ${auth_session} --version ${version_name} --gameDir ${game_directory} --assetsDir ${game_assets} --tweakClass cpw.mods.fml.common.launcher.FMLTweaker",
    "libraries": [
        {
            "url": "http://files.minecraftforge.net/maven/",
            "name": "net.minecraftforge:minecraftforge:9.10.1.871"
        },
        {
            "serverreq": true,
            "name": "net.minecraft:launchwrapper:1.3"
        },
        {
            "serverreq": true,
            "name": "org.ow2.asm:asm-all:4.1"
        },
        {
            "comment": "Important for Forge, we add this",
            "serverreq": true,
            "name": "org.scala-lang:scala-library:2.10.2",
            "url": "http://files.minecraftforge.net/maven/",
            "checksums": [
                "6ba65d12cd09d441083262d6f73d2257fec7c663",
                "65de4339eaed1c3675485fb03a3532fecfd8e8cd"
            ],
            "clientreq": true
        },
        {
            "comment": "Important for Forge, we add this",
            "serverreq": true,
            "name": "org.scala-lang:scala-compiler:2.10.2",
            "url": "http://files.minecraftforge.net/maven/",
            "checksums": [
                "64c8b1380cc53d6850823d6e4e7ae984aa44ef9c",
                "99fd0ffb66f3088b0cd1071315fd5eb2b2b070ff"
            ],
            "clientreq": true
        },
        {
            "serverreq": true,
            "name": "net.sf.jopt-simple:jopt-simple:4.5"
        },
        {
            "serverreq": true,
            "name": "lzma:lzma:0.0.1"
        },
        {
            "name": "com.paulscode:codecjorbis:20101023"
        },
        {
            "name": "com.paulscode:codecwav:20101023"
        },
        {
            "name": "com.paulscode:libraryjavasound:20101123"
        },
        {
            "name": "com.paulscode:librarylwjglopenal:20100824"
        },
        {
            "name": "com.paulscode:soundsystem:20120107"
        },
        {
            "name": "org.lwjgl.lwjgl:lwjgl:2.9.0"
        },
        {
            "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.0"
        },
        {
            "name": "argo:argo:2.25_fixed"
        },
        {
            "name": "org.bouncycastle:bcprov-jdk15on:1.47"
        },
        {
            "name": "com.google.guava:guava:14.0"
        },
        {
            "name": "org.apache.commons:commons-lang3:3.1"
        },
        {
            "name": "commons-io:commons-io:2.4"
        },
        {
            "name": "net.java.jinput:jinput:2.0.5"
        },
        {
            "name": "net.java.jutils:jutils:1.0.0"
        },
        {
            "name": "com.google.code.gson:gson:2.2.2"
        },
        {
            "rules": [
                {
                    "action": "allow"
                },
                {
                    "action": "disallow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl:2.9.0"
        },
        {
            "rules": [
                {
                    "action": "allow"
                },
                {
                    "action": "disallow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.0"
        },
        {
            "rules": [
                {
                    "action": "allow"
                },
                {
                    "action": "disallow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "extract": {
                "exclude": [
                    "META-INF/"
                ]
            },
            "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.0",
            "natives": {
                "windows": "natives-windows",
                "osx": "natives-osx",
                "linux": "natives-linux"
            }
        },
        {
            "rules": [
                {
                    "action": "allow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl:2.9.1-nightly-20130708-debug3"
        },
        {
            "rules": [
                {
                    "action": "allow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1-nightly-20130708-debug3"
        },
        {
            "rules": [
                {
                    "action": "allow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "extract": {
                "exclude": [
                    "META-INF/"
                ]
            },
            "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1-nightly-20130708-debug3",
            "natives": {
                "windows": "natives-windows",
                "osx": "natives-osx",
                "linux": "natives-linux"
            }
        },
        {
            "extract": {
                "exclude": [
                    "META-INF/"
                ]
            },
            "name": "net.java.jinput:jinput-platform:2.0.5",
            "natives": {
                "windows": "natives-windows",
                "osx": "natives-osx",
                "linux": "natives-linux"
            }
        }
    ],
    "mainClass": "net.minecraft.launchwrapper.Launch",
    "minimumLauncherVersion": 4,
    "processArguments": "username_session_version"
}

[/spoiler]

Запускаю лаунчер, восстанавливаю совместимость, запускаю клиент и при попытке подключения к main.ttyh.ru получаю следующее:
http://storage5.static.itmages.ru/i/14/0203/h_1391439233_5699803_f8ebbe8b13.png

Где я ошибся?

небыло проведено восстановление совместимости, но есть проблемка, оно сейчас не работает sad

29

Re: Новый лаунчер

swg2you пишет

Копирую из лиц клиента файлы:
.minecraft\versions\1.6.2-Forge9.10.1.871.jar  > .ttyh\servers\cric\cric.jar
.minecraft\versions\1.6.2-Forge9.10.1.871.json > .ttyh\servers\cric\cric.json

Вношу изменения в cric.json, по инстукции из первого поста.
[spoiler=содержимое cric.json после модификации]

{
  "id": "cric",
  "clientVersion": 314,
  "index": 2,
  "name": "CRiC",
  "jarMD5": "anystring",
  "minecraftVersion": "1.6.2",

    "minecraftArguments": "--username ${auth_player_name} --session ${auth_session} --version ${version_name} --gameDir ${game_directory} --assetsDir ${game_assets} --tweakClass cpw.mods.fml.common.launcher.FMLTweaker",
    "libraries": [
        {
            "url": "http://files.minecraftforge.net/maven/",
            "name": "net.minecraftforge:minecraftforge:9.10.1.871"
        },
        {
            "serverreq": true,
            "name": "net.minecraft:launchwrapper:1.3"
        },
        {
            "serverreq": true,
            "name": "org.ow2.asm:asm-all:4.1"
        },
        {
            "comment": "Important for Forge, we add this",
            "serverreq": true,
            "name": "org.scala-lang:scala-library:2.10.2",
            "url": "http://files.minecraftforge.net/maven/",
            "checksums": [
                "6ba65d12cd09d441083262d6f73d2257fec7c663",
                "65de4339eaed1c3675485fb03a3532fecfd8e8cd"
            ],
            "clientreq": true
        },
        {
            "comment": "Important for Forge, we add this",
            "serverreq": true,
            "name": "org.scala-lang:scala-compiler:2.10.2",
            "url": "http://files.minecraftforge.net/maven/",
            "checksums": [
                "64c8b1380cc53d6850823d6e4e7ae984aa44ef9c",
                "99fd0ffb66f3088b0cd1071315fd5eb2b2b070ff"
            ],
            "clientreq": true
        },
        {
            "serverreq": true,
            "name": "net.sf.jopt-simple:jopt-simple:4.5"
        },
        {
            "serverreq": true,
            "name": "lzma:lzma:0.0.1"
        },
        {
            "name": "com.paulscode:codecjorbis:20101023"
        },
        {
            "name": "com.paulscode:codecwav:20101023"
        },
        {
            "name": "com.paulscode:libraryjavasound:20101123"
        },
        {
            "name": "com.paulscode:librarylwjglopenal:20100824"
        },
        {
            "name": "com.paulscode:soundsystem:20120107"
        },
        {
            "name": "org.lwjgl.lwjgl:lwjgl:2.9.0"
        },
        {
            "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.0"
        },
        {
            "name": "argo:argo:2.25_fixed"
        },
        {
            "name": "org.bouncycastle:bcprov-jdk15on:1.47"
        },
        {
            "name": "com.google.guava:guava:14.0"
        },
        {
            "name": "org.apache.commons:commons-lang3:3.1"
        },
        {
            "name": "commons-io:commons-io:2.4"
        },
        {
            "name": "net.java.jinput:jinput:2.0.5"
        },
        {
            "name": "net.java.jutils:jutils:1.0.0"
        },
        {
            "name": "com.google.code.gson:gson:2.2.2"
        },
        {
            "rules": [
                {
                    "action": "allow"
                },
                {
                    "action": "disallow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl:2.9.0"
        },
        {
            "rules": [
                {
                    "action": "allow"
                },
                {
                    "action": "disallow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.0"
        },
        {
            "rules": [
                {
                    "action": "allow"
                },
                {
                    "action": "disallow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "extract": {
                "exclude": [
                    "META-INF/"
                ]
            },
            "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.0",
            "natives": {
                "windows": "natives-windows",
                "osx": "natives-osx",
                "linux": "natives-linux"
            }
        },
        {
            "rules": [
                {
                    "action": "allow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl:2.9.1-nightly-20130708-debug3"
        },
        {
            "rules": [
                {
                    "action": "allow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1-nightly-20130708-debug3"
        },
        {
            "rules": [
                {
                    "action": "allow",
                    "os": {
                        "version": "^10\\.5\\.\\d$",
                        "name": "osx"
                    }
                }
            ],
            "extract": {
                "exclude": [
                    "META-INF/"
                ]
            },
            "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1-nightly-20130708-debug3",
            "natives": {
                "windows": "natives-windows",
                "osx": "natives-osx",
                "linux": "natives-linux"
            }
        },
        {
            "extract": {
                "exclude": [
                    "META-INF/"
                ]
            },
            "name": "net.java.jinput:jinput-platform:2.0.5",
            "natives": {
                "windows": "natives-windows",
                "osx": "natives-osx",
                "linux": "natives-linux"
            }
        }
    ],
    "mainClass": "net.minecraft.launchwrapper.Launch",
    "minimumLauncherVersion": 4,
    "processArguments": "username_session_version"
}

[/spoiler]

Запускаю лаунчер, восстанавливаю совместимость, запускаю клиент и при попытке подключения к main.ttyh.ru получаю следующее:
http://storage5.static.itmages.ru/i/14/0203/h_1391439233_5699803_f8ebbe8b13.png

Где я ошибся?

http://ttyh.ru/post/112335/#p112335 - моя сборка, лишнее просто выкинь и не парься

Отредактировано Asd25 (2014-02-03 17:20:08)

30

Re: Новый лаунчер

Brain пишет

небыло проведено восстановление совместимости, но есть проблемка, оно сейчас не работает sad

Ясно, спасибо.

Asd25 пишет

http://ttyh.ru/post/112335/#p112335 - моя сборка, лишнее просто выкинь и не парься

Спортивный интерес заставляет париться )

p.s.
Решил проблему использовав файл main.jar вместо лицензионного. Пришлось правда немного с бубном потанцевать. Вкратце:

.ttyh\servers\main\main.jar  > .ttyh\servers\cric\cric.jar
.minecraft\versions\1.6.2-Forge9.10.1.871.json > .ttyh\servers\cric\cric.json
Модифицировал cric.json
Выполнил восстановление совместимости с установленным флагом "forge".

Вроде всё завелось. Тестирую.

Отредактировано swg2you (2014-02-03 17:57:03)