Jump to content

Crash when using large image.


Message added by TopicLocker3000

This topic was automatically locked after 6 months of inactivity. If you are the topic owner, please contact a moderator to have it unlocked.

Recommended Posts

When I import a large image (I used 4,096  × 4,096) it imports fine, but when I select the image for a texture Mine-Imator crashes. I didn't do this in the latest version, but later I tried updating to latest and the bug still happened, so yes I was in the latest version.

Here is the crash report:

Spoiler

7:29:23 AM Saving block previews: C:\Users\Jacob\Mine-imator-Updated\Data\blockpreview.midata
7:29:23 AM Loaded assets successfully
7:29:24 AM Ground vbuffer init
7:29:24 AM Resetting project
7:29:24 AM Destroying instances
7:29:24 AM Project resetted
7:29:24 AM Show popup: startup
7:29:25 AM Using the latest assets
7:29:28 AM Opening project: C:\Users\Jacob\Mine-imator\Projects\BenJamin9794 Test 2\BenJamin9794 Test 2.miproject
7:29:28 AM load_format: 29
7:29:28 AM Resetting project
7:29:28 AM Destroying instances
7:29:28 AM Project resetted
7:29:28 AM save_folder: C:\Users\Jacob\Mine-imator\Projects\BenJamin9794 Test 2
7:29:28 AM load_folder: C:\Users\Jacob\Mine-imator\Projects\BenJamin9794 Test 2
7:29:28 AM Project loaded
7:29:28 AM Saving settings: C:\Users\Jacob\Mine-imator-Updated\Data\settings.midata
7:29:35 AM Saving settings: C:\Users\Jacob\Mine-imator-Updated\Data\settings.midata
7:29:41 AM Opening model: C:\Users\Jacob\Mine-imator-Updated\Models\BenJamin9794 (Updated)\BenJamin9794.mimodel
7:29:41 AM Action: action_res_model_load7:29:41 AM Add resource: model
7:29:41 AM filename: BenJamin9794.mimodel
7:29:47 AM Opening image: C:\Users\Jacob\Mine-imator-Updated\Models\BenJamin9794 (Updated)\Faces\Sad.png
7:29:47 AM Show popup: importimage
7:29:48 AM Action: action_res_image_load
7:29:48 AM Add resource: skin
7:29:48 AM filename: Sad.png
7:29:50 AM Action: action_tl_extend
7:29:50 AM Action: action_tl_extend
7:29:51 AM Action: action_tl_extend
7:29:52 AM Action: action_tl_extend
7:29:52 AM Action: action_tl_extend
7:29:53 AM Action: action_tl_select
7:29:56 AM Action: action_tl_frame_texture_obj

 

Here is the code for my .mimodel file:

Spoiler

{
	"name": "BenJamin9794",
	"texture": "BenJamin9794.png",
	"texture_size": [ 64, 64 ],
	"player_skin": true,
	"parts": [
		{
			"name": "Body",
			"position": [ 0, 12, 0 ],
			"bend": {
				"part": "upper",
				"axis": [ "x", "y", "z" ],
				"direction": [ "both", "both", "both" ],
				"invert": [ 0, 0, 0 ],
				"angle": [ 0, 0, 0 ],
				"offset": 6,
				"size": 10
			},
			"shapes": [
				{
					"type": "block",
					"from": [ -4, 0, -2 ],
					"to": [ 4, 12, 2 ],
					"uv": [ 20, 20 ]
				}
			],
			"parts": [
				{
					"name": "Head",
					"position": [ 0, 12, 0 ],
					"shapes": [
						{
							"type": "block",
							"from": [ -4, 0, -4 ],
							"to": [ 4, 8, 4 ],
							"uv": [ 8, 8 ]
						}
					],
					"parts": [
						{
							"name": "Face",
							"texture": "Default Face.png",
							"texture_size": [ 8, 8 ],
							"position": [ 0, 0, 0 ],
							"shapes": [
								{
									"type": "plane",
									"3d": true,
									"from": [ 0, 0, 0 ],
									"to": [ 8, 8, 8 ],
									"position": [ -4, 0, 4 ],
									"scale": [ 1, 1, 0.25 ],
									"uv": [ 8, 8 ]
								}
							]
						}
					]
				},
				{
					"name": "Right Arm",
					"position": [ -6, 10, 0 ],
					"bend": {
						"part": "lower",
						"axis": [ "x", "y", "z" ],
						"direction": [ "both", "both", "both" ],
						"invert": [ 0, 0, 0 ],
						"angle": [ 0, 0, 0 ],
						"offset": -4,
						"size": 2
					},
					"shapes": [
						{
							"type": "block",
							"from": [ -2, -10, -2 ],
							"to": [ 2, -1, 2 ],
							"position": [ 0, 3, 0 ],
							"uv": [ 44, 20 ]
						}
					],
					"parts": [
						{
							"name": "Hand Right",
							"position": [ 0, 0, 0 ],
							"bend": {
								"part": "lower",
								"axis": [ "x", "y", "z" ],
								"direction": [ "both", "both", "both" ],
								"invert": [ 0, 0, 0 ],
								"angle": [ 0, 0, 0 ],
								"offset": -9,
								"size": 2
							},
							"shapes": [
								{
									"type": "block",
									"from": [ -2, -6, -2 ],
									"to": [ 2, 6, 2 ],
									"position": [ 0, -3.999, 0 ],
									"uv": [ 44, 36 ]
								}
							]
						}
					]
				},
				{
					"name": "Left Arm",
					"position": [ 6, 10, 0 ],
					"bend": {
						"part": "lower",
						"axis": [ "x", "y", "z" ],
						"direction": [ "both", "both", "both" ],
						"invert": [ 0, 0, 0 ],
						"angle": [ 0, 0, 0 ],
						"offset": -4,
						"size": 2
					},
					"shapes": [
						{
							"type": "block",
							"from": [ -2, -10, -2 ],
							"to": [ 2, -1, 2 ],
							"position": [ 0, 3, 0 ],
							"uv": [ 36, 52 ]
						}
					],
					"parts": [
						{
							"name": "Hand Left",
							"position": [ 0, 0, 0 ],
							"bend": {
								"part": "lower",
								"axis": [ "x", "y", "z" ],
								"direction": [ "both", "both", "both" ],
								"invert": [ 0, 0, 0 ],
								"angle": [ 0, 0, 0 ],
								"offset": -9,
								"size": 2
							},
							"shapes": [
								{
									"type": "block",
									"from": [ -2, -6, -2 ],
									"to": [ 2, 6, 2 ],
									"position": [ 0, -3.999, 0 ],
									"uv": [ 52, 52 ]
								}
							]
						}
					]
				}
			]
		},
		{
			"name": "Right Leg",
			"position": [ -2, 12, 0 ],
			"bend": {
				"part": "lower",
				"axis": [ "x", "y", "z" ],
				"direction": [ "both", "both", "both" ],
				"invert": [ 0, 0, 0 ],
				"angle": [ 0, 0, 0 ],
				"offset": -6,
				"size": 2
			},
			"shapes": [
				{
					"type": "block",
					"from": [ -2, -12, -2 ],
					"to": [ 2, -3, 2 ],
					"position": [ 0, 3, 0 ],
					"uv": [ 4, 20 ]
				}
			],
			"parts": [
				{
					"name": "Foot Right",
					"position": [ 0, 0, 0 ],
					"bend": {
						"part": "lower",
						"axis": [ "x", "y", "z" ],
						"direction": [ "both", "both", "both" ],
						"invert": [ 0, 0, 0 ],
						"angle": [ 0, 0, 0 ],
						"offset": -11,
						"size": 2
					},
					"shapes": [
						{
							"type": "block",
							"from": [ -2, -6, -2 ],
							"to": [ 2, 6, 2 ],
							"position": [ 0, -5.999, 0 ],
							"uv": [ 4, 36 ]
						}
					]
				}
			]
		},
		{
			"name": "Left Leg",
			"position": [ 2, 12, 0 ],
			"bend": {
				"part": "lower",
				"axis": [ "x", "y", "z" ],
				"direction": [ "both", "both", "both" ],
				"invert": [ 0, 0, 0 ],
				"angle": [ 0, 0, 0 ],
				"offset": -6,
				"size": 2
			},
			"shapes": [
				{
					"type": "block",
					"from": [ -2, -12, -2 ],
					"to": [ 2, -3, 2 ],
					"position": [ 0, 3, 0 ],
					"uv": [ 20, 52 ]
				}
			],
			"parts": [
				{
					"name": "Foot Left",
					"position": [ 0, 0, 0 ],
					"bend": {
						"part": "lower",
						"axis": [ "x", "y", "z" ],
						"direction": [ "both", "both", "both" ],
						"invert": [ 0, 0, 0 ],
						"angle": [ 0, 0, 0 ],
						"offset": -11,
						"size": 2
					},
					"shapes": [
						{
							"type": "block",
							"from": [ -2, -6, -2 ],
							"to": [ 2, 6, 2 ],
							"position": [ 0, -5.999, 0 ],
							"uv": [ 4, 52 ]
						}
					]
				}
			]
		}
	]
}

 

Here is the image that crashed the program when used:

Spoiler

ooBsWcZ.png

 

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...